Raised This Month: $51 Target: $400
 12% 

SM Parachute


Post New Thread Reply   
 
Thread Tools Display Modes
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 04-30-2008 , 13:42   Re: SM Parachute
Reply With Quote #41

Simply extract the zip archive into your gamemodfolder (dod).
I will give you the tree structure:
Code:
addons\sourcemod\plugins\sm_parachute.smx
                 scripting\sm_parachute.sp
                 translations\sm_parachute.phrases.txt
materials\models\parachute\pack.vmt
                           pack.vtf
                           parachute*.vmt
                           parachute*.vtf
models\parachute\parachute*.*
If you want to use the standard model you have to do nothing!

To change the model you have to edit the global variables for the names. Afterwards recompile sm_parachute.sp. Here is a tutorial.
To change the texture you have to recompile the smd and change its content. Here is the Model source.

Troubleshooting (The most common problems
):
In the new version ( 1.8 ) I added Realistic velocity-decrease, so you have to press E longer than 1 millisecond.
If you don't want this feature, write sm_parachute_decrease 0. Then your fallspeed will be set in 1 millisecond to the give fallspeed.

You can find infos about the console variables and the available models in the first post.

Hope I could help you.

Last edited by SWAT_88; 04-30-2008 at 14:03.
SWAT_88 is offline
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 05-03-2008 , 17:31   Re: SM Parachute
Reply With Quote #42

Good news for TF2 players!
Today I found out why the parachute doesn't work in TF2.

I hook the button +use. But TF2 doesn't have the button assigned.
So I need a new button assign for TF2, but I don't know wich button I should hook.

@All TF2 players:
You can test the parachute: just bind a button to +use.
But I want a better solution for TF2.
Therefore my question:
Which button would be the best for using the parachute? (E is pretty stupid)

Please feedback!
SWAT_88 is offline
NEXSO
Junior Member
Join Date: May 2007
Old 05-05-2008 , 12:55   Re: SM Parachute
Reply With Quote #43

DOD:S is running

THX



NEXSO is offline
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 05-05-2008 , 12:59   Re: SM Parachute
Reply With Quote #44

As you can see the parachute is lagging behind the player.
But I will fix that.

Thanks for testing and feedback.
++
SWAT_88 is offline
V0gelz
Senior Member
Join Date: Jun 2004
Old 05-05-2008 , 13:56   Re: SM Parachute
Reply With Quote #45

Seeing from those screenshot you can make sweet maps like some dday when some troops are dropped from a plane and take there parachute. You can put this in a plugin if you can so you spawn in the air with your parachute on and drop in the map somewhere. Put spawnpoint in the air where they should spawn etc.

I could make it for cs and add dod support or just for dod...
i dunno... i guess this will me my next project.

Anyway looks sweet on dod ! gj swat
__________________
V0gelz is offline
franzcis066
Member
Join Date: Nov 2007
Old 05-07-2008 , 11:23   Re: SM Parachute
Reply With Quote #46

Yeah thats what I think too, V0gelz
franzcis066 is offline
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 05-08-2008 , 10:36   Re: SM Parachute
Reply With Quote #47

I got no answer to the following question.
Please tell me, then I can begin to code the parachute for TF2.

@All TF2 players:
Which button would be the best for using the parachute? (E is pretty stupid)

Thanks in Advance!
__________________
SWAT_88 is offline
riuthamus
Member
Join Date: Nov 2007
Old 05-10-2008 , 18:11   Re: SM Parachute -- Question to all TF2 Players in last post !
Reply With Quote #48

most commonly when you play a map that requires +use they tell you to set it to F (tf2 players) I tell all my server players to do this as well.. so thats 32 + players of one of the top ranked tf2 servers.... just some food for thought! let me know if you need more info then that! Im even willing to put this mod up for testing, although i dont see much of a use for it in Tf2....
__________________


Last edited by riuthamus; 05-10-2008 at 18:14.
riuthamus is offline
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Old 05-12-2008 , 17:10   Re: SM Parachute -- Question to all TF2 Players in last post !
Reply With Quote #49

As you said F is not a standard button for +use.
Yes, everybody could bind +use to F, but this was the problem in CS:S.

I checked the +use action wich is bound to E by default.
So I need a button wich is bound to an action in TF2 by default.

Then i can hook the action with SM.

Here are some examples of Buttons:
Code:
#define IN_ATTACK        (1 << 0)
#define IN_JUMP            (1 << 1)
#define IN_DUCK            (1 << 2)
#define IN_FORWARD        (1 << 3)
#define IN_BACK            (1 << 4)
#define IN_USE            (1 << 5)
#define IN_CANCEL        (1 << 6)
#define IN_LEFT            (1 << 7)
#define IN_RIGHT        (1 << 8)
#define IN_MOVELEFT        (1 << 9)
#define IN_MOVERIGHT    (1 << 10)
#define IN_ATTACK2        (1 << 11)
#define IN_RUN            (1 << 12)
#define IN_RELOAD        (1 << 13)
#define IN_ALT1            (1 << 14)
#define IN_ALT2            (1 << 15)
#define IN_SCORE        (1 << 16)   // Used by client.dll for when scoreboard is held down
#define IN_SPEED        (1 << 17)    // Player is holding the speed key
#define IN_WALK            (1 << 18)    // Player holding walk key
#define IN_ZOOM            (1 << 19)    // Zoom key for HUD zoom
#define IN_WEAPON1        (1 << 20)    // weapon defines these bits
#define IN_WEAPON2        (1 << 21)    // weapon defines these bits
#define IN_BULLRUSH        (1 << 22)
#define IN_GRENADE1        (1 << 23)    // grenade 1
#define IN_GRENADE2        (1 << 24)    // grenade 2
These are actions for CS:S; I don't know it for TF2, but there must be some.

As you can see these are the standard buttons wich I can use in SM, so I need a action in TF2.

Thanks in Advance!
Thanks for Feedback!
SWAT_88 is offline
Sturmeh
Junior Member
Join Date: Apr 2008
Old 05-19-2008 , 04:00   Re: SM Parachute -- Question to all TF2 Players in last post !
Reply With Quote #50

+FORWARD, +BACKWARD, +MOVELEFT, +MOVERIGHT, +LEFT, +RIGHT, +JUMP, +DUCK, +ATTACK, +ATTACK2, +RELOAD, ...

What do you mean?

EDIT: Oh!

You can use T, F, V... Then there are other less reachable keys.

Last edited by Sturmeh; 05-19-2008 at 04:02.
Sturmeh is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:29.


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