.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #11  
Old January 6th, 2003, 05:09 PM
Urendi Maleldil's Avatar

Urendi Maleldil Urendi Maleldil is offline
Major
 
Join Date: Oct 2000
Location: New York, NY
Posts: 1,066
Thanks: 1
Thanked 1 Time in 1 Post
Urendi Maleldil is on a distinguished road
Default 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?
__________________
Ken vs. The City

-Km :�
Reply With Quote
  #12  
Old January 6th, 2003, 05:22 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default 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.
Reply With Quote
  #13  
Old January 6th, 2003, 06:41 PM
Urendi Maleldil's Avatar

Urendi Maleldil Urendi Maleldil is offline
Major
 
Join Date: Oct 2000
Location: New York, NY
Posts: 1,066
Thanks: 1
Thanked 1 Time in 1 Post
Urendi Maleldil is on a distinguished road
Default 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.
__________________
Ken vs. The City

-Km :�
Reply With Quote
  #14  
Old January 6th, 2003, 09:58 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default 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
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #15  
Old January 6th, 2003, 10:18 PM
capnq's Avatar

capnq capnq is offline
General
 
Join Date: Feb 2001
Location: Pittsburgh, PA, USA
Posts: 3,070
Thanks: 13
Thanked 9 Times in 8 Posts
capnq is on a distinguished road
Default Re: Custom Advanced Traits

Quote:
you just have to start games with random empires, and save them in-game as EMPs.
Or you can look at each race's options in &ltraceName&gt_AI_General.txt , and create "new" races with matching attributes.
__________________
Cap'n Q

"Good morning, Pooh Bear," said Eeyore gloomily. "If it is a good morning," he said. "Which I doubt," said he.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:49 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.