Forums Index >> Modding >> Emitters don't work..?



Page : <1> :


Ok... I installed Max-CR's special.cs whit extra (25) emitters ; I added the emitter file's to in my .mis file .
When I use a powerup my dedicatedwindow tell's me: Warning: Bad projectile datablock..
And on the TT-screen I stay using my default emitter.
Somebody could help me :S ?
If you need my special.cs or my.mis file, ask.

*Cassie* *VT*

 

 

 

 

Friday, March 03, 2006 at 10:09:38 AM

I think to figure this out we need to at least see the.mis

Friday, March 03, 2006 at 10:24:26 AM

Whats emmiters??

my blaster will destroy u!

Sunday, March 05, 2006 at 2:27:18 AM

Does anyone know how to mod. On a mac because it says choose apllication then I go on to it and it won't work
(not fair I was looking forward to modding) :( :( :S :(

my blaster will destroy u!

Sunday, March 05, 2006 at 2:28:58 AM

@ destroyer5 : I can't tell you how to mod on a mac [maby a visit to the :::Modding Recource::: could help you], but I can tell you what emmiters are; default emitter = the bullets you shoot, and you can 'mod' those emitters, and these modded emitters wont work for me.

Sircerencly,
*Cassie* *VT*

P.S: @ Daz : Lol srry I took away you're 'Job' of linking to the modding recource... :P

 

 

 

 

Sunday, March 05, 2006 at 2:43:03 AM

^ NP your you got the job........................

Ok here is how I use emitters (its not the only way), I have choosen to use a special.cs per mod I make, while others put them lines at the bottom of the.mis, that is not what I am gonna explain here. This method does not need you to add anything to the.mis. Like I say this is only one way which works for me, it might noy for you

1 - Install special.cs in game/server/scripts
2 - open special.cs in a text editor
3 - find the projectile datablocks part of the special.cs
4 - then find the weapon you want to add the emitter to ie, SpeedyProjectile, DefaultProjectile, BounceProjectile, SplashProjectile
5 - then at the bottom of the datablock after where it says reticle = "DefaultReticle"; put emitter = "YOUREMITTERNAMEHERE";

Exmple:

 

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";
emitter = "YOUREMITTERNAMEHERE";
};

 

I have never done this but I believe if you install the special.cs you could just add the following line to the bottom of the.mis after

//--- OBJECT WRITE END ---

DefaultProjectile.emitter= "YOUREMITTERNAMEHERE";

Hope it helps

Daz

 

 

 

 

 

Sunday, March 05, 2006 at 5:39:11 AM

^I'm gonna try! :)

 

 

 

 

Sunday, March 05, 2006 at 7:29:11 AM

Cassie whats your number plzzzzzz tell me u sound vry hot man.
blush blush :o :o

my blaster will destroy u!

Monday, March 06, 2006 at 8:30:16 AM

Vry hot man.

Err. :P... Oh btw. Check 'scripting demands' thread.

 

 

 

 

Monday, March 06, 2006 at 10:21:16 AM

Fine then very hot then and whats scripting demands??

my blaster will destroy u!

Last edited: Tuesday, March 07, 2006 at 10:34:09 AM

Tuesday, March 07, 2006 at 10:33:18 AM

Whats btw mean and that thing u gave me to look for mac thing didn't really help plz tell me how to make a mod whithout it saying choose apllincation

my blaster will destroy u!

Tuesday, March 07, 2006 at 10:35:32 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