Author |
Message |
scrdest
Joined: Sun Aug 28, 2011 1:47 pm Posts: 105
|
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! 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
Last edited by scrdest on Wed Nov 09, 2011 4:50 pm, edited 3 times in total.
|
Tue Nov 08, 2011 12:31 am |
|
|
uberhen
Joined: Wed Jan 24, 2007 11:53 pm Posts: 589 Location: Silicon Valley, California
|
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.
|
Tue Nov 08, 2011 2:12 am |
|
|
scrdest
Joined: Sun Aug 28, 2011 1:47 pm Posts: 105
|
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.
|
Tue Nov 08, 2011 5:01 pm |
|
|
trystanr
Joined: Sat Oct 09, 2010 10:01 am Posts: 303 Location: Afrique d' Sud
|
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?
|
Tue Nov 08, 2011 5:04 pm |
|
|
scrdest
Joined: Sun Aug 28, 2011 1:47 pm Posts: 105
|
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.
|
Tue Nov 08, 2011 6:12 pm |
|
|
Mackerel
Joined: Thu May 05, 2011 1:30 am Posts: 2876 Location: Rent free in your head. Vacation in your ass.
|
Re: Manchurian Agent [RELEASE v1 (buggy)]
Needs a picture, or to go in minor mods.
|
Wed Nov 09, 2011 3:27 pm |
|
|
Sims_Doc
Joined: Fri Aug 20, 2010 4:45 am Posts: 911 Location: No Comment.
|
Re: Manchurian Agent [RELEASE v1 (buggy)]
No Picture. No Download.
|
Wed Nov 09, 2011 3:53 pm |
|
|
scrdest
Joined: Sun Aug 28, 2011 1:47 pm Posts: 105
|
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.
|
Wed Nov 09, 2011 4:21 pm |
|
|
Emogotsaone
Joined: Mon Mar 07, 2011 2:18 am Posts: 717
|
Re: Manchurian Agent [RELEASE v1] PICTURED: PICTURES
This is a great idea. Makes the game very spy-like now.
|
Sun Nov 20, 2011 5:09 pm |
|
|
Izak12
Joined: Fri Dec 14, 2012 5:44 am Posts: 201
|
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!
|
Tue Dec 25, 2012 8:20 am |
|
|
Mackerel
Joined: Thu May 05, 2011 1:30 am Posts: 2876 Location: Rent free in your head. Vacation in your ass.
|
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.
|
Tue Dec 25, 2012 8:34 am |
|
|
Izak12
Joined: Fri Dec 14, 2012 5:44 am Posts: 201
|
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
|
Tue Dec 25, 2012 8:57 am |
|
|
debruynvince
Joined: Tue Apr 24, 2012 12:43 pm Posts: 81
|
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
|
Thu Jan 31, 2013 11:10 pm |
|
|
|