[Request] Ingame Help Widget

[Request] Ingame Help Widget

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

[Request] Ingame Help Widget

Post by Forboding Angel »

Basically what the title says.

I would like for my players to be able to, at the click of a button, pull up a gameplay/unit guide, complete with pictures etc etc etc.

I imagine this wouldn't be all that hard to implement as all the widget needs to be is pretty much a window with a darkish background that referances some sort of file to be displayed.

As I said, ability to show pictures is a plus if not a necessity.
User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

Post by Pendrokar »

25% does highlight unit widget while pressing space! :D
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

See a widget quantum is making in CA.
User avatar
quantum
Posts: 590
Joined: 19 Sep 2006, 22:48

Post by quantum »

It's gui_rooms, you can find it in the CA sandbox, which is bundled with SVN builds ( http://files.caspring.org/snapshots/latest.zip.php ). The room_unitInfo script for gui_rooms is kinda what you're describing:

http://lcc-clan.com/quant/screen007.png
http://lcc-clan.com/quant/screen002.png

It's still far from finished, though.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Honestly, all I want is 1 page that allows me to describe gameplay and how to play the game. Nothing too complicated :P
User avatar
quantum
Posts: 590
Joined: 19 Sep 2006, 22:48

Post by quantum »

Sounds simple enough to be someone's first widget :wink:

Ok, that's not very helpful. :oops:
If you find me in #lua, I'll help you through it.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

A lua build menu that had the big images like in that screen of the kbot lab and perhaps some info on each would serve as a great replacement for our current build menu.
User avatar
BigHead
Posts: 145
Joined: 12 Jul 2007, 18:55

Post by BigHead »

work in progress

Image
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

w00t springopedia.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Oh fucking sweet! That is perfect BigHead! Thank you!
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

Very nice :)

How much formatting control do we have on that?

In terms of dividing the information up into tables, etc, navigation handling, etc, etc?
User avatar
BigHead
Posts: 145
Joined: 12 Jul 2007, 18:55

Post by BigHead »

*word wrapping
*you can change the color of your text
*vertical scrolling
*easily customizable (background color, size, etc ...) and modification-friendly
*there will be 6 tags:
<title>
<image> - "floating" will be supported
<link> - equivalent to <a href>
<heading> - equivalent to <h1>, <h2> ... you can set the size
<li>
<include> - includes another page eg.:navigation at the bottom

and that's all, this is ingame help not mozila firefox :wink:
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Dude, that is perfect! Thank you!

Me == Very Excited
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Any News on this?
User avatar
BigHead
Posts: 145
Joined: 12 Jul 2007, 18:55

Post by BigHead »

My semester started on monday and I was quite busy whole week. However I managed to do some work on it today and will release a beta version.
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

Okay, that quanta thing looks Awesome but I can't imagine playing with all that on the screen simultaneously like that so I assume you typically would have one or two of those frames at any given time.

For the "HTML" like widget... I mean your right it's simple but thats all we really need to start out... and get a simple help tool working.
Post Reply

Return to “Lua Scripts”