Jump to content
rettungstier

equipment unavailable

Recommended Posts

hey you guys!

got the following problem:

i added a new unit to LA mod freeplay. it appears in the menu, can be called, sent home, etc.

all commands, doors, etc work fine.

i even edited the siren script so i got that working too

everything perfect!

BUT

as soon as i want a police officer (it's a police car btw ;) ) to go and get a traffic cone, flare or change clothes to traffic vest, all those icons are not selectable! in other words: can't get ANY equipment from the car!

any ideas what i have to change or what script to edit to get all that LA equipment available on that car??!

greetz

Link to comment
Share on other sites

I thought that you also have to set it in the script?

As example: Flarescript, in the script I thought that there was a line that assign the vehicles?

But I'm not sure if this is really the problem :)

if (v.IsValid() && !v.IsDestroyed() && v.GetVehicleType() == VT_POLICE_STW || v.GetVehicleType() == VT_POLICE_MTW || v.GetVehicleType() == VT_POLICE_SW etc... :)

Link to comment
Share on other sites

yeah i found those lines too!

these commands assign equipment to certain vehicle types.

there are always two in a script, one for the GetEquipment and one for the RemoveEquipment command.

the problem is, i assigned POLICE_STW to my car via "edit traits" in the editor, so actually it would fulfill all requirements :'(

Link to comment
Share on other sites

all scripts are original LA mod scripts! i only edited the LASiren.script and added my car proto there. but that should not effect any equipment stuff.

do you know how to basically add LA mod specific/or other new equipment to a new vehicle?????

and i do not mean equipment already in standard em4 like shears, flashbang etc.

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...