3rd Person airplanes

Anything else, including fun stuff.. and a 'little' spam
Post Reply
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

3rd Person airplanes

Post by Swaffy »

If you've played my mod, you've notice my tanks having a static 3rd person camera, and allows the player to aim. Should I do this with airplanes too?

Kind of like War Thunder:
http://imageshack.us/a/img607/3682/warthunder03.jpg
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
Vilespring
Posts: 740
Joined: Sat Nov 24, 2012 5:47 am
Location: Somewere in the United States

Re: 3rd Person airplanes

Post by Vilespring »

I like how you make it 3rd + 1st person camera on the tanks. I would love a 1st/3rd option! :D
A picture is worth a thousand words, but takes up three thousand times the memory.

Area 51: http://battlefieldarea51mod.weebly.com/

Image
"I didn't steal your pizza"
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: 3rd Person airplanes

Post by Swaffy »

Vilespring wrote:I like how you make it 3rd + 1st person camera on the tanks. I would love a 1st/3rd option! :D
I can do that but there won't be a cockpit. Just the 3rd person and the "in front of the nose" cam. The problem is that I can't use the 1st person mesh when doing the 3rd person cameras. It was easy to do that for tanks, but airplane cockpits are a completely different problem.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
Apache Thunder
Posts: 1210
Joined: Mon Oct 19, 2009 2:48 am
Location: Levelland Texas, USA
Contact:

Re: 3rd Person airplanes

Post by Apache Thunder »

I don't use a 1P lod system at all for the planes in the my BFH'42 mod. So I am able to cycle through 1P view, and 3P view at will. Perhaps you can try and merge the cockpit Geometry with the exterior geometry in Gmax/3DSMax?

You could also just addTemplate the cockpit directly to the complex bundle and skip the lodobject process all together if the cockpit geometry overlaps without clipping issues. Otherwise you would need to edit the mesh to make them get along. :P
ImageImageImage
I have cameras in your head!
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: 3rd Person airplanes

Post by Swaffy »

If that is possible with the vanilla airplane models, then I can do it.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: 3rd Person airplanes

Post by Swaffy »

I just found something weird with the Audax biplane in my mod.

There are basically two cameras attached to the Complex bundle:

Code: Select all

ObjectTemplate.addTemplate AudaxCamera
ObjectTemplate.setPosition 0.001/1.033/-1.124
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate AudaxNoseCamera
ObjectTemplate.setPosition 0/0/5
... Then if you scroll down further ...

Code: Select all

rem *** AudaxCamera ***
ObjectTemplate.create Camera AudaxCamera
ObjectTemplate.setMinRotation -150/-60/0
ObjectTemplate.setMaxRotation 150/14/0
ObjectTemplate.setMaxSpeed 90/-90/0
ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.toggleMouseLook 1
ObjectTemplate.OutsideHudOffset 0/-0.1/4

rem *** AudaxNoseCamera ***
ObjectTemplate.create Camera AudaxNoseCamera
ObjectTemplate.setMinRotation -70/-60/0
ObjectTemplate.setMaxRotation 70/14/0
ObjectTemplate.setMaxSpeed 90/-90/0
ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.toggleMouseLook 0
Now ... either this was a mistake by whoever coded this vehicle or I'm just not seeing something.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Post Reply