1. Wouldn't it be awesome if you could control when the client switching occurred, allowing you to possess your copies?
2. So did you add back in the ability to kill copies with weapons, for the purpose of further investigation?
3. If you were to eliminate the custom name feature, how would that alter how the rest of the mod works?
1. This can be done quite simply without exploiting a glitch. In fact exploiting the glitch rather than using a simple command would be harder.
2. No.
3. You
vould* only need to type /cc create to create a copy. And the names would most likely go like this Copy 1, copy 2, copy 3, etc. This simple alteration would be made by making it so when you create a copy a variable that is set to zero when you join the server would go up by one. Such that:
if(%command $= "create")
{
if(%bot)
{
MessageClient(%client,0,"\c0You already have a bot named " @ %bot.name @ ".");
return;
}
if(%client.botGroup.getCount() >= $CopyMod::MaxPerPlayer)
{
MessageClient(%client,0,"\c0Error could not create copy maximun per player reached.");
return;
}
%bot = new AIplayer(%botname)
{
datablock=%client.player.getDatablock();
position=%client.player.getTransform();
isCopy = 1;
name = %botname;
scale = %client.player.getScale();
owner = %client;
};
MissionCleanup.add(%bot);
%client.botGroup.add(%bot);
MessageClient(%client,0,"\c3You have cloned yourself.");
%bot.setMoveObject(%client.player);
%Bot.copyApperance(%client);
%ASDFG $= %ASDFG + 1;
//It would be something like that, granted this is a simplified version of what it would ACTUALLY look like.
return;
}Yeah, the bold is added. Like I said, that would most certainly not what the real function would look like, I just made it a little easier to understand for those of you who don't script. The function will take the old value of
%ASDFG and add one to it.
*Alright, that was weird, I meant to type
would but somehow typed
vould. I will not correct this error because it is too cool.