View Single Post
  #12  
Old October 30th, 2006, 06:12 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 Re: Space Empires V Editor 1.0 released

Quote:
Devnullicus said:
That's correct, it wasn't meant to be run on the SE5/Data folder. Obviously, I need to enforce the folder-choosing rules a bit better
I did copy the main facilities.txt file into the mod/data folder not run directly on the main folder.

Quote:
1) Do you have .NET Framework 1.1 or above on your computer?
I'm not so sure. But the following answers may answer your question indirectly.

Quote:
2) Do you have SEV version 1.08?

Yes indeed.

Quote:
3) Have you modified the faciltiies.txt it's reading? What it looks like is happening is that it's expecting a number and its getting a string or .. something?
I do not seem to have modify the file although I cannot be 100% sure. To help you out, after I press continue in the error box, the program works and 10 facilities are displayed:
Space Yard Facility
Space Port
Resupply Depot
Mineral Miner Facility
Organics Farm Facility
Radioactives Extraction
Research Center
Intelligence Center
Robotoid Factory
System Robotoid Factory

So I feel the problem may come either from the System Robotoid Factory of the Medical Lab.

I have the following for there:

Name := System Robotoid Factory
Description := Robotic workers who will increase all production for an entire system.
Facility Group := Resource Extraction
XFile Class Name := Robotoid Factory
Picture Number := 9
Maximum Level := 21
Tonnage Space Taken Formula := 1000
Tonnage Structure Formula := 1000 (([%Level%] - 1) * 20)
Cost Minerals Formula := 20000 (([%Level%] - 1) * 200)
Cost Organics Formula := 10000 (([%Level%] - 1) * 100)
Cost Radioactives Formula := 10000 (([%Level%] - 1) * 100)
Number Of Requirements := 1
Requirements Evaluation Availability := AND
Requirements Evaluation Allows Placement := TRUE
Requirements Evaluation Allows Usage := TRUE
Requirement 1 Description := Empire must have at least tech level 20 in Robotics.
Requirement 1 Formula := Get_Empire_Tech_Level("Robotics") >= (20 ([%Level%] - 1))
Number of Abilities := 3
Ability 1 Type := Resource Gen Modifier - Minerals
Ability 1 Description := Increase mineral production for a system by [%Amount1%]% (only 1 facility per system effective).
Ability 1 Scope := System - This Player
Ability 1 Range Formula := 0
Ability 1 Amount 1 Formula := 10 (([%Level%] - 1) * 1)
Ability 1 Amount 2 Formula := 0
Ability 2 Type := Resource Gen Modifier - Organics
Ability 2 Description := Increase organic production for a system by [%Amount1%]% (only 1 facility per system effective).
Ability 2 Scope := System - This Player
Ability 2 Range Formula := 0
Ability 2 Amount 1 Formula := 10 (([%Level%] - 1) * 1)
Ability 2 Amount 2 Formula := 0
Ability 3 Type := Resource Gen Modifier - Radioactives
Ability 3 Description := Increase radioactive production for a system by [%Amount1%]% (only 1 facility per system effective).
Ability 3 Scope := System - This Player
Ability 3 Range Formula := 0
Ability 3 Amount 1 Formula := 10 (([%Level%] - 1) * 1)
Ability 3 Amount 2 Formula := 0

Name := Medical Lab
Description := A facility dedicated to curing disease and improving the lifespan of your citizens.
Facility Group := Resource Extraction
XFile Class Name := Medical Lab
Picture Number := 10
Maximum Level := 49
Tonnage Space Taken Formula := 1000
Tonnage Structure Formula := 1000 (([%Level%] - 1) * 20)
Cost Minerals Formula := 10000 (([%Level%] - 1) * 150)
Cost Organics Formula := 5000 (([%Level%] - 1) * 50)
Cost Radioactives Formula := 5000 (([%Level%] - 1) * 50)
Number Of Requirements := 1
Requirements Evaluation Availability := AND
Requirements Evaluation Allows Placement := TRUE
Requirements Evaluation Allows Usage := TRUE
Requirement 1 Description := Empire must have at least tech level 1 in Medical Treatment.
Requirement 1 Formula := Get_Empire_Tech_Level("Medical Treatment") >= (1 ([%Level%] - 1))
Number of Abilities := 2
Ability 1 Type := Plague Prevention
Ability 1 Description := Prevents level [%Amount1%] plagues in this system.
Ability 1 Scope := System - This Player
Ability 1 Range Formula := 0
Ability 1 Amount 1 Formula := trunc(([%Level%] / 10) 1)
Ability 1 Amount 2 Formula := 0
Ability 2 Type := Planet Population Reproduction
Ability 2 Description := Populations in this system will reproduce [%Amount1%]% faster (only 1 facility per system effective).
Ability 2 Scope := System - This Player
Ability 2 Range Formula := 0
Ability 2 Amount 1 Formula := 0.1 ([%Level%] * 0.1)
Ability 2 Amount 2 Formula := 0


Maybe it doesn't like the "trunc" ? However the file works ok with SEV.

(Strange that I only gets the problem though...)

I get another problem. The combo box for choice of ability type is empty (cannot select). I have in the data folder only the following files:

Facilities.txt
TechAreas.txt
Component.txt

Are some others necessary ?
Reply With Quote