Starting with Chili

Starting with Chili

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

Moderator: Moderators

Post Reply
Master-Athmos
Posts: 916
Joined: 27 Jun 2009, 01:32

Starting with Chili

Post by Master-Athmos »

I'd like to start creating a Chili GUI for Maximum Annihilation. When looking at the wiki information and the gajop / Zero-K source I noticed that some changes seem to have been made since the wiki article was written as the hierarchies are slighlty different. Is there anything I'd need to know when starting with Chili now in terms of which elements might be outdated or conceptual changes that have been made recently?

Wiki hierarchy:

Code: Select all

Object
|_ Screen
|_ Control
 |_ Button
 |_ Checkbox
 |_ ColorBars
 |_ ComboBox
 |_ EditBox
 |_ Font
 |_ Label
 |_ LayoutPanel
   |_ ImageListView
   |_ Grid
   |_ StackPanel
   |_ TabPanel
 |_ Line
 |_ Image
 |_ MultiProgressBar
 |_ Panel
 |_ ProgressBar
 |_ Scale
 |_ ScrollPanel
 |_ TextBox
 |_ TrackBar
 |_ TreeView
  |_ TreeViewNode
 |_ Window
Github hierarchy:

Code: Select all

object
|_screen
|_control
  |_window
  |_button
    |_image
  |_checkbox
  |_label
  |_textbox
  |_trackbar
  |_colorbars

  |_scrollpanel

  |_selectionbox

  |_layoutpanel
    |_imagelistview
    |_grid
    |_stackpanel
ivand
Posts: 310
Joined: 27 Jun 2007, 17:05

Re: Starting with Chili

Post by ivand »

Probably the last one who updated wiki extensively was the Chili's author (jK), who is long gone. I guess like with many other things the best reference is the code itself, examples of usage and a few people who know Chili well (GoogleFrog, gajop, Beherith)
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Starting with Chili

Post by Silentwings »

The Chili wiki was written by me in 2015 & looks like very little was changed since, except for the section on skinning which was (according to the logs) added by Behe quite recently.

It matched gajops chili in 2015 - that's the most I know!
Master-Athmos
Posts: 916
Joined: 27 Jun 2009, 01:32

Re: Starting with Chili

Post by Master-Athmos »

Allright - thanks! :-)
Post Reply

Return to “Lua Scripts”