Undercover Mod V1.2

Add Another Mod

 

Mod File number (downloads) -

application/zip iconspy.zip (71)

MD5

Type -

Gametype

Server / Client -

Server Side

Mod Sub Cat -

N/A

Mod Version -

Total Views -

Mod screen shot -

Undercover Mod V1.2

Mod PK3

PK3 MD5

Mod External Info -

Game Type -

MOHAA

 

 

Mod Creator -

Master-Of-Fungus-Foo-D & Gotcha

 

 

 

 

Mod Status -

Fully working no errors

 

Team -

N/A

 

Theme -

Rating

Extra Credits -

 

Iinstall / info

Original Mod: Master-Of-Fungus-Foo-D with some bug fixes and stuff by Grassy
Team Avatars thanks to Purple Elephant1au for his idea to check CTF and Mefy for his CTF mod that showed me how it's done

This is my first release in years. I took Master-Of-Fungus-Foo-D's spymod for Algiers, rewrote it from the ground up, made it into an exec script for any map, added many bug fixes and checks for this and that, and also avatars on the heads to make it more difficult to tell who is/isn't on your team!
Originally nearly 400 lines of code is now not even 180 lines of code.

This mod allows for 3 people per team to be an undercover spy, working to kill the enemy from the inside.
When triggered, they are transformed into one of the opposing teams models. 17 models for Axis, 6 models for Allies

If there's something like this already, then that's fine because this was more practice than anything else. I know I've seen A spy mod but only set up for Algiers. I do remember hearing about a spy mod coupled with Rookie One's Horror mod but I'm not sure which it is because I haven't seen it. Just wanted to see if I could do some things, and maybe contribute to the community if it wants it. This mod can be adapted to any map, and inside the script are instructions to set it to whichever weapon you want, I always run all weapons so it's currently just set up to change your weapon, not take/give what weapons you choose. The script is full of comments and things to help anyone who might want to learn from it or use it. Change anything you want. I couldn't test this to the level I'd like to as you can only do so much in a server by yourself. But from what I can see it is working 100% and is flawless. Any problems, let me know. If nothing else maybe someone can learn something from this script.

Just download the rar file, place the spy.scr wherever you place your trigger scripts (map_trigs, map_triggers, global, etc) and add this line to your map script.

Code:

Quote:
exec yourfolder/spy.scr ( 1234 1234 1234 ) ( 1234 1234 1234 ) // 1st coord = Allies trigger, 2nd = Axis trigger

Video