Forums Index >> Modding >> Clones
Page : <1> :
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
Tnx XD
Say that again Robodude. Where do I put this in on a reload station. This is in the.mis file right. More info plz!
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
@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
You dont know how! XD jk
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";
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)
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.
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-
O shut up
Wat???.....i was just trying to help them do you got a problems with that! ;)
Wat???.....i was just trying to help them do you got a problems with that! ;)
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 ---
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
Were do u put the it befor the object write end
Ok I know a lot about moding I ant doing this wrong ok what is it that I need to do??
Do not put BIG letters (only lowercase) oh I hate the forums auto capitalization when u giving out scripts...
...... 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
Ok I want to know how to do this
/clo (or)
/clone (OR)
/mclone Spark#3 (if admin)
MAKES A CLONE X/
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?
That is just the script but when you put it as a datablock the position is already in the datablock.
I will do anything!!!!!!!
PLEASE TELL ME HOW TO MAKE CLONES!!! :S :S :S
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)
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
Page : <1> :
How do u make clones is it in the pref.cs