Blockland Forums > Modification Help

Copymod v3 - RELEASED

Pages: << < (18/40) > >>

Gamefandan:


--- Quote from: Welknair on May 07, 2010, 06:48:12 PM ---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?


--- End quote ---

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.

Welknair:

Could you change the auto names to just the numbers to shorten typing time? (When commanding large numbers of copies, every digit counts)

As per your response to 1., will that be an included feature? If that were to be added, a "failsafe" where you jump back to your own body when the possessed copy dies would be very useful, though it may be impossible.

Gamefandan:


--- Quote from: Butler on May 07, 2010, 06:52:24 PM ---Can I beta test?

BL_ID: 3658

RTBForumName: Butler

--- End quote ---

I added you.


--- Quote from: Welknair on May 07, 2010, 07:12:47 PM ---Could you change the auto names to just the numbers to shorten typing time? (When commanding large numbers of copies, every digit counts)

--- End quote ---

Ew, no.

Welknair:


--- Quote from: Gamefandan on May 07, 2010, 07:14:51 PM ---Ew, no.

--- End quote ---
/cc chase copy 1 game
/cc chase copy 2 game
/cc chase copy 3 game
/cc chase copy 4 game
/cc chase copy 5 game
....

/cc chase 1 game
/cc chase 2 game

I personally think it would be more efficient. Then again, its your mod, not mine. I'm just here to advise.

Gamefandan:

In the end, the names won't matter much, the GUI will make it a whole lot easier, trust me.

Pages: << < (18/40) > >>

Go to full version