scripted actions

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
noname
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Wed Jan 12, 2005 12:06

scripted actions

Postby noname » Mon Mar 14, 2005 05:22

I have created a program from XML layout files , but I don't know how can i load the scripted actions which in Lua scripting files, just like CEGUI Demo 8 ,
Would you like to post the source of Demo 8 or give me some info about this ?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: scripted actions

Postby CrazyEddie » Mon Mar 14, 2005 09:29

To get this kind of itegratin with scripting, you need a ScriptingModule object specific for the scriptig language you are targetting. Using this it will then be possible to get gui events to call script code like in demo 8.

There is no source code for demo 8 as such, it was entirely done via script and the config file (IIRC). What made demo 8 possible was my (abandoned) ScriptModule using luabind, I am willing to give this out, but what you need to realise is that the code is totally out of date with the current system, so will not compile or work properly without a lot of modifications. I will say now that no support for this code will be provided what so ever - it was abandoned for good reason ;)

I do intend to supply at least one example ScriptingModule at some point in the near(ish) future.

Let me know if you still would like to see the source for the ScriptingModule and I'll upload it somewhere.

CE.

User avatar
noname
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Wed Jan 12, 2005 12:06

Re: scripted actions

Postby noname » Mon Mar 14, 2005 09:53

CrazyEddie wrote:
Let me know if you still would like to see the source for the ScriptingModule and I'll upload it somewhere.
CE.


Please upload it at your convenience ,perhaps it can be as my referance .Thanks .

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: scripted actions

Postby CrazyEddie » Mon Mar 14, 2005 14:32

http://crazy-eddie.myby.co.uk/files/cegui-lua.zip

I'll wish you the best of luck with this, the code is pretty terrible, and it hasn't really been updated since Demo 8 was out out last July :hammer:

CE.

User avatar
noname
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Wed Jan 12, 2005 12:06

Re: scripted actions

Postby noname » Tue Mar 15, 2005 00:01

I have got ,thanks again ,it will be helpful.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: Bing [Bot] and 6 guests