Help with a little bit of comp. code |

Hi, I need help with this comp code. When I see play a game with the code all I see after I research all of them is the following: ICE,ROCK,GAS,AND ROCK/ICE. My race is rock by default and this is from my own little MOD. I think the problem maybe from the "Requirements Evaluation Availability, Requirements Evaluation Allows Placement, Requirements Evaluation Allows Usage" I don't fully understand them yet. Here is the code for the comps...
Name := Rock / Ice/ Gas Colony
Description := Materials needed to start a colony on a Rock/Gas/Ice planet.
Picture Number := 2
Maximum Level := 1
Tonnage Space Taken Formula := 400
Tonnage Structure Formula := 400
Cost Minerals Formula := 400
Cost Organics Formula := 600
Cost Radioactives Formula := 200
Supply Amount Used Formula := 0
Ordnance Amount Used Formula := 0
Can Be Placed On Vehicle Types := Ship
Can Be Placed In Ship Sections := Inner Hull, Outer Hull
Component Type List := Technological
General Group := Colonization
Custom Group := 0
Number Of Requirements := 3
Requirements Evaluation Availability := 1, 2, 3
Requirements Evaluation Allows Placement := AND
Requirements Evaluation Allows Usage := TRUE
Requirement 1 Description := Empire must have at least tech level 1 in Rock Planet Colonization.
Requirement 1 Formula := Get_Empire_Tech_Level("Rock Planet Colonization") >= (1 + ([%Level%] - 1))
Requirement 2 Description := Empire must have at least tech level 1 in Ice Planet Colonization.
Requirement 2 Formula := Get_Empire_Tech_Level("Ice Planet Colonization") >= (1 + ([%Level%] - 1))
Requirement 3 Description := Empire must have at least tech level 1 in Gas Planet Colonization.
Requirement 3 Formula := Get_Empire_Tech_Level("Gas Planet Colonization") >= (1 + ([%Level%] - 1))
Number Of Abilities := 4
Ability 1 Type := Planet Colonize Type 2
Ability 1 Description := Colony Module can colonize a Ice based planet.
Ability 1 Scope := Space Object
Ability 1 Range Formula := 0
Ability 1 Amount 1 Formula := 0
Ability 1 Amount 2 Formula := 0
Ability 2 Type := Storage Cargo Space Amount
Ability 2 Description := Colony Module contains [%Amount1%]kT of cargo space.
Ability 2 Scope := Space Object
Ability 2 Range Formula := 0
Ability 2 Amount 1 Formula := 400
Ability 2 Amount 2 Formula := 0
Ability 3 Type := Planet Colonize Type 3
Ability 3 Description := Colony Module can colonize a Gas based planet.
Ability 3 Scope := Space Object
Ability 3 Range Formula := 0
Ability 3 Amount 1 Formula := 0
Ability 3 Amount 2 Formula := 0
Ability 4 Type := Planet Colonize Type 1
Ability 4 Description := Colony Module can colonize a Rock based planet.
Ability 4 Scope := Space Object
Ability 4 Range Formula := 0
Ability 4 Amount 1 Formula := 0
Ability 4 Amount 2 Formula := 0
Weapon Type := None
Name := Gas / Ice Colony
Description := Materials needed to start a colony on a Gas/Ice planet.
Picture Number := 3
Maximum Level := 1
Tonnage Space Taken Formula := 350
Tonnage Structure Formula := 350
Cost Minerals Formula := 350
Cost Organics Formula := 500
Cost Radioactives Formula := 175
Supply Amount Used Formula := 0
Ordnance Amount Used Formula := 0
Can Be Placed On Vehicle Types := Ship
Can Be Placed In Ship Sections := Inner Hull, Outer Hull
Component Type List := Technological
General Group := Colonization
Custom Group := 0
Number Of Requirements := 2
Requirements Evaluation Availability := 1, 2
Requirements Evaluation Allows Placement := AND
Requirements Evaluation Allows Usage := TRUE
Requirement 1 Description := Empire must have at least tech level 1 in Ice Planet Colonization.
Requirement 1 Formula := Get_Empire_Tech_Level("Ice Planet Colonization") >= (1 + ([%Level%] - 1))
Requirement 2 Description := Empire must have at least tech level 1 in Gas Planet Colonization.
Requirement 2 Formula := Get_Empire_Tech_Level("Gas Planet Colonization") >= (1 + ([%Level%] - 1))
Number Of Abilities := 3
Ability 1 Type := Planet Colonize Type 2
Ability 1 Description := Colony Module can colonize a Rock based planet.
Ability 1 Scope := Space Object
Ability 1 Range Formula := 0
Ability 1 Amount 1 Formula := 0
Ability 1 Amount 2 Formula := 0
Ability 2 Type := Storage Cargo Space Amount
Ability 2 Description := Colony Module contains [%Amount1%]kT of cargo space.
Ability 2 Scope := Space Object
Ability 2 Range Formula := 0
Ability 2 Amount 1 Formula := 400
Ability 2 Amount 2 Formula := 0
Ability 3 Type := Planet Colonize Type 3
Ability 3 Description := Colony Module can colonize a Gas based planet.
Ability 3 Scope := Space Object
Ability 3 Range Formula := 0
Ability 3 Amount 1 Formula := 0
Ability 3 Amount 2 Formula := 0
Weapon Type := None
Name := Rock / Gas Colony
Description := Materials needed to start a colony on a Rock/Gas planet.
Picture Number := 1
Maximum Level := 1
Tonnage Space Taken Formula := 350
Tonnage Structure Formula := 350
Cost Minerals Formula := 350
Cost Organics Formula := 500
Cost Radioactives Formula := 175
Supply Amount Used Formula := 0
Ordnance Amount Used Formula := 0
Can Be Placed On Vehicle Types := Ship
Can Be Placed In Ship Sections := Inner Hull, Outer Hull
Component Type List := Technological
General Group := Colonization
Custom Group := 0
Number Of Requirements := 2
Requirements Evaluation Availability := 1, 2
Requirements Evaluation Allows Placement := AND
Requirements Evaluation Allows Usage := TRUE
Requirement 1 Description := Empire must have at least tech level 1 in Rock Planet Colonization.
Requirement 1 Formula := Get_Empire_Tech_Level("Rock Planet Colonization") >= (1 + ([%Level%] - 1))
Requirement 2 Description := Empire must have at least tech level 1 in Gas Planet Colonization.
Requirement 2 Formula := Get_Empire_Tech_Level("Gas Planet Colonization") >= (1 + ([%Level%] - 1))
Number Of Abilities := 3
Ability 1 Type := Planet Colonize Type 1
Ability 1 Description := Colony Module can colonize a Rock based planet.
Ability 1 Scope := Space Object
Ability 1 Range Formula := 0
Ability 1 Amount 1 Formula := 0
Ability 1 Amount 2 Formula := 0
Ability 2 Type := Storage Cargo Space Amount
Ability 2 Description := Colony Module contains [%Amount1%]kT of cargo space.
Ability 2 Scope := Space Object
Ability 2 Range Formula := 0
Ability 2 Amount 1 Formula := 400
Ability 2 Amount 2 Formula := 0
Ability 3 Type := Planet Colonize Type 3
Ability 3 Description := Colony Module can colonize a Gas based planet.
Ability 3 Scope := Space Object
Ability 3 Range Formula := 0
Ability 3 Amount 1 Formula := 0
Ability 3 Amount 2 Formula := 0
Weapon Type := None
Name := Rock / Ice Colony
Description := Materials needed to start a colony on a rock/Ice planet.
Picture Number := 1
Maximum Level := 1
Tonnage Space Taken Formula := 250
Tonnage Structure Formula := 250
Cost Minerals Formula := 250
Cost Organics Formula := 400
Cost Radioactives Formula := 125
Supply Amount Used Formula := 0
Ordnance Amount Used Formula := 0
Can Be Placed On Vehicle Types := Ship
Can Be Placed In Ship Sections := Inner Hull, Outer Hull
Component Type List := Technological
General Group := Colonization
Custom Group := 0
Number Of Requirements := 2
Requirements Evaluation Availability := 1, 2
Requirements Evaluation Allows Placement := AND
Requirements Evaluation Allows Usage := TRUE
Requirement 1 Description := Empire must have at least tech level 1 in Rock Planet Colonization.
Requirement 1 Formula := Get_Empire_Tech_Level("Rock Planet Colonization") >= (1 + ([%Level%] - 1))
Requirement 2 Description := Empire must have at least tech level 1 in Ice Planet Colonization.
Requirement 2 Formula := Get_Empire_Tech_Level("Ice Planet Colonization") >= (1 + ([%Level%] - 1))
Number Of Abilities := 3
Ability 1 Type := Planet Colonize Type 1
Ability 1 Description := Colony Module can colonize a Rock based planet.
Ability 1 Scope := Space Object
Ability 1 Range Formula := 0
Ability 1 Amount 1 Formula := 0
Ability 1 Amount 2 Formula := 0
Ability 2 Type := Storage Cargo Space Amount
Ability 2 Description := Colony Module contains [%Amount1%]kT of cargo space.
Ability 2 Scope := Space Object
Ability 2 Range Formula := 0
Ability 2 Amount 1 Formula := 400
Ability 2 Amount 2 Formula := 0
Ability 3 Type := Planet Colonize Type 2
Ability 3 Description := Colony Module can colonize a Ice based planet.
Ability 3 Scope := Space Object
Ability 3 Range Formula := 0
Ability 3 Amount 1 Formula := 0
Ability 3 Amount 2 Formula := 0
Weapon Type := None
And thanks for any help and sorry for the length.
Crimson
Re: Help with a little bit of comp. code
Are you using Lee Wilson's SE5 Editor? Its a GUI editor for making mods. I'm going to try and do the same thing you are doing to see if I can get it working. I'll report back. It may be that the game will not allow more than 1 colony module ability on a component. I'm not sure though.
Re: Help with a little bit of comp. code
I just tried the Rock Ice Gas Colony component. It wont show up for me either. I have no idea why. Anyone else have any ideas?
Re: Help with a little bit of comp. code
Try one thing... try to change the requirement formula to = 1...
It's only an intuition...




Re: Help with a little bit of comp. code
Try changing the requirements evaluation to AND, TRUE, TRUE.
Requirements evaluation allows placement = Simply means the component can be placed on a vehicle design.
Requirements evaluation allows usage = Simply means the component can be activated. (Self Destruct, cloaking etc,.)