
Custom Hangars
Moderators: Darksaber, General_Trageton, Forceflow, JeremyaFr, DTM
Re: Custom Hangars
- Darksaber
- Posts: 10322
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
So that means I have to use a FamilyBase.ini to change hangar objects, so they are different from the regular hangar objects 

“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
-
- Posts: 1618
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
UPDATE
Hello,
I've updated the hangars hook.
You can now define the position of the Hangar Roof Crane.
To set the Hangar Roof Crane position, set "HangarRoofCranePositionY = value Y" and "HangarRoofCranePositionZ = value Z". The values are integers.
The default value for HangarRoofCranePositionY is 786.
The default value for HangarRoofCranePositionZ is -282.
Hello,
I've updated the hangars hook.
You can now define the position of the Hangar Roof Crane.
To set the Hangar Roof Crane position, set "HangarRoofCranePositionY = value Y" and "HangarRoofCranePositionZ = value Z". The values are integers.
The default value for HangarRoofCranePositionY is 786.
The default value for HangarRoofCranePositionZ is -282.
-
- Posts: 1618
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Hello,
Here is something to test:
This modifies the arrival and departure animation of the Shuttle in the hangar. Instead of going to the right, the Shuttle will go to the bottom. I can also make it going straight instead of going down.
If this patch works well, I will make it hookable and include it to the hook.
Here is something to test:
Code: Select all
; hangar shuttle animation
At offset 5E59B, replace 01443507 with 2944350F.
At offset 5E770, replace 01443507 with 2944350F.
If this patch works well, I will make it hookable and include it to the hook.
-
- Posts: 709
- Joined: Mon Apr 05, 2004 11:01 pm
Thank you x2!
To make it easy for others . . .
Edit: Tested. This seems to work but I think the "Y" trajectory of the shuttle et al, needs to go further out into the open hangar about 4 to 8 meters then drop down if launching from ISD or VSD. If some hangar bays are longer, the shuttle will drop through the floor. The platform stations would require a longer straight and then upward angle take off. It would be great if we could manually edit those X, Y, Z values in a *.cfg, shuttle.txt, missionName_Shuttle.txt or Shuttle.ini that hook could read from ? Good start!
To make it easy for others . . .
Code: Select all
<Patch Name="Hangar Shuttle/or Craft Replacement Path Animation">
<Item Offset="5E59B" From="01443507" To="2944350F"/>
<Item Offset="5E770" From="01443507" To="2944350F"/>
</Patch>
W-I-P: ISD-II, XQ-1 Platform1, (Imp) Escort Carrier, Misc, & TFTC.
-
- Posts: 1618
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
WIP
Hello,
Here is a WIP version of the hangars hook.
You can now modify the Shuttle animation.
To replace the objects, create a file named "FlightModels\[Model]HangarObjects.txt" or "[MissionDir]\[Mission]_HangarObjects.txt".
Or create a section named "[HangarObjects]" in "FlightModels\[Model].ini" or "[MissionDir]\[Mission].ini".
To set the shuttle animation, set "ShuttleAnimation = value". value is "Right", "Top", or "Bottom". The default value is "Right".
EDIT: link removed
Hello,
Here is a WIP version of the hangars hook.
You can now modify the Shuttle animation.
To replace the objects, create a file named "FlightModels\[Model]HangarObjects.txt" or "[MissionDir]\[Mission]_HangarObjects.txt".
Or create a section named "[HangarObjects]" in "FlightModels\[Model].ini" or "[MissionDir]\[Mission].ini".
To set the shuttle animation, set "ShuttleAnimation = value". value is "Right", "Top", or "Bottom". The default value is "Right".
EDIT: link removed
-
- Posts: 1618
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
WIP
I've added a setting to define an extra straight line animation for the shuttle. While the shuttle is in the straight line, the s-foils remain closed.
To set the shuttle straight line animation length, set "ShuttleAnimationStraightLine = value". value is an integer. The default value is 0.
EDIT: link removed
I've added a setting to define an extra straight line animation for the shuttle. While the shuttle is in the straight line, the s-foils remain closed.
To set the shuttle straight line animation length, set "ShuttleAnimationStraightLine = value". value is an integer. The default value is 0.
EDIT: link removed
-
- Posts: 1618
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
UPDATE
Hello,
I've merged the changes from the WIP version to the stable version.
Hello,
I've merged the changes from the WIP version to the stable version.