Raised This Month: $75 Target: $400
 18% 

[L4D & L4D2] Climb Everywhere


Post New Thread Reply   
 
Thread Tools Display Modes
blackalegator
Member
Join Date: Jan 2010
Old 07-07-2011 , 03:41   Re: [L4D & L4D2] Climb Everywhere
Reply With Quote #21

Nice plugin! Looked at the code, but it is pretty hard to understand it for me now. I am really new to sourcepawn, anddunno any of the props. Still... 950 lines of code!

Edit: Huh? Found some really handy functions for myself. Thank you!

PS what is that line doing? Float:f=GetAngle(normal, up)*180/Pai; ?
I thought GetAngle returns degrees, not radians
__________________
I am Russian so DONT look at my english

Last edited by blackalegator; 07-07-2011 at 03:55.
blackalegator is offline
Send a message via Skype™ to blackalegator
panxiaohai
Senior Member
Join Date: Mar 2010
Old 07-07-2011 , 04:39   Re: [L4D & L4D2] Climb Everywhere
Reply With Quote #22

Quote:
Originally Posted by blackalegator View Post
Nice plugin! Looked at the code, but it is pretty hard to understand it for me now. I am really new to sourcepawn, anddunno any of the props. Still... 950 lines of code!

Edit: Huh? Found some really handy functions for myself. Thank you!

PS what is that line doing? Float:f=GetAngle(normal, up)*180/Pai; ?
I thought GetAngle returns degrees, not radians
My English is bad ,I am hard to describe my code ,so I never made comments , but today I spend an hour to comment my code, please download again.
/*
* angle between x1 and x2
*/
Float:GetAngle(Float1[3], Float2[3])
{
return ArcCosine(GetVectorDotProduct(x1,x2)/(GetVectorLength(x1)*GetVectorLength(x2)));
}
It return radians not degree.
panxiaohai is offline
JoBarfCreepy
Member
Join Date: Feb 2011
Location: Next to Sweden and Norwa
Old 07-07-2011 , 06:50   Re: [L4D & L4D2] Climb Everywhere
Reply With Quote #23

Mindfu*king pictures you got there.
Great job.
JoBarfCreepy is offline
instantn00b
Member
Join Date: Jun 2011
Old 07-07-2011 , 08:06   Re: [L4D] Crawl Everywhere (editing)
Reply With Quote #24

Quote:
Originally Posted by Visual77 View Post
Looks cool. Just wish it could have been done without sdk hooks :/
Most plugins these days require SDKHooks. I have servers running 72 hours with SDKHooks and Downtown.

Seriously you should be running both already by now

OT:

Plugin looks nice I'll test it!
instantn00b is offline
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 07-07-2011 , 09:32   Re: [L4D & L4D2] Climb Everywhere
Reply With Quote #25

it is possible to make a version without using sdkhook... why not make it

request : cvar to control ghost mode allow climb or not
__________________
alexip121093 is offline
Send a message via MSN to alexip121093
panxiaohai
Senior Member
Join Date: Mar 2010
Old 07-07-2011 , 10:09   Re: [L4D & L4D2] Climb Everywhere
Reply With Quote #26

Quote:
Originally Posted by alexip121093 View Post
it is possible to make a version without using sdkhook... why not make it

request : cvar to control ghost mode allow climb or not
Without sdkhook is possible, but it's not so easy to hiding real body when climbing, I will try.

Last edited by panxiaohai; 07-07-2011 at 10:26.
panxiaohai is offline
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 07-07-2011 , 11:54   Re: [L4D & L4D2] Climb Everywhere
Reply With Quote #27

Quote:
Originally Posted by panxiaohai View Post
Without sdkhook is possible, but it's not so easy to hiding real body when climbing, I will try.
disable the glow and set the model color 0 0 0 0
__________________
alexip121093 is offline
Send a message via MSN to alexip121093
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 07-07-2011 , 11:56   Re: [L4D & L4D2] Climb Everywhere
Reply With Quote #28

can you make it like this?

"l4d_climb_hunter", "1", "0:disable 1:enable for hunter in ghost mode 2: enable for hunter while alive 3 : enable all the time"
"l4d_climb_smoker", "1", " "
"l4d_climb_tank", "1", " "
"l4d_climb_boomer", "1", " "
"l4d_climb_jockey", "1", " "
"l4d_climb_spitter", "1", " "
"l4d_climb_changer", "1", " "
__________________
alexip121093 is offline
Send a message via MSN to alexip121093
RavenDan29
Veteran Member
Join Date: Sep 2009
Old 07-07-2011 , 15:04   Re: [L4D & L4D2] Climb Everywhere
Reply With Quote #29

man you churn em out difficult to stay on top of all these mods, i fear if i add this and the tanks helpers mod on top of everything else my poor old server will grind to a stand still lol
__________________

Last edited by RavenDan29; 07-07-2011 at 15:08. Reason: found name of tank throw mod
RavenDan29 is offline
Skorpion1976
Veteran Member
Join Date: Jun 2009
Location: Austria
Old 07-07-2011 , 16:59   Re: [L4D & L4D2] Climb Everywhere
Reply With Quote #30

AutoExecConfig(true, "l4d_climb_v1.01");

There is a code which generates a config file with the same name as the plugin. I donīt know where to find it but some plugins use this method . So you donīt even have to use a name, it gets it name from the plugin itself.
Skorpion1976 is offline
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 23:16.


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