TMissiles file (X3)

From X-Wiki

Jump to: navigation, search

Contents


Structure of TMissiles T file:

Version 1.4.03

FieldDescription
0. Body file Body?
Template:Expr:0 + 1. Picture ID Not used
Template:Expr:0 + 2. Rotation X Yaw
Template:Expr:0 + 3. Rotation Y Pitch
Template:Expr:0 + 4. Rotation Z Roll
Template:Expr:0 + 5. Index
Template:Expr:0 + 6. Description String ID from Page 17 of text resource files
7. Speed
8. Acceleration
9. Launch soundIndex to Sounds file
10. Ambient soundIndex to Sounds file
11. Collision type
12. Damage
13. Blast radius
14. Lifetime
15. Engine effect
16. Impact effect (1)Index to Effects file - always the same as 21 (?)
17. Glow effect
18. Explosion soundIndex to Sounds file
19. 3D sound volume min
20. 3D sound volume max
21. Impact effect (2)Index to Effects file - always the same as 16 (?)
22. Explosion effectIndex to Effects file
23. Engine trail
24. Guidance flagsSee Missile flags below
25. Launch delayRate of Fire
26. HUD iconIcon name from IconData file
27. Scene file Scene containing the graphics of the object
28. Volume
29. Production RelVal (NPC) Price for NPCs (it's not really a price)
Template:Expr:29 + 1. Price modifier PRI Primary Price Modifier
Template:Expr:29 + 2. Price modifier SEC Secondary Price Modifier
Template:Expr:29 + 3. Ware class Class (size) of the object - affects which ships can carry it
Template:Expr:29 + 4. Production RelVal (player) Price for the player (it's not really a price)
Template:Expr:29 + 5. Min. Notoriety Minimal notoriety the player must have to be able to use this object
Template:Expr:29 + 6. Video ID Stream ID from Videos file containing the animation displayed in the Info screen
Template:Expr:29 + 7. Skin Index to Skins file
Template:Expr:29 + 8. Object ID Identifier of the object

Version 2.0.01

Field Description
0. Body file Body?
Template:Expr:0 + 1. Picture ID Not used
Template:Expr:0 + 2. Rotation X Yaw
Template:Expr:0 + 3. Rotation Y Pitch
Template:Expr:0 + 4. Rotation Z Roll
Template:Expr:0 + 5. Index
Template:Expr:0 + 6. Description String ID from Page 17 of text resource files
7. Speed
8. Acceleration
9. Launch soundIndex to Sounds file
10. Ambient soundIndex to Sounds file
11. Collision type
12. Damage
13. Blast radius
14. Lifetime
15. Engine effect
16. Glow effect
17. Explosion soundIndex to Sounds file
18. 3D sound volume min
19. 3D sound volume max
20. Impact effectIndex to Effects file
21. Explosion effectIndex to Effects file
22. Engine trail
23. Guidance flagsSee Missile flags below
24. Launch delayRate of Fire
25. HUD iconIcon name from IconData file
26. Scene file Scene containing the graphics of the object
27. Volume
28. Production RelVal (NPC) Price for NPCs (it's not really a price)
Template:Expr:28 + 1. Price modifier PRI Primary Price Modifier
Template:Expr:28 + 2. Price modifier SEC Secondary Price Modifier
Template:Expr:28 + 3. Ware class Class (size) of the object - affects which ships can carry it
Template:Expr:28 + 4. Production RelVal (player) Price for the player (it's not really a price)
Template:Expr:28 + 5. Min. Notoriety Minimal notoriety the player must have to be able to use this object
Template:Expr:28 + 6. Video ID Stream ID from Videos file containing the animation displayed in the Info screen
Template:Expr:28 + 7. Skin Index to Skins file
Template:Expr:28 + 8. Object ID Identifier of the object

Missile flags

The Guidance flags field can have any combination of the following flags:

ValueEffectDescription
1 FreefireCan be launched without a target lock
2 DumbfireMissile has no guidance
4 SwarmMissile breaks into several tracking warheads (Single Target)
8 HeatHas Heatseeker guidance
16 MultiBreakes into multiple tracking warheads (Multiple Targets)
32 ProxySeeker proximity detonation
64 ManualMissile can be manually detonated
128 FirestormSet on Firestorm torpedo
256 Manually GuidedMissile can be manually quided

Multiple flags are added using bitwise OR operation.

For example a Windstalker missile has flags: 1 | 2 | Man. detonation which is:

1 OR 2 OR 64 = 67

See also

References

Personal tools
sections