View unanswered posts | View active topics It is currently Mon Jan 13, 2025 7:46 pm



Reply to topic  [ 106 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8  Next
 Plane -various fixes- 
Author Message
User avatar

Joined: Mon Apr 13, 2009 12:27 pm
Posts: 813
Location: Yogyakarta, Indonesia. A slice o' paradise.
Reply with quote
Post Re: Plane -various fixes-
Ah, sorry man, I thought it was in the sprite dump. Oh well, lesson learned. Now how about other plane ideas? The Squid of War looks promising...


Wed Jun 10, 2009 12:24 pm
Profile YIM WWW
User avatar

Joined: Fri May 11, 2007 4:30 pm
Posts: 1040
Location: England
Reply with quote
Post Re: Plane -various fixes-
Image
I edited it (except the bomb drop rate, that is just a glitch cause by the lowered frame rate when holding down print screen, though it's never happened before), it's supposed to be a remote controlled jet. I love this plane, it is the most awesome mod I've ever downloaded.

Also how the ♥♥♥♥ does the gun positioning work!? I spent ages trying to make it shoot from below the plane.


Wed Jun 10, 2009 5:34 pm
Profile
User avatar

Joined: Mon Feb 11, 2008 11:11 pm
Posts: 711
Location: East of Applachia, West of the Mississippi
Reply with quote
Post Re: Plane -various fixes-
I made an ejection seat for the original plane. I'll upload it here in a few if it works right.


Wed Jun 10, 2009 6:39 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Plane -various fixes-
robolee wrote:
I edited it (except the bomb drop rate, that is just a glitch cause by the lowered frame rate when holding down print screen, though it's never happened before), it's supposed to be a remote controlled jet. I love this plane, it is the most awesome mod I've ever downloaded.

Also how the ♥♥♥♥ does the gun positioning work!? I spent ages trying to make it shoot from below the plane.


The gun positioning (well, and the bomb positioning) was easily the hardest part of the mod so I don't mind explaining. Sort of.

Basically, I used the lengthdir_x and _y functions to make a circle around the airplane. Then, because just feeding off the functions and self.RotAngle made the emissions behind me (but still rotate with me, which is the important part) I then add various portions of math.pi to get it to emit where I want it. The really rough way I do offsets is to define differently sized circles and then set the emission points to various places along those circles. This, unfortunately, makes for some ridiculously hard to tune offsets. So I leave them like this because my god so many circles my head it's going to aaaaaaaaaaaaagh


Wed Jun 10, 2009 7:07 pm
Profile
User avatar

Joined: Mon Feb 11, 2008 11:11 pm
Posts: 711
Location: East of Applachia, West of the Mississippi
Reply with quote
Post Re: Plane -various fixes-
I added an ejection seat and gave the rounds more spread.

Edit: Now the ejection seat won't take your ejectee back into orbit!


Attachments:
File comment: Ejection seat and code by Nachos.
Plane.rte.rar [39.47 KiB]
Downloaded 260 times
Wed Jun 10, 2009 7:30 pm
Profile

Joined: Mon Jun 08, 2009 12:30 am
Posts: 15
Reply with quote
Post Re: Plane -various fixes-
how do you drop bombs? i does it randomly sometimes and thats it 4 me =/


Thu Jun 11, 2009 12:32 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Plane -various fixes-
If you're using mouse+keyboard, the default setup, then you drop bombs by pressing the menu key.


Thu Jun 11, 2009 12:34 am
Profile

Joined: Mon Jun 08, 2009 12:30 am
Posts: 15
Reply with quote
Post Re: Plane -various fixes-
ok, thank's man, great mod, what u makeing next?


Thu Jun 11, 2009 12:54 am
Profile
User avatar

Joined: Tue Jul 03, 2007 10:24 pm
Posts: 253
Location: In the house next door, eating your neighbors.
Reply with quote
Post Re: Plane -various fixes-
Darn you Lamda, I was just about to post one. Although mine was just stolen from the ARH Tiger mod, and refused to allow the actor onto the Red team, it's been the only actual modding I've done in awhile. On that note, how do you set the team to yours? I thought it was team = 1 but that just makes it team green when he spawns, and = 2 makes my game crash. Also, lol, for some reason my code made dropships crash the game when they died... :(


Thu Jun 11, 2009 1:58 am
Profile
User avatar

Joined: Mon Feb 11, 2008 11:11 pm
Posts: 711
Location: East of Applachia, West of the Mississippi
Reply with quote
Post Re: Plane -various fixes-
That's funny because mine is the ejection seat from the ARH with some edits to make it work better.


Last edited by Hobbesy on Thu Jun 11, 2009 2:15 am, edited 1 time in total.



Thu Jun 11, 2009 2:14 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Plane -various fixes-
Team 0 is red, team 1 is green.


Thu Jun 11, 2009 2:15 am
Profile WWW
User avatar

Joined: Wed Jan 03, 2007 3:49 am
Posts: 88
Location: computer chair
Reply with quote
Post Re: Plane -various fixes-
Someone should re-release the air shark with these controls


Thu Jun 11, 2009 2:15 am
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Plane -various fixes-
Regarding ejection:
Use lua to emulate ejection.

To avoid bizzare restart crash, check for activtiy over.


Thu Jun 11, 2009 2:23 am
Profile
User avatar

Joined: Tue Jul 03, 2007 10:24 pm
Posts: 253
Location: In the house next door, eating your neighbors.
Reply with quote
Post Re: Plane -various fixes-
The air shark with FREAKING LAZAR BEAMS ON ITS HEAD? I thought that thing was awesome, but part of it was just the wacky controls that made it work. On a more related note, A-10 WARTHOG, MAKE THE SPRITE!! Every time I use this plane, I especially with the ejector seat, I end up providing air support and clearing out enemies ahead. All it would take would be a better gun firing sound (More chaingun like) and MAYBE rockets instead of bombs. It would officially make for one of the best mods ever, even if this already is one of them.


Thu Jun 11, 2009 2:24 am
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Plane -various fixes-
For ejection and piloting, I integrated my vehicle code into the plane.

Anyway, it also has VOTL auto landing when unmanned.

Needs my vehicle demo to work.

It also has the eject key set to Z.

Of course I'll edit this post out if Grif does not approve.


Attachments:
File comment: .txt because WJ is too lazy to add .lua onto the list of allowed files.
Plane.txt [9.23 KiB]
Downloaded 286 times


Last edited by mail2345 on Thu Jun 11, 2009 3:08 am, edited 1 time in total.

Thu Jun 11, 2009 2:48 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 106 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.069s | 15 Queries | GZIP : Off ]