Raised This Month: $ Target: $400
 0% 

Water "stuff"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LynX
Veteran Member
Join Date: Oct 2004
Old 11-03-2005 , 14:25   Water "stuff"
Reply With Quote #1

When using:

Code:
new ent = find_ent_by_class(-1,"func_water") while ( ent ) { ent = find_ent_by_class(ent,"func_water") // do other stuff }

only on certain maps I can do stuff with water. In 4 maps, only on 2 I was able to do some stuff with water.
How can I do stuff on other maps with water ( I'm aiming on maps with big water surfaces ).

Thanks.
__________________
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
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 11-03-2005 , 15:26  
Reply With Quote #2

Code:
new ent; while((ent = find_ent_by_class(ent, "func_water")) != 0) {   // blah }
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
LynX
Veteran Member
Join Date: Oct 2004
Old 11-03-2005 , 18:52  
Reply With Quote #3

You sure this will work on any water surface no matter how big it is?
__________________
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
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 11-03-2005 , 19:02  
Reply With Quote #4

As long as it is a func_water it will still be caught with this loop.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
LynX
Veteran Member
Join Date: Oct 2004
Old 11-04-2005 , 05:17  
Reply With Quote #5

Well, ok...
One more question. What other classnames can be for water or smthing like water/fluid/liquid stuff?

@ Avalanche - how come ur troll? 0o
__________________
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
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 11-04-2005 , 19:42  
Reply With Quote #6

func_water is it
XxAvalanchexX is offline
commonbullet
Veteran Member
Join Date: Oct 2005
Old 11-05-2005 , 00:01  
Reply With Quote #7

not all the maps use func_water to make water surfaces.

In many maps the water surfaces are set by applying a water texture (signed by a ! prefix, i.e. !c2a53) into an ordinary world brush.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
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 23:39.


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