Page 1 of 1

Custom Reticule per Unit?

Posted: Wed Jun 03, 2009 1:05 pm
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?