Jump to content


Photo

I made my first mission But I have a problem

Emergency 3

  • Please log in to reply
21 replies to this topic

#1 nfspdf

nfspdf

    Lieutenant

  • Members
  • 60 posts
  • Gender:Male

Posted 21 July 2006 - 09:14 PM

Well I gave it a shot and made my first mission it came out pritty sweet but my problem is I get almost there and I take all the people away. But my cars are still smoking . I take one car away and I have two cars left and the games ends .I was like what the heck I still need to put the cars out and I need to get the cars back to the station .What did I do wrong and how do I fix it .I am lost there .Could someone help me out .I would hate to have this mission go to waste . Thanks ;)

#2 Guest___Uknow___*

Guest___Uknow___*
  • Guests

Posted 21 July 2006 - 10:47 PM

void OnMissionLeft(GameObject *obj)

	{ 

  if (obj->HasName(NAME_VEHICLE_I) || obj->HasName(NAME_VEHICLE_II))

  {

 	 mWrecksTow++;

 	 if (mWrecksTow>=2) 

    Mission::SetObjectiveAccomplished("MISSION16_TRANSPORT_VEHICLE", true); 	 

  }

	}

try this a bit

#3 nfspdf

nfspdf

    Lieutenant

  • Members
  • 60 posts
  • Gender:Male

Posted 21 July 2006 - 11:36 PM

Dude I can really use your help in some mission .Could you help me out .We need to talk .You have Aol .

#4 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 21 July 2006 - 11:41 PM

lol, that part is from a script of my LA mod MISSION16_TRANSPORT_VEHICLE).
What are the objectives for the mission?

#5 nfspdf

nfspdf

    Lieutenant

  • Members
  • 60 posts
  • Gender:Male

Posted 22 July 2006 - 12:03 AM

Well I did what you told me the mission will not end .Hum I must have done something wrong :?No it a new mission it from mission 01 .It is a Traffic Accident with several cars on there way into NY .Posted Image.Also can't get that dang smoke out .Thanks for your help guys ;)

#6 nfspdf

nfspdf

    Lieutenant

  • Members
  • 60 posts
  • Gender:Male

Posted 22 July 2006 - 05:23 AM

How to you get the person to lay down :?

#7 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 22 July 2006 - 07:16 AM

Well I did what you told me the mission will not end .Hum I must have done something wrong  :?No it a new mission it from mission 01 .It is a Traffic Accident with several cars on there way into NY .Posted Image.Also can't get that dang smoke out .Thanks for your help guys  ;)


No, missions won't fail, but I think you are using the original script of missions 1, right?
To make an injured person:
Place person on map, select it, click properties, traits, you change health and more stuff there.

#8 nfspdf

nfspdf

    Lieutenant

  • Members
  • 60 posts
  • Gender:Male

Posted 22 July 2006 - 07:27 AM

How do you make smoke and fire and how do you get it to stop.My cars just keep on smoking and for some resion the game will just not end .Thanks for helping me out I am just trying to learn .One more ? how do you put a person in a car to cut him out ;)

#9 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 22 July 2006 - 07:38 AM

How do you make smoke and fire and how do you get it to stop.My cars just keep on smoking and for some resion the game will just not end .Thanks for helping me out I am just trying to learn .


To start a fire:
Place object on map, select it, click properties, you change fireobjects and more stuff there.
About the smoke. The smoke of the smoking car in mission 1 is scripted. The smoke is added by script, the smoke becomes more intense by script and when you don't 'extinguish' the car, it will explode.

#10 nfspdf

nfspdf

    Lieutenant

  • Members
  • 60 posts
  • Gender:Male

Posted 22 July 2006 - 07:45 AM

That why it blow up .I could not stop it LOL :lol: How do you put the dang person in the car so you can cut him out agin . Man Hoppah you are really helping me out alot .Thanks . ;)

#11 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 22 July 2006 - 07:54 AM

Make injured person and give it a name (in the properties window).
Then place a car, go to properties and traits and you can add an enclosed person there. You should see the name of the injured person.

#12 nfspdf

nfspdf

    Lieutenant

  • Members
  • 60 posts
  • Gender:Male

Posted 22 July 2006 - 07:24 PM

I did eveythign you told me now it crashes I must be missing something :?

#13 Guest___Uknow___*

Guest___Uknow___*
  • Guests

Posted 22 July 2006 - 08:44 PM

lol, that part is from a script of my LA mod MISSION16_TRANSPORT_VEHICLE).
What are the objectives for the mission?


not true is from my own mission standards and just created a mission and it was 16 :-

BTW for missions I have a nice proggie for my own to make them and it makes the mission scripts fully automatic and changes all the files nescesary

#14 nfspdf

nfspdf

    Lieutenant

  • Members
  • 60 posts
  • Gender:Male

Posted 22 July 2006 - 09:20 PM

Could I send you my mod for you to look at and see what I did stuppedly did wrong .My email address is Cwsoundman@aol.com If you would like to send me your email address .I have some other ides for some other mission I would like to talk to you about . ;)

#15 Stan

Stan

    Webmaster

  • Webmaster
  • 6,911 posts
  • Gender:Male
  • Location:Vaals - Nederland

Posted 23 July 2006 - 08:47 AM

BTW for missions I have a nice proggie for my own to make them and it makes the mission scripts fully automatic and changes all the files nescesary


O_o
Webmaster & Technical Support

#16 nfspdf

nfspdf

    Lieutenant

  • Members
  • 60 posts
  • Gender:Male

Posted 23 July 2006 - 07:23 PM

Could I get that Program please please please . ;) That would help me out tones .
Thanks
Unknow .

#17 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 24 July 2006 - 04:07 AM

not true is from my own mission standards and just created a mission and it was 16 :-

BTW for missions I have a nice proggie for my own to make them and it makes the mission scripts fully automatic and changes all the files nescesary


Still funny that the redirect names (NAME_VEHICLE_I, NAME_VEHICLE_II and MISSION16_TRANSPORT_VEHICLE) are the exact same as I used for all my missions with that objective. You have explanation for that too?

#18 Guest___Uknow___*

Guest___Uknow___*
  • Guests

Posted 24 July 2006 - 01:41 PM

standard in my c programming

here is a ss from the prog and no I am not giving it to anyone

Posted Image

#19 Stan

Stan

    Webmaster

  • Webmaster
  • 6,911 posts
  • Gender:Male
  • Location:Vaals - Nederland

Posted 24 July 2006 - 10:09 PM

standard in my c programming

here is a ss from the prog and no I am not giving it to anyone

Posted Image



lol but it still ownz
Webmaster & Technical Support

#20 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 25 July 2006 - 10:22 AM

standard in my c programming

here is a ss from the prog and no I am not giving it to anyone

Posted Image


Way too simple, mission script are far more complicated than that.
But it looks great for a beginner.





Also tagged with one or more of these keywords: Emergency 3