Jump to content
Sign in to follow this  
[aps]gnat

Make unlisted - no radar addon ?

Recommended Posts

Hi all,

I've learn my configs basically Parrot fashion smile_o.gif .... and now I need to do something a little different.

I want a "vehicle" to be in OFP but not Listed in the editor and not visible as its own dot on the radar and also no Tag appearing when you place the ingame cursor over it ........ possible ? Some of above or all of above ?

Its just part of a bigger structure that I only want 1 id for and only wish to "createvehicle" it from an INIT script once.

example config;

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class TAKR_C: building

{

            vehicleClass="Armored";

scope=public;

            side=TEast;

          displayName="x_TAKR_C";

accuracy=0.70;

fuelCapacity=90;

armor=3000;

cost=100000;

model="\TAKR_Kuz\TAKR_C.p3d"

icon=\TAKR_Kuz\X.paa;

}

Thx

Share this post


Link to post
Share on other sites
Gnat @ Jan. 16 2006,14:56)]I want a "vehicle" to be in OFP but not Listed in the editor

Add the entry

Quote[/b] ]scope=protected;

... assumed you've put this in your config header:

Quote[/b] ]#define private 0

#define protected 1

#define public 2

Quote[/b] ]and not visible as its own dot on the radar

Add the entry

Quote[/b] ]irTarget=false;
Quote[/b] ]and also no Tag appearing when you place the ingame cursor over it

Add the entry

Quote[/b] ]hideUnitInfo=true;

Share this post


Link to post
Share on other sites

From the commented config:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">camouflage=0; // how easy to spot -> bigger means better spotable

audible=0; // audible - bigger - better heard

accuracy=1000; // never recognized

It might be worth adding these to ?

Share this post


Link to post
Share on other sites

Your a gem hardrock !! (lol ... I cracked a funny ......... *sigh* )

Thx, worked perfect.

Thanks UNN, I'll add those and see if theres any difference.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×