Odd Question Please Help!


Sp3c-BuLLeT
01-29-2004, 07:43 PM
I have an odd mapping question. I would like to make it so you get positive kills for TKing your own team. Does anyone know of a way to do this (I want to make a DOD ffa map).

Mythic_Kruger
01-30-2004, 12:06 AM
Impossible, from a mapping point of view.
It would need to be hard-coded. I doubt the dod team would implement this even if you ask them kindly.

Astro
01-30-2004, 12:09 AM
If you want a DoD FFA map, just make a deathmatch map with DoD textures, thats as close as you can get.

Sp3c-BuLLeT
01-30-2004, 05:58 AM
What about from a server mod point of view? I've seen server mods that bring up TK revenge menus, so they can obviously track TKs. Then, is there a way to add to individual player scores?

I think it may be possible to do it this way. Any thoughts?

greenhorn
01-30-2004, 08:41 AM
what you want is a server variable like "mp_friendlyfire 666"

Mythic_Kruger
01-30-2004, 09:58 AM
That sounds good :) Ask in the Server Discusion forum the answer is not in Hammer.

Glidias
01-30-2004, 10:25 AM
Create a game_score entity with Name: game_playerkill, Points to Add: 1 .

You're set for deathmatch uber fun!!!

Dependning on tk penalty, you might need to award 2 points. It dpeends, but from my testing with Sturmbots, awarding 1 point for the game_score entity is enough to receive 1 point for every TK! game_entities were meant to create teamplay in HL, but now it is being used to create deathmatch in DoD...lol...

Sp3c-BuLLeT
01-31-2004, 12:10 AM
Will this add points to their score column or the kills column?

Glidias
01-31-2004, 03:16 AM
kills...just try it. It works.

Mythic_Kruger
01-31-2004, 03:58 AM
Sorry erm i was wrong... and learned something about teamplay today :confused:

Sp3c-BuLLeT
01-31-2004, 01:21 PM
Now if only I can find a way to put this into the stripper2 MOD...

I've tried this and it doesn't work:
[add]

{
classname/game_score
name/game_playerkill
points to add/1
}



oh well :-/

I'm trying to have a DOD deathmatch btw. I have a map called dod_frenzy where you can spawn anywhere on the map and I turn off kick for TK... just need to know how give points for TKing.... and a cvar to reduce the spawn time would be nice too :)

Glidias
01-31-2004, 09:15 PM
I already gave you the answer. Just add those entities I mentioned in Hammer and compile yr map. Why do you need to use the stripper plugin? (unless you lost the .rmf??? gasp...maybe you should decompile the .bsp then...and redo the brushwork...)

Try awarding 2 pts instead.

Also, did u specify the coordinate location of that entity for stripper plugin? I think u might need to give it an origin value.

For a cvar to reduce the respawn time, just create a dod_frenzy.cfg and inside that .cfg, key in all yr intended cvar server settings for yr map. You can adjust respawn times, turn on friendly fire always, turn off tk penalty kicks, adjust class limits (basically ANYTHING) for that map. This gives you a lot of power for the mapper, including setting server gravity, player movement speeds (for a more realstic tactical style gameplay or rpg style gameplay), clan match settings, flashlight availability, frag limits before map ends, fade to black, friction, fall damage, etc. Enjoy. If i'm not wrong, this .cfg affects the client side as well, so u can make the client key in various console commands, allowing you to effectively control the player or provide some hotkeys for him. Maybe you can even put unbind all (sabotage warning!!) to unbind all his keys when he enters the map. Dont' worry though, all these map .cfg settings will not overwrite server.cfg or config.cfg....so yr settings should be restored back once you enter a proper map.

Sp3c-BuLLeT
02-01-2004, 09:18 AM
It isn't my map... it is a map someone else made and I want to use stripper2 to make some changes to it, so it will fit my theme.

I have a .cfg file, I just don't know the cvar for respawn timer

Thank you for your help btw.

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.