Some plane questions

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
strafer
Captain
Posts: 237
Joined: Sat Jan 31, 2004 11:29 pm
Location: The Motherland..
Contact:

Some plane questions

Post by strafer »

I am modding all the TDM maps. I know how to have a plane bomb, but I am wondering how to have to plane go on a strafing run. Also how a plane can randomly pick a person to go after and chase them, bomb them and shoot them up. I was going to ask if it were possible to have a radio and call a plane to bomb but I saw that flak88 script and i think i might be able to do it now. Cool script by the way 8-)
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

Well haveing a plane chase a player is not impossible just not easy . If you click on my sig and go to my site you can download my global/strafe.scr to make a strafeing plane . In that script you will be makeing a path with info_splinepath nodes . After the script is running you can move the nodes with script .

level.strafenode[set #][node #].origin = $player[?].origin + ( 0 0 256)

worth a try anyway but not easy .
Image
Elgan
Site Admin
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

i did that a similar way exept without the strafe script, it should work:)

i dont have the code any more sorry//i converted it to an airstrike:P
Elgan
Site Admin
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

oh and u will have to set the guns to aim at the guy
Post Reply