Home   Help Search Login Register  

Author Topic: Watch towers  (Read 864 times)

0 Members and 1 Guest are viewing this topic.

ljej

  • Guest
Watch towers
« on: 13 Jun 2003, 08:41:54 »
Hi Guys, What is the easiest way toget a man to climb a watch tower or in fact how do you do this .Tia

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Watch towers
« Reply #1 on: 13 Jun 2003, 09:18:22 »
 ::) It's hard to get him to climb AND take the right position.  :-\ :)


But if ya use one of, say these latests "baracken" towers (the addon - ya know it?), then it helps to setpos a static M2MG up in the tower and then let the AI moron climb up & get in the MG.  :-*


As for AI taking position in other towers (smaller towers),
 :) I'd recommend ya to simply do like this :

Name the guy Bob in his name field.

Make a WP for Bob and put it right in front of the tower (or directly upon it).
The in the "On Activation" field write :

this action ["Ladder Up", Tower1]

Now, that will make him climb but then ya need a trigger/scroll with this code:

==============================

~4
Bob setpos [getpos Tower1 select 0, getpos Tower1 select 1, 5.2600]

==============================

or alike to setpos the guy on the right spot in the tower  8) ;) this should fire when the WP is activated
(it needs a delay to give Bob the time to climb the ladder.)




Oh and P.S.

 :o off course, ya need to name the tower "Tower1"  :o ::) ;D


« Last Edit: 13 Jun 2003, 09:21:03 by Tomb »

ljej

  • Guest
Re:Watch towers
« Reply #2 on: 13 Jun 2003, 14:10:48 »
Thx it doesnt work very well its very tricky isnt it.

Babalon

  • Guest
Re:Watch towers
« Reply #3 on: 13 Jun 2003, 22:17:09 »
Well, lets see here, do you need him to climb the ladder to get in the tower, or do you just need this AI guy inside the tower?

If you want to show him actualy climbing up and into the tower, takes a bit of scripting (if your a new editor, scripting sounds like evil, evil stuff, but it gets easier).

However, if you want to just have this guy in the tower at the start of the mission.  Put the unit in position where you want him.  Now we need ot raise him to the level of the platform.  Put this in it's Initialization line:

Quote
this setpos [(GetPos this select 0),(GetPos this select 1),*height*]

Where *height* is, put in meters how high off the ground you want the unit.
« Last Edit: 13 Jun 2003, 22:17:33 by Babalon »

gothicv

  • Guest
Re:Watch towers
« Reply #4 on: 14 Jun 2003, 02:37:35 »
actually if you place a unit on a tower and play with his position, you can get him to start off in a tower. Thats how I do it anyway (in ofp; i just got resistance and don't know if it works the same)


I must say the pistols rule, as do the motorcycles. Put 2 pilots on each of 4 motorcycles and have them escort a car and it looks cool.

gothicv

  • Guest
Re:Watch towers
« Reply #5 on: 14 Jun 2003, 02:40:45 »
Oh yeah, also if you set a waypoint right on him ( a hold or guard waypoint) you can make him chillin` with the gun on his back but still willing to fight if the shit hits the fan; basic knowledge but good 2 know.

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Watch towers
« Reply #6 on: 14 Jun 2003, 03:01:33 »

 :) with this:

Hi Guys, What is the easiest way toget a man to climb a watch tower or in fact how do you do this .Tia

...I assume that you mean CLIMB (ingame) and not START_POS  :o


If I'm correct, my reply up there still stands - and ya won't come much closer then that m8  :-\
Getting the AI to take precise positions is VERY hard unless ya help them with a tiny 'setPosssing' (which needs to be properly TIMED to make it look right).


==========

Just in case you mean START_POS of a trooper  :o simply slide the moron upon the tower (if its a default BIS tower). Addon towers & createVehicle-created towers need the setpos.

« Last Edit: 14 Jun 2003, 03:03:30 by Tomb »