Author Topic: Energy Bar?  (Read 1144 times)

Ok well I was messing around in some script's today and found out that there is a mode for minigame's called JetPlayer which use's energy and was wondering where the code for this is?

Note:Not the code that change's recharge time,drain ect.. But the default code that show's the code for it like defines the Rechargetime Jetenergydrain.
« Last Edit: June 10, 2008, 09:51:08 PM by Eonz »

Here in the Coding Help section, we like people who try to help themselves.

You haven't even tried to. You just thought - "hey how do i do this" and went straight here to ask. Try looking around first, the feeling of doing something by yourself is a far greater reward than me just spilling the beans.

Plus your avatar is incredibly pathetic.

in Player_FuelJet.cs
Code: [Select]
//tribes style, limited fuel jets
datablock PlayerData(PlayerFuelJet : PlayerStandardArmor)
{
minJetEnergy = 2;  //This determines the minimum energy requirement to use jets.
jetEnergyDrain = 2; //This determines how fast it drains energy.
canJet = 1;  //This enables jets.

uiName = "Fuel-Jet Player";  //This is the mini-game creation list name.
showEnergyBar = true;  //This is the part where the energy bar is forced to display.
};

Well first I did look and chrono I said "Not jetEnergyDrain,minJetEnergy = 2; ect.. I mean where the actuall jet script is or is like where is it actually at the Jet's themself and Ephi an avatar is a way to express yourself as your's is a map from RtB and mine is "Just another" avatar. And I do try and when you can't try you will say try try again but when you can't actually do it you ask for help as I have done, everything can't be completed by yourself.

The jet function is built into the engine. Have fun.