Data Realms Fan Forums
http://45.55.195.193/

Manchurian Agent [RELEASE v1] PICTURED: PICTURES
http://45.55.195.193/viewtopic.php?f=61&t=26162
Page 1 of 1

Author:  scrdest [ Tue Nov 08, 2011 12:31 am ]
Post subject:  Manchurian Agent [RELEASE v1] PICTURED: PICTURES

Quote:
A person is Brainwashed so that, on a certain trigger (either a situation, or else a phrase only someone in the know would ever say), they will go from their normal self to The Mole; they will most often remember nothing afterward.
courtesy of TvTropes.

Atlas Industries

Is proud to present a cutting edge technology of

BRAINWASHING


For all your covert assasination needs!


ImageImageImage


After many hours of development and refining mind control techniques, we have found a way to create perfect sleeper agents: they blend into the enemy forces (since they technically are an enemy unit), and follow your orders to the letter once activated. Buy your Manchurian Agent from our TradeStar representative today!

</incharacter>

This is my first step in actual modmaking (as opposed to .ini edits for personal presets), this little mod is basically a Lua script that can be attached to an actor to make him change team to team 2 (in-code 3; I was forced to do this temporarily due to various problems and I hope to fix it somehow later) by pressing O or P and selecting other unit. Yes, that's right, TWO keys. Because CC wasn't designed to include team changing, I needed to predefine an AI routine - P stands for Peaceful (kinda), and makes the actor use Sentry AI - best used for 'sniper' scenarios, when you want the agent to wait in a certain place. O stands for 'I'm close to P' and represents Brainhunt AI. BOTH mean that the unit shoots at your troops if it sees them.

Crashes may and will occur - most annoyingly, when an actor from either team kills unit freshly converted to his team (they resume shooting coroutine). I turned the other main bug - team reset when you select the unit again - into a feature. However, for some mysterious reason every Agent, at least of the same type, will change teams when you press O or P, I tried IsPlayerControlled but it doesn't seem to work. On the other hand, my code is probably horrible.

I will upload pics later; for now the default actor is Dimitri but you can easily use the script for other actors, including non-vanilla ones.

Oh, and if the company name or the nick seemed familiar to you, yes, I'm the same guy as the one on Minecraftforum.

Enjoy!

Attachments:
File comment: Manchurian Agent
release 1

Manchurian.rte.rar [803 Bytes]
Downloaded 744 times

Author:  uberhen [ Tue Nov 08, 2011 2:12 am ]
Post subject:  Re: Manchurian Agent [RELEASE v1 (buggy)]

I just tried this, and I love it! Push-button ease is always great in a mod too.

Edit: I realized, this is cheatmode, it should be great for testing mods.

Author:  scrdest [ Tue Nov 08, 2011 5:01 pm ]
Post subject:  Re: Manchurian Agent [RELEASE v1 (buggy)]

Thanks! Good idea with the testing thing, I may upload a version with completely passive actor if it could be useful. I'll try to get some pics today.

Author:  trystanr [ Tue Nov 08, 2011 5:04 pm ]
Post subject:  Re: Manchurian Agent [RELEASE v1 (buggy)]

And they said this was too hard to code.
Pishaw, pretty legend mod.
One small question, is it mac compatible?

Author:  scrdest [ Tue Nov 08, 2011 6:12 pm ]
Post subject:  Re: Manchurian Agent [RELEASE v1 (buggy)]

I have no idea, but I don't see any reason why it would not.
The 'too hard to code' part - it's actually hard to code properly, and as you can see yourself, there is quite a few problems with this one - for some reason certain behaviours are seemingly hardcoded, like this thing about team reset on select, multiple units changing teams, and so on. However, I have an idea how to fix the problem with crashes on friendly kill.

Author:  Mackerel [ Wed Nov 09, 2011 3:27 pm ]
Post subject:  Re: Manchurian Agent [RELEASE v1 (buggy)]

Needs a picture, or to go in minor mods.

Author:  Sims_Doc [ Wed Nov 09, 2011 3:53 pm ]
Post subject:  Re: Manchurian Agent [RELEASE v1 (buggy)]

No Picture. No Download.

Author:  scrdest [ Wed Nov 09, 2011 4:21 pm ]
Post subject:  Re: Manchurian Agent [RELEASE v1 (buggy)]

Don't worry, pictures coming.
EDIT: Pics now up. These are, respectively, before and after states + third one to prove friendly fire.

Author:  Emogotsaone [ Sun Nov 20, 2011 5:09 pm ]
Post subject:  Re: Manchurian Agent [RELEASE v1] PICTURED: PICTURES

This is a great idea. Makes the game very spy-like now.

Author:  Izak12 [ Tue Dec 25, 2012 8:20 am ]
Post subject:  Re: Manchurian Agent [RELEASE v1] PICTURED: PICTURES

THIS MOD IS AMAZING!

GENIUS!

So simple, everyone needs to try it, and the fact that it's so small and easy to modify. Well done!

Author:  Mackerel [ Tue Dec 25, 2012 8:34 am ]
Post subject:  Re: Manchurian Agent [RELEASE v1] PICTURED: PICTURES

Izak12 wrote:
THIS MOD IS AMAZING!

GENIUS!

So simple, everyone needs to try it, and the fact that it's so small and easy to modify. Well done!

I WILL TEAR YOUR SOUL OUT OF IT'S MORTAL COIL AND DEVOUR YOUR VERY ESSENCE.

Author:  Izak12 [ Tue Dec 25, 2012 8:57 am ]
Post subject:  Re: Manchurian Agent [RELEASE v1] PICTURED: PICTURES

Mackerel wrote:
Izak12 wrote:
THIS MOD IS AMAZING!

GENIUS!

So simple, everyone needs to try it, and the fact that it's so small and easy to modify. Well done!

I WILL TEAR YOUR SOUL OUT OF IT'S MORTAL COIL AND DEVOUR YOUR VERY ESSENCE.



http://www.youtube.com/watch?v=I90bQIslV9U

Author:  debruynvince [ Thu Jan 31, 2013 11:10 pm ]
Post subject:  Re: Manchurian Agent [RELEASE v1] PICTURED: PICTURES

I LOVE IT. although the game does crash most of the time after he dies. :(

try the one man army extended scene with this guy. oh the trolliness...XP

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/