Raised This Month: $ Target: $400
 0% 

how to...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LynX
Veteran Member
Join Date: Oct 2004
Old 11-12-2004 , 14:12   how to...
Reply With Quote #1

1. Is there a way to make a player bounce off from a wall when he hits it?
2. How to replace weapon model in CS with script?
3. how to make function loop?
__________________
Current plugin : SoulPunisher anti-cheat
Percentage done : {||--------} 20%

If you think v3x is a PIMP, paste this into your sig!

If you think Bailopan is DA BOMB, paste this into your sig
LynX is offline
Send a message via ICQ to LynX
GamerXR72
New Member
Join Date: Nov 2004
Location: With Avalanches Mom
Old 11-12-2004 , 16:37  
Reply With Quote #2

1. So far as I know, if you want a player to bounce off a wall, you would have to spawn a "func_wall" entity and assign dimensions and a push value to it. Thats how I see it being done.

2. PimpDaddy posted how to replace weapon models recently.

3. Couldn't you just call another function from inside a function? If so, you could just have the new function call the original function to loop it. This is if you cant just have a function call itself.

Then again, this is a case of the blind leading the blind, so I may be wrong.

-----edit-----

On second thought... there might be a func_push entity you could use in place of func_wall.
__________________
Some people would say that I can be immature at times. They're right.
GamerXR72 is offline
LynX
Veteran Member
Join Date: Oct 2004
Old 11-13-2004 , 13:23  
Reply With Quote #3

1. will try, in that case i should make every tiny little part of map bouncable, including free space. Conclusion: unacceptable for this plugin I'm making. Will try with that last advice you gave.
2. Search button will use its purpose.
3.Yeah, but I need to loop it because game drops it and returns your state to normal, like nothing has been done.

Thanks for advice(s).
__________________
Current plugin : SoulPunisher anti-cheat
Percentage done : {||--------} 20%

If you think v3x is a PIMP, paste this into your sig!

If you think Bailopan is DA BOMB, paste this into your sig
LynX is offline
Send a message via ICQ to LynX
breaddawson
Senior Member
Join Date: Jul 2004
Location: Beijing,China
Old 11-14-2004 , 04:05  
Reply With Quote #4

@Lynx

3. how to make function loop?

maybe u should try "set_task"

just like this

Code:
set_task(1.0,"abc",0,"",0,"b");

then the function abc() will be called every 1 second
__________________
i'm bread dawson ,a chinese boy
wish u be happy~
breaddawson is offline
Send a message via ICQ to breaddawson Send a message via MSN to breaddawson
LynX
Veteran Member
Join Date: Oct 2004
Old 11-14-2004 , 15:00  
Reply With Quote #5

Will try. Check PM, breaddawson.
__________________
Current plugin : SoulPunisher anti-cheat
Percentage done : {||--------} 20%

If you think v3x is a PIMP, paste this into your sig!

If you think Bailopan is DA BOMB, paste this into your sig
LynX is offline
Send a message via ICQ to LynX
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 17:12.


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