Forums Index >> Modding >> I Need admin ships......



Page : <1> :


I need help on where to get and also where to put the admin ships in the script. I finally have my admin codes up and working thanks to repent and dashes codes.....many thanks. But now I need to know the script code for admin tanks and where to put it. Also I have noiticed codes to teleport you and other people and also the freeze code. Them can come in handy to if someone can get me them also.

Here would be a nice admin code to figure out......One that freezes the players weapons...hehe. That can be used for correction in the mods. How about one other that takes your tank apart piece by piece if you are to be band....lol How that would work is that you see it happening, the disasembleing in front of you, then you get banned with a message that says you have been disasembled, try back in 5 days....lol Well them are a few ideas

 

Saturday, January 08, 2005 at 2:22:09 PM

DJ thank you for helping but where do I put that at? I looked everywhere unless I missed a spot somewhere?

 

Saturday, January 08, 2005 at 8:38:46 PM

Admin Ships are easy to put on your mods. First Download the tankdb.cs file in the Other stuff section.
Then put this after the Chunk of writing where it says "datablock tankdata(Babyboss:Medium tank).

Datablock TankData(AdminTank : MediumTank)
{
shapeFile = "~/data/shapes/newshapes2/cruiserblack.dts";
brainShapeFile = "~/data/shapes/tanks/brainjar01.dts";

MaxSpeed = 60; // meters per second (in forward direction)
accelRate = 20; // increase velocity this many meters per second
deccelRate = 60.0; // when breaking, decrease velocity
turnRate = 360.0; // degrees per second
antiSlideRate = 100;

TurretHorRange = 360; // range in +/- degrees of turret horizontally
turretAutoLevel = 0.92;

DamageAmount = 10000; // total amount of damage tank can withstand
suspensionRange = 0.8; // proportion of wheel size for wheel to move up/down

DamageScale = 10.0; // multiply damage we do to others by this amount
armorScale = 0; // multiply damage we take by this amount (note: smaller better)

DefaultProjectile = "LightProjectile";
ai = GoldLightAI;
};

*Edit it all you want*

Then add this at the end:

Datablock TankData(TargetAdmin : Admintank)
{
ai = TargetAdminAI;
defaultProjectile = "ZeroProjectile";

DamageAmount = 3.5;
maxSpeed = 16.0;
};

Now to put it as a code add this line after the babyboss code in the "function Codeaction" writing.

Else if (%code $= "/admt" )
call("tankchanger",%sender,"Admintank");

There.simple as that.

Monday, January 10, 2005 at 3:58:44 PM

Hey remember Mr Big Show! You're using the same datablock as me (strange I never remenbered giving it to u) WITH MY ADMIN SKIN lol so ppl might not have if -- if you dont just change newshapes2 in the folder path to newshapes


Last edited: Tuesday, January 11, 2005 at 12:19:58 PM

Tuesday, January 11, 2005 at 12:19:19 PM

I thought the admin skin was repents since he uses it on his server :o

Tuesday, January 11, 2005 at 3:52:35 PM

Lol I was the first who started the loop -- gave the skin to repent and there it goes... Oh well I dont mind anybody using it but remember if someone doeswnt have it just change the folder path


Wednesday, January 12, 2005 at 1:07:47 PM

Well I have a delima, I see that one folder tankdb.cs in the scripts area and that is the only place I found any tank bots to do anything with and looked through it and I do not see anything. The script you have does not look like it will fit in that folder like it should here is the script folder I have for the tankdb.cs.........

! Å TankData MediumTank category Tanks shapeFile ~/data/shapes/tanks/tank02.dts brainShapeFile ~/data/shapes/tanks/brainjar02.dts Camera DefaultTankCamera fx DefaultTankFx misc DefaultTankMisc turnRate 68 accelRate 12 deccelRate 20 coastDeccelRate 10 antiSlideRate 11.1 maxSpeed 11.9 turretVerCenter 2 turretHorRange 58.5 turretVerRange 21 turretAutoLevel 0.5 suspensionRange 0.6 springRangeX 0.06 springRangeY springVelScale 1 springCorrectScale1 springCorrectScale2 0.99 damageAmount 14 damageScale armorScale fireScale defaultProjectile DefaultProjectile ai GoldMediumAI LightTank ~/data/shapes/tanks/tank01.dts ~/data/shapes/tanks/brainjar01.dts 15.9 61 10.9 53.5 0.92 11.8 0.8 LightProjectile GoldLightAI HeavyTank ~/data/shapes/tanks/tank03.dts ~/data/shapes/tanks/brainjar03.dts 8.5 7.85 82 8.25 24 9.1 HeavyProjectile GoldHeavyAI BabyBoss ~/data/shapes/tanks/tank05.dts ~/data/shapes/tanks/brainjar04.dts BabyBossFX 16 15 10.2 33.5 1.8 BronzeLightTank ~/data/shapes/tanks/bot01.dts BronzeLightAI BronzeMediumTank BronzeMediumAI BronzeHeavyTank BronzeHeavyAI SilverLightTank ~/data/shapes/tanks/bot02.dts SilverLightAI SilverMediumTank SilverMediumAI SilverHeavyTank SilverHeavyAI GoldLightTank ~/data/shapes/tanks/bot03.dts GoldMediumTank GoldHeavyTank BossTank ~/data/shapes/tanks/tank04.dts ufoFX 45 BossAI 50 8 ProjectileData ZeroProjectile count 0 TargetLight TargetLightAI TargetMedium TargetMediumAI TargetHeavy TargetHeavytAI 18 0.1 TargetSaucer TargetSaucerAI 3.5

Ok, so now where to now? I have been racking my brains on this and when I see it once done then I will know from there on, but for starters it is a pain in the "bleep"....lol

 

Wednesday, January 12, 2005 at 6:54:07 PM

Download the original tankdb.cs file from the Other Stuff Section


Thursday, January 13, 2005 at 12:43:35 PM

Ok Art, sorry to keep bothering you but now since I have d/l that file and put the code after the file here....

Datablock TankData(BabyBoss : MediumTank)
{
shapeFile =

"~/data/shapes/tanks/tank05.dts";
brainShapeFile =

"~/data/shapes/tanks/brainjar04.dts";
fx = "BabyBossFX";

I have done that alright I think? But now I need to know where this goes......

Else if (%code $= "/admt" )
call("tankchanger",%sender,"Admintank");

Does it go at the bottom of all the other codeing after the baby boss coding? I do appreciate your help on this, In my mod we really need to get the admin ship up and going.

 

Thursday, January 13, 2005 at 5:43:13 PM

No, if you have dash's admin script, it goes on the function codeaction allmost in the end of the file


Friday, January 14, 2005 at 7:03:07 AM

Function codeAction( %sender, %msgString, %a1, %a2, %a3, %a4, %a5, %a6, %a7, %a8, %a9, %a10 )
{
%code = firstWord(%a2);
%a2 = trim(setWord(%a2,0,""));

If (%code $="/" | %code $= "/tm" )
chatMessageTeam(%sender, %sender.team, %msgString, %a1, %a2, %a3, %a4, %a5, %a6, %a7, %a8, %a9, %a10);
else if (%code $="//" | %code $="/pm" )
call("private_chat",%sender, %msgString, %a1, %a2, %a3, %a4, %a5, %a6, %a7, %a8, %a9, %a10);
else if (%code $= "/codes")
call("print_codes",%sender);
else if (%code $="/ping" )
call("getping",%sender,%a2);
else if (%code $="/adm" )
call("admin_login",%sender,%a2,"admin");
else if (%code $="/sadm" )
call("admin_login",%sender,%a2,"stealth");
else if (%code $="/stats")
call("print_stats", %sender);
else if (%code $="/nk" | %code $= "/nkick" )
call("caddkick",%sender,%a2);
else if (%code $="/k" | %code $= "/kick" )
call("namekick",%sender,%a2);
else if (%code $="/ki" | %code $= "/kill" )
call("single_kill",%sender,%a2);
else if (%code $="/nki" | %code $= "/nkill" )
call("cadd_single_kill",%sender,%a2);
else if (%code $="/nuke" )
call("nuke",%sender);
else if (%code $="/stat" )
call("stat",%sender,%a2);
else if (%code $= "/s" | %code $= "/silence" )
call("silence",%sender,%a2);
else if (%code $= "/ns" | %code $= "/nsilence" )
call("caddsilence",%sender,%a2);
else if (%code $= "/cp" | %code $= "/centerprint" )
call("my_cp",%sender,%a2);
else if (%code $= "/bp" | %code $= "/bprint" )
call("my_bp",%sender,%a2);
else if (%code $= "/r" | %code $= "/rename" )
call("change_name",%sender,%a2);
else if (%code $= "/nr" | %code $= "/nrename" )
call("cadd_change_name",%sender,%a2);
else if (%code $= "/ban" )
call("bankick",%sender,%a2);
else if (%code $= "/listban" )
call("listbanned",%sender);
else if (%code $= "/unban" )
call("unban",%sender,%a2);
else if (%code $= "/green" )
call("teamchanger",%sender,"GreenTeam");
else if (%code $= "/blue" )
call("teamchanger",%sender,"BlueTeam");
else if (%code $= "/mb" )
call("adminteamchanger",%sender,"BlueTeam",%a2);
else if (%code $= "/mg" )
call("adminteamchanger",%sender,"GreenTeam",%a2);
else if (%code $= "/mr" )
call("adminteamchanger",%sender,"RedTeam",%a2);
else if (%code $= "/ufo" )
call("tankchanger",%sender,"babyboss");

 

Else if (%code $= "/admt" )
call("Admintankchanger",%sender,%a2,"Admintank");

 


else if (%code $= "/admbt" )
call("tankchanger",%sender,"Adminbtank");
else if (%code $= "/187" )
call("tankchanger",%sender,"187tank");
else if (%code $= "/C" )
call("tankchanger",%sender,"cherry");
else if (%code $= "/LC" )
call("tankchanger",%sender,"Largecherry");
else if (%code $= "/taxi" )
call("tankchanger",%sender,"Taxi");
else if (%code $= "/jeep" )
call("tankchanger",%sender,"jeep");
else if (%code $= "/light" )
call("tankchanger",%sender,"LightTank");
else if (%code $= "/med" )
call("tankchanger",%sender,"MediumTank");
else if (%code $= "/heavy" )
call("tankchanger",%sender,"HeavyTank");
else if (%code $= "/boss" )
call("tankchanger",%sender,"BossTank");
else if (%code $= "/mufo" )
call("admintankchanger",%sender,%a2,"babyboss");
else if (%code $= "/mlight" )
call("admintankchanger",%sender,%a2,"LightTank");
else if (%code $= "/mmed" )
call("admintankchanger",%sender,%a2,"MediumTank");
else if (%code $= "/mheavy" )
call("admintankchanger",%sender,%a2,"HeavyTank");
else if (%code $= "/mboss" )
call("admintankchanger",%sender,%a2,"BossTank");
else if (%code $= "/area" )
call("projectilechanger",%sender,"SplashProjectile");
else if (%code $= "/speedy" )
call("projectilechanger",%sender,"SpeedyProjectile");
else if (%code $= "/bounce" )
call("projectilechanger",%sender,%a2,"BounceProjectile");
else if (%code $= "/marea" )
call("adminprojectilechanger",%sender,%a2,"SplashProjectile");
else if (%code $= "/mspeedy" )
call("adminprojectilechanger",%sender,%a2,"SpeedyProjectile");
else if (%code $= "/mbounce" )
call("adminprojectilechanger",%sender,%a2,"BounceProjectile");
else
commandToClient(%sender,'BottomPrint', %code@ " IS NOT A VALID CODE",4,4);
}

I changed the code so it's only for admin.
Then delete your codes.cs.dos after you edit the codes.cs file. Fire up TT then the dash folder should make its own codes.cs.dos file with the new code if you did it right. If not double-check your codes.cs file. ;)

Friday, January 14, 2005 at 5:32:45 PM

DO NOT DELETE "CODES.CS.DSO"

JUST PUT IT ON YOUR DESKTOP IT MIGHT NOT WORK

Sunday, February 13, 2005 at 8:33:20 PM

Big Show can you give only the example for your example tank you gave, theres lot of codes like taxi,jeep... 8(

Monday, February 14, 2005 at 6:58:22 AM

WHERE CAN YOU GET THE TAXI TANK!?!?!

Monday, February 14, 2005 at 1:54:50 PM

WHAT IS A TAXI
WHAT DOES IT LOOK LIKE?!!!!!!

:'( :'( please I wanna be lome different tankfor once :'( :'(

Monday, February 14, 2005 at 4:56:48 PM

I made a Taxi Jeep a while back, I think you saw it Boo when I was hosting a mod for slip, I can post it if you want.

Monday, February 14, 2005 at 6:24:10 PM

Weird...I have taxi.dts at game/data/shapes/taxi folder, but I don't have taxi.jpg! My friend have...Oh, I was playing at my friend's when I was in Mr Big Show's "TEST". ;)

Tuesday, February 15, 2005 at 7:45:04 AM

Please email me the file and skin at WmCBlack@hotmail.com

Friday, February 18, 2005 at 11:35:19 AM

Please post a screeny of it.
and if it is alright post the.dts??

Saturday, February 19, 2005 at 5:01:15 PM

The.dts is just the jeep.dts I renamed it taxi.dts to ensure the skin would show up, sometimes if you have sub folders it grabs the wrong skin. Anyway I was just trying out the idea of a taxi jeep when I made the skin, its nothing special just a simple skin. If you really want it, here:

Not really sure why you wanted but what ever.

Last edited: Saturday, February 19, 2005 at 5:52:29 PM

Saturday, February 19, 2005 at 5:51:23 PM

So it is the same as the jeep but a different skin. Right?

Sunday, February 20, 2005 at 5:40:00 PM

That's what I said twice already.

Sunday, February 20, 2005 at 6:32:38 PM

Un ban me plz

Wednesday, March 09, 2005 at 4:00:02 PM

Un ban me plz

Wednesday, March 09, 2005 at 4:00:03 PM

Lol! I don't believe it!

Mr Big Show(XW co-cap) has more tank datablocks than me *Grumble*

And for the client side AdminTank (which you don't want, believe me), here it is.

Else if (%code $= "/admintank" )
call("tankchanger",%sender,"AdminTank");

This means EVERYONE has access to your AdminTank, admin or no-admin. Not recommended.

Friday, August 05, 2005 at 12:39:29 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