DAZZLE'S UPGRADE PACK

If you haven't already done so, upgrade your game by downloading Dazzle's all-in-one upgrade pack. It comes with everything you need for today's servers. Does your blue bar freeze when joining servers? Do you lag in games? Do you get an annoying siren in Phobik's Servers? This is what you need. CLICK HERE TO DOWNLOAD.

Center Print On Gates

Modding questions, answers, help.....

Moderators: Warfare, Moderator, Admin

Guest

Center Print On Gates

Post by Guest »

How do you make it so when you go through a gate a center print appears.
User avatar
TMG Leader
Veteran Light
Veteran Light
Posts: 962
Joined: Mon Jun 25, 2007 10:31 am
Location: In my refrigerator....

Re: Center Print On Gates

Post by TMG Leader »

Here is the function

Code: Select all

function centerprintgate::onenter(%db,%this,%tank)
{
centerprintall("YOUR MESSAGE HERE",4,4);
}

datablock powerupdata(centerprintgate) 
{ 
category = "PowerUp"; 
 shape = "game/data/shapes/Common/recharge.dts"; 
 type = "bounce"; 
shadow = true; 
shadowAnimation = true; 
startOn = true; 
minOff = 900; 
maxOff = 900; 
Sound = "PupOnSound"; 
soundOff = "PupOffSound"; 
};

paste this in the mission file before the "//OBJECT WRITE BEGIN"
scroll until you see this

Code: Select all

new PowerUp() {
      position = "-123.215 -128.063 144.416";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "TestPowerup";
      lightBoost = "0";
   };
 
change this

Code: Select all

 dataBlock = "TestPowerup";
to

Code: Select all

 dataBlock = "centerprintgate";
and save.
Open the mission in game drive through the gate that's it.


I'm not responsible for whatever occurs to your game or comp when you do this.

Have fun!
First to fall, last man standing.
Guest

Re: Center Print On Gates

Post by Guest »

Thanks TMG it works great!

Who is online

Users browsing this forum: ClaudeBot [Bot] and 21 guests