Page 1 of 1

movedata

Posted: 06 Sep 2009, 12:08
by Erik
What are the tags and values possible in there? How to make a unit land only? Haven't found a reference around here.

Re: movedata

Posted: 06 Sep 2009, 18:49
by bobthedinosaur
to restrict a unit to land you want to give it a lower water depth, but not too low as it cant cross any shallows, which are important on many maps.

Re: movedata

Posted: 06 Sep 2009, 18:59
by smoth
I am actually about to go do some lua for movedata...

known tags....

Code: Select all

	Name
	FootprintX
	FootprintZ
	CrushStrength
	SlopeMod
	MaxSlope
	BadSlope
	MaxWaterSlope
	BadWaterSlope
So here are some questions:

A) Do hover type units still require hover in the name?
B) Are footprints still treated as squares or did that ever get fixed?
C) how DOES crushstrength work?
D) are all the above tags valid? What ones am I missing?
E) what are the depths measured in? elmos, footprints, height units?
F) how DOES spring measure slopes? is it angle or what?

Re: movedata

Posted: 06 Sep 2009, 19:15
by Kloot
A) yes
B) squares only
C) if a unit's MD crush strength > an obstacle's mass, the obstacle can be run over
D)

valid:

Code: Select all

name
footprintX
crushStrength
slopeMod
maxSlope
missing:

Code: Select all

minWaterDepth
maxWaterDepth
depthMod
heatMapping
heatMod
heatProduced
subMarine
E) elmos
F) http://springrts.com/phpbb/viewtopic.ph ... 32#p296032

Re: movedata

Posted: 06 Sep 2009, 19:19
by smoth
What determines mass, I use the mass tag, what is the equation using spring's metal energy stuff?

Is there a feature mass tag?

Re: movedata

Posted: 06 Sep 2009, 19:25
by Kloot
what is the equation using spring's metal energy stuff?
For features: mass = metal * 0.4 + maxHealth * 0.1
For units: mass = metalCost
Is there a feature mass tag?
Yes.

Re: movedata

Posted: 06 Sep 2009, 19:36
by smoth
http://springrts.com/wiki/Units:MoveTypes
Fed the wiki, anyone see anything else to be added?

Re: movedata

Posted: 08 Sep 2009, 05:41
by Caydr
Some useful stuff here, might already be covered, I'm lazy.

http://springrts.com/phpbb/viewtopic.php?f=14&t=19912

Re: movedata

Posted: 31 Jan 2010, 01:41
by slogic
So what does DepthMod stand for?

Re: movedata

Posted: 31 Jan 2010, 02:56
by Pxtl
slogic wrote:So what does DepthMod stand for?
Speed modifier from depth.

IE how much to slow the amphibs down when they're underwater.