How to Design our own UI for our own map?
Moderator: Moderators
- Muneeb Ahmed
- Posts: 11
- Joined: 26 Jul 2010, 09:20
How to Design our own UI for our own map?
Hi we are a group of university students working on mod development in spring rts. We're trying to create our own mod using spring engine. Please tell me how can I design my own UI for my mod?
Re: How to Design our own UI for our own map?
depends what you want: just one extra button for a special unit function, completly different interface, etc
- Muneeb Ahmed
- Posts: 11
- Joined: 26 Jul 2010, 09:20
Re: How to Design our own UI for our own map?
What if i want a completely new UI. e.g: resembling to the red alert 2 UI?
Re: How to Design our own UI for our own map?
definatly possible but not easy.
you will need to learn lua/get used to springs lua.
for UI, the CA mod is always trying new things.
try that game and type /join #ca
the ca team has some ui framework called chilli.
another ui framework is redui.
you will need to learn lua/get used to springs lua.
for UI, the CA mod is always trying new things.
try that game and type /join #ca
the ca team has some ui framework called chilli.
another ui framework is redui.
- Muneeb Ahmed
- Posts: 11
- Joined: 26 Jul 2010, 09:20
Re: How to Design our own UI for our own map?
ok. I'll try that. Thanks alot
Re: How to Design our own UI for our own map?
knorke wrote:for UI, the CA mod is always trying new things.
try that game and type /join #ca
the ca team has some ui framework called chilli.

- Muneeb Ahmed
- Posts: 11
- Joined: 26 Jul 2010, 09:20
Re: How to Design our own UI for our own map?
Now plz tell me what to do next. I've registeered myself on ca website?
Re: How to Design our own UI for our own map?
Do not bother with CA's UI as it will be very hard for you to port it into your own project. Use it at most as a reference after you handle the basics.
To design / create your own UI for Spring:
1. Learn how to code in lua
2. Learn what is a widget and how it works.
3. Learn about Spring functionality provided through lua
Specifically: OpenGL Api, unsynced read, unsynced control
4. Join #lua channel on Spring's lobby and ask for help with hacking around the many obstacles you will encounter.
To design / create your own UI for Spring:
1. Learn how to code in lua
2. Learn what is a widget and how it works.
3. Learn about Spring functionality provided through lua
Specifically: OpenGL Api, unsynced read, unsynced control
4. Join #lua channel on Spring's lobby and ask for help with hacking around the many obstacles you will encounter.
Re: How to Design our own UI for our own map?
1) how old are you?Muneeb Ahmed wrote:plz
2) use complete words, people tend to dislike this brand of english.
Re: How to Design our own UI for our own map?
Map?How to Design our own UI for our own map?

- Muneeb Ahmed
- Posts: 11
- Joined: 26 Jul 2010, 09:20
Re: How to Design our own UI for our own map?
I'm 19 years old. and I'm sorry. I'll try to avoid it.smoth wrote:1) how old are you?Muneeb Ahmed wrote:plz
2) use complete words, people tend to dislike this brand of english.
- Muneeb Ahmed
- Posts: 11
- Joined: 26 Jul 2010, 09:20
Re: How to Design our own UI for our own map?
I mean mod!zwzsg wrote:Map?How to Design our own UI for our own map?
Re: How to Design our own UI for our own map?
Hi Muneeb, glad to meet a new developer 
If you would like to see a very simple graphical UI, here is the current source used for P.U.R.E. You will need to supply the graphics, but otherwise it's ready to use and it's commented fairly well.

If you would like to see a very simple graphical UI, here is the current source used for P.U.R.E. You will need to supply the graphics, but otherwise it's ready to use and it's commented fairly well.
- Attachments
-
- SimpleGUI.lua
- (8.22 KiB) Downloaded 25 times
Re: How to Design our own UI for our own map?
wow you must be a college freshman/sophomore. Pretty ambitious, are you doing a whole game or just ui?
Your question asks about a ui for a map. Are you wanting a game to run on that or you just want ui elements to show when a map is played?
Your question asks about a ui for a map. Are you wanting a game to run on that or you just want ui elements to show when a map is played?
Re: How to Design our own UI for our own map?
Muneeb Ahmed wrote:I mean mod!zwzsg wrote:Map?How to Design our own UI for our own map?
- Muneeb Ahmed
- Posts: 11
- Joined: 26 Jul 2010, 09:20
Re: How to Design our own UI for our own map?
Thanks for the compliment sir.wow you must be a college freshman/sophomore. Pretty ambitious, are you doing a whole game or just ui?
Your question asks about a ui for a map. Are you wanting a game to run on that or you just want ui elements to show when a map is played?
Actually we are a group of 5 students who volunteerly presented ourselves for a game development project at our university. Our team leader also doesn't know much about springrts. I and one of my friend were asked to work on mod development. the rest three are working on AI development. Out of us, my partner was asked to work on modeling and i was assigned to work on a custom UI. But now i've to learn about lua so that i may continue my work!
Last edited by Muneeb Ahmed on 10 Oct 2010, 11:08, edited 1 time in total.
- Muneeb Ahmed
- Posts: 11
- Joined: 26 Jul 2010, 09:20
Re: How to Design our own UI for our own map?
Please tell me is there any other way to work on mod or UI without Lua?
More precisely, Can we work on mod or UI using java?
More precisely, Can we work on mod or UI using java?
Re: How to Design our own UI for our own map?
AIs can be written in all kind of langagues inclcluding java but a mods game logic and animations can only be done in Lua or this strange cob scripting language of Total Annihaltion.
The synthax of Lua is not that hard to learn, the problem will be finding the the correct spring callins etc. but if you explain what you want to do you can get help.
The synthax of Lua is not that hard to learn, the problem will be finding the the correct spring callins etc. but if you explain what you want to do you can get help.
- Muneeb Ahmed
- Posts: 11
- Joined: 26 Jul 2010, 09:20
As I'm in the "learn and try phase" right now, i was simply trying to have a UI resembling to that of warcraft 3 or red alert 2. But as it is almost impossible for me right now, i'm planning to have a combo box in my UI, with which i may switch between various AI strategies. The AI work is not my business, i only have to add a combo box!
Re: How to Design our own UI for our own map?
why a combo box?
why not just a number of buttons? much easier to do.
why not just a number of buttons? much easier to do.