Thread: Fun with armor!
View Single Post
  #1  
Old September 7th, 2007, 06:00 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 Fun with armor!

I decided to try a little experiment with a new armor type and I was shocked when this actually worked exactly as I intended it to. How ... unusual.

Code:

Name := Neutronium Armor
Description := Super dense armor that absorbs massive damage, but slows a ship down.
Picture Number := 280
Maximum Level := 11
Tonnage Space Taken Formula := 20 - trunc( [%Level%] / 2 )
Tonnage Structure Formula := 1000 + ( ( [%Level%] - 1 ) * 50 )
Cost Minerals Formula := 500 + ( ( [%Level%] - 1 ) * 10 )
Cost Organics Formula := 100 + ( ( [%Level%] - 1 ) * 5 )
Cost Radioactives Formula := 500 + ( ( [%Level%] - 1 ) * 10 )
Supply Amount Used Formula := 0
Ordnance Amount Used Formula := 0
Can Be Placed On Vehicle Types := Ship
Can Be Placed In Ship Sections := Armor
Component Type List := Technological
General Group := Armor
Custom Group := 0
Number Of Requirements := 3
Requirements Evaluation Availability := 1, 3
Requirements Evaluation Allows Placement := 2
Requirements Evaluation Allows Usage := TRUE
Requirement 1 Description := Empire must have at least tech level 10 in Armor.
Requirement 1 Formula := Get_Empire_Tech_Level("Armor") >= (10 + ([%Level%] - 1))
Requirement 2 Description := This vehicle can only have half as many neutronium armor components as it has engines
Requirement 2 Formula := ( Get_Design_Specific_Component_Count("Neutronium Armor") * 2 ) < ( Get_Design_Ability_Component_Count("Movement Standard") - Get_Design_Specific_Component_Count("Neutronium Armor") )
Requirement 3 Description := Empire must have at least tech level 10 in Stellar Manipulation.
Requirement 3 Formula := Get_Empire_Tech_Level("Stellar Manipulation") >= (10 + ([%Level%] - 1))
Number Of Abilities := 2
Ability 1 Type := Component - Is Armor Type
Ability 1 Description := Armor protects the ship from damage.
Ability 1 Scope := Space Object
Ability 1 Range Formula := 0
Ability 1 Amount 1 Formula := "Normal Armor"
Ability 1 Amount 2 Formula := 0
Ability 2 Type := Movement Standard
Ability 2 Description := The massive density and weight of this armor reduces the movement of the ship
Ability 2 Scope := Space Object
Ability 2 Range Formula := 0
Ability 2 Amount 1 Formula := -5
Ability 2 Amount 2 Formula := 0
Weapon Type := None

__________________
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