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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.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
  #11  
Old November 28th, 2006, 03:57 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 Re: Component.txt Knowledge Base

I'm trying to create a new component that is destroyed after one use, but I can't seem to get it to work correctly. It doesn't seem to get destroyed after one use. Any idea what I'm doing wrong?

Name := External Mount Missile
Description := Externally mounted one-shot heavy duty missile with nuclear warhead.
Picture Number := 87
Maximum Level := 11
Tonnage Space Taken Formula := 10
Tonnage Structure Formula := 10
Cost Minerals Formula := 20 + (([%Level%] - 1) * 5)
Cost Organics Formula := 0
Cost Radioactives Formula := 30 + (([%Level%] - 1) * 5)
Supply Amount Used Formula := 10
Ordnance Amount Used Formula := 5
Can Be Placed On Vehicle Typ := Ship, Base, Satellite, Drone
Can Be Placed In Ship Sections := Outer Hull
Component Type List := Technological
General Group := Weapons
Custom Group := 0
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 Missile Weapons.
Requirement 1 Formula := Get_Empire_Tech_Level("Missile Weapons") >= (1 + ([%Level%] - 1))
Number Of Abilities := 3
Ability 1 Type := Ordnance Storage
Ability 1 Description := External Mount Missiles store [%Amount1%] units of ordnance.
Ability 1 Scope := Space Object
Ability 1 Range Formula := 0
Ability 1 Amount 1 Formula := 5
Ability 1 Amount 2 Formula := 0
Ability 2 Type := Component - Destroyed On Use
Ability 2 Description := External Mount Missiles are destroyed on use.
Ability 2 Scope := Space Object
Ability 2 Range Formula := 0
Ability 2 Amount 1 Formula := 0
Ability 2 Amount 2 Formula := 0
Ability 3 Type := Description Only
Ability 3 Description := External Mount Missiles travel at [%Amount1%] km/s and have [%Amount2%] points of damage resistance.
Ability 3 Scope := Space Object
Ability 3 Range Formula := 0
Ability 3 Amount 1 Formula := 40
Ability 3 Amount 2 Formula := 10 + (([%Level%] - 1) * 1)
Weapon Type := Seeking
Weapon Delivery Type := Missile
Weapon Target Type List := Ship, Base, Planet
Weapon Damage Type Formula := "Normal"
Weapon Space At Range Distance Increment := 10.0
Weapon Space Min Damage At Range := 0.0
Weapon Space Max Damage At Range := 0.0
Weapon Space To Hit Modifier At Range := 0.0
Weapon Space Min Damage Modifier Formula := (100 + (([%Level%] - 1) * 20)) - iif([%Range%] > Min(200, (([%Level%] - 1) * 10) + 150), 10000, 0)
Weapon Space Max Damage Modifier Formula := (100 + (([%Level%] - 1) * 20)) - iif([%Range%] > Min(200, (([%Level%] - 1) * 10) + 150), 10000, 0)
Weapon Space To Hit Modifier Formula := 0
Weapon Reload Rate MS Formula := 5000
Weapon Display Type := Directed Torpedo
Weapon Space Display Effect Name := Missile 9
Weapon Ground Display Effect Name := Missile 9
Weapon Explosion Effect Name := [Random Specific Type] Weapon Explosion
Weapon Sound Effect Name := Capital Ship Missile
Weapon Seeker Speed Formula := 0.04
Weapon Seeker Turn Rate := 0.01
Weapon Seeker Tonnage Structure Formula := 10 + (([%Level%] - 1) * 1)
Weapon Seeker Defense Modifier Formula := 50

Moderator Mode:
Post edited to fit into window (stop side scrolling). No content removed. PE Shang
__________________
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
 

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 09:23 PM.


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