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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.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
  #1  
Old November 9th, 2006, 04:53 PM

Elsemeravin Elsemeravin is offline
Corporal
 
Join Date: Nov 2001
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
Elsemeravin is on a distinguished road
Default SE5 Modding: Variable and functions wishes

Hi,

In order to send Aaron an email as complete as possible, I would like to share the functions and variable I'm about to ask him so that you may add more before we can finally send him a full list.

1. A variable containing the level of research (ex: [%level%]) to use in requirement, in file TechArea.txt, so that we could link the requirement with the level (as now there are no pretty ways to use requirement once the tech is available for research), the same way we can do it in Components.txt
File(s): TechAreas.txt

2. A function returning the number of stars in system.
File(s): Components.txt, Facilities.txt

3. A function returning the number of planet in system.
File(s): Components.txt, Facilities.txt

4. A function returning the system type (black hole, nebula, single star, double stars, ...).
File(s): Components.txt, Facilities.txt

5. A function returning the size of planet.
File(s): Facilities.txt

6. A function returning the atmosphere of planet.
File(s): Facilities.txt

7. A function returning the gravity of planet.
File(s): Facilities.txt

8. A function returning the temperature of planet.
File(s): Facilities.txt

9. A function returning the radiation of planet.
File(s): Facilities.txt

10. A function returning the population of planet.
File(s): Facilities.txt

11. A function returning the production (mineral, rads, intel, ...) of planet.
File(s): Facilities.txt

12. A function returning the number of facilities with name <Name>.
File(s): Facilities.txt

13. A function returning the number of facilities with ability <Ability>.
File(s): Facilities.txt

14. A function returning the total of amount (1 or 2) of facilities with ability <Ability> (similar in components).
File(s): Facilities.txt

15. A function returning the total population on board the ship (in cargo).
File(s): Components.txt (all formula, not only requirement).

16. A function returning the number of component with name <Name> on the ship.
File(s): Components.txt (all formula, not only requirement).



Please add the one you think of/need.
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:03 AM.


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