movedata

movedata

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
Erik
Posts: 283
Joined: 20 Aug 2009, 20:49

movedata

Post 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.
User avatar
bobthedinosaur
Blood & Steel Developer
Posts: 2702
Joined: 25 Aug 2004, 13:31

Re: movedata

Post 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.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: movedata

Post 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?
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: movedata

Post 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
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: movedata

Post 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?
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: movedata

Post 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.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: movedata

Post by smoth »

http://springrts.com/wiki/Units:MoveTypes
Fed the wiki, anyone see anything else to be added?
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Re: movedata

Post by Caydr »

Some useful stuff here, might already be covered, I'm lazy.

http://springrts.com/phpbb/viewtopic.php?f=14&t=19912
slogic
AI Developer
Posts: 626
Joined: 17 Mar 2008, 19:03

Re: movedata

Post by slogic »

So what does DepthMod stand for?
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: movedata

Post 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.
Post Reply

Return to “Game Development”