[en] - Modding Corner > Mapping
(Imported) Script
(1/1)
GIUSHi:
Hi!
Help me please.
How to specify scripts from another library file, as in the photo. How to do Imported script?
GIUSHi:
Hi again.
I'll clarify what I want to do
I make bases like in BFME 1 for my mod on RotWK. (I do it as in Edain 4.X)
As I noticed, there is a root file of scripts for AI, where the unpacking bases, capturing points on the map by units and etc. I named this file ai_basic. then separate files for the faction, for example for Gondor - ai_gondor. and I want the scripts from ai_basic to be imported there(ai_gondor), like in the photo that I attached in the first post, because if I change something in the ai_basic they have changed in other faction files(ai_gondor, ai_rohan, ai_mordor and etc.) where they are imported.
Elendils Cousin 3. Grades:
Hey Giushi, sorry for not answering, completely forgot about your question.
You can import libraries by going to Edit -> Player List -> Library maps. Here's an image of our Gondor AI in Edain:
Hope this helps.
GIUSHi:
Thank you very much.
You helped me a lot, but I came across a big problem. Please help me again.
As I said earlier, I make scripts like in Edain 4.X, but I make an English version.
AI don't Unpacking base.
Screenshots scripts from ai basic under spoiler.
GIUSHi:
AI don't Unpacking base.
I'm currently making AI for Gondor. Added only one map Fords of Isen. and when I add there SkirmishMen, AI of Gondor doesn't unpack base and loses after 2 seconds. If I remove SkirmishMen from the Map, AI of Gondor unpack base, but then AI stands still and does nothing. Do not build a buildings and the starting units stand still.
Thank you for your attention.
Navigation
[0] Themen-Index
Zur normalen Ansicht wechseln