King Of The Hill

King Of The Hill

Re: King Of The Hill Posted by Frissi on Sat Mar 11th 2006 at 10:59am
Frissi
116 posts
Posted 2006-03-11 10:59am
Frissi
member
116 posts 52 snarkmarks Registered: Sep 8th 2003 Occupation: Student Location: Iceland
Ive been trying to make a king of the hill map, and i havent figured out how to create a zone that gives the player inside the zone 5 points per 15 secs.

Ive tried to use trigger_multiple and make it target the game_score entity after 15 secs but it cant be set to anything like (trigger when player is in the zone) its just when player starttouch or endtouch, by doint the starttouch or endtouch the player can exploit the scoring by entering the zone (in and out) that way the zone gives the player 5+5+5+5+5 points :leper:

Im lost, isnt there some other way please help !
http:www.frissi.com
Re: King Of The Hill Posted by reaper47 on Sat Mar 11th 2006 at 1:23pm
reaper47
2827 posts
Posted 2006-03-11 1:23pm
reaper47
member
2827 posts 1921 snarkmarks Registered: Feb 16th 2005 Location: Austria
Phew I remember this problem from TFC. What game your're making this for btw? HL2DM?

Have you tried a logic_timer?
Re: King Of The Hill Posted by Frissi on Sat Mar 11th 2006 at 2:09pm
Frissi
116 posts
Posted 2006-03-11 2:09pm
Frissi
member
116 posts 52 snarkmarks Registered: Sep 8th 2003 Occupation: Student Location: Iceland
Yeppers Hl2dm :sailor:
http:www.frissi.com
Re: King Of The Hill Posted by ReNo on Sat Mar 11th 2006 at 3:42pm
ReNo
5457 posts
Posted 2006-03-11 3:42pm
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
Couldn't you just set the reset timer on the trigger_multiple to 15 seconds, so that if you move in and out of it it won't work until it has reset? Also don't use the "OnStartTouch" or "OnEndTouch" outputs - use the "OnTrigger" output.

I've a feeling there are more refined ways of getting this effect working, but I don't know what those are as I've not looked into making this sort of gametype before. There are probably tutorials around on some sites on how to get KOTH working in HL2DM, you may want to have a search about if you haven't already.
[img]http://card.mygamercard.net/sig/Default/reno84.png[/img]
Designer @ Haiku Interactive | ReNo-vation.net
Re: King Of The Hill Posted by Frissi on Sun Mar 12th 2006 at 8:28pm
Frissi
116 posts
Posted 2006-03-12 8:28pm
Frissi
member
116 posts 52 snarkmarks Registered: Sep 8th 2003 Occupation: Student Location: Iceland
I feel silly,stupid and alot more... of course the dealay works fine ! :popcorn:

THANKS ALOT !
http:www.frissi.com
Re: King Of The Hill Posted by Sam37 on Mon Mar 13th 2006 at 1:01pm
Sam37
47 posts
Posted 2006-03-13 1:01pm
Sam37
member
47 posts 5 snarkmarks Registered: Dec 15th 2004 Occupation: Student Location: UK
Mark Reno's answer correct :smile: