Re: Hooks
Posted: Sun Dec 30, 2018 4:50 pm
Seconded, and same request for per-mission files.
Please login in order to see the forum. This is due to a current SPAM attack.
https://xwaupgrade.com/phpBB3/
Code: Select all
[Sound]
...
[HangarObjects]
...
[HangarMap]
...
[FamHangarMap]
...
[HangarCamera]
...
[FamHangarCamera]
...
[Camera]
...
[Size]
...
[Interdictor]
...
[Pilot]
...
[SFoils]
...
[WeaponColor]
...
[WeaponRate]
...
Code: Select all
[Resdata]
...
[Sounds]
...
[Objects]
...
[HangarObjects]
...
[HangarMap]
...
[FamHangarMap]
...
[HangarCamera]
...
[FamHangarCamera]
...
[mission_tie]
...
Code: Select all
[Camera]
...
[FamHangarCamera]
...
[FamHangarMap]
...
[HangarCamera]
...
[HangarMap]
...
[HangarObjects]
...
[Interdictor]
...
[Pilot]
...
[SFoils]
...
[Size]
...
[Sound]
...
[WeaponColor]
...
[WeaponRate]
...
Code: Select all
;this is a test of the interdictor for craft x
; This craft also has a hangar based on rebels tv series
[Interdictor]
IsInterdictor = 0 ;well, it turns out xyz didn't have this feature
[Sound]
…
Code: Select all
;XWing.ini
[Pilot]
;mesh index, angle, speed, behavior
6, 32, 2, 1
9, 32, 2, 2
[SFoils]
;mesh index, angle, closing speed, opening speed
1, 8, 1, 1
2, 12, 1, 1
3, 12, 1, 1
4, 8, 1, 1
10, 8, 1, 1
11, 12, 1, 1
12, 12, 1, 1
13, 8, 1, 1
14, 8, 1, 1
15, 12, 1, 1
16, 12, 1, 1
17, 8, 1, 1
[Sound]
EngineSoundInterior = 1
EngineSoundFlyBy = 1
Code: Select all
;CalamariCruiserNew.ini
[HangarMap]
; Must contain at least 4 object line.
; Format is : model index, position X, position Y, position Z, heading XY, heading Z
; Numbers can be in decimal or hexadecimal (0x) notation.
; When position Z is set to 0x7FFFFFFF, this means that the object stands at the ground.
;ModelIndex_314_HangarMonitor
314, -1059, 1313, 0x7FFFFFFF, 38600, 0
;ModelIndex_309_HangarCrane
309, 725, -416, 0x7FFFFFFF, 23500, 0
;ModelIndex_313_HangarGenerator
313, -1352, 1440, 0x7FFFFFFF, 536, 0
;ModelIndex_310_HangarCrate
310, 794, -810, -848, 6800, 12500
;ModelIndex_310_HangarCrate
310, -803, -1464, 0x7FFFFFFF, 49200, 0
;ModelIndex_310_HangarCrate
310, -1563, 944, 0x7FFFFFFF, 51436, 0
;ModelIndex_083_ContainerBox
83, -506, -2136, -722, 32836, 16480
;ModelIndex_083_ContainerBox
83, -841, -1628, 0x7FFFFFFF, 53100, 0
;ModelIndex_083_ContainerBox
83, 1240, -2098, -722, 272, 16480
;ModelIndex_084_ContainerSphere
84, -834, -2034, 0x7FFFFFFF, 32336, 0
;ModelIndex_080_CargoCanister
80, -3474, -275, 0x7FFFFFFF, 29436, 0
;ModelIndex_002_Ywing
2, -1038, -798, 0x7FFFFFFF, 7700, 0
;ModelIndex_050_Shuttle
50, 1146, -1288, -741, 50536, 0
;ModelIndex_310_HangarCrate
310, -873, -1456, -849, 60472, 20400
;ModelIndex_310_HangarCrate
310, -3095, -592, 0x7FFFFFFF, 51436, 0
;ModelIndex_083_ContainerBox
83, -1751, -1996, 0x7FFFFFFF, 31172, 0
;ModelIndex_083_ContainerBox
83, 979, -2103, 0x7FFFFFFF, 37036, 0
;ModelIndex_084_ContainerSphere
84, -1374, -2068, 0x7FFFFFFF, 40536, 0
;ModelIndex_080_CargoCanister
80, 3474, 357, 0x7FFFFFFF, 20536, 0
;ModelIndex_080_CargoCanister
80, -195, -1910, 0x7FFFFFFF, 54372, 0
;ModelIndex_004_Bwing
4, 1378, 0, 0x7FFFFFFF, 40036, 0
;ModelIndex_315_HangarWorkStand
315, 1179, 233, 0x7FFFFFFF, 40036, 0
;ModelIndex_002_Ywing
2, 1100, -523, 0x7FFFFFFF, 49036, 0
;ModelIndex_315_HangarWorkStand
315, 820, -705, 0x7FFFFFFF, 49036, 0
;ModelIndex_315_HangarWorkStand
315, -1065, 200, 0x7FFFFFFF, 16600, 0
;ModelIndex_001_Xwing
1, -1003, -100, -825, 16600, 0
;ModelIndex_003_Awing
3, -950, 560, 0x7FFFFFFF, 16600, 0
;ModelIndex_315_HangarWorkStand
315, -1065, 800, 0x7FFFFFFF, 16600, 0
;ModelIndex_058_CorellianTransport2
58, 965, -3600, 0x7FFFFFFF, -9500, 0
[HangarObjects]
;Replace Opts
FlightModels\Ywing.opt = FlightModels\YwingExterior.opt
FlightModels\Xwing.opt = FlightModels\XwingExterior.opt
FlightModels\Awing.opt = FlightModels\AwingExterior.opt
FlightModels\Bwing.opt = FlightModels\BwingExterior.opt
FlightModels\HangarCrane.opt = FlightModels\RebHangarCrane.opt
FlightModels\HangarDroid.opt = FlightModels\RebHangarDroid.opt
FlightModels\HangarDroid2.opt = FlightModels\RebHangarDroid2.opt
FlightModels\HangarGenerator.opt = FlightModels\RebHangarGenerator.opt
FlightModels\HangarMonitor.opt = FlightModels\RebHangarMonitor.opt
FlightModels\HangarRoofCrane.opt = FlightModels\RebHangarRoofCrane.opt
FlightModels\HangarWorkStand.opt = FlightModels\RebHangarWorkStand.opt
Here's another weapon hook related question, and I'm going to paraphrase my thoughts here a bit since I'm tired. For example if you have laser.opt with red/yellow/blue/green lets say FG color textures and defined by ship type Star Destroyer = weaponcolorgreen, ect calling the green FG to be shown when lasers are fired. Can you instead do something along the lines of Star Destroyer = weaponcolorgreen FG color (laser.opt) = plasma.opt FG green?JeremyaFr wrote: ↑Mon Dec 17, 2018 7:48 pmUPDATE
You can now select a different value for all weapons.
EDIT: link removed
The format is:
WeaponColor = color value
WeaponColorXXX = color value
WeaponColor defines the default value used for all weapons.
XXX in WeaponColorXXX goes from 280 to 307. When present, this overrides the default value. You can define a different value for all weapons.
Code: Select all
WeaponColor = 1
WeaponColor280 = 2
Code: Select all
[WeaponColor]
DefaultFG=0 ;Default FG for all weapons used by this craft not otherwise specified here
If it ain't broke, don't fix it