Jump to content

tim0984

Members
  • Posts

    34
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by tim0984

  1. Due to inactivity (personal life stuff to deal with) I haven't been working on this mods the past months, but I have continued work on this now. Here is a short video of what I have been working on this week:

    (sorry about the music accidentally recorded myself eating so had to cover that up)

    About the updated CVPI skin:
    As some of you may know in June 2018 the Service de police de la Ville de Montréal (Montreal Police) showed their new liveries. The CVPI is being phased out. But since their is a lot of CVPI lovers (including myself) I will include one with the new livery along side the dodge charger and ford explorer. Let me know what you guys think!

     

    • Like 1
    • Upvote 1
  2. On 2/26/2018 at 4:50 PM, Squad 65 said:

    RCMP isn’t in Quebec

    As you can read in the article that @Fred03 linked they are actually in quebec and the C division headquarters are in Montreal. That is why they will be included in this mod but as a out of map unit that can be called in.

    For all the other people interested in the mod & who are not in our Discord server - I have been busy this week and last week cause I am switching jobs, I am going to work in an airport so a lot of paperwork for security... 
    This week I'll start working on the mod again!

    • Upvote 1
  3. bzPumR7.png

    Click here to join our Discord | Youtube Channel with some WIP videos

    Hello! I will be working on the Pointe-Claire mod, I will be working off the LA mod base and will be adding features from there. Pointe-Claire is an on-island suburb of Montreal in Quebec, Canada. I've had this idea for a but didn't do anything with it because there is a Montreal Mod in progress. But since the "Montreal Mod" is just 1 street and thus a different gameplay experience I decided I would go forward with this project. Click here to join our Discord!


    The map will include:

    • Montreal Fire Department (SIM) station 55
      • Pumper 255
      • 2nd Pumper 2055
      • Ladder 455
      • Light Rescue Unit 555
      • Technical Rescue Group (Groupe de Sauvetage Technique) 655
      • Chief of Operations 132
    • Montreal Fire Department (SIM) station 62 *
      • Pumper 262
      • Pumper 2062M
      • Ladder 462
    • Montreal Police (SPVM) station 5
      • List of police units not finished yet.
      • Supervisor 5-85
      • Patrol 5-XX
    • Lakeshore General Hospital
      • List of ambulance units not finished yet.
    • Out of Map Units
      • Tanker 6053
      • Tanker 6064
      • Groupe d'Intervention Matieres Dangereuses 1729 (HAZMAT)

    We might be adding additional buildings & units if nessecary.

    Functionalities that will be included:

    • Limited Water Logic
    • Stretcher Script (stretcher can be carried by one unit)
    • More to be added, suggestions are welcome!

    Pictures of the map (WIP):

     

    Walmart got a updated look.

    Spoiler

    S3e9uOC.jpg

    New ambulance parking/patient dropoff

    Spoiler

    5KIdptn.jpg

    SIM Station 55

    Spoiler

    LtRTogY.jpg

    New 3D SPVM lettering on police station.

    Spoiler

    sEqsSmx.jpg

    Unit pictures/videos

    k9Xol8H.png

     

    4322BgN.jpg

     

    Credits:

    • LA Mod Base by Hoppah (including scripts, map textures & 3d models)
    • SPVM, Urgence Sante, and SIM textures by me (tim0984/tim260)
    • Pierce Velocity Model by Hoppah & "Fire Dept Boston"
    • Ambulance from Mayberry mod - If someone knows who made it let me know! Could not find the author.. 
    • SOCOM552/CMCC626 for making us a Spartan Metro Star + body
    • Other: cops, VPI, godra
    • Upvote 2
  4. 19 hours ago, EmC-Unit said:

    My guess the folder CVPI is excces here. Left the structure like this:

     mod:Prototype\Vehicles\03 Police\svpm01.e4p

    Tell us if it helped, gl.

    It does work if I leave it in just the "03 Police" folder so I'll stick to that. But that doesn't explain why my wheels (or other vehicle parts) sometimes randomly disappear. Sometimes they do and sometimes they don't I can not reproduce the issue every time.

    So I have no idea what is happening..

  5. Hello!

    This might be a stupid question, I've been trying to make my own mod (private) and I just want to start with the basic em4 map. But whenever in the editor I create a unit & unit group and then reload the mod nothing is saved and I have to add everything again (childs, wheels, doors etc) does anyone know why this happens?

    What I did:

    Create a mod in the editor called it "Greater Montreal"
    Create group based on LA Mod folder structure so I called it: "03 Police"
    Create prototype, save in mod:Prototype\Vehicles\03 Police\CVPI\svpm01.e4p
    Create all the protoypes for wheels, doors, lightbar.
    * I check the folders all the files are there *
    Close the editor

    Open the editor, load my mod
    Press F1 to place the CVPI im working on but it is not there? (but it is there in the files)
    Oh and the doors I placed in _VehicleParts_doors are also gone
     

    Editor is run as administrator
    Basically if I save it in any other folder than the default it will not work eventhough I see this file structure work in other mods http://www.emergency-planet.com/uploads/emoticons/default_smile.png

  6. Hi,

     

    I've been editing a dutch mod for my personal use and there's a parkatbase script in it but there is a 'anfahr' and 'wende' ( i assume its approach and direction, my german sux :D ) position which are vectors, and since I really suck at mathemetics I really have no idea how these work.

     

    Can someone either explain me how vectors work or how I can use virtual objects instead of vectors.

     

    i tried changing

    al=Game::GetActors("park3"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);wendepos  = Vector (0,600,0);

    to 

    al=Game::GetActors("park3"); // * parking place name (virtual object)anfahrpos = Game::GetActors("park3_approach");wendepos  = Game::GetActors("park3_facing");

    but that doesn't work either, I'd appreciate some help!

     

     

    The script:

    // ParkAtBase-Script (c) a-rescue | its not allowed to remove this lineconst char IMG[] = "gowache";int DummyGroup = "90";const char AlarmSound[] = "mod:Audio/Sounds/park.wav";object ParkAtBase : CommandScript{ParkAtBase(){SetIcon(IMG);SetCursor(IMG);SetValidTargets(ACTOR_VEHICLE);SetRestrictions(RESTRICT_SELFEXECUTE);SetPossibleCallers(ACTOR_VEHICLE);SetGroupID(DummyGroup);}bool CheckGroupVisibility(GameObject *Caller){return true;}bool CheckPossible(GameObject *Caller){if (!Caller->IsValid() || Caller->GetType() != ACTOR_VEHICLE)return false;Vehicle v(Caller);if (v.IsValid() && !v.IsDestroyed()){return true;}PersonList pl = v.GetPassengers();for(int i=0; i < pl.GetNumPersons(); i++){	Person p = pl.GetPerson(i);	if(!p.IsCarryingPerson())	{		return true;	}	else	{		return false;	}}return false;}bool CheckTarget(GameObject *Caller, Actor *Target, int ChildID){if (!Caller->IsValid() || !Target->IsValid() || Caller->GetID() != Target->GetID())return false;Vehicle v(Caller);if (v.IsValid() && !v.IsDestroyed()){return true;}return false;}	void PushActions(GameObject *Caller, Actor *Target, int childID)	{		Vehicle v(Caller);				if (v.HasCommand("VcmdWarningLightsOn"))		{			Game::ExecuteCommand("VCmdWarningLightsOff", &v, &v);		}				if (v.HasCommand("DUMMY_HASBELICHTING"))		{ 			v.EnableSpecialLights(false); 			v.RemoveCommand(DUMMY_HASBELICHTING);		}				if (v.IsBlueLightEnabled())		{			Game::ExecuteCommand("VCmdBlueLightsOff", &v, &v);		}				if (v.HasCommand("DUMMYHasSiren"))		{			Game::ExecuteCommand("DUMMYDisableSiren", &v, &v);		}				if (v.HasCommand("DUMMYHasAutoSiren"))		{			Game::ExecuteCommand("VCmdAutoSirenOff", &v, &v);		}                if(v.IsInstalled())	        {						return;		// Wenn DLK aufgebaut ist, oder ein Schlauch am Fahrzeug angeschlossen ist!	        }			Vehicle v(Caller);		ActorList al;		Actor parkplatz;		Vector parkpos;		Vector anfahrpos;		Vector wendepos;		PersonList pl;{Audio::PlaySample(AlarmSound);}// car detection, parking place detection and approach and turn settings/////// CAR 1 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("ovd"))	 // * car-name{al=Game::GetActors("park"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 2 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("tas"))	 // * car-name{al=Game::GetActors("park3"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);wendepos  = Vector (0,600,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 3 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("sprinter"))	 // * car-name{al=Game::GetActors("park2"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);wendepos  = Vector (0,-600,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 4 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("erb"))	 // * car-name{al=Game::GetActors("park4"); // * parking place name (virtual object)anfahrpos = Vector (0,300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos = Vector (0,600,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 5 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("tas2"))	 // * car-name{al=Game::GetActors("park5"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);wendepos  = Vector (0,-600,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 6 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("pm"))	 // * car-name{al=Game::GetActors("park6"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);wendepos  = Vector (0,-600,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 7 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("ha"))	 // * car-name{al=Game::GetActors("park7"); // * parking place name (virtual object)anfahrpos = Vector (0,300,0);wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 8 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("tas3"))	 // * car-name{al=Game::GetActors("park8"); // * parking place name (virtual object)anfahrpos = Vector (-300,0,0);wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 9 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("tas4"))	 // * car-name{al=Game::GetActors("park9"); // * parking place name (virtual object)anfahrpos = Vector (-300,0,0);wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 10 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("pm2"))	 // * car-name{al=Game::GetActors("park10"); // * parking place name (virtual object)anfahrpos = Vector (-300,0,0);wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 11 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("tas5"))	 // * car-name{al=Game::GetActors("park11"); // * parking place name (virtual object)anfahrpos = Vector (-300,0,0);wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 12 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("tas6"))	 // * car-name{al=Game::GetActors("park12"); // * parking place name (virtual object)anfahrpos = Vector (-300,0,0);wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 13 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("tascas"))	 // * car-name{al=Game::GetActors("park13"); // * parking place name (virtual object)anfahrpos = Vector (-300,0,0);wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 14 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("al"))	 // * car-name{al=Game::GetActors("park14"); // * parking place name (virtual object)anfahrpos = Vector (-300,0,0);wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 15 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("nh1"))	 // * car-name{al=Game::GetActors("nhpark1"); // * parking place name (virtual object)anfahrpos = Vector (-300,0,0);wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 16 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("nh2"))	 // * car-name{al=Game::GetActors("nhpark2"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 17 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("nh3"))	 // * car-name{al=Game::GetActors("nhpark3"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 18 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("nh4"))	 // * car-name{al=Game::GetActors("nhpark4"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 19 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("motor"))	 // * car-name{al=Game::GetActors("park19"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 20 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("ovdg"))	 // * car-name{al=Game::GetActors("park20"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 21 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("rr2"))	 // * car-name{al=Game::GetActors("park21"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 22 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("rr"))	 // * car-name{al=Game::GetActors("park22"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 23 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("lifeliner1"))	 // * car-name{al=Game::GetActors("park23"); // * parking place name (virtual object)anfahrpos = Vector (0,300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos = Vector (0,600,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)v.EnableBlueLights(false);}else/////// CAR 24 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("reanimatie"))	 // * car-name{al=Game::GetActors("park25"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 25 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("reanimatie2"))	 // * car-name{al=Game::GetActors("park26"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 26 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("nh5"))	 // * car-name{al=Game::GetActors("nhpark5"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 27 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("nh6"))	 // * car-name{al=Game::GetActors("nhpark6"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 28 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("nh7"))	 // * car-name{al=Game::GetActors("nhpark7"); // * parking place name (virtual object)anfahrpos = Vector (-300,0,0);wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 29 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("nh8"))	 // * car-name{al=Game::GetActors("nhpark8"); // * parking place name (virtual object)anfahrpos = Vector (-300,0,0);wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 30 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("ovdp"))	 // * car-name{al=Game::GetActors("ovdp1"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 31 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("voa"))	 // * car-name{al=Game::GetActors("voa1"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 32 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("mmt01"))	 // * car-name{al=Game::GetActors("mmt1"); // * parking place name (virtual object)anfahrpos = Vector (-300,0,0);wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 33 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("pmbgn"))	 // * car-name{al=Game::GetActors("parkpmbgn"); // * parking place name (virtual object)anfahrpos = Vector (-300,0,0);wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 34 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("duikwagen"))	 // * car-name{al=Game::GetActors("parkduikwagen"); // * parking place name (virtual object)anfahrpos = Vector (0,300,0);wendepos  = Vector (0,-600,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 35 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("khv"))	 // * car-name{al=Game::GetActors("parkkhv"); // * parking place name (virtual object)anfahrpos = Vector (300,0,0);wendepos  = Vector (0,-600,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 36 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("ha2"))	 // * car-name{al=Game::GetActors("parkha2"); // * parking place name (virtual object)anfahrpos = Vector (0,300,0);wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 37 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("VC"))	 // * car-name{al=Game::GetActors("parkvc"); // * parking place name (virtual object)anfahrpos = Vector (0,300,0);wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 38 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("hovd"))	 // * car-name{al=Game::GetActors("parkhovd"); // * parking place name (virtual object)anfahrpos = Vector (0,300,0);wendepos  = Vector (0,-600,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 39 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("RBVC"))	 // * car-name{al=Game::GetActors("parkrbvc"); // * parking place name (virtual object)anfahrpos = Vector (-300,0,0);wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 40 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("RB120"))	 // * car-name{al=Game::GetActors("parkRB120"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);wendepos  = Vector (0,-600,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 41 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("pj"))	 // * car-name{al=Game::GetActors("parkpj"); // * parking place name (virtual object)anfahrpos = Vector (-300,0,0);wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 42 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("ags"))	 // * car-name{al=Game::GetActors("parkags"); // * parking place name (virtual object)anfahrpos = Vector (0,300,0);wendepos  = Vector (0,-600,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 43 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("ha3"))	 // * car-name{al=Game::GetActors("parkha3"); // * parking place name (virtual object)anfahrpos = Vector (300,0,0);wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 44 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("hv"))	 // * car-name{al=Game::GetActors("parkhv"); // * parking place name (virtual object)anfahrpos = Vector (0,300,0);wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 45 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("ovdg2"))	 // * car-name{al=Game::GetActors("parkovdg2"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 46 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("motor_poli"))	 // * car-name{al=Game::GetActors("parkmotor_poli"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 47 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("tshlo"))	 // * car-name{al=Game::GetActors("parktshlo"); // * parking place name (virtual object)anfahrpos = Vector (-300,0,0);wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 48 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("pm3"))	 // * car-name{al=Game::GetActors("parkpm3"); // * parking place name (virtual object)anfahrpos = Vector (-300,0,0);wendepos  = Vector (-600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 49 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("alhhw"))	 // * car-name{al=Game::GetActors("parkalhhw"); // * parking place name (virtual object)anfahrpos = Vector (0,300,0);wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 49 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("alhw"))	 // * car-name{al=Game::GetActors("parkalhw"); // * parking place name (virtual object)anfahrpos = Vector (0,300,0);wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 37 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("ovd96"))	 // * car-name{al=Game::GetActors("park96"); // * parking place name (virtual object)anfahrpos = Vector (0,300,0);wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 49 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("copi"))	 // * car-name{al=Game::GetActors("parkcopi"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);	 // * vector (x,y,z) minus values with minus (-x,-y,-z)wendepos  = Vector (600,0,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// CAR 49 ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("tw"))	 // * car-name{al=Game::GetActors("parktw"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);wendepos  = Vector (0,-600,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// BUREA AUTO 1  ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("pd_car1"))	 // * car-name{al=Game::GetActors("pd_park1"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);wendepos  = Vector (0,-600,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// BUREA AUTO 2  ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("pd_car2"))	 // * car-name{al=Game::GetActors("pd_park2"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);wendepos  = Vector (0,-600,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// BUREA AUTO 3  ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("pd_car3"))	 // * car-name{al=Game::GetActors("pd_park3"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);wendepos  = Vector (0,-600,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////// BUREA AUTO 4  ///////////////////////////////////////////////////////////////////////////////////////////////////////////if (v.HasName("pd_car4"))	 // * car-name{al=Game::GetActors("pd_park4"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);wendepos  = Vector (0,-600,0);v.EnableBlueLights(false);v.SetSpeed(6.4f);}else/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////{Mission::PlayHint("Can't find the parking place for this car - Coordinates");return;}// Parkplatzpos.erkennungif(al.GetNumActors() > 0){parkplatz = *al.GetActor(0);parkpos = parkplatz.GetPosition();}else{Mission::PlayHint("Can't find the parking place for this car - Virtual object");return;}// EinparkenGame::FindFreePosition(&v, parkpos);if (v.HasName("lifeliner1"))	 {GameObject obje(Target);float VUmc = v.GetValidLandingAngle(&obje, parkpos);Caller->PushActionFlyTo(ACTION_NEWLIST, parkpos, true, VUmc);}else{v.PushActionMove(ACTION_NEWLIST, parkpos+anfahrpos);v.PushActionTurnTo(ACTION_APPEND, parkpos+wendepos);v.PushActionMove(ACTION_APPEND, parkpos);}v.RemoveCommand("DummyBeschikbaar");v.PushActionExecuteCommand(ACTION_APPEND, "VcmdDelete", Caller, 1, true);v.PushActionExecuteCommand(ACTION_APPEND, "Beschikbaar", Caller, 0, false);//v.PushActionExecuteCommand(ACTION_APPEND, "Beschikbaar", Caller, 0, false);}}; 

     

    Yours,

    Tim

×
×
  • Create New...