Jump to content
zsnyder23

Changing starting vehicles

Recommended Posts

Not tested but try going to LA Mod 2.0->Scripts->Mission->fp_freeplay.script and open it with notepad2(google it, although notepad that ships with windows will do)

Find:

void start()
{
GameObjectList l1("fire_station_controlpanel");
GameObject Obj = l1.GetObject(0);
Game::ExecuteCommand("VcmdStart", &Obj);

GameObjectList l2("spawn_check");
if (l2.GetNumObjects() > 0)
{
GameObject obj = l2.GetObject(0);
Game::ExecuteCommand("VcmdTillerCheck", &obj);
obj.SetSelectable(false);
} else
System::Error("Spawn_check not found!");
};

Replace:

/*
void start()
{
GameObjectList l1("fire_station_controlpanel");
GameObject Obj = l1.GetObject(0);
Game::ExecuteCommand("VcmdStart", &Obj);

GameObjectList l2("spawn_check");
if (l2.GetNumObjects() > 0)
{
GameObject obj = l2.GetObject(0);
Game::ExecuteCommand("VcmdTillerCheck", &obj);
obj.SetSelectable(false);
} else
System::Error("Spawn_check not found!");
};
*/

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