Jump to content

Darryl

Members
  • Posts

    34
  • Joined

  • Last visited

Posts posted by Darryl

  1. You are really alert, theparanoid. Thanks for the information, will edit and do my best since I kind of lost the photoshop file, ahum  :dry: .

     

    Thanks for the info, Captain262. Information, photo's and video's are always allowed and are highly appreciated like theparanoid did :)

  2. Every video, photo or any form of information is allowed and appreciated. Currently we are looking for video's that contain the lights of the police cruisers. About the location, the mod will be central. 

  3. Hello,

     

    After some breaks from Emergency 4 modding (started modding on Arma 2 :)) I'm back with a whole new concept. A Pennsylvania based mod which will contain vehicles based of Pensylvania. These vehicles will have the same skin, but won't be identical and will be different than the realistic cars.

     

    This topic is still a WIP and will get updated over time, since I haven't got much time at the moment and I wanted to post atleast the topic to make you guys excited.

     

    Pictures:

    Police:

    XN3wLVF.png

    M1 30 - Ford Taurus

    Still W.I.P

     

    Team:

    Skinning: Darryl

    Modeling: Darryl, OPEN

    UV-Mapping: Darryl, OPEN

    Lighting: OPEN!

    Scripts: Stefanvp

    Editor stuff: Stefanvp

  4. Tell me if it works! I just edited something. Just give me a call for a backup if needed haha.

     

    If you want to edit the cars that are placed, you'll need the 'LAFireStationStart.script' that is located in Platform:\Emergency 4 folder\Mods\Los Angeles Mod v2.1\Scripts\Game\Command. 

     

    Example:

    FirestationStart.script -

    const char VO_AMBULANCE04[] = "fs_ambulance04"; TO const char VO_AMBULANCE04[] = "fs_battalion";

     

    ActorList l13 = Game::GetActors(VO_AMBULANCE04);
    for(int i=0; i < l13.GetNumActors(); i++)
    {
    Vector Ambulance04 = l13.GetActor(0)->GetPosition();
    Vehicle m = Game::CreateVehicle(OBJ_AMBULANCE01, UNNAMED);
    m.EnableBlueLights(false);
    m.SetPosition(Ambulance04);
    m.SetRotation(gate8);
    m.UpdatePlacement();
    m.SetMaxPassengers(2);
    m.SetMaxTransports(1);
    m.SetSpeed(12.0f);
    m.PushActionWait(ACTION_NEWLIST, 4.5f);
    //m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 3, false);
    //m.PushActionWait(ACTION_APPEND, 0.5f);
    m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 7, false);
    }
     
    To:

    ActorList l13 = Game::GetActors(VO_AMBULANCE04);
    for(int i=0; i < l13.GetNumActors(); i++)
    {
    Vector Ambulance04 = l13.GetActor(0)->GetPosition();
    Vehicle m = Game::CreateVehicle(OBJ_BATTALION, UNNAMED);
    m.EnableBlueLights(false);
    m.SetPosition(Ambulance04);         Not sure about this one, tho.
    m.SetRotation(gate8);
    m.UpdatePlacement();
    m.SetMaxPassengers(2);
    m.SetMaxTransports(0);
    m.SetSpeed(12.0f);
    m.PushActionWait(ACTION_NEWLIST, 4.5f);
    //m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 3, false);
    //m.PushActionWait(ACTION_APPEND, 0.5f);
    m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 7, false);

    }

     

    Firestation.script - 

    const char VO_AMBULANCE04[] = "fs_ambulance04"; to: const char VO_AMBULANCE04[] = "fs_battalion";

     

    GameObjectList l2;
      Game::CollectObstaclesOnVirtualObject(VO_AMBULANCE04, l2, ACTOR_VEHICLE);
    if(l2.GetNumObjects() > 0)
    {
    Vehicle m = l2.GetObject(0);
    PersonList passengers = m.GetPassengers();
    if (passengers.GetNumPersons() == 0)
    {
    if(StrCompare(m.GetPrototypeFileName(), OBJ_AMBULANCE01) == 0)
    {
    m.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_CALLCREW, Caller, 7, false);
    //m.PushActionWait(ACTION_APPEND, 0.5f);
    //m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 3, false);
    } else
    {
    m.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_CALLCREW, Caller, 1, false);
    m.PushActionWait(ACTION_APPEND, 0.5f);
    m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 2, false);
    }
    }

    }

     

    TO:

     

    GameObjectList l2;
      Game::CollectObstaclesOnVirtualObject(VO_AMBULANCE04, l2, ACTOR_VEHICLE);
    if(l2.GetNumObjects() > 0)
    {
    Vehicle m = l2.GetObject(0);
    PersonList passengers = m.GetPassengers();
    if (passengers.GetNumPersons() == 0)
    {
    if(StrCompare(m.GetPrototypeFileName(), OBJ_BATTALION) == 0)
    {
    m.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_CALLCREW, Caller, 7, false);
    //m.PushActionWait(ACTION_APPEND, 0.5f);
    //m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 3, false);
    } else
    {
    m.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_CALLCREW, Caller, 1, false);
    m.PushActionWait(ACTION_APPEND, 0.5f);
    m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 2, false);
    }
    }

    }

×
×
  • Create New...