Alright sorry if its not the correct section to talk about it.
I'm trying to make my little brother(mid school) interested in game developing and find spring to be a good start (though he like FPS game better than RTS).
I wanted to try to show him some simple things such as changing the command attack to "serang" -> indonesian for attack(I'm indonesian). But i can seem to find the parameter to change. I look in the game folder(gamedata, LuaUI etc) & Spring folder. The closest thing i found is spring.h.lua.
So is it possible to change the command in game to different words?
If so which file or what method that I must do?
Btw I use xta as the base game.
Changing command ??
Moderator: Moderators
Re: Changing command ??
You should pick a different goal, renaming engine command "attack" is hard. You would need to code command handler in lua.
Re: Changing command ??
Hmmm i see, well no problem , I can use other things such as unit making & etc.
But is it really hard to rename the command? How to do it actually? Because most of young people here is really ignorant with their english.
Another thing,what AI is easiest to configure for new programmer in your opinion? (actually i'm a web programmer so this kind of thing isn't really my forte).
But is it really hard to rename the command? How to do it actually? Because most of young people here is really ignorant with their english.
Another thing,what AI is easiest to configure for new programmer in your opinion? (actually i'm a web programmer so this kind of thing isn't really my forte).
Re: Changing command ??
If you just want to change the text on the button, that is easy:
http://spring1944.svn.sourceforge.net/v ... iew=markup
Line 35 changes 'Reclaim' to 'Salvage', a similar change for Attack is just as trivial.
http://spring1944.svn.sourceforge.net/v ... iew=markup
Line 35 changes 'Reclaim' to 'Salvage', a similar change for Attack is just as trivial.
Re: Changing command ??
If you're using XTA as the basegame, you can use Shard, you can modify the entire AI if you wish, but since you're a beginner, taskqueues.lua should do the trick, its a simple data structure that defines what the AI should build, listed in order from start to finish.
Re: Changing command ??
Thanks for the tip to change the text & also AI gonna try the taskqueues
Re: Changing command ??
If you have questions or suggestions about it let me know