![]() |
Re: Custom Advanced Traits
Working on a mod that requires all the AIs to use a new custom racial trait. I modded the racial trait fine, and I modded the racial trait numbers in reverse (like it is in P&N). Now some of the AI select the trait and some don't and I don't know why.
Does anyone know what might be wrong? |
Re: Custom Advanced Traits
In each race's AI_General.txt, you have to make them choose that new trait.
You must add it three times, one for each amount of starting racial points. If it is a zero-cost racial trait, be sure to call for it BEFORE the other traits are called for. As soon as the AI runs out of racial points, it quits, even though it could still afford a zero (or negative) cost trait. If there are no traits being chosen by the AI (common for 2000 point games), then you must decrement one of the characteristics, so that it will have at least 1 racial point available when it looks at adding the advanced traits. Otherwise, again, it will quit immediately. I have written a program to do the above automatically, along with some other changes. I can tweak it for you; just give me the names of the traits you need the AIs to always choose. |
Re: Custom Advanced Traits
Ahh. I bet that's my problem.
Yeah, if you want to send me your program, the racial trait is called "Standard Propulsion." The mod might have others, but I haven't decided yet. |
Re: Custom Advanced Traits
Here is a link to a thread about some more abilities that are in the exe for racial traits, but are unused in the normal game:
http://www.shrapnelgames.com/cgi-bin...=003414#000004 |
Re: Custom Advanced Traits
Quote:
|
All times are GMT -4. The time now is 06:32 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.