Home   Help Search Login Register  

Author Topic: He´s higher above the ground then he should be!  (Read 705 times)

0 Members and 1 Guest are viewing this topic.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
He´s higher above the ground then he should be!
« on: 03 Jan 2003, 12:56:18 »
Hi, and excuse me for the long topic name but itÂ's perfect for the help I need, I think itÂ's about camcreate, but I donÂ't know how.

IÂ've got a house with 3 floors, the player have been pinned down at the 3rd floor, he and his forces (what forces? Darn snipers! ::)) have to fight their way down to the ground and get the hell outta there!
The problem is: I want it to be russian soldiers stand in their way on the 2nd floor(If you put them out direct, they will start at the 3rd floor, killing the player and sink the realistic phase), now, you can make this with a WP, but right after you start, another pinned down US team runs out of the shelled house right next to me, killing the soldiers that should have been started in my house.
Another problem is that I want it look like theres been a fight at the 2nd floor too, with dead corpes and such, but when I put them out, theyÂ'll start at the 3rd floor! And you canÂ't use WPs on dead soldiers right?

Thx in advance.
« Last Edit: 03 Jan 2003, 12:58:16 by The real Armstrong »

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:He´s higher above the ground then he should be!
« Reply #1 on: 03 Jan 2003, 13:37:58 »
you'll have to fiddle with this thing to get the right height,

this setpos[(getpos this select 0), (getpos this select 1), 10]

the number on the end is the height. good luck

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:He´s higher above the ground then he should be!
« Reply #2 on: 03 Jan 2003, 19:00:39 »
A few weeks ago, someone was trying to put a sniper in an attic.  He said that a z value of 3 worked well for that, which I think should be the same altitude for a second floor.  So, try z=3 for the second floor.
Ranger

Jakerod

  • Guest
Re:He´s higher above the ground then he should be!
« Reply #3 on: 04 Jan 2003, 00:01:04 »
this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) -1]  

will put units on the bottom floor and maybe

this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) +2]

will put soldiers on the second floor not sure though. or try a combo. put

this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) -1]

then in a trigger make it after 1 second they will go

this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) +2]

Kaliyuga

  • Guest
Re:He´s higher above the ground then he should be!
« Reply #4 on: 04 Jan 2003, 00:21:38 »
sometimes the answer is just oh soo simple.. ;D
forget all the setpos stuff.... ;D

it is an enterable house correct?

  so why not just give the guys waypoints.. to move to the predetermined position numbers in the house and for the corpses you can just place a setdammage command in the init of the waypoint.. that way once they get in place they drop over dead.....

 If this house is one that is already on the island.. and not one you placed in the editor.. it has position numbers already in it ;)

just place the waypoint directly over the name of the building that appears on its icon  you'll know you've done it right if you can no longer seperate the house and the waypoint

now.. when you edit the waypoint you should see a place where you can choose the position number you wish the AI guy to go and stand....  


 It's all encoded in the P3D ... so why not use it ? ;)

Kaliyuga
« Last Edit: 04 Jan 2003, 00:26:04 by Kaliyuga »

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:He´s higher above the ground then he should be!
« Reply #5 on: 04 Jan 2003, 01:07:40 »
 so why not just give the guys waypoints.. to move to the predetermined position numbers in the house and for the corpses you can just place a setdammage command in the init of the waypoint.. that way once they get in place they drop over dead.....
...
 It's all encoded in the P3D ... so why not use it ? ;)

Kaliyuga

He explained why he can't do that.  See below.

Quote
The problem is: I want it to be russian soldiers stand in their way on the 2nd floor(If you put them out direct, they will start at the 3rd floor, killing the player and sink the realistic phase), now, you can make this with a WP, but right after you start, another pinned down US team runs out of the shelled house right next to me, killing the soldiers that should have been started in my house.
Ranger

Kaliyuga

  • Guest
Re:He´s higher above the ground then he should be!
« Reply #6 on: 04 Jan 2003, 01:15:57 »
   Hmm.....   make the russkies on the second floor captives for enough time to where they won't get shot by the other team going by outside?  


Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:He´s higher above the ground then he should be!
« Reply #7 on: 04 Jan 2003, 18:28:50 »
  Hmm.....   make the russkies on the second floor captives for enough time to where they won't get shot by the other team going by outside?  



No, because you can see the firefight quite easy from the window.
I have one team allready in the house thanks to the command(thx guys :D)and one team storming in when the pinned down soldiers comes out. They can kill a lot cause they got better AI soldiers, but they are not as many as the russians, so if you donÂ't want as many russians in the house, youÂ'll have to help them as long as they are alive. This will make the mission diffrent from time to time.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:He´s higher above the ground then he should be!
« Reply #8 on: 04 Jan 2003, 18:30:23 »
Topic solved and locked.