game_score entities
Post Reply
Quote
Re: game_score entities
Posted by Guessmyname on Sat Jan 22nd at 3:05pm 2005


Don't worry about the mechanisms of CTFs (no mod or model required!), I'll post a vmf on filefence when I'm done.

What I want to know is how to do you trigger a game_score entity to give points to the team when they capture the flag?
[addsig]




Quote
Re: game_score entities
Posted by DrGlass on Sat Jan 22nd at 3:19pm 2005


I dont think you can give points to a 'team' think about a way to give the same amount of points to all the players on that team.
[addsig]




Quote
Re: game_score entities
Posted by Guessmyname on Sat Jan 22nd at 6:37pm 2005


THere is a special flag for that. I just want to know how to trigger them

PS I can't do any experiments now as I'm on my laptop - sorry.
[addsig]




Quote
Re: game_score entities
Posted by Zeon on Sat Jan 22nd at 8:32pm 2005


I'm not sure if it's going to work correctly for your situation, since it gives points to the player that activates it. You're right, there is a special flag to specify it as Team Points, so I guess just set up a trigger where you want your flag to be capped at and try some variations on it if it doesn't work.





Quote
Re: game_score entities
Posted by Guessmyname on Sat Jan 22nd at 8:42pm 2005


You don't get it do you? There is no specified input to make it add the points

Fortunately I'm back on my XP, so I can experiment a bit now
[addsig]




Quote
Re: game_score entities
Posted by Guessmyname on Sat Jan 22nd at 8:46pm 2005


Wrongo. I can't seem to trigger game_end ents either, but the TDM tut says stuff about it. How are they used Yesurbis?
[addsig]




Quote
Re: game_score entities
Posted by Guessmyname on Sat Jan 22nd at 9:40pm 2005


There seems to be no other way around this problem - and I can't program stuff - and besides, no mod / modle is user friendly! So much for "there's always a better way"...

I suppose I could make it so that capturing the enemy's flag gives bonuses to your team, but adding points just doesn't seem viable. Gah. Fecking Valve...

I'll send up a vmf to filefence when I'm done
[addsig]




Quote
Re: game_score entities
Posted by Leperous on Sun Jan 23rd at 12:04am 2005


Talking to yourself again?



Quote
Re: game_score entities
Posted by sXenoG on Sun Jan 23rd at 6:40am 2005


couldnt you have like giant trigger brushes to do the fliter_activator_team to dot he game_score so that when sum1 activates it itll be for everyone on the team... but im not sure thats exactly what u want




Quote
Re: game_score entities
Posted by Guessmyname on Sun Jan 23rd at 10:50am 2005


There isn't an input! look:

game_score

An entity that awards/deducts points from the player who activates it.

KEYS

Name targetname <target_source> The name that other entities refer to this entity by.

spawnflags spawnflags <flags>

Points to add (+/-) points <integer>

Master (Obsolete) master <string> Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate.


INPUTS

Kill Removes this entity from the world.

KillHierarchy Removes this entity and all its children from the world.

AddOutput <string> Adds an entity I/O connection to this entity. Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>. Very dangerous, use with care.

FireUser1 Causes this entity's OnUser1 output to be fired.

FireUser2 Causes this entity's OnUser2 output to be fired.

FireUser3 Causes this entity's OnUser3 output to be fired.

FireUser4 Causes this entity's OnUser4 output to be fired.


OUTPUTS

OnUser1 Fired in response to FireUser1 input.

OnUser2 Fired in response to FireUser2 input.

OnUser3 Fired in response to FireUser3 input.

OnUser4 Fired in response to FireUser4 input.


[addsig]




Quote
Re: game_score entities
Posted by keved on Sun Jan 23rd at 5:55pm 2005


I've setup working CTF entities (http://www.snarkpit.com/maps.php?map=1652) and couldn't get game_score to work at all, neither could the guys who made ctf_export. Seems to me like it's currently only a legacy entity from HL1 and isn't integrated into HL2DM yet.



Quote
Re: game_score entities
Posted by Guessmyname on Sun Jan 23rd at 10:54pm 2005


It be finished! Whilst getting the flag won't get you points, it can give an advantage! Just watch your step...

http://www.filefence.com/viewtopic.php?p=101#101

I love filefence....
[addsig]





Post Reply