Jump to content
TACRfan

Adding specialist equipment

Recommended Posts

Hi, how do i add specialist equipment ( Cones, flares, MP5, etc ) to vehicles, i know how to add the standard ingame equipment but not cone etc. 

 

Thanks

Link to comment
Share on other sites

Some have to be done via the scripts.

 

Each has different ways you have to add them. I'll give you the way for the Cones/Flares and MP5.

 

With the LAMP5 script you will have to go to 'PcmdMP5Get' and scroll down until you find these lines:

if (v.IsValid() && !v.IsDestroyed() && StrCompare(v.GetPrototypeFileName(), "mod:Prototypes/Vehicles/YOURLOCATION/YOURVEHICLE.e4p") == 0 ||StrCompare(v.GetPrototypeFileName(), "mod:Prototypes/Vehicles/YOURLOCATION/YOURVEHICLE.e4p") == 0 ||

Replace or add lines for your vehicle/s accordingly, also adding the location to the vehicle. You will have to do the same for 'PcmdMP5Remove'

 

The code also has the following line which means that even if you have added your vehicle to the script, that vehicle MUST have 'flashgrenade' checked in its equipment list.

SetRestrictions(RESTRICT_NOTDESTROYED | RESTRICT_NOTBURNING | RESTRICT_HASFLASHGRENADE);

------------

 

Cones/Flares

 

This requires nothing to be done to the script, just make sure that the vehicle/s you want to have Cones/Flares has 'roadblock' checked in its equipment and that it is a 'PoliceSTW' type unit.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...