Mission Objects hook

A Forum dedicated to the Suggestion, Creation and Editing of XWA Dynamic Link Library Files

Moderator: JeremyaFr

Re: Mission Objects hook

User avatar
JeremyaFr
XWAU Member
Posts: 3921
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sat Aug 20, 2022 8:26 pm

UPDATE

Hello,
I've updated the mission objects hook.

I've fixed a bug where the default profile was not loaded correctly.

User avatar
JeremyaFr
XWAU Member
Posts: 3921
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Tue Jan 03, 2023 9:29 pm

UPDATE

Hello,
I've updated the mission objects hook.

You can now select an object profile on a per-craft basis.

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
or
ObjectProfile_[Model] = ProfileName

User avatar
JeremyaFr
XWAU Member
Posts: 3921
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sun Mar 10, 2024 8:26 pm

UPDATE

Hello,
I've updated the mission objects hook.

You can now define targetable meshes.

# object targetable meshes
Suppose that the craft is "FlightModels\[Model].opt".
To define the targetable 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:
TargetableMeshes = indices
indices are a comma separated list.
If the list is empty then all meshes are targetable.

Leofus
Cadet 1st Class
Posts: 143
Joined: Wed Jan 11, 2006 12:01 am

Post by Leofus » Mon Mar 11, 2024 2:09 am

youre the man!

Post Reply