Re: game_score entities
Posted by Guessmyname on
Sat Jan 22nd 2005 at 3:05pm
342 posts
173 snarkmarks
Registered:
Dec 6th 2004
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?
Re: game_score entities
Posted by DrGlass on
Sat Jan 22nd 2005 at 3:19pm
DrGlass
member
1825 posts
632 snarkmarks
Registered:
Dec 12th 2004
Occupation: 2D/3D digital artist
Location: USA
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.
Re: game_score entities
Posted by Guessmyname on
Sat Jan 22nd 2005 at 6:37pm
342 posts
173 snarkmarks
Registered:
Dec 6th 2004
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.
Re: game_score entities
Posted by Zeon on
Sat Jan 22nd 2005 at 8:32pm
37 posts
14 snarkmarks
Registered:
Dec 22nd 2004
Location: USA
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.
Re: game_score entities
Posted by Guessmyname on
Sat Jan 22nd 2005 at 8:42pm
342 posts
173 snarkmarks
Registered:
Dec 6th 2004
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
Re: game_score entities
Posted by Guessmyname on
Sat Jan 22nd 2005 at 8:46pm
342 posts
173 snarkmarks
Registered:
Dec 6th 2004
Wrongo. I can't seem to trigger game_end ents either, but the TDM tut says stuff about it. How are they used Yesurbis?
Re: game_score entities
Posted by Guessmyname on
Sat Jan 22nd 2005 at 9:40pm
342 posts
173 snarkmarks
Registered:
Dec 6th 2004
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
Re: game_score entities
Posted by sXenoG on
Sun Jan 23rd 2005 at 6:40am
49 posts
5 snarkmarks
Registered:
Dec 24th 2004
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
Re: game_score entities
Posted by Guessmyname on
Sun Jan 23rd 2005 at 10:50am
Posted
2005-01-23 10:50am
342 posts
173 snarkmarks
Registered:
Dec 6th 2004
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.