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

This Month's Specials

The Falklands War: 1982- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old October 11th, 2006, 04:40 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

Its just an icon that shows up when picking a game type in the main screen. You don't actually need it- if its not there SEV uses the default icon.
__________________
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
  #2  
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
  #3  
Old October 11th, 2006, 05:34 PM
Kana's Avatar

Kana Kana is offline
Captain
 
Join Date: Apr 2004
Location: Texas
Posts: 962
Thanks: 0
Thanked 3 Times in 3 Posts
Kana is on a distinguished road
Default Re: Modding SEV Thread Questions

Quote:
Phoenix-D said:
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.
If I understand how this is working...

Do you think you could do this in the Vehicle Size file, in conjunction with other vehicle models...?

So basically for example, you have a Original series Star Treck Constitution class ship, and then when you get to a certain level of ship construction, you could upgrade to the Movie era ship image, yet they are all in the say class level of ship?
Reply With Quote
  #4  
Old October 11th, 2006, 05:36 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

The old class should disappear, but your Upgrade button won't upgrade any ships to the new class.

Speaking of, let me check to make sure this doesn't cause problems..

EDIT: ok, with components it works fine. If you press Upgrade, the existing components are simply left on the ship. See the note below.

EDIT final:
Ok, it does work fine for ships; I just had the syntax on the forumla wrong.

A little note- once something is removed in this fashion, you can NOT use it in a new design, or upgrade a design that uses it. You must remove all the removed components to satisfy a "You have used technolgy our empire does not understand" warning.
__________________
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
Reply

Bookmarks

Thread Tools
Display Modes

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 10:14 PM.


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