View Single Post
  #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