Page 1 of 2

How can i give frags to a player???

Posted: Wed Mar 26, 2003 2:42 pm
by Magus CPD OZZY
Someone know how i can give some frags when a player do the OBJ.... or frags for the team.....

thanks....

cheat

Posted: Wed Mar 26, 2003 5:30 pm
by tltrude
Sounds like you're trying to inflate/cheat the player ranking system at the site below to me.

http://www.computerandvideogames.com/r/ ... /index.asp

tsk

Posted: Wed Mar 26, 2003 7:54 pm
by Magus CPD OZZY
hey if you dont know how dont piss me off....

i only want to give frags to players that blow up my bridge....

its sucks....

Posted: Wed Mar 26, 2003 7:57 pm
by Ace of Spades
Whoa! Dude, why so upset? I don't think he meant anything mean by it, we all like to joke around a little here and we try not to hurt anyone's feelings on purpose. Take it easy, pal!

Posted: Wed Mar 26, 2003 8:08 pm
by nihilo
can't say I know how, but the idea is pretty good.

Sounds like he wants to reward a player for completing the objective with frags, kinda like in team fortress classic. May be good for encouraging more teamwork.

Posted: Wed Mar 26, 2003 8:31 pm
by Yarik
Umm what are frags???

Posted: Wed Mar 26, 2003 8:34 pm
by Angex
Yarik wrote:Umm what are frags???
A point awarded to a player when they killed someone in an MP game.

Posted: Wed Mar 26, 2003 8:45 pm
by Yarik
Dont we already get that? Or what he means is it will go into your user status. So that other clans can see how good you play is that it?

Posted: Thu Mar 27, 2003 1:23 am
by nuggets
yes, yes, yes!!!...

it's possible as almost everything is with radiant... except compiling with removable lightbulbs (i know it's still possible but not as easy as we wish)

do you want this person to get frags at the end of the level if the objective has been completed, or get the bonus ingame and recieve a bonus from doing the objective...

once we know what u want 2 happen from this point forth JV will do the script 4 ya... he's good like that :D if he don't then just sack him, i'll have a look at it myself :P

Posted: Thu Mar 27, 2003 1:29 am
by mohaa_rox
One stupid question:

What exactly do frags mean in this case?

Posted: Thu Mar 27, 2003 1:40 am
by nuggets
well now u should ask...

a frag = in Quake 3 a kill of another player
a frag = a type of explosive
a frag = some1 who can't spell "frog", why they'd want 2 type that i don't know...

but if they wanted 2 reward some1 4 completing the objective then their way of doing it might b 2 reward them a "frag", a kind of reconciliation for completing an important mission, but the thing i was wondering... is what time do you want this player 2 recieve this "reward", before next mission, during gameplay, or just on scorebaord... :?:

hehehe

Posted: Thu Mar 27, 2003 2:54 am
by Magus CPD OZZY
sorry for the second post.....

ok is something that i want to do because the people play the OBJs maps like they play DMs Maps only for kill each other and i want to give bonus to who do my OBJ.....

Someone in another forum post something like that:


local.planter addkills 5

or whatever number you want to add. Obviouly rename local.planter to whatever your
local varible name is for the player. parm.other may also work.

To add kills to all players on a team you will need to loop through the players array
- $player[n]. Check their team and add kills if relevant. Haven't checked the exact
syntax but somethhing like this:

for (local.i = 1; local.i <= 32; i++)
{
if ($player[local.i])
{
if ($player[local.i].dmteam == allies))
{
$player[local.i] addkills 5
}
}
}




But i cant make it work....

Posted: Thu Mar 27, 2003 6:37 am
by jv_map
I tried that also and it didn't work. 'Addkills' is not a valid command, for mohaa at least. :(

sucks...

Posted: Thu Mar 27, 2003 10:57 am
by Magus CPD OZZY
Yes i think it too jv!

But if you look in the .html that came with the SDK you can find the addkills....

Posted: Thu Mar 27, 2003 2:23 pm
by jv_map
Maybe it's a Spearhead thing :?