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

Making or wanting help making your own asset? Check in here
Post Reply
velosong
Posts: 49
Joined: 2007-11-20 00:42

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

Post 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.
Birds Birds Birds
Sniperdog
Retired PR Developer
Posts: 1177
Joined: 2009-02-27 00:06

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

Post 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
Image

Image

Will Stahl aka "Merlin" in the Squad community
velosong
Posts: 49
Joined: 2007-11-20 00:42

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

Post 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
Birds Birds Birds
Post Reply

Return to “PR:BF2 Community Modding”