Hi!
I'm new to the forum.
Let me know if you can change the values (range, cost, speed, experience, power of the shot, etc. ...) of the units of a mod (eg Spring 1944)?
Need a program?
Let me know!
Thank you!
Change the values of the units
Moderator: Moderators
- FireStorm_
- Posts: 666
- Joined: 19 Aug 2009, 16:09
Re: Change the values of the units
hello,
I am letting you know.
http://springrts.com/wiki/Units-UnitDefs
Any text editor will do (I prefer LuaEdit myself)
I am wondering, out of curiosity, why would you want to do this?
I am letting you know.

http://springrts.com/wiki/Units-UnitDefs
Any text editor will do (I prefer LuaEdit myself)
I am wondering, out of curiosity, why would you want to do this?
Re: Change the values of the units
Use 7-zip to unpack .sdz and .sd7.
Rename the folder you unpacked the mod into /whatever.sdd/
First thing, open modinfo.lua with any text editor and modify the version field, so as to avoid confusion.
Open the files in /units/ with any text editor and modify the values.
Do NOT upload unless you have checked whether it's ok with the mod authors.
Note: If you have gotten your mod from rapid or similar, I have no idea how to remake mod archive from file dust.
Rename the folder you unpacked the mod into /whatever.sdd/
First thing, open modinfo.lua with any text editor and modify the version field, so as to avoid confusion.
Open the files in /units/ with any text editor and modify the values.
Do NOT upload unless you have checked whether it's ok with the mod authors.
Note: If you have gotten your mod from rapid or similar, I have no idea how to remake mod archive from file dust.
Re: Change the values of the units
rapid --help would be a good startzwzsg wrote: Note: If you have gotten your mod from rapid or similar, I have no idea how to remake mod archive from file dust.
there's a command that makes an archive again, something like:
rapid --repack, --create-sdz, etc, don't remember it really
-
- Posts: 19
- Joined: 18 Mar 2012, 16:48
Re: Change the values of the units
Ok, thanks!
I try and then I'll know!
I just want to try eninete more.
I try and then I'll know!
I just want to try eninete more.
Re: Change the values of the units
Some of those values e.g. range, power of shot etc. are actually weapon attributes not unit attributes. S44's weapons have a (afaik) unique OO-style definition but the tags remain the same; the wiki article on wepaon tags isn't as up to date though: http://springrts.com/wiki/Weapon_Variables
-
- Posts: 19
- Joined: 18 Mar 2012, 16:48
Re: Change the values of the units
FLOZi wrote:Some of those values e.g. range, power of shot etc. are actually weapon attributes not unit attributes. S44's weapons have a (afaik) unique OO-style definition but the tags remain the same; the wiki article on wepaon tags isn't as up to date though: http://springrts.com/wiki/Weapon_Variables
In fact I could not find unity in the values of the weapon.
The values of the weapon is in the files. Tdf inside the folder "weapons".
Re: Change the values of the units
Some weapons remain as tdfs, but most (all non-tank weapons) are now lua
-
- Posts: 19
- Joined: 18 Mar 2012, 16:48
Re: Change the values of the units
Ok, FLOZi!
Thank you!
Can you tell me if the radius of the mod is in meters?
Thank you!
Can you tell me if the radius of the mod is in meters?