HOOK UPDATES
Been a lot going on so I've missed a few things I'm sure. Here are some of the more notable Hook updates of late.
JeremyaFr has taken a lot of the teams ideas and made them happen! It seems very little not possible these days.
New meshes count limit per opt
Some great editing news about Opt limits!
See this topic for more details.
https://www.xwaupgrade.com/phpBB3/viewt ... 33&t=13195
JeremyaFr wrote: ↑Sat Dec 26, 2020 2:29 pm
Hello, I've updated the opt limit hook.
The meshes count limit of 50 meshes per opt is now broken. The new limit is now 254 meshes per opt.
I've updated the mission objects hook, the pilot hook and the sfoils hook to support the new limit.
Hook_32bpp
There is a great new
Skins feature that went from Forceflows mind to creation in only the last week!
Essentially it allows anyone to add their own custom looks to an Opt. It's something that will be used more by the XWAU Team in 2021.
Anyone though with a little knowledge and some picture editing skills can create their own too!
See this topic for more details.
https://www.xwaupgrade.com/phpBB3/viewt ... 94#p177917
JeremyaFr wrote: ↑Fri Dec 25, 2020 7:38 pm
I've updated the 32bpp hook.
There is a new feature: Skins.
With skins, you can customize the appearance of the 3d models.
Suppose that the craft is "FlightModels\[Model].opt".
To create a skin named "[Skin1]", create a folder named "FlightModels\Skins\[Model]\[Skin1]\".
To replace a texture, place it in the skins folder with the same name and dimensions of the original texture.
The supported image formats are bmp, png, jpg. Use the png format to get transparency.
See "Skins\XWing\Default\Tex00033.png" for an example for the vanilla X-Wing.
Suppose that the mission is "[MissionDir]\[Mission].tie".
To define a skin for a craft, create a file named "[MissionDir]\[Mission]_Skins.txt" or create a section named "[Skins]" in "[MissionDir]\[Mission].ini".
The format is
CraftOptName = SkinNameA, SkinNameB
CraftOptName_fg_# = SkinName1, SkinName2, SkinName3
# in CraftOptName_fg_# is an integer for the opt color marking index, starting at 0.
The default SkinName is "Default".
See "Skins.txt"
Hook_Mission_Objects
This update is also very new but it is used in the very next XWAU Update.
Essentially you can hide areas of the craft without having a whole different Opt. All based on an INI code.
For example you could create a Death Star and then later in another mission have it look like it's the DS2 half built just by hiding some meshes.
It has some good potential and creators like Vince T are already putting it into use.
See this topic for more details.
https://www.xwaupgrade.com/phpBB3/viewt ... 33&t=13090
JeremyaFr wrote: ↑Wed Nov 18, 2020 3:18 pm
Here is an update of the mission objects hook.
You can now hide meshes of a craft for flightgroups of a mission.
# object profiles
Suppose that the new craft is "FlightModels\[Model].opt".
To hide meshes for a craft, create a file named "FlightModels\[Model]ObjectProfiles.txt" or create a section named "[ObjectProfiles]" in "FlightModels\[Model].ini".
The format is:
ProfileName = indices
indices are a comma separated list.
Suppose that the mission is "[MissionDir]\[Mission].tie".
To define an object profile for a flightgroup, create a file named "[MissionDir]\[Mission]_Objects.txt" or create a section named "[Objects]" in "[MissionDir]\[Mission].ini".
The format is
ObjectProfile_fg_# = ProfileName
Replace # with the flightgroup index.
The default ProfileName is "Full".
Hook_Sfoils
Some more updates to give lots of S-foil options.
See this topic for more details.
https://www.xwaupgrade.com/phpBB3/viewt ... &start=225
JeremyaFr wrote: ↑Sat Oct 10, 2020 3:01 pm
Hello, I've updated the s-foils hook.
Changes are:
- fix CloseSFoilsInHyperspace for player craft
- add AllowFireWhenSFoilsAreClosed
- add AutoCloseSFoils
The CloseSFoilsInHyperspace setting now works for the player craft.
With the AllowFireWhenSFoilsAreClosed setting, the player can fire when the s-foils are closed.
With the AutoCloseSFoils setting, you can choose between automatically or manually close and open the s-foils and landing gears.
Hook_Dock
Part of this improvement you may have seen already in our Mega Patch.
Now when you dock with something if your ship is close to the surface it no longer flies back up a long way before going back to dock.
You can also create custom values for different craft too.
See this topic for more details.
https://www.xwaupgrade.com/phpBB3/viewt ... 33&t=13029
JeremyaFr wrote: ↑Mon Nov 02, 2020 9:08 pm
You can now modify the player dock position.
Suppose that the craft is "FlightModels\[Model].opt".
To define a dock elevation, create a file named "FlightModels\[Model]Dock.txt" or create a section named "[Dock]" in "FlightModels\[Model].ini".
The format is:
DockElevation = value
If the file does not exist, default values are used. The default value is 0 for the ModelIndex 170 SpaceColony2, and 932 for the other crafts.
To force a dock elevation value, set the ForceDockElevation setting.
Set -1 to use per model values, or set a int value to use the same elevation for all crafts.
Hook_Joystick_Ff
The new Joystick features are part of our Mega Patch but with so many controllers out there getting it perfect is tricky!
Jeremy has added a few fixes since the release and here are some notes since this post was updated too.
See this topic for more details.
https://www.xwaupgrade.com/phpBB3/viewt ... 6&start=75
JeremyaFr wrote: ↑Fri Dec 11, 2020 8:38 pm
Hello, I've updated the joystick hook.
I've improved the enable or disable small movements feature.
I've added 2 settings. 1 for invert the throttle axis and 1 for invert the rudder axis.
I've improved performance of the hook.
You can now replace each axis: Yaw, Pitch, Throttle, Rudder
XwaJoystickConfig_03.png
Dinput.dll
Some bug fixes which help with mouse issues.
See this topic for more details.
https://www.xwaupgrade.com/phpBB3/viewt ... 33&t=12061
JeremyaFr wrote: ↑Sat Dec 26, 2020 1:54 pm
Hello, I've updated the windowed hook and the main hook (DInput.dll).
I've fixed the mouse move in the hangar when using High DPI Desktop. This is done by calling the SetProcessDPIAware function.
We will update the Hooks in future releases as always but if you want to update them manually then see below:
Delete or backup your old Hook setup download folder. Download them with
XWA Hooks Setup and then copy the files from Setup into your XWA main folder.