CrushStrength

CrushStrength

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

CrushStrength

Post by zwzsg »

Inside taenheter.ccx /gamedata/moveinfo.tdf all movement classes have a CrushStrength tag. I found out that without that, units can't trample tree any more. Questions:
- What else does CrushStrength control?
- How is the value used? What's the formula used? Any threshold in CrushStrength that cause changes?
- Is it ok to not have any CrushStrength value? If so what is used?
- Can the CrushStrength be specified inside the /units/*.fbi instead of the /gamedata/moveinfo.tdf ? And if they are in both, which one is used?
- Do you have any list of all the new tags spring support?
Torrasque
Posts: 1022
Joined: 05 Oct 2004, 23:55

Post by Torrasque »

In xta, goliath can go through wreck parhaps it use this flag.
I don't know if it is a usefull info.
User avatar
Triaxx2
Posts: 422
Joined: 29 Aug 2004, 22:24

Post by Triaxx2 »

Maybe as a method of destroying units under foot. For example in WD, tanks could finally have the power to crush opposing, and friendly infantry under it's treads.
SJ
Posts: 618
Joined: 13 Aug 2004, 17:13

Post by SJ »

All features has a mass value if crushstrength is larger than a features mass than the feature can be crushed. Trees has a mass of 20 while other features get their mass according to the formula
fd->mass=fd->metal*0.4+fd->maxHealth*0.1;
when we creat our own formats the mass or whatever we will call it then will be possible to assign explicitly.

Only features can be crushed currently although it should be possible to extend to units in the future.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

Thx. I like the preciseness of the answer: Mass=0.4*Metal+0.1*health
User avatar
GrOuNd_ZeRo
Posts: 1370
Joined: 30 Apr 2005, 01:10

Post by GrOuNd_ZeRo »

Heh, that's probably why my units don't crush trees in WD lol.

i'll have to add that flag then...
Doomweaver
Posts: 704
Joined: 30 Oct 2004, 14:14

Post by Doomweaver »

GrOuNd_ZeRo, isn't that a bit unrealistic?
User avatar
Delta
Posts: 127
Joined: 09 May 2005, 15:33

Post by Delta »

Doomweaver wrote:GrOuNd_ZeRo, isn't that a bit unrealistic?
Tanks crushing trees?
That isn't unrealistic at all, like one of my officers said during my military service here in sweden (armor regiment): 'If there aren't any paths in the forest where you need to go, you make your own paths'

(Quite fun to see the tanks creating a path throu the trees in real life) And everyone, even the officers like running down trees (even those who said we shuldnt do it)

(Swedish military service varies from 7,5-15 months)
User avatar
GrOuNd_ZeRo
Posts: 1370
Joined: 30 Apr 2005, 01:10

Post by GrOuNd_ZeRo »

You should see what those .50's did in the Vietnam war, they could take trees down with those suckers :p well anway, if the tree isn't that big it should be easilly crushed by a tank.
User avatar
Noruas
XTA Developer
Posts: 1269
Joined: 24 Feb 2005, 02:58

Post by Noruas »

ground zero is right, tiger tanks for example, can go through solid walls and building, and easily crush trees one at a time!
User avatar
KiviGerbil
Posts: 56
Joined: 27 Jun 2005, 17:27

Post by KiviGerbil »

my friend was a tank driver during his service. he was backing up to a forest, he was being guided from outside. u really can't see much from the drivers seat in a tank. so suddenly he was told to stop. when he got up from the tank he saw that he had just driven over a tree. the engine was so powerful that he didn't even see a change in rpms when he crushed the tree
Doomweaver
Posts: 704
Joined: 30 Oct 2004, 14:14

Post by Doomweaver »

WOW! That's really fucking cool! Do they sustain damage, or can they keep it up indefinately?
User avatar
Noruas
XTA Developer
Posts: 1269
Joined: 24 Feb 2005, 02:58

Post by Noruas »

tanks cannot be damaged in the process running over trees, think of it as

flesh vs. wood

but now its

wood vs. steel
User avatar
KiviGerbil
Posts: 56
Joined: 27 Jun 2005, 17:27

Post by KiviGerbil »

the tank he drove was t-72

the only part of the tank that can get damaged while crushing trees is the barrel and turret rotating gear.

depends on tank, mainly battletanks can do this

assault tanks... well i don't know, depends on the tank and on the tree

btw assault tanks in XTA are totally crap... they should be faster and have a bit more firepower.. or jeffys and weasels should be weaker

real assault tanks are a bit weak, quite fast (60-100 km/h) and have rather powerful weapons, when used with infantry spotting targets and a bit tactic and luck they can take out even battletanks.
User avatar
Cheery
Posts: 129
Joined: 09 May 2005, 10:30

Post by Cheery »

In every game, I wonder where there aren't assault tanks, or the assault tanks are moving like battle tanks.

It's also in TA spring. But for sake of open-source, we should repair this problem. :lol:
User avatar
KiviGerbil
Posts: 56
Joined: 27 Jun 2005, 17:27

Post by KiviGerbil »

assault is considered to be somekind of extra-super-pwnsor unit...

like in battletech, assault = heaviest....

i really wonder where did they go wrong, but this is a bit off-topic
User avatar
Min3mat
Posts: 3455
Joined: 17 Nov 2004, 20:19

Post by Min3mat »

OTA gets it right...scouts are used for scouting assault tanks (flashes) are used widespread whilst battle tanks (stumpies) and main battle tanks (reapers, goliaths) are spread sparingly in the ranks 8) OTA>xta, even in the case of a sicko player like SJ
User avatar
Buggi
Posts: 875
Joined: 29 Apr 2005, 07:46

Post by Buggi »

It's all in movement classes guys.

Moveinfo.tdf

and

MovementClass=???; in FBI file.

Didn't I see "BigAss" in there somewhere? lol!

-Buggi
User avatar
Min3mat
Posts: 3455
Joined: 17 Nov 2004, 20:19

Post by Min3mat »

lol that's probs for el zumos :)
User avatar
GrOuNd_ZeRo
Posts: 1370
Joined: 30 Apr 2005, 01:10

Post by GrOuNd_ZeRo »

I always was rather puzzled by the term: Assault Tank or Combat Tank.
the Stumpy acts more like a MBT with a very weak gun while the Bulldog is too slow to be considdered a MBT.

I think the best way to change this is to give the Stumpy the Bulldog gun and upgrade the Bulldog's weapons to something even more powerful, but that's just me, and why don't tanks have a EMG gun on the turret for taking out light targets? :P
Post Reply

Return to “Engine”