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

GHW GHR (Grab + Hook + Rope)


Post New Thread Reply   
 
Thread Tools Display Modes
keVn
Member
Join Date: Jun 2006
Old 07-09-2006 , 18:42   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #21

How do I put the command in an item for TSRP?
Do I put in +grab for the command?
keVn is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 07-09-2006 , 19:57   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #22

I have no clue how TSRP works so I couldn't tell you.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Basic-Master
Veteran Member
Join Date: Apr 2005
Location: hello pm
Old 07-09-2006 , 20:21   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #23

very nice only a few more suggestions: return PLUGIN_HANDLED in your grab_off() function, I don't wanna see -grab all the time when I release my mouse button. you should also use TE_BEAMENTPOINT instead of TE_BEAMPOINTS, looks smoother ^^. oh, and it'd be nice to grab entities, once it does that I'll approve it immediately and call it a perfect plugin

edit: one more thing. set the user's gravity to 0 when they're using grab+rope. should look better ^^

Last edited by Basic-Master; 07-09-2006 at 20:24.
Basic-Master is offline
Send a message via ICQ to Basic-Master Send a message via MSN to Basic-Master
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 07-09-2006 , 20:37   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #24

-functions return
-TE_BEAMPOINTS -> TE_BEAMENTPOINT
-target's grav to 0.0 on +grab and 1.0 on -grab
---Not on rope because it would mess with how the velocity is calculated and I'de end up manually subtracting z velocity anyway.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Basic-Master
Veteran Member
Join Date: Apr 2005
Location: hello pm
Old 07-09-2006 , 21:14   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #25

did I really say gravity for grab? oh. I wanted to say set gravity for hook to 0.0.. aieeee
Basic-Master is offline
Send a message via ICQ to Basic-Master Send a message via MSN to Basic-Master
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 07-09-2006 , 21:21   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #26

added for hook.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Basic-Master
Veteran Member
Join Date: Apr 2005
Location: hello pm
Old 07-09-2006 , 22:22   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #27

Quote:
Originally Posted by GHW_Chronic
-TE_BEAMPOINTS -> TE_BEAMENTPOINT
lines 541+658 don't look like TE_BEAMENTPOINT
Basic-Master is offline
Send a message via ICQ to Basic-Master Send a message via MSN to Basic-Master
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 07-09-2006 , 23:06   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #28

ah... I should save the file before uploading it huh?
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Nero-San
New Member
Join Date: Jul 2006
Old 07-09-2006 , 23:54   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #29

Hmmz, my game crashes when i use +hook, and +rope disconnects me with ze message:
Host_Error: UserMsg: Not Present on Client 255 edit: not 25
And in ze logs it says:
Invalid player id 78
[AMXX] Run time error 10 (plugin "amx_GHW_GHR.amxx") - debug not enabled!
[AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Invalid player id 21
Invalid player id 207
etc.

moomoo?

Last edited by Nero-San; 07-10-2006 at 01:22.
Nero-San is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 07-09-2006 , 23:56   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #30

what game
what line does debug tell you the error is on
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Reply


Thread Tools
Display Modes

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:02.


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