Comander thinks he can crush anything....

Comander thinks he can crush anything....

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Comander thinks he can crush anything....

Post by aGorm »

This isn't strictly were this should be posted but, hay, it will do.

Basicly I've run into a real obsucure problem with features, things crushing them, and the comander in XTA.

Basicly what defines the toughness of a feature?!? hitdensity="" seems to be some arbitry atribute that reletes to it, but I'll be damed if I know what spring does with it. Is it a multiplyer of somthing?

Also... The XTA comander apears to think he can crush anything... including "invincible" features, IE large trees. I know he thinks this cause when you press F2 he rekons he can wander right into them. This causes him to wander at the tree for half an hour while he waits for it to be crushed out the way...
Funny thing is everything else is quite happy to paint the tree red when you press F2, its only the comander (so far as I've tested) that thinks he can wander through.

Does an invincible feature need a hit density to (even though by definition is invincible?)

Some one help, I'm going spare.... (mad that is to say)

aGorm
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I always thought it was the metal value.

The commander doesnt think it can crush these objects, it thinks it can walk straight through, including factory walls sometimes. This is the pathfinder being stupid.
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Post by aGorm »

Why just the comander.... and besides if i build a fac that goes red on the F2 view... its just all the features. For some thats fine. But not rocks and big trees!

aGorm
User avatar
NOiZE
Balanced Annihilation Developer
Posts: 3984
Joined: 28 Apr 2005, 19:29

Post by NOiZE »

try adding damage=99999999999999999999999; in the feature tdf.
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Post by aGorm »

Didn't help... but i noticed something very odd.... typing in cheats and nocost... MAKES RED APEAR UNDER THE TREES!!!1!!1!!

Someone explane... someone look in teh code... someone tell me please I's been driving me nuts all week.

aGorm
User avatar
NOiZE
Balanced Annihilation Developer
Posts: 3984
Joined: 28 Apr 2005, 19:29

Post by NOiZE »

make the feature costs insane?
User avatar
Zoy64
Posts: 454
Joined: 12 Nov 2006, 00:30

Post by Zoy64 »

this may sound noobish, but is the F2 button like a height map or something?
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Post by aGorm »

Its the "were you can go map" IE units selected at time of pressing F2 can only go on teh green areas... shows you were units can get to.

Obviolsy it cant get into the tree, but it seems to think it can. Maddening.

aGorm
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

hitdensity gives a percentage of how many shots will simply go straight through the feature
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Post by aGorm »

realy? So what controles the crushability?!?!?

aGorm
j5mello
Posts: 1189
Joined: 26 Aug 2005, 05:40

Post by j5mello »

aGorm wrote:Didn't help... but i noticed something very odd.... typing in cheats and nocost... MAKES RED APEAR UNDER THE TREES!!!1!!1!!

Someone explane... someone look in teh code... someone tell me please I's been driving me nuts all week.

aGorm

well judging from this im assuming it has something to do with the metal cost of the commander and/or the feature itself...

afaik crushstrength is a fbi tag defined in a unit fbi yes?

now if that tag is absent does sprilng automatically take the metal cost as a replacement value?

and if thats true then does the XTA com have an insanely high metal cost?

if all three of those are true then that might be why...
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

@aGorm

An object counts as blocking (ie. non-crushable) from a unit's perspective either if it has the blocking property set to true and isn't a feature, or if the object is blocking and its mass is greater than the unit's crush-strength. Just make your trees/rock features really heavy if you don't want them squashed like bugs, or set their metal value to something insane (mass is derived from m-value and max-health if not specified).
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Post by 1v0ry_k1ng »

XTA com metal cost is about 2600
arm commander crush strength is 150, defined in moveinfo
does that help?
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Post by aGorm »

So in therory when does a feature become hard enough to stop him?

aGorm
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

aGorm wrote:Didn't help... but i noticed something very odd.... typing in cheats and nocost... MAKES RED APEAR UNDER THE TREES!!!1!!1!!

Someone explane... someone look in teh code... someone tell me please I's been driving me nuts all week.

aGorm
Apparently features fall under the same category as (enemy) units when drawing the blocking map: you can only see them on the blocking map if you either have LOS on them or .cheat is enabled.
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Post by aGorm »

Thanks... ok so I'll just use alotof trail and error till they seeem to block. (PS they are in line of sight though btw, because he's frigging walking into the dam tings, and they do block, just the comander dont seem to thik it is.)

aGorm
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

I hope those are trees from kashyyyk :P
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

Tobi wrote:Apparently features fall under the same category as (enemy) units when drawing the blocking map: you can only see them on the blocking map if you either have LOS on them or .cheat is enabled.
Makes some sense, because otherwise you would be able to follow enemy activity by the trail of disappearing features.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

No, you can do that (since the drawing is unaffected) but it won't show you if your units can collide with them.
manored
Posts: 3179
Joined: 15 Nov 2006, 00:37

Post by manored »

How about adding script to features? :)
Post Reply

Return to “General Discussion”