Custom Reticule per Unit?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Custom Reticule per Unit?

Post by trainmaster611 »

I've got the custom reticules up and running and they work fine. Now I'm wondering if there is a way to assign certain given custom reticules to certain units (or preferably weapons).

I've been browsing through the Common folder and reading the hud files. I found this little section regarding the reticules.
Hidden/Spoiler:
[code]Group("player1reticule")
{
EventPosition("player1.weapon1.reticule.position")
Position(0.500000, 0.315481, 0.000000, "Viewport")
Alpha(0.650000)
EventEnable("player1.weapon1.reticule.position")
EventDisable("player1.weapon1.reticule.disable")
Model3D("player1reticule_shape")
{
Mesh("hud_main_reticule")
Scale(0.260000, 0.260000, 0.260000)
Alpha(0.520000)
ColorChangeRate(0.001000)
EventEnable("initialize")
EventColor("player1.weapon1.target.teamColor")
}[/code]
And there is of course, the 1playerhud, 2playerhud, 3playerhud, and 4playerhud. Theoretically it would be possible to erase the contents of 2, 3, and 4 and fill it with the contents of 1, changing only the reticule mesh parameter.

The question then is, can you assign specific huds per unit (or weapon)?

[edit]

I found something called "HUDModel" in psychofred's odf guides under "Trackable Entity Properties". He doesn't say what it does or whether its active or not. Would anyone know anything about this?
Post Reply