Jump to content


Photo

Firestation spawning empty and personnelspawn commands not working


  • Please log in to reply
6 replies to this topic

#1 DMC

DMC

    Captain

  • Members
  • 122 posts
  • Gender:Male

Posted 21 July 2014 - 12:29 PM

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


Take care,

DMC

 

DKDBEM4
 
bannerfan7os9g.png

#2 piloto19hh

piloto19hh

    Lieutenant

  • Members
  • 75 posts
  • Gender:Male
  • Location:Corbera de Llobregat, Barcelona, Spain

Posted 21 July 2014 - 01:48 PM

Hi,
You need to edit the script LAFirestationStart to make them spawn at the start of the game

Creator of the MadridCity Mod --> madridcitymod.jimdo.com

------------------------------------------------

Lead developer of the Ocean City MD Modification
Skin maker for: South Yorkshire Mod
Mapper for: Miranda del Ebro Mod (Spain)


#3 DMC

DMC

    Captain

  • Members
  • 122 posts
  • Gender:Male

Posted 21 July 2014 - 02:44 PM

no, theoretically i wouldn't. i haven't changed anything. i just moved the 'VO's to another location. no other files have been altered


Take care,

DMC

 

DKDBEM4
 
bannerfan7os9g.png

#4 amuchalipsis

amuchalipsis

    Firefighter

  • Members
  • 22 posts
  • Gender:Not Telling
  • Location:Spain

Posted 21 July 2014 - 06:27 PM

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


#5 DMC

DMC

    Captain

  • Members
  • 122 posts
  • Gender:Male

Posted 23 July 2014 - 09:10 AM

The control panel is there, including a second one in the ground called spawn_check. and the tiller works normally


Take care,

DMC

 

DKDBEM4
 
bannerfan7os9g.png

#6 amuchalipsis

amuchalipsis

    Firefighter

  • Members
  • 22 posts
  • Gender:Not Telling
  • Location:Spain

Posted 23 July 2014 - 03:15 PM

then i cant help you, sorry. i guess others can, but not me



#7 timmiej93

timmiej93

    Captain

  • Members
  • 206 posts
  • Gender:Male
  • Location:Netherlands

Posted 23 July 2014 - 09:05 PM

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