home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Cube engine with Lua scripting...

by enif on 06/14/2006 10:00, 26 messages, last message: 07/20/2006 13:44, 10910 views, last view: 06/17/2024 08:56

Interested? I am working on that! :-) For now, I have a name: Soulcube and a working Win32 and MacOSX version. Lua API is done from 75%. Most of the scripts are rewriten to Lua. Simple needed-libraries build system is also done (few scripts + makefiles).

Soon I will release it...

enif

Go to first 20 messagesGo to previous 20 messages    Board Index   

#21: Re: When?

by dan454 on 07/03/2006 12:02, refers to #17

Sorry, deleting the file now...

Didn't mean to do anything illegal, again my apologies to all involved.

reply to this message

#22: News and thanks!

by enif on 07/09/2006 12:03

Hi!

Thanks to all for your help and reports!

dan454: Great work! I'll check it next week (17.+), and I'll release the new one. Thanks again! (Now I am sitting behind a modem, I'm on wacation... :))

Latest changes:

2006/07/09
+ SetMusicVol() now works in-game. Used by edit-toggle command
(see EDITTOGGLE in commands.lua)

2006/07/08
+ automatic map packaging (zipping) removed.
+ added suport for deflate compression to unzip library (even -9 comression
is supported!). Inflating is done using Zlib.
WARNING: *.zip files should not be created by MacOSX BOMArchiveHelper
("Create archive of..."), because it stores zerro-sizes of deflated files
in zip directory structure. Use: "zip -r mapname.zip mapname" instead!
Example of packaging script:
cd mapname-directory
zip -r9 ../mapname.zip *
or for windows:
cd mapname-directory
zip -r9 ../mapname.zip *.*

2006/07/07
+ bufio.cpp extended
+ added dmsg.h (for debug messages)

2006/07/06a
+ map files are loded from:
map.cgz + map.lua (old format)
map/map.map + map/map.lua (new unpacked format)
map.zip/map.map + map.zip/map.lua (new packed format)
.zip files (map packages) are standart .zip files without compression
engine itself uses command "zip -r0j <pakname> <mapdirname>" - see packmap()
in worldio.h
+ removed all text-formated map writing

2006/07/06
+ some work on automatic mapfiles packaging done.
- this version is not finished/working

2006/07/05a
+ added functions:
cube.SetBoxBorderColor(r, g, b)
cube.SetBoxBkNormalColor(r, g, b)
cube.SetBoxBkSolidColor(r, g, b)
to control menu boxes colors (cube.BlendBox()) and
cube.BlendBox(x1, y1, x2, y2, solid)
cube.DrawText(str, left, top, gl_num)
cube.ResetMovement("entity")
cube.RefreshServers()
cube.TextWidth("text")
cube.GetServerName(n)
to support rendering menus from Lua scripts
+ minor fixes in engine and scripts
- remove MenuSet() call at startup (it is called before autoexec loads
menus.lua)

2006/07/05
+ all menu handling is now done in menus.lua; old menus.lua renamed to
menus_def.lua
+ MenuItem() supports Lua-functions as actions
+ menus.cpp is not used for now (commented out)
- add SortMenu() function
- change cube.isdown variable to boolean
- RenderMenus() should return a boolean value (same as MenuKey())

2006/07/04a
+ Bind() and KeyMap() functions supports Lua-functions as actions.
+ prepared to write maps in compressed Lua format

2006/07/04
+ added support for .zip map format:
map.zip
[map]
map
map.lua
[textures]
...
+ add support for more scripts in zipped maps
+ add support for local/map textures
+ add support for new map format (text file + textures with names)
+ bufio.cpp with class buf for read() and getc() from a buffer
(used by read_zip_world() in worldio.cpp)
+ [2004_05_22] fix
+ [2005_08_11]:
- jumppad velocity Z cancellation (better jumps)
- increased sensitivity range
- screenshots moved to own folder

2006/07/03a
+ small keymap.lua speedups
+ added support for "GL_ARB_texture_env_combine" to rendergl.cpp
(better lights on Mac! :-))
- add changes from latest cube:

[see latest Cube's changelog]

2006/07/03
+ all key bindings are handled by Lua table defined in keymap.lua script
+ bind() and keymap() functions removed

2006/06/28b
+ conoutf() removed


See Ya next week!

enif

reply to this message

#23: Re: First one!

by enif on 07/09/2006 12:07, refers to #16

I'll have to check all fixed paths in my makefiles. Thanks for pointing me to that! I have DevCpp installed without a compiler. Mingw is in separate directory (I tried CodeBlocks and needed yust on compiler in system, etc. :-))

enif

reply to this message

#24: Re: Copyright infringement

by enif on 07/09/2006 12:13, refers to #20

For now, Soulcube as Cobe plug-in is not planned. I'll try to create some installation script(s) to make Cube to Soulcube transformation as easy, as possible.

And yes, one day complete new data should be created aslso! :)


PS: The plug-in thing is intesting... Hmmm! ;)

reply to this message

#25: New version, DevRel v2, released!

by enif on 07/17/2006 13:15

Hi!

New release of SC is here: http://soulcube.czweb.org/

enif

reply to this message

#26: Bug fix of v2

by enif on 07/20/2006 13:44

I hunted down the memory bug from previous release. Download this fixed version from SC website http://soulcube.czweb.org/.


Thanks!

enif

reply to this message

Go to first 20 messagesGo to previous 20 messages    Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
54810562 visitors requested 72659521 pages
page created in 0.010 seconds using 10 queries
hosted by Boost Digital