FORUM ARCHIVED

Where to Put This Thing; or, rooms.xml and you.

Discussion in 'Modding' started by fsac, Aug 3, 2012.

  1. fsac

    fsac Member

    Howdy folks,

    Rather new to this whole modding thing (having skipped over YHTNTEP's release, but back at it with CITW) and am really interested in creating new rooms. I've gone over the wiki with a fine tooth comb and one question still eludes me... where exactly do I put this rooms.xml file?

    I've tried it in the mod folder, the mod/mod folder and a mod/rooms folder and have had zero luck using the -test-room trick to check it out.

    TIA
     
  2. Jellp

    Jellp Member

    Checking for you, editing this post soon with an answer.

    EDIT: yeah, you need to have "rooms.xml" in your mod file, and the text file needs to start with <roomdb>, at least that's how I did it.
     
  3. fsac

    fsac Member

    Hmm, perhaps I am attempting to test it incorrectly then?

    To confirm, I place rooms.xml in MyDocs/Gasslamp Games/Dungeons of Dredmor/mods/MODNAME/mod/ ... correct?
    And to test the room, in Steam I have tried adding both 'Dredmor.exe -test-room "ROOMNAME"' and '-test-room "ROOMNAME"' to the launch options.
    Should it work, what exactly should I expect to happen? Jump right into the map on load? Make a new game to test it? Other?
     
  4. Jellp

    Jellp Member

    I use different flags;
    -debug-flag testroom "room here with the "" " -x 5 -y 5
    You will need to set up a new game to get to the map.
     
  5. fsac

    fsac Member

    No luck. New games continue to spawn me at the starting location room. :(
    Using that launch option it was at least pulling up a cmd console to run the game.

    I assume it is supposed to bring you up in the room requested, right?
    Even using the 'L' debug to view the entire map, I didn't see it anywhere obvious.
     
  6. Megaron

    Megaron Member

    you also need -debug-flag as far as I know.
     
  7. FaxCelestis

    FaxCelestis Will Mod for Digglebucks

    You need -debug-flag, yes, and you also need to use -testroom not -test-room.

    -debug-flag -testroom "Room You're Testing" -x 5 -y 5
     
    Arron Syaoran likes this.