Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

DoD EnemySpyMod ( v0.9beta )

by Firestorm · 2006-07-09 · 7 replies · 7304 views · 136 downloads

Read the thread (8 posts)

From the first post

// DESCRIPTION:
rn// ============
rn//
rn// A random player of the axis team and a random player of the allied
rn// team will be a spy and looks like an enemy soldier and has these
rn// weapons. he/she will be the spy for a whole round and will get
rn// another random class on every respawn.
rn
rn
// USAGE:rn// ======rn//rn// CVARS:rn//rn// dod_enemyspymod_enabled <1/0> = enable/disable Plugin by defaultrn//rn// dod_enemyspymod_taimmunity <1/0> = enable/disable health regain afterrn// a spy got attacked by a team matern//rn//rn// ADMIN COMMAND:rn//rn// amx_enemyspymod <1/0> = enable/disable EnemySpy Mod

rn
rn
// CHANGELOG:rn// ==========rn//rn// - 30.09.2004 Version 0.1pre-alpharn// Initial Alpharn//rn// - 03.10.2004 Version 0.2pre-alpharn// looks more like a plugin now,rn// but doesn't work like it shouldrn//rn// - 04.10.2004 Version 0.3pre-alpharn// works like it should nowrn//rn// - 05.10.2004 Version 0.4alpharn// cleaned the code a bitrn//rn// - 06.10.2004 Version 0.5betarn// * added "silent footsteps" to the spiesrn// * changed to beta statusrn//rn// - 09.10.2004 Version 0.6betarn// * fixed some bugsrn// * cleaned the codern// * changed announcements torn// only one message per playerrn// per roundrn// * reduced message time when a spy gotrn// killed/tked to 5 secondsrn// * made sure that no player will be thern// spy two rounds in a rowrn//rn// - 19.10.2004 Version 0.7betarn// * fixed minor bugsrn// * if a team's spy leaves the serverrn// a new spy for that team is chosen.rn// * to prevent logs full of errors,rn// EnemySpy Mod is disabled 5 secondsrn// before a mapchange.rn//rn// - 26.10.2004 Version 0.8betarn// * fixed some minor bugsrn// * fixed process of resetting spiesrn// and spies that leave the serverrn//rn// - 07.11.2004 Version 0.8beta2rn// * fixed error with set_user_footstepsrn// nativern//rn// - 26.07.2005 Version 0.9betarn// * added cvar to enable/disable the plugin,rn// this way you can enable the plugin byrn// default without the need to be on thern// server and enable it by admin commandrn// * added feature/cvar to give your team'srn// spy the health back that he got removedrn// by a team attack.rn// * some code optimizations

Files

dod_enemyspymod.sma Plugin Source 17 KB 136 dl Download Compile

The thread

All 8 posts from 5 people on DoD EnemySpyMod ( v0.9beta ), kept as they were written.

F Firestorm
started this thread
Posts: 31
Threads: 30
Joined: Jul 2006
07-09-2006, 09:45 AM #1

// DESCRIPTION:rn// ============rn//rn// A random player of the axis team and a random player of the alliedrn// team will be a spy and looks like an enemy soldier and has thesern// weapons. he/she will be the spy for a whole round and will getrn// another random class on every respawn.rnrn

// USAGE:rn// ======rn//rn// CVARS:rn//rn// dod_enemyspymod_enabled <1/0> = enable/disable Plugin by defaultrn//rn// dod_enemyspymod_taimmunity <1/0> = enable/disable health regain afterrn// a spy got attacked by a team matern//rn//rn// ADMIN COMMAND:rn//rn// amx_enemyspymod <1/0> = enable/disable EnemySpy Mod
rnrn
// CHANGELOG:rn// ==========rn//rn// - 30.09.2004 Version 0.1pre-alpharn// Initial Alpharn//rn// - 03.10.2004 Version 0.2pre-alpharn// looks more like a plugin now,rn// but doesn't work like it shouldrn//rn// - 04.10.2004 Version 0.3pre-alpharn// works like it should nowrn//rn// - 05.10.2004 Version 0.4alpharn// cleaned the code a bitrn//rn// - 06.10.2004 Version 0.5betarn// * added "silent footsteps" to the spiesrn// * changed to beta statusrn//rn// - 09.10.2004 Version 0.6betarn// * fixed some bugsrn// * cleaned the codern// * changed announcements torn// only one message per playerrn// per roundrn// * reduced message time when a spy gotrn// killed/tked to 5 secondsrn// * made sure that no player will be thern// spy two rounds in a rowrn//rn// - 19.10.2004 Version 0.7betarn// * fixed minor bugsrn// * if a team's spy leaves the serverrn// a new spy for that team is chosen.rn// * to prevent logs full of errors,rn// EnemySpy Mod is disabled 5 secondsrn// before a mapchange.rn//rn// - 26.10.2004 Version 0.8betarn// * fixed some minor bugsrn// * fixed process of resetting spiesrn// and spies that leave the serverrn//rn// - 07.11.2004 Version 0.8beta2rn// * fixed error with set_user_footstepsrn// nativern//rn// - 26.07.2005 Version 0.9betarn// * added cvar to enable/disable the plugin,rn// this way you can enable the plugin byrn// default without the need to be on thern// server and enable it by admin commandrn// * added feature/cvar to give your team'srn// spy the health back that he got removedrn// by a team attack.rn// * some code optimizationsrn
{SR} *Raggy*
posted here
Posts: 370
Threads: 27
Joined: Apr 2006
01-21-2007, 10:46 AM #2

Would this plugin work with the new amxx? Since the changes...

K Kiel |17.SS|
posted here
Posts: 163
Threads: 12
Joined: Jul 2006
01-21-2007, 05:50 PM #3

Can they hear what the enemys say?

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
01-21-2007, 07:00 PM #4

it compiles fine.. so give it a try :p

{SR} *Raggy*
posted here
Posts: 370
Threads: 27
Joined: Apr 2006
01-21-2007, 08:18 PM #5

Alrite I'll give it a go later on :) And I'll let ye know if it works good :P

K Kiel |17.SS|
posted here
Posts: 163
Threads: 12
Joined: Jul 2006
01-22-2007, 04:03 AM #6

Thats really awesome. You should make it though so your voice chat is the other teams, and you can hear what the other team says. Also, maybe the spy can be something you can pick, like the sniper or smg.

{SR} *Raggy*
posted here
Posts: 370
Threads: 27
Joined: Apr 2006
02-02-2007, 11:29 AM #7

Well this plugin is great and everything but my guys want to change it to changing the spy per death not round... Could that happen for this please? A new version like that?

H Hood [10th MD]
posted here
Posts: 84
Threads: 7
Joined: Nov 2006
04-23-2007, 09:08 PM #8

Maybe we can make it like medic class where someone can say /spy and become the spy as long as they want, but have a cvar to limit # per team, and also have a way for admins to override the user and become the spy if they want.rnMaybe I'll do that later on.

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC