Forums Index >> Help >> A simple command



Page : <1> :


Does anyone know the command to create an object as soon as the level starts (like a scrum ball)

I think it was like

Create.*thingy*();

Yes?, no?

And what was the Area in your miss file supposed to be to make the fog damage go away?

Like 512 512 512 512 or somthing like that.

Last edited: Tuesday, August 01, 2006 at 10:00:10 PM

Tuesday, August 01, 2006 at 9:46:53 PM

I dont think theres a command for that unless you edit your.mis files

Check this out http://www.freewebs.com/maxworks/ there's lots of modding stuff in there.

Wednesday, August 02, 2006 at 10:28:31 AM

 

 

And what was the Area in your miss file supposed to be to make the fog damage go away?

Like 512 512 512 512 or somthing like that.

 

Only for Stock maps, see the info at the tutorial on PTT. Check Modding Info and Modding.mis files.

Wednesday, August 02, 2006 at 12:47:24 PM

Go in the special.cs file located in game/server/scripts and scroll down to almost the bottom and there should be a thing to create the goal and flag. If you want to add a new one just copy what that create thing has and make it your own. (Dont have the special.cs file? Then click here, just copy everything from that and make a new text file called special.cs and paste it in there and save it into game/server/scripts

 

Last edited: Wednesday, August 02, 2006 at 9:34:32 PM

Wednesday, August 02, 2006 at 9:30:13 PM

 

 

                                        
datablock FlagData(DefaultFlag)
{
category = "Flags";
shapeFile = "~/data/shapes/common/scrumball.dts";
BounceTerrain = 0.7; // 0->complete stop 1->full reverse
bounceStatic = 0.5; // 0->complete stop 1->full reverse
frictionTerrain = 0.4; // 0->no friction, 1->sticky
UnstuckTime = 2500; // time (in ms) tank can be stuck before getting unstuck boost
unstuckBoost = 10; // velocity boost in m/s
// suspension
springRange = 0.3;
springVelScale = 1.0;
springCorrectScale1 = 2.0;
springCorrectScale2 = 0.99;
// sound
hardCollSound = "SoftCollSound"; // sound to play when hitting other tank hard
hardCollVel = 1; // must be going this fast (m/s) to make hard sound
softCollSound = ""; // soft sound
softCollVel = 1; // speed to make soft sound
collISI = 200; // don't replay sooner than this (in ms)
snagFlagSound = "PupOffSound";
NoPickup = false;
};

 

What create thing?

Is it this thing??

 

                                        
function FlagData::create(%block)

 

I remember... A LOONG time ago me and my bro (legendary) created a small ball that you could shove around... All it was was a non-picking up scrum ball witha diffrent shap file and no bounce... We use to create TONS of them wth a simeple lline of command at the top of the MIs file...
it was like... Create.ball (); or somthing... Someone has to know what that onething is!

Last edited: Thursday, August 03, 2006 at 11:52:08 AM

Thursday, August 03, 2006 at 11:27:23 AM

For a Scrum, it's

 

                                        
DefaultFlag.create();

 


 

 

 

 

Last edited: Thursday, August 03, 2006 at 6:24:17 PM

Thursday, August 03, 2006 at 6:20:17 PM

YESS!!!

SWEET jesus I love you thankyouthankyouthankyouthankyou!!!!

Thursday, August 03, 2006 at 7:03:14 PM

Maybe you should've looked into the CTF script ;)? I've known that for years...


Friday, August 04, 2006 at 8:31:40 AM

*cough* yeah I shoulda done that... *cough cough*

Friday, August 04, 2006 at 9:58:07 AM

Page : <1> :

This thread has been locked

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