Quote:K, time to release it, this is the flyable jet.
by 4FunPlayin
Videos:
REMEMBER TO ADD THIS TO INIT()
Code:
precacheShader("cardicon_minigun"); //20mm
precacheShader("cardicon_paratrooper"); //carpet bomb
precacheShader("cardicon_shotgun_shells"); //40mm
precacheShader("cardicon_missile_1"); //stinger
precacheShader("cardtitle_bullet"); //reloading
level.minigun = 0;
level.carpet = 0;
level.explosives = 0;
level.missiles = 0;
http://pastebin.com/aXFmxCr1]Pastebin.com - full _rank.gsc code
http://pastebin.com/baqVAG8k]Pastebin.com - half (without rank.gsc)
TainT_'s version:
http://pastebin.com/Abqibaru
killingdyl's version:
http://pastebin.com/vEYLWj8u
Both of them fixed the hud bug and the crash.
How to use:
1) Copy everything to where ever you want, most likely _rank.gsc.
2) Add
Code:
self thread jetStartup(Weapons (on/of), Speed (120), Silent mode, third person (on/of));
You can add that anywhere.
if you do not understand, just add
Code:
self thread jetStartup(1, 120, 0, 1); //weapons: on, speed: 120, silent mode: no, thirdperson: yes
at onPlayerSpawned()
Like this:
Code:
onPlayerSpawned()
{
self endon("disconnect");
for(;;)
{
self waittill("spawned_player");
self thread jetStartup(0, 120, 0, 0);
}
}
3) Have fun.
Also remember these is a bug, once you die the hud gets f'd up.
Edit:
How could I forget the credits.. pff.
Credits:
4FunPlayin - basically making the weapons and the jet (which was easy)
GoldenKnife - fixed the 3rd person mode + smoke which worked only for the first that spawn (works now for everyone)
ZerO_one - he helped with some dvars and some stuff
And everyone here.. because without your help, everyone, I wouldn't know how to make such thing as this.