Jump to content
DMC

Firestation spawning empty and personnelspawn commands not working

Recommended Posts

Hi all,

 

I replaced the model of the firestation with a model i downloaded. i didn´t make any alterations whatsoever exept for moving the virtual objects to their new places.

but now, when i start freeplay the stations are empty and i have to call all the vehicles from of-map again, after calling they will return to the station normally. second: the commands to spawn personnel in the fire station also stopped working. i can press the buttons but nothing happens...

 

does anybody have any clue what could have gone wrong?

 

thanks in advance,

 

DMC

Link to comment
Share on other sites

maybe you removed the control panel of the fire station, it executes the command VcmdStart, the one that spawns the vehicles. without it the vehicles dont spawn. look at this, this is a piece of the script call fp_freeplay.script in the folder Los Angeles Mod v2.1\Scripts\Game\Mission:

 

 
void start()
{
GameObjectList l1("fire_station_controlpanel");
GameObject Obj = l1.GetObject(0);
Game::ExecuteCommand("VcmdStart", &Obj);
 
 
it says it needs an object called fire_station_controlpanel to execute VcmdStart
 
PS: check if your tiller trailer spawns when you call the tiller cabin
Link to comment
Share on other sites

It could be the firestation has the wrong name, the object itself. 

 

The original firestation is called fire_station.

 

It's found in the original LAFireStationStart script under the const(ant) char(arcter) NAME_FIRESTATION.

 

It looks like this, and can be found at the top of the script.

const char NAME_FIRESTATION[]			= "fire_station";

Now there's two things you can do to get this to work (if this is the problem).

You could simply rename the firestation object you placed in the editor to "fire_station" (without the quotes ofcourse)(This is the easy way), or you could change the value behind NAME_FIRESTATION to whatever your firestation is called. This could cause some problems with other scripts though, I'm not sure.

 

This COULD help, I can't promise anything.

Let me know if it works.

 

Tim

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