Jump to content
CanadianFrog

Creating Fire/police stations

Recommended Posts

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.

Link to comment
Share on other sites

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?

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