Forums Index >> Modding >> Srry Gize, but I need help with findin somethin fr...



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~

Tuesday, August 23, 2005 at 9:45:44 PM

Lighttank.shapefile = "5"; I think it's 5 might be 4

Tuesday, August 23, 2005 at 10:52:56 PM

4 for small ufo
5 for boss ufo

Tuesday, August 23, 2005 at 11:42:01 PM

Thx gise, thats great!

Wednesday, August 24, 2005 at 7:52:25 AM

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

Wednesday, August 24, 2005 at 8:03:28 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

Wednesday, August 24, 2005 at 11:44:47 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!


Wednesday, August 24, 2005 at 2:23:41 PM

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!

Wednesday, August 24, 2005 at 3:44:44 PM

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


Wednesday, August 24, 2005 at 3:54:16 PM

I know, but how do I place it on the.mis? I dont want just all pup gates... I keep getting that from everyone. I guess I should be more specific. In the mission file, what do I do to place it on a certain spot in my mods?

Wednesday, August 24, 2005 at 6:14:43 PM

BTW, by looking at these, I've made a "Make Gold Gate" Make Bronze Gate, and Make Silver Gate (as in the bots). I just dont no how to activate it! God, I stupid I guess. W/e, this seems like it would be a sitch, but when it comes to.mis files, I suck!

Wednesday, August 24, 2005 at 6:18:54 PM

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";"


Thursday, August 25, 2005 at 3:34:48 AM

Thx, that makes sense!

Thursday, August 25, 2005 at 9:26:25 AM

LOL! Art, well it seems that ur gate has several feature of a pup. Once I go through it a few times, it disapears! When it comes back, its an actual pup! LOL! This does help me though, thx!

Thursday, August 25, 2005 at 9:39:23 AM

Well, whenever the pup gate getts a health powerup it becomes an actual health powerup. I'm gonna see if I can fix this!

Thursday, August 25, 2005 at 9:47:48 AM

Its fixable and easy... Tip: special.cs, the PowerUpData::OnEnter function.


Last edited: Thursday, August 25, 2005 at 12:25:38 PM

Thursday, August 25, 2005 at 12:20:06 PM

Fixed, now plz move to question # 3, in modding resource!!!!!!!!!

Thursday, August 25, 2005 at 12:39:04 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