Unitdef.lua
Moderator: Moderators
Unitdef.lua
Does nyone know of where I could find a complete list of unitdef commands (and hopefully an explanation of what each one does though most are self explanatory)? Thanks.
Re: Unitdef.lua
It's fine, I found what I was looking for.
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: Unitdef.lua
I agree with knorke, as far as I know it doesn't exist. What have you found because I'd find it useful.kalda341 wrote:It's fine, I found what I was looking for.
Re: Unitdef.lua
No, this: http://springrts.com/wiki/All_FBI-varia ... ault,_type . But that could be helpful too.oksnoop2 wrote:http://springrts.com/wiki/Units:FBI that?
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Unitdef.lua
Yes it does:knorke wrote:does not exist.
what do you need?
Course you would never find it because searching for lua unit defs gives you nothing, unit defs gives you nothing, lua unitdefs gives you nothing Even though the page is named Lua unitdefs! The only way to find it is by searching for "unitdefs".
The fucking wiki blows.
Re: Unitdef.lua
oh yes that page.
i somehow read the original post as "is there a better page than this one with stuff actually explained."
i somehow read the original post as "is there a better page than this one with stuff actually explained."
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Unitdef.lua
Well the values listed are the default values which helps explain quite a bit but I get what you mean.
Re: Unitdef.lua
warning:Forboding Angel wrote:Yes it does:
THE INPUT AND THE OUTPUT OF THOSE TAGS ARE NOT THE SAME, NOR ARE THE NAMES OF THOSE TAGS!!!
->Use Units:FBI when you want to edit/create UnitDefs.
->Use Lua_UnitDefs when you want to read UnitDefs in Lua.
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: Unitdef.lua
Incomplete.
Incomplete as well.kalda341 wrote:http://springrts.com/wiki/All_FBI-varia ... ault,_type
Re: Unitdef.lua
that's a diff problem 

Re: Unitdef.lua
Seen as no-one bothered to mention it, a link every Spring modder should have bookmarked:
https://github.com/spring/spring/blob/m ... nitDef.cpp
https://github.com/spring/spring/blob/m ... nitDef.cpp
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Unitdef.lua
Flozi, marry me you sexy beast!