Custom Hangars
Moderator: JeremyaFr
- JeremyaFr
- Posts: 3847
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
UPDATE
Hello,
I've updated the hangars hook.
With the help of @ual002 there are now new settings related to inverted hangars.
To define the height of the inverted floor, set "HangarFloorInvertedHeight = value". The value is an integer. The default value is 0.
To set the hangar flightgroup color, set "HangarIff = value". value is an integer. The default value is -1. -1 means that the IFF of the command ship is used.
To disable the hangar shadows, set "DrawShadows = value". values can be 0 or 1. 0 means disabled. 1 means enabled.
To set the elevation delta of the player craft animation, set "PlayerAnimationElevation = value". value is an integer. The default value is 0.
To set the elevation delta of the player craft animation when inverted, set "PlayerAnimationInvertedElevation = value". value is an integer. The default value is 0.
To set the player craft straight line animation length, set "PlayerAnimationStraightLine = value". value is an integer. The default value is 0.
To set the x position offset of the player craft, set "PlayerOffsetX = value". value is an integer. The default value is 0.
To set the y position offset of the player craft, set "PlayerOffsetY = value". value is an integer. The default value is 0.
To set the z position offset of the player craft, set "PlayerOffsetZ = value". value is an integer. The default value is 0.
To set the x position offset of the player craft when inverted, set "PlayerInvertedOffsetX = value". value is an integer. The default value is 0.
To set the y position offset of the player craft when inverted, set "PlayerInvertedOffsetY = value". value is an integer. The default value is 0.
To set the z position offset of the player craft when inverted, set "PlayerInvertedOffsetZ = value". value is an integer. The default value is 0.
To auto set the position offset of the player craft, add the model index to the "PlayerModelIndices" setting and x y z position to the "PlayerOffsetsX" "PlayerOffsetsY" "PlayerOffsetsZ" settings. The values are comma separated.
To invert the hangar floor for the player craft, set "IsPlayerFloorInverted = 1". When set to 0, the floor is below the player craft. When set to 1, the floor is above the player craft.
To auto invert the hangar floor for the player craft, add the model index to the "PlayerFloorInvertedModelIndices" setting. The values are comma separated.
Hello,
I've updated the hangars hook.
With the help of @ual002 there are now new settings related to inverted hangars.
To define the height of the inverted floor, set "HangarFloorInvertedHeight = value". The value is an integer. The default value is 0.
To set the hangar flightgroup color, set "HangarIff = value". value is an integer. The default value is -1. -1 means that the IFF of the command ship is used.
To disable the hangar shadows, set "DrawShadows = value". values can be 0 or 1. 0 means disabled. 1 means enabled.
To set the elevation delta of the player craft animation, set "PlayerAnimationElevation = value". value is an integer. The default value is 0.
To set the elevation delta of the player craft animation when inverted, set "PlayerAnimationInvertedElevation = value". value is an integer. The default value is 0.
To set the player craft straight line animation length, set "PlayerAnimationStraightLine = value". value is an integer. The default value is 0.
To set the x position offset of the player craft, set "PlayerOffsetX = value". value is an integer. The default value is 0.
To set the y position offset of the player craft, set "PlayerOffsetY = value". value is an integer. The default value is 0.
To set the z position offset of the player craft, set "PlayerOffsetZ = value". value is an integer. The default value is 0.
To set the x position offset of the player craft when inverted, set "PlayerInvertedOffsetX = value". value is an integer. The default value is 0.
To set the y position offset of the player craft when inverted, set "PlayerInvertedOffsetY = value". value is an integer. The default value is 0.
To set the z position offset of the player craft when inverted, set "PlayerInvertedOffsetZ = value". value is an integer. The default value is 0.
To auto set the position offset of the player craft, add the model index to the "PlayerModelIndices" setting and x y z position to the "PlayerOffsetsX" "PlayerOffsetsY" "PlayerOffsetsZ" settings. The values are comma separated.
To invert the hangar floor for the player craft, set "IsPlayerFloorInverted = 1". When set to 0, the floor is below the player craft. When set to 1, the floor is above the player craft.
To auto invert the hangar floor for the player craft, add the model index to the "PlayerFloorInvertedModelIndices" setting. The values are comma separated.
- JeremyaFr
- Posts: 3847
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
UPDATE
Hello,
I've updated the hangars hook.
I've added these settings to define the position of the player craft camera:
- "InvertedX = value"
- "InvertedY = value"
- "InvertedZ = value"
- "FamInvertedX = value"
- "FamInvertedY = value"
- "FamInvertedZ = value"
Hello,
I've updated the hangars hook.
I've added these settings to define the position of the player craft camera:
- "InvertedX = value"
- "InvertedY = value"
- "InvertedZ = value"
- "FamInvertedX = value"
- "FamInvertedY = value"
- "FamInvertedZ = value"
- JeremyaFr
- Posts: 3847
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
UPDATE
Hello,
I've updated the hangars hook.
I've fixed a craft with the exterior models.
Hello,
I've updated the hangars hook.
I've fixed a craft with the exterior models.
- JeremyaFr
- Posts: 3847
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
UPDATE
Hello,
I've updated the hangars hook.
I've changed how the settings are read. This applies to the HangarObjects settings. Before the change, the whole section was overwritten. Now only the defined settings are overwritten. For exemple if a setting is not defined in the mission ini then the value from the ship ini will be used.
I've added: Or create a section named "HangarObjects_[Model]" in "[MissionDir][Mission].ini".
This applies to all hangars files. To define a section in the mission ini based on the mothership, append the mothership name to the section name. Exemple: HangarObjects_MothershipName. You can also append the Iff. Exemple: HangarObjects_MothershipName_Iff
Hello,
I've updated the hangars hook.
I've changed how the settings are read. This applies to the HangarObjects settings. Before the change, the whole section was overwritten. Now only the defined settings are overwritten. For exemple if a setting is not defined in the mission ini then the value from the ship ini will be used.
I've added: Or create a section named "HangarObjects_[Model]" in "[MissionDir][Mission].ini".
This applies to all hangars files. To define a section in the mission ini based on the mothership, append the mothership name to the section name. Exemple: HangarObjects_MothershipName. You can also append the Iff. Exemple: HangarObjects_MothershipName_Iff
- JeremyaFr
- Posts: 3847
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
UPDATE
Hello,
I've updated the hangars hook.
I've fixed a bug related to object profile for not craft object.
Hello,
I've updated the hangars hook.
I've fixed a bug related to object profile for not craft object.
- JeremyaFr
- Posts: 3847
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
UPDATE
Hello,
I've updated the hangars hook.
I've improved the loading time.
Hello,
I've updated the hangars hook.
I've improved the loading time.