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

[Request] example of volumetric Feature


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
santaclaus
Senior Member
Join Date: Dec 2008
Old 07-01-2010 , 17:22   [Request] example of volumetric Feature
Reply With Quote #1

Hi can i request two complete example of volumetric feature (files content).

- example 1 : create a volume in RandomMap.bsp inside which zombies' knocback is reduced ny 20%

- example 2 : create a anti camp volume that hurt the human

Cheers.
__________________

santaclaus is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 07-01-2010 , 18:23   Re: [Request] example of volumetric Feature
Reply With Quote #2

http://helgeby.no-ip.org/zrdev/manual/#3.23

First you need the coordinates to the two corners of a volume where you want the features. Also note that I think there's a bug in my parameter parser where it's not reading all parameters. Just watch the message for number of parameters parsed.

Code:
zr_vol_add x1 y1 z1 x2 y2 z2 anticamp teamfilter=humans [amount=5] [interval=1.0]
The anti-camp will hurt 5 HP/sec by default.

The knockback currently can't be reduced or increased. It's only supporting absolute values at the moment:

Code:
zr_vol_add x1 y1 z1 x2 y2 z2 classedit knockback=<new knockback>
The new knocback will be applied to all players entering the voumes, so they'll all have the same knockback.

Volumetric features in the next version is redesigned to be more flexible and with multiple features attached to a volume. I'll also make that class editor support knock back scaling.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)

Last edited by rhelgeby; 07-01-2010 at 18:34.
rhelgeby is offline
Send a message via MSN to rhelgeby
santaclaus
Senior Member
Join Date: Dec 2008
Old 07-02-2010 , 07:43   Re: [Request] example of volumetric Feature
Reply With Quote #3

Yeah i've read the manual but the class editor part was missing.
I didn't know that it will actually fit one line.
I though i had to use the command zr_class_set_multiplier then zr_class_reload.

So i should put those line in a post map configuration file right ?
__________________

santaclaus is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 07-02-2010 , 09:08   Re: [Request] example of volumetric Feature
Reply With Quote #4

Yes, the idea is to use those commands in map configs (that is cfg/sourcemod/zombiereloaded/mapname.cfg).
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
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 03:36.


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