Weapons damage

Weapons damage

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
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

Weapons damage

Post by PauloMorfeo »

Does weapons damage has to be an integer or can it be a floating point number, like 25.5?
User avatar
GrOuNd_ZeRo
Posts: 1370
Joined: 30 Apr 2005, 01:10

Post by GrOuNd_ZeRo »

Yes it does in Spring!

That offers alot of interesting possibilities, OTA didn't support decimals at all, I believe 0.5 was automatically converted to 1...
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

...um why?
SpikedHelmet
MC: Legacy & Spring 1944 Developer
Posts: 1948
Joined: 21 Sep 2004, 08:25

Post by SpikedHelmet »

More control over damages, particularly in mods and with units with small health point numbers (and weapons with small damage numbers).
User avatar
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

Post by PauloMorfeo »

Ok, thanks for answering.
Post Reply

Return to “Game Development”