Page 1 of 1

New tool to convert RTC .txt to DSB .lua Dungeons : RTSB

Posted: Sun Mar 11, 2007 9:14 pm
by Joramun
Kind of an annoucement :

Currently in developpement : RTSB (Return To Strike Back - dev. name ;) )

It's a tool to port RTC dungeon text file to a dsb module dungeon.lua
Beware, it will still require some work from the dungeon designer to make a working DSB dungeon, especially if there's a lot of custom stuff !!
Release of Original DM postponed until the tool is done ( but then you'll see immediatly CSB too... :D )

EDIT :
The tool is mostly ready expect a release in less than a week !

EDIT :
If you have a custom dungeon, to implement your new items, enter the list as follow at the beginning of obj_list.txt :

RTC_ITEM_NAME CORRESPONDING_DSB_ITEM_NAME
RTC_ITEM_NAME CORRESPONDING_DSB_ITEM_NAME
...

where the blank is of any type. only the parity and order counts : never put something else than a
rtc <space or tab or new line> dsb
pair, new line are ignored, so you can space out the file.

But of course DSB won't guess what the new item is alone, so you have to add it in the objects.lua of your dungeon folder.

Posted: Fri Mar 16, 2007 8:25 pm
by Sophia
Something just occurred to me--

How are you going to handle XP multipliers?
RTC doesn't use them, so they won't be saved in the level.
However, DSB (like DM) does use them.

Posted: Fri Mar 16, 2007 8:48 pm
by zoom
Could you not manually enter Xp multipliers afterwards or beforehand..
:o :?:

Posted: Fri Mar 16, 2007 9:47 pm
by Paul Stevens
Missing XP mutipliers.

I vote for automatically inserting
default values for missing data.
XP multiplier could be 'LEVEL+1'
or something like that. These would
serve to make the syntax clear to
the person who would have to edit
the file. Then I would add a comment
that causes a compile error so that
it is obvious what needs fixing.

But then I am very conservative.
Others might prefer a more 'who-cares'
approach.

Posted: Sat Mar 17, 2007 1:58 pm
by Joramun
For know, i insert xp_factor = ( level# / 2 ) which is a formula that almost work for DM.

Of course you'd have to enter them by hand, but it takes about 1 minute, so...

Posted: Sun Mar 18, 2007 10:24 pm
by Joramun
Any idea of why my executable is 10 times bigger under windows than under linux ? (compiled with g++)

Any way : I manage to get DM to compile under dsb, but the mechanics / exvars etc. are broken and cause the game to crash at entrance.

EDIT : Thanks to the last patch for 0.8, the game does not crash at entrance. I can now debug all that i did wrong with RTSB, notably the trigger chains...

...And being able to roam in the HoC is always a pleasure...