Cutscenes funcion in zero-K mission editor - Page 2

Cutscenes funcion in zero-K mission editor

Requests for features in the spring code.

Moderator: Moderators

gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Cutscenes funcion in zero-K mission editor

Post by gajop »

seems to me like it's getting loaded, try copying the demo widgets to see if it works and how to use it
User avatar
daryl
Posts: 200
Joined: 08 Oct 2006, 10:33

Re: Cutscenes funcion in zero-K mission editor

Post by daryl »

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???
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Cutscenes funcion in zero-K mission editor

Post by gajop »

daryl 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???
https://github.com/jk3064/chiliui/blob/ ... uidemo.lua
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Cutscenes funcion in zero-K mission editor

Post by Forboding Angel »

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.
luckywaldo7
Posts: 1398
Joined: 17 Sep 2008, 04:36

Re: Cutscenes funcion in zero-K mission editor

Post by luckywaldo7 »

Right, you can't really think of it as a user interface for spring, but as an interface toolkit for spring game developers.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Cutscenes funcion in zero-K mission editor

Post by gajop »

Forboding 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.
it has the demo widget(s) which is what i was asking him to copy and test to see if they work
User avatar
daryl
Posts: 200
Joined: 08 Oct 2006, 10:33

Re: Cutscenes funcion in zero-K mission editor

Post by daryl »

gajop wrote:
Forboding 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.
it has the demo widget(s) which is what i was asking him to copy and test to see if they work
aah i understood all now...
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 ???
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Cutscenes funcion in zero-K mission editor

Post by gajop »

daryl wrote:
gajop wrote:
Forboding 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.
it has the demo widget(s) which is what i was asking him to copy and test to see if they work
aah i understood all now...
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 ???
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.

PS: May want to stop using so many question marks per sentence :)
User avatar
daryl
Posts: 200
Joined: 08 Oct 2006, 10:33

Re: Cutscenes funcion in zero-K mission editor

Post by daryl »

gajop wrote:
Forboding 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.
it has the demo widget(s) which is what i was asking him to copy and test to see if they work

hii!!
yes the chili now work!!...
buy it's difficult create a chili GUI??
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Cutscenes funcion in zero-K mission editor

Post by knorke »

there is a little tutorial on using chili:
http://springrts.com/wiki/UI:Development
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Cutscenes funcion in zero-K mission editor

Post by gajop »

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...
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Cutscenes funcion in zero-K mission editor

Post by Forboding Angel »

Guys, he simply needs to put Chili in BA, not to make his own gui. Just tell him where to get the needed elements.
luckywaldo7
Posts: 1398
Joined: 17 Sep 2008, 04:36

Re: Cutscenes funcion in zero-K mission editor

Post by luckywaldo7 »

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
User avatar
daryl
Posts: 200
Joined: 08 Oct 2006, 10:33

Re: Cutscenes funcion in zero-K mission editor

Post by daryl »

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...
hola.....
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"
i tried to clean widget folder and reinstall chili files (downloaded from github) and in game activate "chili demo"... but doesn't work...
what i wrong?
User avatar
SpliFF
Posts: 1224
Joined: 28 Jul 2008, 06:51

Re: Cutscenes funcion in zero-K mission editor

Post by SpliFF »

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.
Post Reply

Return to “Feature Requests”