Spring:1944 dev and testing - Page 35

Spring:1944 dev and testing

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

User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

All can be controlled with the value of QUALITY.
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Post by 1v0ry_k1ng »

how does QUALITY work?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

I'll post some examples when I get in from work. In about 5.5 - 6 hours.
User avatar
Felix the Cat
Posts: 2383
Joined: 15 Jun 2005, 17:30

Post by Felix the Cat »

Seems like the range calculation may be borked.

My tests indicated that a T60 firing at a Panther from maximum range does zero damage. A T60 firing from around 1/2 range takes a Panther down to somewhere between 2/3 and 1/2 health (so, 3-burst kill). Any closer and it becomes a 2-burst or even 1-burst kill.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

Max range on T-60 should do 0 damage, the weapons are set up to accurately reflect the real penetration curves of the guns.

I won't go into detail with the maths, but with a QUALITY of 1801 (The current value Nemo adopted recently):

At 100 range: 29mm penetration vs. weighted average protection of panther @93.95mm

= 726 HP deducted (from 9395)
= 13 hits = 4 bursts.

At 500 range: 16mm penetration vs 93.95mm

= 304 HP deducted
= 31 hits = 8 bursts

Now, lets consider a QUALITY of 3602

At 100 range:

=182 HP deducted
= 52 hits = 13 bursts

At 500 range:

=58 HP deducted
= 162 hits = 41 bursts

Obviously, doubling QUALITY has a huge effect, with more gradual changes we can find a more suitable 'sweetspot'.
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Post by 1v0ry_k1ng »

wait, so quality is just a number subtracted from the damage received?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

1v0ry_k1ng wrote:wait, so quality is just a number subtracted from the damage received?
No?
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Post by 1v0ry_k1ng »

oh, it looked like that. what is it actually doing then?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

The actual maths is:

DamageApplied = penetration * e ^(-quality * (armour - penetration))

Where the values of QUALITY I've mentioned before are quality * 2^16 (as BOS doesn't handle floats). Basically the HP deducted for a non-penetrating hit falls off exponentially with the difference between armour and penetration.

edit: So if we really wanted to, we could make any non-penetrating hit do 0 damage.
User avatar
mecha
Posts: 98
Joined: 30 Sep 2005, 09:53

Post by mecha »

*this is a copy of a post in the art and modelling section*

referring to some of the earlier posts regarding use of trenches

A better implementation of this would be to have support for occupiable buildings. -i know s:44 is probably the only mod besides WD that would have any use for it but it would be a cool feature and would allow trenches to be used (if the trench was treated as a building and units could be ordered to occupy it enmasse.)

perhaps this could be done by using some of the transports code and incorporating it into a building (a sort of stationary transport that looks like a building and can't turn around) and set isfireplatform=1 to allow units to fire from the building once loaded into it.

Don't know if it'll work but I'm at least a month away from having a computer to try this stuff
User avatar
Sleksa
Posts: 1604
Joined: 04 Feb 2006, 20:58

Post by Sleksa »

mecha wrote:*this is a copy of a post in the art and modelling section*

referring to some of the earlier posts regarding use of trenches

A better implementation of this would be to have support for occupiable buildings. -i know s:44 is probably the only mod besides WD that would have any use for it but it would be a cool feature and would allow trenches to be used (if the trench was treated as a building and units could be ordered to occupy it enmasse.)

perhaps this could be done by using some of the transports code and incorporating it into a building (a sort of stationary transport that looks like a building and can't turn around) and set isfireplatform=1 to allow units to fire from the building once loaded into it.

Don't know if it'll work but I'm at least a month away from having a computer to try this stuff
but wont the units inside the transport automatically get paralyzed?

i think someone tried to do this long ago and there were some glitches that made it a non-worthwhile choice ~_~
User avatar
yuritch
Spring 1944 Developer
Posts: 1018
Joined: 11 Oct 2005, 07:18

Post by yuritch »

The units won't get paralyzed if isFirePlatform is set to 1, that's exactly what this tag is for. But they probably will be untargettable by enemy as long as the "transport" (building) is alive.
User avatar
mecha
Posts: 98
Joined: 30 Sep 2005, 09:53

Post by mecha »

I was going to set it up so that the building had to be destroyed to get to the troops anyway.

i was also thinking about whether you could kill each unit inside the building using lua so that if a builing is 50% damaged then half the units inside have been destroyed
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Post by 1v0ry_k1ng »

there is no use at all for infantry garrisonable buildings in this mod imo. if a building is in LOS artillery and tanks and generally blowing it to pieces.
does that armour system mean tanks now have tags for armour n quality, and weapons have a tag for penetration? its a nice idea, sure cuts down on armour groups
Saktoth
Zero-K Developer
Posts: 2665
Joined: 28 Nov 2006, 13:22

Post by Saktoth »

If the building has more hp than the infantry, and if you are using AoE weapons (Artillery, which i guess is what you'd use on a building?) the units inside would die anyway.
User avatar
Felix the Cat
Posts: 2383
Joined: 15 Jun 2005, 17:30

Post by Felix the Cat »

I'm sure trenches and the like could be made with LUA <-> COB, but they would be out of place here.

Maybe if I ever get around to making a WW1 mod...
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

Felix the Cat wrote:I'm sure trenches and the like could be made with LUA <-> COB, but they would be out of place here.

Maybe if I ever get around to making a WW1 mod...
Hell yes. I'm petitioning now to be on your design team.
User avatar
mecha
Posts: 98
Joined: 30 Sep 2005, 09:53

Post by mecha »

war at sea already has some really good quality ww1 ship models you could use

http://spring.clan-sy.com/phpbb/viewtop ... ht=war+sea
User avatar
Felix the Cat
Posts: 2383
Joined: 15 Jun 2005, 17:30

Post by Felix the Cat »

neddiedrow wrote:
Felix the Cat wrote:I'm sure trenches and the like could be made with LUA <-> COB, but they would be out of place here.

Maybe if I ever get around to making a WW1 mod...
Hell yes. I'm petitioning now to be on your design team.
Awesome, I put you down for texturing.
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Post by 1v0ry_k1ng »

whar is everyone? i want some gaems!
Post Reply

Return to “Game Development”