Forums Index >> Modding >> Special.cs Problem!!!!!



Page : <1> :


First of all, I recommend putting the tank changes and weapon changes in the mission file

I will explain...

example

In the special.cs file you can find this

 

                                        
datablock ProjectileData(DefaultProjectile)
{
velocity = 85.0; // meters per second
inheritVelocity = 0.97; // how much of shooters velocity to inherit
numBounce = 0; // usually 0
splashArea = 0.0; // usually 0
count = 145; // how many shots per clip?
saveOldCartridge = false; // chuck old cartridge or keep it around
canSave = true; // can this cartridge be saved if another comes along?
reloadTime = 150; // in milliseconds
burstDelay = 1000; // milliseconds until next burst if button held down
burstCount = 5; // number of projectiles to fire per burst
synchTime = 1000; // synch over this many milliseconds
synchBefore = 500; // synch if not older than this in milliseconds
damage = 1; // usually 1
gravityScale = 0.4; //
sizeScale = 0.4; // scale of projectile (meters for bitmaps)
resource = "~/data/shapes/tanks/DefaultProjectile.png"; // shape or bitmap
tankExplosion = "DefaultTankExplosion"; // datablock for explosion
ownTankExplosion = "DefaultOwnTankExplosion"; // datablock for explosion
bounceExplosion = "DefaultExplosion"; // datablock for explosion
otherExplosion = "DefaultExplosion"; // datablock for explosion
reticle = "DefaultReticle";
};

 

Now, you could change the stuff right there and it would effect every single mission

But what if you wanted only one mission to have what you are going to change.
that is when you would put something like this at the end of the prefered mission file

 

                                        
DefaultProjectile.damage = 10000;

 

That works for most everything, including emitters, tanks, weapons, etc.
use your imagination....

If you make changes and they dont work, make sure that:

A: the changes are big enough to be noticed (like changing the velocity from 85 to 86, you just wont notice it)
B: you have no spelling errors
C: you are changing what you are wanting to change

If all else fails... Dont mess with it

 

 

 

 

Tuesday, July 05, 2005 at 4:50:37 PM

It's not clear to me what the problem is.

 


It's just that for some reason, when I try to change the already used weapons (Speedy, Bounce and Splash) nothing works .
If you have any ideas of how to make this more simple please tell me.
:EDITED:

 

 

Are you saying that when you put the weapons settings in the mission file, they fail?
Where did you get the settings from,maxworks ? If not, all of default settings have been translated for the mission file and are now available as of this weekend.

 


I've been putting the tank changes and weapon changes in my actual mission files, which can be a REAL hassle , So I'd just rather be able to use the special.cs and tankdb.cs.
:EDITED:

 


Are you saying that making the tanks and weapon changes in the mission is a hassle and that you just want to make the changes in the actual.cs files?
Is it so hard to copy paste the different sets of settings into the mission file, rather than having to modify multiple special.cs tanksdb.cs, and tankfx.cs files? Beside you have more options available by putting the setting in the mission file.

 


Also ive already looked at Warfares explination of makeing new weapons, so dont recommend .
:EDITED:

 


I am unfamiliar with this explanation so I don't know what the definition of weapon you are referring to.
Are you referring to the making of new power-ups or are you referring to modifying the original power-ups.
As far as I know Big show is the one who explained how to make new power-ups.
Not the first of course, but he posted it for the Modding resource first.

I can't really be of any assistance without more information. Feel free to expand on your questions in the future and at least pretend to know the english language.
Notice how the responses are 5x longer than the question and you still probably have have had no help.

MAX

 

Wednesday, July 06, 2005 at 10:35:02 AM

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