matte31 Posted September 6, 2021 Report Share Posted September 6, 2021 Hello, Im currently playing around with the westfalls scripts in a private mod im creating. However, i am stuck on the WestFallsFireStationStart/LAFireStationStart script. I can't manage to add units from start in game.. Can somone see anything wrong in the script? Note that i am purely using the script to add two new units, the other ones are not relevant/not used in the mod. Things done: -Added VO for every single point, see screenshots. -Added the correct properties in the editor like gate1,2 etc. WestFallsFireStationStart.script Quote Link to comment Share on other sites More sharing options...
itchboy Posted September 6, 2021 Report Share Posted September 6, 2021 The virtual objects need to be defined in the script, and then you need to take those definitions and allocate them as variables. Then, the vehicle prototypes need to be adjuted in the script, and then you need to specify that a specific vehicle prototype will spawn at a specific virtual object. Quote Link to comment Share on other sites More sharing options...
matte31 Posted September 6, 2021 Author Report Share Posted September 6, 2021 59 minutes ago, itchboy said: The virtual objects need to be defined in the script, and then you need to take those definitions and allocate them as variables. Then, the vehicle prototypes need to be adjuted in the script, and then you need to specify that a specific vehicle prototype will spawn at a specific virtual object. Imo that is exactly what ive done. But as it doesnt work i am obviously missing out on some parts.. Quote Link to comment Share on other sites More sharing options...
2Bells Gaming Posted September 6, 2021 Report Share Posted September 6, 2021 I took a very fast look. The only thing I see is the new prototypes are mapped to mod:Prototypes/Vehicles/fire department/, whereas the other units are mapped to mod:Prototypes/Vehicles/02 LA Fire Department/.  I just want to confirm that these are in a folder named "fire department" and not one named "02 LA Fire Department" Quote Link to comment Share on other sites More sharing options...
itchboy Posted September 6, 2021 Report Share Posted September 6, 2021 1 hour ago, matte31 said: Imo that is exactly what ive done. But as it doesnt work i am obviously missing out on some parts.. I need context because I don't know what you've modified. I can only give general advice with station scripts without playtesting the actual mod. I did the scripting for West Falls so I can probably help if this isn't too drastic of a change. I also have no idea what VO names you have, specifically, which ones work or are broken. I also don't know which of these VO's and prototype names are still valid for your mod (which I think runs on a new map) and uses new vehicles. Things to look out for in general are incorrect VO names, incorrect prototype names, and the allocation of the ActorList l1, l2 and so on. l1 and l2 can be named anything btw, just try to keep it descriptive enough. Line 341 might be wrong, it says "Pose" instead of Pos. Quote Link to comment Share on other sites More sharing options...
matte31 Posted September 6, 2021 Author Report Share Posted September 6, 2021 6 hours ago, 2Bells Gaming said: I took a very fast look. The only thing I see is the new prototypes are mapped to mod:Prototypes/Vehicles/fire department/, whereas the other units are mapped to mod:Prototypes/Vehicles/02 LA Fire Department/.  I just want to confirm that these are in a folder named "fire department" and not one named "02 LA Fire Department" Thanks for the reply, the prototype is correct. The other ones named 02 LA Fire Department are from the old mod. 5 hours ago, itchboy said: I need context because I don't know what you've modified. I can only give general advice with station scripts without playtesting the actual mod. I did the scripting for West Falls so I can probably help if this isn't too drastic of a change. I also have no idea what VO names you have, specifically, which ones work or are broken. I also don't know which of these VO's and prototype names are still valid for your mod (which I think runs on a new map) and uses new vehicles. Things to look out for in general are incorrect VO names, incorrect prototype names, and the allocation of the ActorList l1, l2 and so on. l1 and l2 can be named anything btw, just try to keep it descriptive enough. Line 341 might be wrong, it says "Pose" instead of Pos. I have pretty much built fire station 1 from the WestFalls mod and added "it" into my private one on a new map. All the VO names etc are built the same as in the original script, just with another name for the units involved(551/558). I have doublechecked the VO names and prototype names and haven't found anything wrong. What exactly is the Actorlist, i haven't thought on that before tbh. Line 341 is corrected. Quote Link to comment Share on other sites More sharing options...
matte31 Posted September 8, 2021 Author Report Share Posted September 8, 2021 Dont anyone got any clues? Quote Link to comment Share on other sites More sharing options...
itchboy Posted September 9, 2021 Report Share Posted September 9, 2021 Do you have the entire map of vehicles spawning except those 2, or do you have no vehicles spawn at all? It might be because your fp_freeplay script isn't initializing the start script upon loading FP. Quote Link to comment Share on other sites More sharing options...
matte31 Posted September 9, 2021 Author Report Share Posted September 9, 2021 16 hours ago, itchboy said: Do you have the entire map of vehicles spawning except those 2, or do you have no vehicles spawn at all? It might be because your fp_freeplay script isn't initializing the start script upon loading FP. I have only added two vehicles. And those do not spawn. The others are still in the script because im to lazy to remove them. Quote Link to comment Share on other sites More sharing options...
itchboy Posted September 12, 2021 Report Share Posted September 12, 2021 The only suggestion I have left is that your FP script isn't initializing because of the start script not initializing. You're either missing the code for it or the dummy object was not added on map. Quote Link to comment Share on other sites More sharing options...
matte31 Posted September 12, 2021 Author Report Share Posted September 12, 2021 I changed the fp_script and took from another mod, that made it working. So many thanks for leading me to the solution itchboy! Quote Link to comment Share on other sites More sharing options...