Currently, I'm attempting to convert a few vehicles (tanks) to PR, unfortunately, they lack a proper set of crosshairs for the gunner. I came across HUDelements(vehiclename).con, but I'm unaware on how to link these files to the vehicle in question, which has none currently.
Regards,
X-Alt
Vehicle HUD Elements
- Mats391
- PR:BF2 Lead Developer
- Posts: 7643
- Joined: 2010-08-06 18:06
Re: Vehicle HUD Elements
HUDs are assigned through the GuiIndex of the active weapon. Check for ObjectTemplate.weaponHud.guiIndex in the vehicle code and hudBuilder.setNodeLogicShowVariable EQUAL/OR/AND/NOT <index>

Mineral: TIL that Wire-guided missiles actually use wire
