Forums Index >> Modding >> Srry Gize, but I need help with findin somethin fr...
Page : <1> :
Lighttank.shapefile = "5"; I think it's 5 might be 4
4 for small ufo
5 for boss ufo
Well, I geuss your wondering Y I wanted to use this. Well I made a moon ter.on TGE. In my new mod CS2: Scrum on the Moon, all tanks will be either ufo's or boss's. They will have a huges suspensionrange. I've done that. I'm workin on a basic weapon set of weapons that have no gravity and have slower velosity. They will be the normal weapons, but on missle nuke projectile. But when I tried to make the light and med tank ufo's, I loaded my mission and tada:
I've done this before and nuthin like this happened. Please help...
Last edited: Wednesday, August 24, 2005 at 8:05:11 AM
// ***Baby Boss UFO***
Lighttank.shapeFile = "game/data/shapes/tanks/tank04.dts";
Lighttank.brainShapeFile = "game/data/shapes/tanks/brainjar04.dts"; // not sure if that's right
// ***Boss UFO***
Lighttank.shapeFile = "game/data/shapes/tanks/tank05.dts";
Lighttank.brainShapeFile = "game/data/shapes/tanks/brainjar04.dts";
Try that, I havn't tested it yet so it may not work. I don't know if the baby boss UFO has brainjar04.
[EDIT]
GoldLightTank.shapeFile = " ";
GoldLightTank.brainShapeFile = " ";
SilverMediumTank.shapeFile = " ";
SilverMediumTank.brainShapeFile = " ";
ect. That should work for bots. Same thing as above goes in " ".[/EDIT]
Last edited: Wednesday, August 24, 2005 at 11:52:31 AM
Best way: (this will change your tanks to UFOs, not just the shape)
package AllUFO
{
function TankData::OnAdd(%this,%obj)
{
%obj.setdatablock("BabyBoss");
%obj.client.startingtankdb = "BabyBoss";
}
};
Activatepackage("AllUFO");
Haven't tested but it should work!
Ya, I thought about doin something like that... Thx, saves me some work! But knowone else hase told me about (in great detail) pup gates!
Some who uses them freuquently could give hhow they use them. NO links. Like I said above, I have checked the modding resource. Billy Bob is not helpful, neither is anyone else. Thx!
Pup gates are easy!
function powerupgate::onEnter(%client, %this, %tank)
{
PowerUpData::onEnter(%client,%this,%tank);
}
datablock PowerUpData(powerupgate)
{
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";
};
This code is from a file I made like half an year ago, with tank changer gates, powerup gates, health gates, kill gates, teamkill gates, team change gates, etc
Well, just place a powerup in the mission, then in the.mis, find where it is and change the line "datablock =" line to "datablock = "THE DATABLOCK YOU USED FOR THE GATE";" For example, "datablock = "powerupgate";"
Its fixable and easy... Tip: special.cs, the PowerUpData::OnEnter function.
Last edited: Thursday, August 25, 2005 at 12:25:38 PM
Page : <1> :
I remember reading sumthing about making every one who joins a server is a ufo, something to go in your.mis file?
I need it. Is it like this?
Lighttank = "babyboss";
medtank = "babyboss";
heavytank = "babyboss";
Incase your wondering y, its because I am made a moon mod ter and only need this. All tanks will be ufos, and they will all have huge suspension ranges. Also, I need to know (in more detail) how to add powerup gates? JUust so u kno I have looked at modding resource and several websites, and only found very, very ,vage statments. Thx for helps.
~CS~