CanadianFrog Posted February 23, 2019 Report Share Posted February 23, 2019 Hey, I'm still learning the ropes of modding, and I was wondering if anyone knew how to create fire/police stations, like where the trucks can spawn/park. I plan on using assets from other mods, so I won't have to do everything from scratch Quote Link to comment Share on other sites More sharing options...
itchboy Posted February 24, 2019 Report Share Posted February 24, 2019 Use the LA mod script as a stepping point. The LAfireStationStart script contains the code which spawns vehicles at start, while LAtoFireStation is for parking the vehicles at the station. Quote Link to comment Share on other sites More sharing options...
CanadianFrog Posted February 24, 2019 Author Report Share Posted February 24, 2019 Okay, but how can I set the areas where the trucks go, like where the blue boxes are that I see in the editor, and how can I make it so there are only about three units in the station? Quote Link to comment Share on other sites More sharing options...
itchboy Posted February 24, 2019 Report Share Posted February 24, 2019 The blue boxes you see in the editor are virtual objects. Pressing the F5 key will open up the menu that allows you to edit them. You can make three units in one station by moving, reassigning or creating new virtual objects to accomodate three vehicles. The next step is to edit the script so it makes use of those virtual objects and spawns the vehicles you specified in each virtual object. Quote Link to comment Share on other sites More sharing options...
CanadianFrog Posted February 24, 2019 Author Report Share Posted February 24, 2019 Okay, I'm testing this using just one random object I made and titled test object 1. I've noticed that in the script, it says: const char NAME_FIRESTATION[] = "fire_station"; const char NAME_FIRESTATION_ROOF[] = "fire_station_roof"; const char NAME_FIRESTATION2[] = "fire_station2"; const char NAME_FIRESTATION2_ROOF[] = "fire_station2_roof"; const char NAME_CONTROLPANEL[] = "fire_station_controlpanel"; const char NAME_CONTROLPANEL2[] = "fire_station_controlpanel2"; const char OBJ_AMBULANCE01[] = "mod:Prototypes/Vehicles/01 LA Ambulance/ambulance01.e4p"; const char OBJ_AMBULANCE02[] = "mod:Prototypes/Vehicles/01 LA Ambulance/ambulance02.e4p"; const char OBJ_BATTALION[] = "mod:Prototypes/Vehicles/02 LA Fire Department/battalion_chief_vehicle.e4p"; const char OBJ_USAR[] = "mod:Prototypes/Vehicles/02 LA Fire Department/usar_squad.e4p"; const char OBJ_LADDER[] = "mod:Prototypes/Vehicles/02 LA Fire Department/aerial_ladder.e4p"; const char OBJ_TILLER[] = "mod:Prototypes/Vehicles/02 LA Fire Department/tiller_cabin.e4p"; const char OBJ_ENGINE01[] = "mod:Prototypes/Vehicles/02 LA Fire Department/fire_engine1.e4p"; const char OBJ_ENGINE02[] = "mod:Prototypes/Vehicles/02 LA Fire Department/fire_engine2.e4p"; const char OBJ_HAZMATSQUAD[] = "mod:Prototypes/Vehicles/02 LA Fire Department/hazmat_squad.e4p"; const char DUMMY_GATES[] = "DummyGates"; const char DUMMY_ALARM[] = "DummyDisableAlarm"; const char DUMMY_CALLCREW[] = "DummyCallCrew"; const char VO_BATTALION[] = "fs_battalion"; const char VO_AMBULANCE01[] = "fs_ambulance01"; const char VO_AMBULANCE02[] = "fs_ambulance02"; const char VO_AMBULANCE03[] = "fs_ambulance03"; const char VO_AMBULANCE04[] = "fs_ambulance04"; const char VO_USAR[] = "fs_usar"; const char VO_LADDER[] = "fs_ladder"; const char VO_ENGINE01[] = "fs_engine01"; const char VO_ENGINE02[] = "fs_engine02"; const char VO_ENGINE03[] = "fs_engine03"; const char VO_ENGINE04[] = "fs_engine04"; const char VO_ENGINE05[] = "fs_engine05"; const char VO_HAZMAT[] = "fs_hazmat"; const char NAME_GATE01A[] = "fs_gate01a"; const char NAME_GATE02A[] = "fs_gate02a"; const char NAME_GATE03A[] = "fs_gate03a"; const char NAME_GATE04A[] = "fs_gate04a"; const char NAME_GATE05A[] = "fs_gate05a"; const char NAME_GATE06A[] = "fs_gate06a"; const char NAME_GATE07A[] = "fs_gate07a"; const char NAME_GATE08A[] = "fs_gate08a"; I assume that the "const char" lines are the names of the object, and the "FS_" lines the unit, but what should I change? Quote Link to comment Share on other sites More sharing options...
itchboy Posted February 25, 2019 Report Share Posted February 25, 2019 The "fs_" lines are the virtual object names found in the editor. They also refer to prototype names and object names. The const char lines are what you use when editing the script in notepad. Quote Link to comment Share on other sites More sharing options...