Cutscenes funcion in zero-K mission editor
Moderator: Moderators
Re: Cutscenes funcion in zero-K mission editor
seems to me like it's getting loaded, try copying the demo widgets to see if it works and how to use it
Re: Cutscenes funcion in zero-K mission editor
gajop wrote:seems to me like it's getting loaded, try copying the demo widgets to see if it works and how to use it
sorry, what mean you for demo widgets???
Re: Cutscenes funcion in zero-K mission editor
https://github.com/jk3064/chiliui/blob/ ... uidemo.luadaryl wrote:gajop wrote:seems to me like it's getting loaded, try copying the demo widgets to see if it works and how to use it
sorry, what mean you for demo widgets???
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Cutscenes funcion in zero-K mission editor
Chili by default doesn't have any widgets... those you have to add yourself. Most of us generally get ours from ZK and then do our own edits to them.
-
- Posts: 1398
- Joined: 17 Sep 2008, 04:36
Re: Cutscenes funcion in zero-K mission editor
Right, you can't really think of it as a user interface for spring, but as an interface toolkit for spring game developers.
Re: Cutscenes funcion in zero-K mission editor
it has the demo widget(s) which is what i was asking him to copy and test to see if they workForboding Angel wrote:Chili by default doesn't have any widgets... those you have to add yourself. Most of us generally get ours from ZK and then do our own edits to them.
Re: Cutscenes funcion in zero-K mission editor
aah i understood all now...gajop wrote:it has the demo widget(s) which is what i was asking him to copy and test to see if they workForboding Angel wrote:Chili by default doesn't have any widgets... those you have to add yourself. Most of us generally get ours from ZK and then do our own edits to them.
so the .zip that i downloaded from github contain all of the instruments to create Chili Interface, but a people as me that don't know lua scripting, is not able to create a GUI :)
this evening i will try to see the demo file, i will put the file "gui_chiliguidemo.lua" in the LuaUI/widgets folder and i will see if i'm lucky and i can modify something ... :)
if not... i will use ICE UI...
so there are other "ready" interface??
i'm a 3d modeler and graphic but i don't know lua. There are other way to do GUI ???
Re: Cutscenes funcion in zero-K mission editor
There is currently no way to create spring GUI with chili using a graphical builder like you can with windows forms. However, using Chili components to just display something isn't that hard. Btw, if you have any problems, please also post your infolog.txt if you want us to help you out.daryl wrote:aah i understood all now...gajop wrote:it has the demo widget(s) which is what i was asking him to copy and test to see if they workForboding Angel wrote:Chili by default doesn't have any widgets... those you have to add yourself. Most of us generally get ours from ZK and then do our own edits to them.
so the .zip that i downloaded from github contain all of the instruments to create Chili Interface, but a people as me that don't know lua scripting, is not able to create a GUI :)
this evening i will try to see the demo file, i will put the file "gui_chiliguidemo.lua" in the LuaUI/widgets folder and i will see if i'm lucky and i can modify something ... :)
if not... i will use ICE UI...
so there are other "ready" interface??
i'm a 3d modeler and graphic but i don't know lua. There are other way to do GUI ???
PS: May want to stop using so many question marks per sentence :)
Re: Cutscenes funcion in zero-K mission editor
gajop wrote:it has the demo widget(s) which is what i was asking him to copy and test to see if they workForboding Angel wrote:Chili by default doesn't have any widgets... those you have to add yourself. Most of us generally get ours from ZK and then do our own edits to them.
hii!!
yes the chili now work!!...
buy it's difficult create a chili GUI??
Re: Cutscenes funcion in zero-K mission editor
there is a little tutorial on using chili:
http://springrts.com/wiki/UI:Development
http://springrts.com/wiki/UI:Development
Re: Cutscenes funcion in zero-K mission editor
Not sure what you want to do, but I suggest looking at the demo widget to see how certain things can be done. Otherwise look into zk or toolbox to see how certain elements can be achieved...
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Cutscenes funcion in zero-K mission editor
Guys, he simply needs to put Chili in BA, not to make his own gui. Just tell him where to get the needed elements.
-
- Posts: 1398
- Joined: 17 Sep 2008, 04:36
Re: Cutscenes funcion in zero-K mission editor
I would start at the chili branch of BA:
http://imolarpg.dyndns.org/trac/balates ... ches/chili
Note: some of the lua widgets also require files found in luaui/configs
http://imolarpg.dyndns.org/trac/balates ... ches/chili
Note: some of the lua widgets also require files found in luaui/configs
Re: Cutscenes funcion in zero-K mission editor
hola.....gajop wrote:Not sure what you want to do, but I suggest looking at the demo widget to see how certain things can be done. Otherwise look into zk or toolbox to see how certain elements can be achieved...
so i tried to run CHILI demo file again...
but now spring give me an error :
Code: Select all
[f=0000000] Reloaded ctrlpanel from file: LuaUI/ctrlpanel.txt
[f=0000000] LuaUI: bound F11 to the widget selector
[f=0000000] LuaUI: bound CTRL+F11 to tweak mode
[f=0000000] [widgets.lua] Error: Error in Shutdown()
[f=0000000] [widgets.lua] Error: false
[f=0000000] [widgets.lua] Error: Error in Shutdown(): [string "LuaUI/Widgets/gui_chiliguidemo.lua"]:330: attempt to index upvalue 'window0' (a nil value)
[f=0000000] [widgets.lua] Error: Removed widget: chiliGUIDemo
[f=0000000] [widgets.lua] Error: false
[f=0000000] [widgets.lua] Error: Error in Initialize(): [string "LuaUI/Widgets/gui_chiliguidemo.lua"]:66: attempt to index global 'Chili' (a nil value)
[f=0000000] [widgets.lua] Error: Removed widget: chiliGUIDemo
[f=0000000] [widgets.lua] Error: Error in Shutdown()
[f=0000000] [widgets.lua] Error: false
[f=0000000] [widgets.lua] Error: Error in Shutdown(): [string "LuaUI/Widgets/dbg_chili_inspector.lua"]:152: attempt to index upvalue 'window0' (a nil value)
[f=0000000] [widgets.lua] Error: Removed widget: ChiliInspector
[f=0000000] LuaUI v0.3
[f=0000000] Finalizing
[f=0000000] Connection attempt from UnnamedPlayer
[f=0000000] -> Version: 91.0
[f=0000000] -> Connection established (given id 0)
[f=0000000] Player UnnamedPlayer finished loading and is now ingame
[f=0000000] GameID: 063ef15076b9726cb9a35c571cdf4421
[f=0000209] image selected , 1, false
[f=0000222] Chili-Error in `chiliGUIDemo`:scrollpanel0 : [string "LuaUI/Widgets/chili/headers/util.lua"]:10: attempt to index local 't' (a nil value)
[f=0000222] stacktrace:
[string "LuaUI/Widgets/chili/headers/util.lua"
what i wrong?
Re: Cutscenes funcion in zero-K mission editor
I've just run into this too. The widget works inside zk so my suspicion is the script relies on something that isn't included in the chilliui-master.zip file with the demo script. It's hard to debug because the error is being thrown in the chili skinutils script, not the demo widget. Best guess is the demo widget is passing nil's or other bad data but there isn't much in the error to go on other than it occurs in a scrollpanel.