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

This Month's Specials

Air Command 3.0- Save $12.00
War Plan Pacific- Save $7.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V > SEV Modders Knowledge Base

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #31  
Old October 11th, 2006, 04:45 PM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: Modding SEV Thread Questions

A few modding tricks:
If you have a lot of components, some of them might be obselete at high tech levels, and unlike SE4 it doesn't seem like you can get rid of them.

But this isn't correct. All components take formulas for their requirements, and those accept "less than" as an option. So you can make a component that disappears once some research level is reached, and a better replacement becomes available.

Say you want the Cannon to appear from levels 1-5 in Projectile Weapons, where its replaced by the DUC. You'd put this in the requirement field:
(Get_Empire_Tech_Level("Projectile Weapons") >= 1) AND (Get_Empire_Tech_Level("Projectile Weapons") <= 5)

the (s are important- they let SEV know where a funtion like Get_Empire_Tech_Level ends.
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
 

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 07:40 AM.


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