Page 1 of 1

[?] How to remove the ground units mark while the SIMRAD still work ?

Posted: 2011-01-27 19:08
by velosong
i add SIMRAD to my small mod, it works fine.

But, the aircraft HUD display all the ground units mark after adding codes below, even SIMRAD dosen`t be used, which i wouldn`t want to see. :-(

Code: Select all

rem -----------------------------------

hudBuilder.createSplitNode		Uh60Hud Uh60LaserHud
hudBuilder.setNodeLogicShowVariable 	EQUAL GuiIndex 27

hudBuilder.createObjectMarkerNode 	Uh60LaserHud Uh60LaserHudMarkers  110 70 565 465
hudBuilder.setObjectMarkerNodeTexture 		0 Ingame\Vehicles\Icons\Hud\Air\Attack\F15\HeatSeeking\lockBoxFriendly.tga
hudBuilder.setObjectMarkerNodeTexture 		1 Ingame\Vehicles\Icons\Hud\Air\Attack\F15\LaserGuided\laserLockBox.tga
hudBuilder.setObjectMarkerNodeTexture 		2 Ingame\Vehicles\Icons\Hud\Air\Attack\F15\LaserGuided\laserLockBoxLocked.tga
hudBuilder.setObjectMarkerNodeTextureSize	0 32 32
hudBuilder.setObjectMarkerNodeTextureSize	1 32 32
hudBuilder.setObjectMarkerNodeTextureSize	2 64 64
hudBuilder.setObjectMarkerNodeObjects 		4
hudBuilder.setObjectMarkerNodeLockOnType	1
hudBuilder.setNodeColor		 		0 1 0 1

the codes define ground vehicle mark can be seen in aircraft hud. Unfortunately,if i remove the codes,the pilot isn`t able to see the SIMRAD laser guided mark as well.

:? :so, how to remove the ground units mark while the SIMRAD still work ? Just like the PR.

waitting for help.

Re: How to remove the ground units mark while the SIMRAD still work ?

Posted: 2011-01-28 07:52
by Sniperdog
The problem is that the laser target attached to a vehicle like in vanilla is the same kind of laser target attached to the simrad projectile.

In PR you don't see them on vehicles because there ARE no laser targets on vehicles.

To remove them you would have to remove this line from every vehicle in your mod...

Code: Select all

ObjectTemplate.addTemplate LaserTarget_vehicle

Re: How to remove the ground units mark while the SIMRAD still work ?

Posted: 2011-01-28 09:58
by velosong
[R-DEV]Sniperdog wrote:
In PR you don't see them on vehicles because there ARE no laser targets on vehicles.

To remove them you would have to remove this line from every vehicle in your mod...

thanks! how did i miss that.... :shock: You are tricky! :p