Forums Index >> Modding >> Clones



Page : <1> :


How do u make clones is it in the pref.cs

Sunday, August 29, 2004 at 8:43:19 PM

Lol evry one acts like its some big secret but its not
%tank.createplayer(); put that in an onenter fuction it only keeps doing wat u were doing wen u entered the gate but I will have the one like pacos soon then il post it

just you wach I bet billy bob is goign to step in with some smart @** remark

Sunday, August 29, 2004 at 10:08:37 PM

Tnx XD

Monday, August 30, 2004 at 12:10:54 AM

Say that again Robodude. Where do I put this in on a reload station. This is in the.mis file right. More info plz!

Monday, August 30, 2004 at 12:36:53 PM

Ok ok ok
here

 


 

 


//scripts begin
function Clone:: onEnter(%client, %this, %tank)
{
%tank.client.createplayer
bottomPrintall(%tank.client.namebase SPC "Has Just Been Cloned!",5,2);
}
datablock PowerUpData(clone)
{
category = "PowerUp";
shape = "~/data/shapes/common/recharge.dts";
type = "weapon";
minOff = 1;
maxOff = 1;
startOn = true;
shadow = true;
shadowAnimation = true;
aiPickup = true;

Sound = "PupOnSound";
soundOff = "PupOffSound";
};
//scripts end

 

Put that at the top of your mis file find the gate you want to be your cloner and change the datablock to clone

Monday, August 30, 2004 at 4:03:53 PM

@Revel
that is part of his admin script im not going to tell you all how to do that right now
I bet you billy is going to come in here and say somthing like yah your not going to tell them becaue you dont know how
well if he dose
I do know how
so shut up in advance billy XD

Last edited: Monday, August 30, 2004 at 4:07:21 PM

Monday, August 30, 2004 at 4:06:42 PM

You dont know how! XD jk

Monday, August 30, 2004 at 8:44:24 PM

Should it look like this cause it didnt work for me:

 

New PowerUp(Reload) {
position = "-11.0834 -83.5893 99.9647";
rotation = "0.0320983 0.075679 -0.996615 47.2262";
scale = "1 1 1";
dataBlock = "clone";
lightBoost = "0";

 

 

Monday, August 30, 2004 at 10:32:17 PM

I put it at end of mis (after object write end) file it IGNORES it then anywhere before that it wont load 8( :'( :( :o :[
@revel change shape = "~/data/shapes/common/recharge.dts"; to goal shape that should help ;) B)

Monday, August 30, 2004 at 10:42:10 PM

Yea I havn't got it to work either maybe you need a.cs file for it to work? It just stops at the loading part.

Monday, August 30, 2004 at 11:44:13 PM

Ok if u want the one Robo was talking about....all it does is make another Tank With your name...But this is how u do it.....Put this at the top of your mis file

Function Clone:: onEnter(%client, %this, %tank)
{
%client.createplayer("lighttank");
bottomPrintall(%tank.client.namebase SPC "Has Just Been Cloned!",5,2);
}
datablock PowerUpData(clone)
{
category = "PowerUp";
shape = "~/data/shapes/common/recharge.dts";
type = "weapon";
minOff = 0;
maxOff = 0;
startOn = true;
shadow = true;
shadowAnimation = true;
aiPickup = true;

Sound = "PupOnSound";
soundOff = "PupOffSound";
};

Then put this in as if it were an object

new PowerUp() {
dataBlock = "clone";
position = "212.132 83.0582 126.183";
rotation = "-0.03404 -0.0218706 0.999181 234.055";
scale = "1 1 1";
lightBoost = "0";
};

Then just change the Position of the Cloning Machine to wat ever place u want...the best way to find the Position is to use Mod Wiz....if you have any trouble....Go ahead and tell me

-Billy Bob-

Tuesday, August 31, 2004 at 12:23:37 AM

O shut up

Tuesday, August 31, 2004 at 12:39:41 AM

Wat???.....i was just trying to help them do you got a problems with that! ;)

Tuesday, August 31, 2004 at 1:11:19 AM

Wat???.....i was just trying to help them do you got a problems with that! ;)

Tuesday, August 31, 2004 at 1:11:21 AM

Did u put the New powerup thing in as if it was an ojbect?? It should look something like this

New TSStatic() {
position = "188.202 48.377 108.027";
rotation = "0 0 1 97.1673";
scale = "1 1 1";
shapeName = "game/data/shapes/newshapes/cruiser187.dts";
treeLighting = "0";
lightBoost = "0";
};
new PowerUp() {
dataBlock = "clone";
position = "200.145 45.8165 100";
rotation = "0 0 1 190.032";
scale = "1 1 1";
lightBoost = "0";
};
new TSStatic() {
position = "199.456 45.9258 108.027";
rotation = "0 0 1 99.4076";
scale = "1 1 1";
shapeName = "~/data/shapes/newshapes/CruiserBlack.dts";
treeLighting = "0";
lightBoost = "0";
};

};
//--- OBJECT WRITE END ---

Tuesday, August 31, 2004 at 12:29:21 PM


 

All it does is make another Tank With your name

 

Can it be a gold bot and have a human brain? Also how do you make it so it is a power up instead of a reaload station? I'll try this agin and see if it works...
EDITED: I still can't get this to work, there has to be something missing.

Last edited: Tuesday, August 31, 2004 at 12:48:23 PM

Tuesday, August 31, 2004 at 12:35:20 PM

Were do u put the it befor the object write end

Tuesday, August 31, 2004 at 11:13:43 PM

Ok I know a lot about moding I ant doing this wrong ok what is it that I need to do??

Wednesday, September 01, 2004 at 1:27:18 PM

Do not put BIG letters (only lowercase) oh I hate the forums auto capitalization when u giving out scripts...


Sunday, September 05, 2004 at 9:08:52 AM

...... I have.

Function Clone:: onEnter(%client, %this, %tank)
{
%client.createplayer("lighttank");
bottomPrintall(%tank.client.namebase SPC "Has Just Been Cloned!",5,2);
}
datablock PowerUpData(clone)
{
category = "PowerUp";
shape = "~/data/shapes/common/recharge.dts";
type = "weapon";
minOff = 0;
maxOff = 0;
startOn = true;
shadow = true;
shadowAnimation = true;
aiPickup = true;

Sound = "PupOnSound";
soundOff = "PupOffSound";
};
//--- OBJECT WRITE BEGIN ---

Then on bottom or that..

};
new PowerUp() {
dataBlock = "TestPowerup";
position = "-52.3588 -18.583 116.903";
rotation = "0.167495 -0.0317558 0.985361 44.5583";
scale = "1 1 1";
lightBoost = "0";
};
new PowerUp() {
dataBlock = "clone";
position = "-35.0496 -41.6807 120.786";
rotation = "0.0753377 0.0367718 0.99648 122.493";
scale = "1 1 1";
lightBoost = "0";
};
new Boost() {
dataBlock = "TestJump";
position = "-22.6951 -28.7323 117.605";
rotation = "0.233838 -0.00165381 0.972274 61.3179";
scale = "1 1 1";
lightBoost = "0";
};
};
//--- OBJECT WRITE END ---

What I did wrong..? :o

Cb

Sunday, September 05, 2004 at 12:31:40 PM

Ok I want to know how to do this

/clo (or)
/clone (OR)
/mclone Spark#3 (if admin)

MAKES A CLONE X/

Sunday, February 13, 2005 at 4:10:20 PM

There should be a place to put your goal postion in the cloning script but I do not see it
how will the script know here to clone if there is no position line?

 

Friday, February 18, 2005 at 5:10:21 AM

That is just the script but when you put it as a datablock the position is already in the datablock.


Friday, February 18, 2005 at 6:38:42 PM

I will do anything!!!!!!!

PLEASE TELL ME HOW TO MAKE CLONES!!! :S :S :S

Friday, February 18, 2005 at 9:22:16 PM

OK guys, having been experimenting with Clone gates (Art Crazy, I owe you 1 for giving me those scripts!), and I have some scripting phenomena. THE CLONE GATES EVEN CLONE BOTS! Perhaps we can make a human-only clone gate or a bot-only clone gate. This would balance out the game! Or perhaps a multi-cloner gate (eg. Go through and it gives you 150 clones of yourself)

Wednesday, April 27, 2005 at 1:17:52 PM

Bot only:

 

                                        
function botclonegate::onEnter(%info, %this, %tank)
{
if(!isObject(%tank.client.ai))
return;
%spawnPoint = pickSpawnPoint();
%tank.client.createPlayer(%spawnPoint);
bottomPrintall(%tank.client.namebase SPC "Has Just Been Cloned!",5,2);
}
datablock PowerUpData(botclonegate)
{
category = "PowerUp";
shape = "~/data/shapes/common/recharge.dts";
type = "weapon";
minOff = 0;
maxOff = 0;
startOn = true;
shadow = true;
shadowAnimation = true;
aiPickup = true;
sound = "PupOnSound";
soundOff = "PupOffSound";
};

 

 


 

 

Human only:

 

                                        
function humanclonegate::onEnter(%info, %this, %tank)
{
if(isObject(%tank.client.ai))
return;
%spawnPoint = pickSpawnPoint();
%tank.client.createPlayer(%spawnPoint);
bottomPrintall(%tank.client.namebase SPC "Has Just Been Cloned!",5,2);
}
datablock PowerUpData(humanclonegate)
{
category = "PowerUp";
shape = "~/data/shapes/common/recharge.dts";
type = "weapon";
minOff = 0;
maxOff = 0;
startOn = true;
shadow = true;
shadowAnimation = true;
aiPickup = true;
sound = "PupOnSound";
soundOff = "PupOffSound";
};

 

 


 

 

All:

 

                                        
function clonegate::onEnter(%info, %this, %tank)
{
%spawnPoint = pickSpawnPoint();
%tank.client.createPlayer(%spawnPoint);
bottomPrintall(%tank.client.namebase SPC "Has Just Been Cloned!",5,2);
}
datablock PowerUpData(clonegate)
{
category = "PowerUp";
shape = "~/data/shapes/common/recharge.dts";
type = "weapon";
minOff = 0;
maxOff = 0;
startOn = true;
shadow = true;
shadowAnimation = true;
aiPickup = true;
sound = "PupOnSound";
soundOff = "PupOffSound";
};

 

I think its done :P


Last edited: Wednesday, April 27, 2005 at 1:47:58 PM

Wednesday, April 27, 2005 at 1:43:28 PM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald