Units don't have an attack?

Units don't have an attack?

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
BlueTemplar
Posts: 314
Joined: 28 Oct 2007, 22:37

Units don't have an attack?

Post by BlueTemplar »

I found this old mod, Xect vs Mynn that works great even on my feeble G4.
There is only one problem... the units in this mod don't have an attack in-game! (except for the dgun)
I've looked into the .fbi unit files, they all have canattack=1 and pointers for weapons, and everything seems there in weapons.tdf... but when in-game, units just don't have any attack!
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Units don't have an attack?

Post by KDR_11k »

Probably an error in the weapon data file. The weapons don't get loaded.
User avatar
BlueTemplar
Posts: 314
Joined: 28 Oct 2007, 22:37

Re: Units don't have an attack?

Post by BlueTemplar »

Thanks, should have looked in the infolog sooner:

Code: Select all

Error parsing weapons/exp_hvyrock.tdf: Bad TDF text at line 2
Error parsing weapons/weapons.tdf: Bad TDF text at line 248
User avatar
BlueTemplar
Posts: 314
Joined: 28 Oct 2007, 22:37

Re: Units don't have an attack?

Post by BlueTemplar »

Great, it works now! if only there weren't this PPC sound bug...

BTW, Argh, This mod lacks xect_smasher.png, how do I convert Core_Smasher.tga and Core_Smasher_Alpha.tga into a .png?
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: Units don't have an attack?

Post by rattle »

By using a graphics program.
User avatar
Evil4Zerggin
Posts: 557
Joined: 16 May 2007, 06:34

Re: Units don't have an attack?

Post by Evil4Zerggin »

Try the GIMP if you don't feel like acquiring Photoshop.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: Units don't have an attack?

Post by rattle »

Or by using DXTbmp or spending a minute on google. You can convert TGAs to BMP with it which can be converted to PNG with Paint.
User avatar
BlueTemplar
Posts: 314
Joined: 28 Oct 2007, 22:37

Re: Units don't have an attack?

Post by BlueTemplar »

Yes, but I wanted to know if I had to fusion both images into one, looks like it's not the case. Thank you.
Post Reply

Return to “Game Development”