rettungstier Posted August 30, 2012 Report Share Posted August 30, 2012 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 tooeverything perfect!BUTas 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted August 30, 2012 Report Share Posted August 30, 2012 Have you put the equipment in the car? Quote Link to comment Share on other sites More sharing options...
rettungstier Posted August 30, 2012 Author Report Share Posted August 30, 2012 equipment added via editor:- fire extinguisher- road block- flash grenadechecked in unit.xml and they do appear there too.there must be a script that adds the equipment (especially the LA stuff) to a car. but i checked all of them and could not find any entry :'( Quote Link to comment Share on other sites More sharing options...
Guest Posted August 30, 2012 Report Share Posted August 30, 2012 Did you save it? Quote Link to comment Share on other sites More sharing options...
rettungstier Posted August 30, 2012 Author Report Share Posted August 30, 2012 of course i did ^^ Quote Link to comment Share on other sites More sharing options...
cops Posted August 30, 2012 Report Share Posted August 30, 2012 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... Quote Link to comment Share on other sites More sharing options...
rettungstier Posted August 30, 2012 Author Report Share Posted August 30, 2012 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 :'( Quote Link to comment Share on other sites More sharing options...
cops Posted August 30, 2012 Report Share Posted August 30, 2012 HMmm.... I really don't know what happens than... can you upload your script? Quote Link to comment Share on other sites More sharing options...
rettungstier Posted August 30, 2012 Author Report Share Posted August 30, 2012 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. Quote Link to comment Share on other sites More sharing options...
cops Posted August 30, 2012 Report Share Posted August 30, 2012 I thought on the same way as that you did....I added once a Chevrolet Tahoe Sheriff for my own edit of the LA mod, but I didn't had that problem... Quote Link to comment Share on other sites More sharing options...
rettungstier Posted August 30, 2012 Author Report Share Posted August 30, 2012 that's odd, damni switched the vehicle type from POLICE_STW to POLICE_MTW and will try that in a few minutes. maybe that'll work... i'll keep you updated Quote Link to comment Share on other sites More sharing options...
cops Posted August 30, 2012 Report Share Posted August 30, 2012 okay Quote Link to comment Share on other sites More sharing options...
rettungstier Posted August 30, 2012 Author Report Share Posted August 30, 2012 WORKED!!! :D Quote Link to comment Share on other sites More sharing options...
cops Posted August 30, 2012 Report Share Posted August 30, 2012 That's awesome! Quote Link to comment Share on other sites More sharing options...