Hull icons

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

Moderator: JeremyaFr

Post Reply

Hull icons

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

Post by JeremyaFr » Thu Aug 24, 2017 8:15 pm

Hello,

I've created a hook to set the hull icon for any craft. You are no longer limited by the limit of 70 crafts that have a hull icon. Crafts beyond slot 70 can now have a hull icon.

The table in the exe that set the hull icons have been moved to a file named "HullIconList.txt".

Download link:
xwa_hook_hull_icon.zip

User avatar
Darksaber
Vice Admiral
Posts: 10932
Joined: Mon Jan 10, 2000 12:01 am
Contact:

Post by Darksaber » Thu Aug 24, 2017 8:33 pm

Cheers Jeremy that was super fast

Just one question where do you place the HullIconList.txt as you don't mention it in the readme

Is it the main XWA DIR?
“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

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

Post by JeremyaFr » Thu Aug 24, 2017 8:36 pm

"HullIconList.txt" is placed next to the hook dll in the main xwa directory.

User avatar
Darksaber
Vice Admiral
Posts: 10932
Joined: Mon Jan 10, 2000 12:01 am
Contact:

Post by Darksaber » Thu Aug 24, 2017 8:39 pm

Thought so :) thanks
“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

Tuskin
Ensign
Posts: 373
Joined: Sat Aug 13, 2005 11:01 pm

Post by Tuskin » Thu Aug 24, 2017 10:35 pm

You are just amazing.

User avatar
Driftwood

Admiral (Moderator)
Posts: 2063
Joined: Wed Oct 22, 2003 11:01 pm
Contact:

Post by Driftwood » Thu Aug 24, 2017 11:11 pm

Yay! It's really great that we're getting these "small" engine related limitations fixed after all these years.

Bman
Lieutenant
Posts: 864
Joined: Mon Apr 05, 2004 11:01 pm

Post by Bman » Fri Aug 25, 2017 4:57 am

Excellent. Thank you.
W-I-P: ISD-II, XQ-1 Platform1, (Imp) Escort Carrier, Misc, & TFTC.

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

Post by JeremyaFr » Wed Jul 08, 2020 1:34 pm

UPDATE

Hello,
I've updated the hull icon hook.

You can now define the map icon via a txt file instead of patching the xwa exe.

To set the map icon for a craft, open "MapIconList.txt" and change the corresponding line to the desired value.
If the file does not exist, default values are used.

Post Reply