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

Can someone help me with improving the movement feature in this jetpack plugin?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cs1.6
Senior Member
Join Date: Dec 2006
Old 04-26-2008 , 09:12   Can someone help me with improving the movement feature in this jetpack plugin?
Reply With Quote #1

Hi,

this is a Jetpack plugin, that is really cool but i am trying to improve the movement style..it shouldn't be too hard but it's still beyond my coding knowledge.

ok,

when you press the JUMP button..the jetpack forces the user automatically to moves forward! (That's very stiff and unflexible!)

but i want it to move forward/backwards/sidewards when user presses W/A/S/D

The jump button would just activate the flying modus. Maybe by setting the users gravity to zero! ..And with w/s/a/d you could fly in the desired direction!

That would enable the user to fly backwards and
sidewards,
ass well! Which would be one of the coolest & unique things in cs ever!

It will make the fragging with this jetpack alot easier and more fun!

Thx alot for any help!

+karmas fo shoe!
Attached Files
File Type: sma Get Plugin or Get Source (jp_lite_1.25_300_no_ad.sma - 721 views - 5.9 KB)
cs1.6 is offline
rudle
BANNED
Join Date: Mar 2008
Location: About to be sent to bant
Old 04-26-2008 , 10:25   Re: Can someone help me with improving the movement feature in this jetpack plugin?
Reply With Quote #2

PHP Code:
if(!(get_user_button(id) & IN_JUMP))
        return 
PLUGIN_CONTINUE

PHP Code:
if(!(get_user_button(id) & KEY_W))
        return 
PLUGIN_CONTINUE
rudle is offline
atomen
Veteran Member
Join Date: Oct 2006
Location: Stockholm, Sweden
Old 04-26-2008 , 10:33   Re: Can someone help me with improving the movement feature in this jetpack plugin?
Reply With Quote #3

rudle what are you thinking ?
__________________
atomen is offline
Send a message via MSN to atomen
rudle
BANNED
Join Date: Mar 2008
Location: About to be sent to bant
Old 04-26-2008 , 10:49   Re: Can someone help me with improving the movement feature in this jetpack plugin?
Reply With Quote #4

Porn =p
rudle is offline
cs1.6
Senior Member
Join Date: Dec 2006
Old 04-26-2008 , 10:50   Re: Can someone help me with improving the movement feature in this jetpack plugin?
Reply With Quote #5

you have to kinda remove the
Code:
 VelocityByAim
..function

And somehow replace the function with IN_FORWARD, IN_BACK, IN_MOVELEFT, IN_MOVERIGHT

But as i said my coding knowledge is limited.

Pls help
cs1.6 is offline
rudle
BANNED
Join Date: Mar 2008
Location: About to be sent to bant
Old 04-26-2008 , 11:58   Re: Can someone help me with improving the movement feature in this jetpack plugin?
Reply With Quote #6

Yeh that was it IN_FORWARD Soz about that xD
Your mouse moves you don't or or does space move you =p
rudle is offline
cs1.6
Senior Member
Join Date: Dec 2006
Old 04-26-2008 , 12:09   Re: Can someone help me with improving the movement feature in this jetpack plugin?
Reply With Quote #7

space moves forward.

i want w s a d to move in those directions.

space should be user gravity = 0
cs1.6 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 15:40.


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