Flyable Planes

Post your scripting questions / solutions here

Moderator: Moderators

User avatar
HappyChappy_7000
Warrant Officer
Posts: 146
Joined: Thu Jul 10, 2003 1:14 pm
Location: Australia
Contact:

Flyable Planes

Post by HappyChappy_7000 »

Has anyone made a flyble plane or might know where to start :?:
What? You know who I am?
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

start

Post by tltrude »

You would start by understanding how driveable tanks work. If you look in the new releases forum, you'll see someone has made a flyable hilicopter. The hard part is making the view form the cockpit, if you are using the plane models in the game.

good luck - it's a lot of work.
Tom Trude,

Image
User avatar
HappyChappy_7000
Warrant Officer
Posts: 146
Joined: Thu Jul 10, 2003 1:14 pm
Location: Australia
Contact:

Post by HappyChappy_7000 »

Can you make a script origin which makes the players view target it so it can see from the script origin?
what a mouthfull...
What? You know who I am?
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

YES

Post by tltrude »

Yes, but it is called a func_camera. Here is a little tutorial map that has a camera. Go up into the tower and step on the wooden mark.

http://pages.sbcglobal.net/tltrude/Temp/camera_test.zip

Image
Tom Trude,

Image
User avatar
HappyChappy_7000
Warrant Officer
Posts: 146
Joined: Thu Jul 10, 2003 1:14 pm
Location: Australia
Contact:

Post by HappyChappy_7000 »

cOOl.
Nice tutorial
What? You know who I am?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Remember all players on the server have to see through this camera :?
Image
TheShiznaeSpe
Major
Posts: 304
Joined: Wed Feb 05, 2003 11:45 pm
Location: US
Contact:

Post by TheShiznaeSpe »

well, you could be cheap and use huddraw

but then, if a player leaves the cockpit, they still will see the cockpit on their screens :P
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

but then, cant you just use:

$player[local.i].viewangles = $lookthisway.angles

thats what i used for this one script where a player had to drive a fully loaded opel truck through a checkpoint.
User avatar
HappyChappy_7000
Warrant Officer
Posts: 146
Joined: Thu Jul 10, 2003 1:14 pm
Location: Australia
Contact:

Post by HappyChappy_7000 »

Isnt it alright if the plane is just single player?
Because then you don't have to worry about all the players
What? You know who I am?
TheShiznaeSpe
Major
Posts: 304
Joined: Wed Feb 05, 2003 11:45 pm
Location: US
Contact:

Post by TheShiznaeSpe »

buddy, i don't want to sound condensceding, pessimistic, or mean, but...

you're not going to be able to make flying planes :(

scopio_midget and jv_map: 2 uber-good scripters who have been at this for way longer than you have-these are the only 2 guys EVER! to make something fly in mohaa

why don't you fiddle around with the scripting language a bit, working on smaller projects, and then try something revolutionary :D
User avatar
HappyChappy_7000
Warrant Officer
Posts: 146
Joined: Thu Jul 10, 2003 1:14 pm
Location: Australia
Contact:

Post by HappyChappy_7000 »

good point..
What about drivable Tigers?
lol anything challenging is fine 4 me
What? You know who I am?
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

drivable tigers are easy, but the front of the turret blockz your view. panzers are OK. you might wanna see. its a simple matter of:

$tank attachdriverslot 0 $player
User avatar
HappyChappy_7000
Warrant Officer
Posts: 146
Joined: Thu Jul 10, 2003 1:14 pm
Location: Australia
Contact:

Post by HappyChappy_7000 »

Yes but getting the view might be hard.

I've got a view above the tiger but it doesn't follow it nor change direction
What? You know who I am?
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

how do you adjust the view? maybe i can figure out the rest.
User avatar
HappyChappy_7000
Warrant Officer
Posts: 146
Joined: Thu Jul 10, 2003 1:14 pm
Location: Australia
Contact:

Post by HappyChappy_7000 »

I placed the func_camera on top of the tiger.
You can get the code in tltrudes tut.
Heres the script

Code: Select all


cuecamera $cam1

I think thats all i put in.
What? You know who I am?
Post Reply