AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Jetpack (https://forums.alliedmods.net/showthread.php?t=56374)

Knagg0 06-12-2007 16:19

Jetpack
 
1 Attachment(s)
This plugin adds a 'jetpack' which allows players to fly around the map by binding a key to +sm_jetpack.

CVARS:
  • sm_jetpack
    • Enables/disables this plugin
    • Default: "1"
  • sm_jetpack_sound
    • Jetpack soundfile
    • Default: "vehicles/airboat/fan_blade_fullthrottle_loop1.wav"
  • sm_jetpack_volume
    • Jetpack sound volume
    • Default: "0.5"
  • sm_jetpack_speed
    • Jetpack speed
    • Velocity.z that will be added each "jetpack frame"
    • Default: "100"
CHANGELOG:
  • 1.1.0
    • Added config file
    • Added movecollide to SetMoveType
    • Removed dependency to 3rd party extensions
    • Changed "jetpack frame timer" from 0.05 to 0.075
    • Changed default value of sm_jetpack_speed from 65 to 100
    • Skipped a load of version numbers :stupid:
  • 0.1.0
    • Release

FlyingMongoose 06-12-2007 16:24

Re: [PLUGIN] Jetpack
 
about time someone ported it to SM ;) good job.

PureSpider 06-12-2007 17:14

Re: [PLUGIN] Jetpack
 
would it be possible to add a "spark"-effect to the jetpack and use the other plugin to attach things to players (forgot the name) to attach a jetpack model? :D
this would be lovely!

Knagg0 06-12-2007 17:19

Re: [PLUGIN] Jetpack
 
If you know a good model i can try to attach it :)

PureSpider 06-12-2007 17:21

Re: [PLUGIN] Jetpack
 
the spark thing would be awesome and more important imho

L. Duke 06-12-2007 17:35

Re: [PLUGIN] Jetpack
 
Thank you Knagg0. From now on, when I get questions/comments on the mms plugin I'm sending them here instead.

:)

tcviper 06-13-2007 03:26

Re: [PLUGIN] Jetpack
 
Hahah LDuke, good call :P

Knagg0 07-13-2007 23:50

Re: Jetpack
 
Update... See first post.

bolinux 08-03-2007 10:59

Re: [PLUGIN] Jetpack
 
3 Attachment(s)
Quote:

Originally Posted by PureSpider (Post 488807)
would it be possible to add a "spark"-effect to the jetpack

heyJo, i thing that would be very nice, like the LongJump in RPGx! :up:

http://forums.alliedmods.net/showthread.php?t=56877

Please implement this, maybe sumguy14 support you to do it....

bolinux.

pflclan 08-11-2007 13:21

Re: Jetpack
 
ThANKX!!!!!!!! i love the jetpack got it running on my GunGame server!

I gots a question... I had L.Dukes Jetpack on my server and got used to the way it moved... Is there a way to get this Jetpack to move like the "old" one?

And i think it would be cool with the "spark Idea" even if it isn't sparks :)

Thx...The PFL Clan

bolinux 08-12-2007 14:18

Re: Jetpack
 
Quote:

Originally Posted by pflclan (Post 516477)
I gots a question... I had L.Dukes Jetpack on my server and got used to the way it moved... Is there a way to get this Jetpack to move like the "old" one?

yep change in:

plugin.jetpack.cfg

// Jetpack Configuration File
// Version: 1.1.0
// Enables/disables this plugin
// Default: "1"
sm_jetpack "1"
// Jetpack soundfile
// Default: "vehicles/airboat/fan_blade_fullthrottle_loop1.wav"
// OldStyle: "npc/manhack/mh_engine_loop2.wav"
sm_jetpack_sound "npc/manhack/mh_engine_loop2.wav"
// Jetpack sound volume
// Default: "0.5"
sm_jetpack_volume "0.7"
// Jetpack speed
// Velocity.z that will be added each "jetpack frame"
// Default: "100"
sm_jetpack_speed "66"

imo the new sound fits better! :up:

Quote:

And i think it would be cool with the "spark Idea" even if it isn't sparks
okay it looks like a jetstream :)

l0gen 08-12-2007 19:35

Re: Jetpack
 
Request:

* Admin only cvar
* Smoke trail? env_steam or something

Keep up the good work ^^

pflclan 08-13-2007 15:32

Re: Jetpack
 
bolinux: Thankx!

GiGaBiTe 08-15-2007 23:36

Re: Jetpack
 
The Jetpack update broke support for Garrys mod.

Code:

L 08/15/2007 - 22:31:39: [SM] Debug mode is not enabled for "jetpack.smx"
L 08/15/2007 - 22:31:39: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins de
bug 11 on

L 08/15/2007 - 22:31:39: [SM] Native "TeleportEntity" reported: "Teleport" not supported by this mod

The older version of the Jetpack worked fine (and I should have kept it) but it had problems when I updated sourcemod.

pflclan 08-21-2007 10:11

Re: Jetpack
 
Umm so i spent some time tonight recording my self playing in my server.... When back and looked at it and realized it was all sweet ass Jetpack footage!

http://www.youtube.com/watch?v=WaZ84l2BiiI

http://www.youtube.com/watch?v=xoeKxU6WKPE

Just want to say thankx we have alot of fun with this lil toy!!!

Warnink 09-29-2007 07:44

Re: Jetpack
 
I have the same problem as GiGaBiTe but in Synergy mod..

Code:

L 09/20/2007 - 11:14:52: [SM] Debug mode is not enabled for "jetpack.smx"
L 09/20/2007 - 11:14:52: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins de
bug 11 on

L 09/20/2007 - 11:14:52: [SM] Native "TeleportEntity" reported: "Teleport" not supported by this mod

Lucky I saved the old version that works with it.

Mosalar 10-19-2007 14:06

Re: Jetpack
 
Ok, I can't seem to turn it off or on depending the setting.
If it's enabled in the plugin.jetpack.cfg and I input "sm_jetpack 0 in the console all I get is a "unknown command sm_jetpack" . The same goes if it's disabled in the cfg and I'm trying t o turn it on. Any suggestions?

btw, sm_jetpack_sound "weapons/rpg/rocket1.wav" is a cool alternative. :-)

ratty 10-21-2007 18:46

Re: Jetpack
 
You know what's really fun to use this mod with, rats maps.

TechKnow 11-08-2007 09:32

Re: Jetpack
 
This is the most Loved plugin on my server... It always works PERFECT!!

Thank you.

Techknow
ps.. I recompiled it with defalt off so it turns off at every map change, and this is a great option on rat maps insted of changing the gravity. love useing it on rats_scoutzknivez.
http://www.game-monitor.com/server-s....217:27015.png

CrimsonGT 11-13-2007 04:33

Re: Jetpack
 
Lmao, this works with TF2. Unfortunately I was the only one on my server since its 4:30am, but I am having a blast flying around shooting rockets with it. Its very jerky, and kind of hard to control. Is there anyway to maybe slow it down a little bit so you dont fly so fast? And maybe a way to levititate without dropping or going up?

CrimsonGT 11-13-2007 11:58

Re: Jetpack
 
Okay, my question now is how hard would it be so that there was some kind of "fuel" for the jetpack in TF2? I think the worst part would be creating an official looking counter, kind of like the ammo counter except for the jetpack.

We had a lot of fun with it, but people never coming down kind of killed it after a while. If there was a way to make them run out of fuel for it (maybe the ammo boxes?), so that they only used it when they needed it, it would be awesome.

madwolf2009 11-19-2007 18:36

Re: Jetpack
 
hi

where can i get a copy of jetpack v 0.1.0

Grrrrrrrrrrrrrrrrrrr 11-20-2007 15:27

Re: Jetpack
 
1 Attachment(s)
I updated this plugin with 1 new feature and 1 improvement:

/* Updated by Grrrrrrrrrrrrrrrrrrr

new features:
Better Sound (Sounds like a fire)
Flames shoot out from players jetpack

*/

@Knagg0: If you like this version better, just update yours. (thanks for the jetpack plugin)

Jenzz 01-13-2008 08:14

Re: Jetpack
 
Quote:

Originally Posted by l0gen (Post 517198)
Request:

* Admin only cvar
* Smoke trail? env_steam or something

Keep up the good work ^^

I would like to have a admin only cvar to ^^

bolinux 01-16-2008 08:42

Re: Jetpack
 
Quote:

Originally Posted by Grrrrrrrrrrrrrrrrrrr (Post 555044)
I updated this plugin with 1 new feature and 1 improvement:

/* Updated by Grrrrrrrrrrrrrrrrrrr

new features:
Better Sound (Sounds like a fire)
Flames shoot out from players jetpack

*/

Thank you for that so much! :up:

naris 01-18-2008 16:20

Re: Jetpack
 
1 Attachment(s)
I have enhanced the jetpack to add:
Fuel, when the jetpack runs out of fuel, it stops. After a predetermined (and configurable) time it will be refueled.
A Fuel Gauge to show how much fuel you have
An AdminOnly flag to only give jetpack to admins.
An Admin interface to allow Admins to give and take hetpack to/from other players.
A Native Interface to allow other plugins to control the jetpacks.
I also incorporated Grrrrr's Flaming Effects.

pflclan 01-19-2008 07:50

Re: Jetpack
 
This should be cool! can't wait to Check it out!

naris 01-19-2008 13:15

Re: Jetpack
 
1 Attachment(s)
Oh -- here is the jetpack.inc file for the native interface I forgot to add to the earlier post :oops:

InstantDeath 01-19-2008 17:41

Re: Jetpack
 
fatal error 120: cannot read from file: "topmessage"

you forgot to send the topmessage file.

naris 01-20-2008 15:18

Re: Jetpack
 
7 Attachment(s)
Doh!

Here are all the files.

InstantDeath 01-21-2008 11:02

Re: Jetpack
 
ok, i compiled and started my server. I started using jetpack and I cant seem to find anything new. so i changed sm_jetpack_fuel to 60 and still nothing happened. This doesnt seem to work.

also i also noticed your not including jetpack.inc . so when i included it then recompiled, i got a bunch of errors.

Quote:

Originally Posted by compiler
//// jetpack.sp
// jetpack.sp(224) : error 092: number of arguments does not match definition
// jetpack.sp(348 ) : error 021: symbol already defined: "StartJetpack"
// jetpack.sp(350) : error 010: invalid function or declaration
// jetpack.sp(353) : error 021: symbol already defined: "GetClientAbsOrigin"
// jetpack.sp(355) : error 021: symbol already defined: "EmitSoundToAll"
// jetpack.sp(355) : error 010: invalid function or declaration
// jetpack.sp(357) : error 010: invalid function or declaration
// jetpack.sp(361) : error 021: symbol already defined: "StopJetpack"
// jetpack.sp(363) : error 010: invalid function or declaration
// jetpack.sp(366) : error 010: invalid function or declaration
// jetpack.sp(368 ) : error 054: unmatched closing brace ("}")
// jetpack.sp(372) : error 025: function heading differs from prototype
// jetpack.sp(395) : warning 219: local variable "vecPos" shadows a variable at
a preceding level
//
// 12 Errors.


naris 03-01-2008 14:41

Re: Jetpack
 
6 Attachment(s)
I have been asked how to compile my changed version of the jetpack.

So, I am includeing the source anf the .smx of the version I changed here.

(I thought the Get Plugin link would work if I also uploaded the include files -- I was wrong :cry: )

I have also fixed various bugs (such as the jetpack sound remaining on indefinately at times)

I also added sounds for when the fuel runs out and when the jetpack gets refueled.

Sorry for the long delay, I have been rather busy lately...

naris 03-01-2008 14:50

Re: Jetpack
 
Quote:

Originally Posted by InstantDeath (Post 576706)
ok, i compiled and started my server. I started using jetpack and I cant seem to find anything new. so i changed sm_jetpack_fuel to 60 and still nothing happened. This doesnt seem to work.

also i also noticed your not including jetpack.inc . so when i included it then recompiled, i got a bunch of errors.

jetpack.inc should NOT be included into jetpack.sp!

It defines the natives exported by jetpack.sp to be used by other plugins so it jetpack.inc would be included by another plugin that want's to access the natives defined by jetpack.sp.

Dominator 03-28-2008 08:16

Re: Jetpack
 
I have the first version and it has always worked fine, now it seems like everytime its loaded after about 30 mins the server will crash. Does the newer one not crash?

SixSicSix 04-12-2008 17:14

Re: Jetpack
 
Naris,

I am using this plugin with Sourcemod's latest snapshot. It no longer works. Could you look at it and see if you can fix it? I get a compile error as well when compiling with Sourcemod 1.0.0:

// jetpack.sp(22) : fatal error 120: cannot read from file: "topmessage"

SixSicSix 04-12-2008 17:20

Re: Jetpack
 
5 Attachment(s)
Argh.

Here is EVERYTHING.

EDIT: Naris, on Sourcemod 1.1.0 2050, the jatpack fuel meter only runs for 1.5 secs then the jetpack stops

SixSicSix 04-13-2008 09:49

Re: Jetpack
 
Bump..

I'm looking for the proper config to be used with Naris's update. Also, the fuel meter does not show. I'm using the 1.0.0 release of sourcemod (Linux)

SixSicSix 04-20-2008 14:17

Re: Jetpack
 
Bump. Using sourcemod 1.1.0... Maybe someone could revive this?

INsane_dod 05-08-2008 07:19

Re: Jetpack
 
Anyway to make this come on via a mapname.cfg ?

In dods the folder is dod/cfg, but if I set sm_jetpack 1 in a mapname.cfg... it does not change.

I set sm_jetpack "0" in the plugin.jetpack.cfg file and I can enable it via HLSW while in a map... but not the mapname.cfg, other commands work ok but not this.

What am I missing here?

EDIT: Never mind, found it. I used the Map Configs Plugin and that works "sm_jetpack 0" in the plugin.jetpack.cfg and "sm_jetpack 1" in the mapname.cfg when in the correct folder works well.

iggythepop 05-15-2008 13:10

Re: Jetpack
 
After The Medic update the jetpack went dead. Still makes the sound like its working but jetpack has no lift? On TF2 servers anyway. Anyone working on a fix? or know one?


All times are GMT -4. The time now is 00:08.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.