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

This Month's Specials

BCT Commander- Save $7.00
winSPWW2- Save $5.00

   







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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #15  
Old September 6th, 2007, 03:59 AM

Devnullicus Devnullicus is offline
Sergeant
 
Join Date: Feb 2001
Location: Belmont, CA USA
Posts: 285
Thanks: 0
Thanked 0 Times in 0 Posts
Devnullicus is on a distinguished road
Default Re: DevnullMod for SEV

OK, next question: Is there a way to specifically limit a component or facility so that only 1 is effective? Like spaceyards, excepts using requirements/abilities/etc instead of being hardcoded in the game?

Edit: Never mind - I figured it out.
Code:

Number Of Requirements := 2
Requirements Evaluation Availability := AND
Requirements Evaluation Allows Placement := 1
Requirements Evaluation Allows Usage := 2
Requirement 1 Description := Empire must have at least tech level 1 in Resupply.
Requirement 1 Formula := Get_Empire_Tech_Level("Resupply") >= 1 + (([%Level%] - 1) * 4)
Requirement 2 Description := This vehicle can only have one emergency resupply component on it.
Requirement 2 Formula := Get_Design_Ability_Component_Count("Emergency Resupply") = 0



__________________
How's my Programming? Call 1-800-DEV-NULL
Get the Space Empires V Editor and DevnullMod at http://www.devnullsoftware.com/se5
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 08:45 AM.


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