damage different??

damage different??

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
ghobot21
Posts: 30
Joined: 11 Jun 2007, 10:37

damage different??

Post by ghobot21 »

i want to know, what is the different between both of krogoth damage in the

unit fbi

[DAMAGE]
{
default=2500;
ARMREF=50;

and another weapon

[DAMAGE]
{
default=350;

and weapon tdf



MaxDamage=13000;


is maxdamage is the sum of both weapon damage?? :?:
User avatar
yuritch
Spring 1944 Developer
Posts: 1018
Joined: 11 Oct 2005, 07:18

Post by yuritch »

You mixed the two files :)
MaxDamage is a FBI tag, it sets the max hit points of a unit.
[DAMAGE] is a section in weapon.tdf, it sets the amount of damage that weapon does to different units based on their category set in armor.txt.
ghobot21
Posts: 30
Joined: 11 Jun 2007, 10:37

Post by ghobot21 »

oh!
the maxdamage should be named maxhitpoint in the first place :roll:

well, thank you for your trouble :-)
Post Reply

Return to “Game Development”