Home Crush your enemies... and create an EMPIRE!!! Space Empires V -- BUY NOW!!!

User login

  • Create new account
  • Request new password

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • news aggregator

Search

Who's online

There are currently 3 users and 171 guests online.

Online users

  • mudshark
  • Tedss
  • Captain Kwok

Languages

  • English English
  • French French

Browse archives

« Juillet 2008  
Lu Ma Me Je Ve Sa Di
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Home » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

unique or racial technologies

Submitted by mnmib1 on Sun, 2008-04-06 18:21. SE:V MODs

Me again. If I make a new replacement component for a race, is there a way to remove the stock version of the component from that races tech tree only. Example: I made a new bridge (new picture, new name, no other changes at this time), that I want the new race to use exclusively. It shows up and it works fine, but so does the stock bridge. Eventually I want to make custom componenets for all my races, but first I just want to seperate them (renaming, new pics). Later down the road I'll start changing stats for each component per race. I made a racial tech trait called general tech that I thought I could use so the other races could use the stock bridge but not my new race. If I pick the techs thats fine, but how do I get neutral races to pick this "general tech trait"? Any help would be appreciated.

‹ Some Modding Questions Make new technology replace old technology ›
» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: unique or racial technologies

Submitted by mnmib1 on Sun, 2008-04-06 18:24.

Sorry, forgot: I could create the neutrals myself and give them this trait, but how would I prevent them from expanding?

» login or register to post comments
Mod Designer

Re: unique or racial technologies

Submitted by Fyron on Sun, 2008-04-06 22:35.

Neutral races do not expand beyond their home system, since their ships are physically prevented from traveling through WPs. You cannot manually create a neutral race, however. All empires manually created will be full-blown empires.


To make AI races select a new trait, you have to edit the empire setup script for each such race. The script source files are in utilities\script parser.


To remove an component for those with trait A, simply add a NOT racial requirement to it. Lets say you are adding an "Organic Brain", which will replace the "Ship Bridge." The racial requirement for Organic Brain is easy, and I gather you get how to do it already. To make the "Ship Bridge" unavailable to those with the Organic trait, simply make the requirements say:

Number Of Requirements                          := 2
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Empire must have at least tech level 1 in Light Hull Construction.
Requirement 1 Formula                           := Get_Empire_Tech_Level("Light Hull Construction") >= (1 + ([%Level%] - 1))
Requirement 2 Description                       := Empire must not have racial trait Organic Manipulation. 
Requirement 2 Formula                           := NOT(Empire_Has_Racial_Trait("Organic Manipulation"))

If you don't want regular empires to have the extra description tag for the requirements list, you can simply remove the value of the Requirement 2 Desc. field, like so:

Requirement 2 Description                       :=
Requirement 2 Formula                           := NOT(Empire_Has_Racial_Trait("Organic Manipulation"))

NOTE: I make no guarantees as to how SE5's parser will handle the spacing, but the logic itself is correct.


SpaceEmpires.net | Space Empires Wiki

» login or register to post comments

Re: unique or racial technologies

Submitted by mnmib1 on Mon, 2008-04-07 17:13.

Outstanding. I apprecitate the help. I was aware that neutrals did not expand beyond their system, which was my concern with creating them manually. I was trying to just modify the data files, and forgot about the script parser. This is precisely what I was looking for. Thanks.

» login or register to post comments

Re: unique or racial technologies

Submitted by mnmib1 on Mon, 2008-04-07 17:22.

Sorry, one more. How many such requirements can be placed on a technolgy?

» login or register to post comments

Re: unique or racial technologies

Submitted by mnmib1 on Mon, 2008-04-07 18:19.

Perhaps not not. Could not parse formula. Unknown function name not in function. Is the use of "NOT" accepted by the parser?

» login or register to post comments
Mod Designer

Re: unique or racial technologies

Submitted by Fyron on Mon, 2008-04-07 18:51.

Try adding a space after NOT... or play with capitalization. It is definitely an accepted unary operator.

Quote:
Sorry, one more. How many such requirements can be placed on a technolgy?
As many as you care to type out. Just make sure to have the Number of Reqs. field value cover the actual number of reqs you add!


SpaceEmpires.net | Space Empires Wiki

» login or register to post comments

Re: unique or racial technologies

Submitted by mnmib1 on Mon, 2008-04-07 19:32.

Thanks. A space after not was all it took.

» login or register to post comments

Re: unique or racial technologies

Submitted by bouncebag on Sat, 2008-06-21 13:48.

thanks this has helped with many objects i needed to work

» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Now on STEAM

Now on STEAM!Space Empires V via STEAMSpace Empires IV via STEAMSTEAM online by Valve Corporation

Popular content

Today's:

  • I am so impressed!
  • Stuipd Question
  • Neutral pack 1.10 released, now adds three neutral races.
  • Space Empires V 1.74
  • Space Dock suggestion

All time:

  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V
  • Gritty Galaxy Fleet Clash
  • Damn Dirty Bugs/Annoyances
  • Space Empires V: General Thoughts, Observations, and Suggestions

Last viewed:

  • Unnamed Mod and 1.74
  • Bug with bases in combat simulator?
  • Sound Mod Question
  • Digital Download Version
  • Is mothballing working?
(c) Strategy First, Inc. All rights reserved.