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

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
Joramun
Mon Master
Posts: 925
Joined: Thu May 25, 2006 7:05 pm
Location: The Universe

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

Post 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.
What Is Your Quest ?
User avatar
Sophia
Concise and Honest
Posts: 4240
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Post 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.
User avatar
zoom
Grand Master
Posts: 1819
Joined: Tue Sep 23, 2003 1:27 am
Location: far away but close enough

Post by zoom »

Could you not manually enter Xp multipliers afterwards or beforehand..
:o :?:
User avatar
Paul Stevens
CSBwin Guru
Posts: 4319
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post 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.
User avatar
Joramun
Mon Master
Posts: 925
Joined: Thu May 25, 2006 7:05 pm
Location: The Universe

Post 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...
What Is Your Quest ?
User avatar
Joramun
Mon Master
Posts: 925
Joined: Thu May 25, 2006 7:05 pm
Location: The Universe

Post 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...
What Is Your Quest ?
Post Reply