Author Topic: [MAPPING] Unspecified Thing Numbers  (Read 5444 times)

Yokai

  • Member
  • Posts: 20
  • Karma: +1/-0
    • View Profile
[MAPPING] Unspecified Thing Numbers
« on: February 02, 2014, 10:49:22 AM »
Hi.

While editing the original A&A maps, I found several things that have undefined numbers in the current Doom Builder Config File (2-Feb-2014).

I have tested the maps (actually only Q1M1) with and without those objects, and I found what are they used for.
Most of them are markers like in Duke3D, that will transform the sector into something different, or ambience sounds, etc, but others seem to have some unknown effect that after testing the map with and without them, nothing seems to change.
I marked those markers with a "Unknown action" label.

I'm quite lazy to add them to the Doom Builder config file now, so if anyone is not that lazy can add them hehehe
I will use Doom nomenclature, for example "DR Open Wait Close" means "Door Repeatable Opens, Waits a bit and automatically closes".

Actually only tested from Q1M1, so there may be others differents in another maps.

List Updated: 4 - Feb - 2014.

IMPORTANT NOTE: Markers that doesn't appear in this list, may not exists. If this is the case, the game will crash when the map loads.

Updated markers will be marked with a "=>" instead of a "?"

? 150 - Unknown action?
? 924 - Transfers Sector Light from the brightest nearest sector.
? 1500 - DR, Open Wait Close. Wait = 2 seconds. Sound = Wooden door (look note at the end)
? 1505 - Walkable water. Preserves the floor texture. Player gets slightly sinked (not swimmable). Splashing water sound.
? 1509 - SFX Burning, campfire ambience
? 1511 - SFX Night Forest ambience 1
? 1512 - SFX Wind blowing ambience
? 1513 - SFX River ambience
? 1514 - SFX Small/short waterfall ambience.
=> 1518 - End Level. Look note at the end.
? 1523 - Scroll Floor Texture. Move things. Slower. Uses thing angle to change scrolling direction.
? 1524 - Scroll Floor Texture. Move things. Slow. Uses thing angle to change scrolling direction.
? 1525 - Scroll Floor Texture. Move things. Fast. Uses thing angle to change scrolling direction.
? 1526 - Light Glows from actual light level to 255 light. 1 sec frequency.
? 1531 - SFX Magic humming ambience
? 1533 - SFX Night Forest ambience 2
? 1537 - Scroll nearest wall texture up. Slow.
? 1541 - Scroll nearest wall texture down. Slow.
? 1542 - Scrolls nearest wall texture down. Fast.


* For 1500: this marker lowers the marked sector's ceiling to the floor and allows it to be opened by pressing "use button, open door" key. You don't need to "close" the door in the map editor because the game will do this automatically.

* For 1518: the thing tag/value/attribute tells the engige what level goes next.
« Last Edit: February 04, 2014, 04:33:45 AM by Yokai »

LysleShields

  • Administrator
  • Full Member
  • Posts: 208
  • Karma: +6/-1
  • Is the potion half full or half empty?
    • View Profile
    • Amulets & Armor
Re: [MAPPING] Unspecified Thing Numbers
« Reply #1 on: February 03, 2014, 11:43:19 PM »
For 1500, it should be noted that you set the height of the door for the open position by leaving that sector open to that size.  Then it will be started in the close position, opens to the map save position, and back.

For 1518, I think the attribute/value on it tells what the next level is and 0 is not a level.  Thus, you could make levels that link to more than one level (and back).

Yokai

  • Member
  • Posts: 20
  • Karma: +1/-0
    • View Profile
Re: [MAPPING] Unspecified Thing Numbers
« Reply #2 on: February 04, 2014, 04:32:14 AM »
For 1500, it should be noted that you set the height of the door for the open position by leaving that sector open to that size.  Then it will be started in the close position, opens to the map save position, and back.

Are you sure about this? Because I tested with the door completely open and mid-open in the editor and in both cases in-game opens completely.

For 1518, I think the attribute/value on it tells what the next level is and 0 is not a level.  Thus, you could make levels that link to more than one level (and back).

Ah that. Thanks for the info.

peewee_RotA

  • Sr. Member
  • Posts: 272
  • Karma: +8/-0
    • View Profile
Re: [MAPPING] Unspecified Thing Numbers
« Reply #3 on: February 18, 2014, 11:38:08 AM »
For 1518, I think the attribute/value on it tells what the next level is and 0 is not a level.  Thus, you could make levels that link to more than one level (and back).

So how does one edit the attribute/value for this thing?

I checked in code and it's loading the nextlevel from the THING data, but both XWE and SLADE aren't displaying THING listings properly. I found what appears to be the correct value in XWE, but editing it caused the entire .MAP file to corrupt after saving the change.

Is there a way to edit it in Doombuilder? The normal args tab is not showing in the A&A configuration.

peewee_RotA

  • Sr. Member
  • Posts: 272
  • Karma: +8/-0
    • View Profile
Re: [MAPPING] Unspecified Thing Numbers
« Reply #4 on: February 18, 2014, 11:54:24 AM »
UPDATE


The thing flags are the attribute/values. So all I had to do was go into the AnA_misc.cfg for doombuilder and add more options for the thingflags definition. Then I created the binary equivalent of my level number using the flags. I'll have to look this up to see if there is a way to add a textbox instead... but having a work around is nice though.

Program Files\Doom Builder 2\Configurations\Includes\AnA_misc.cfg
Code: [Select]
//flags also used as arguments. Must have ability to represent binary values for level load
thingflags
{
1 = "(1) Easy";
2 = "(2) Medium";
4 = "(4) Hard";
8 = "(8) Deaf";
16 = "(16) Multiplayer";
32 = "(32) ???";
64 = "(64) ???";
128 = "(128) ???";
256 = "(256) ???";
512 = "(512) ???";
}

NOTE:

Level numbers can technically be 16bits, however level files can only be 3 decimal digits. So you shouldn't need to go higher than the 10th bit (max 1023) for flags.
« Last Edit: February 18, 2014, 11:58:03 AM by peewee_RotA »

James Rossi

  • Newbie
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: [MAPPING] Unspecified Thing Numbers
« Reply #5 on: February 18, 2014, 01:14:23 PM »
Hello! I set up the editor as it is, so right now you have some older files. These were supposed to get out sooner but life got in the way. I added your misc fix with the extra flags. This should also update most, if not all, those missing "things".

https://dl.dropboxusercontent.com/u/28584854/AnA%20Editor%20Update.zip

peewee_RotA

  • Sr. Member
  • Posts: 272
  • Karma: +8/-0
    • View Profile
Re: [MAPPING] Unspecified Thing Numbers
« Reply #6 on: February 18, 2014, 07:30:20 PM »
Awesome! Thanks! Everything looks much better. I especially appreciate the effort you've put into including more editor images for things.


I realized shortly after grabbing this that there are more things that use the flags/attribute/value checkboxes. It definitely determines how many bolts are in quivers or single bolt pickups. I was wracking my brain trying to figure out whay every individual bolt gave me 7 until I realized that's the default flag for all things (1+3+4)

LysleShields

  • Administrator
  • Full Member
  • Posts: 208
  • Karma: +6/-1
  • Is the potion half full or half empty?
    • View Profile
    • Amulets & Armor
Re: [MAPPING] Unspecified Thing Numbers
« Reply #7 on: February 19, 2014, 12:41:09 AM »
Fixed!  I got Doom Builder to correctly align textures.  I've taken all the updates from James and the above and created http://www.amuletsandarmor.com/download/AAClassicDoomBuilder_v0.02_BETA.zip .  We still cannot enter numbers yet for the triggers, but I'll look at that next.

peewee_RotA

  • Sr. Member
  • Posts: 272
  • Karma: +8/-0
    • View Profile
Re: [MAPPING] Unspecified Thing Numbers
« Reply #8 on: March 04, 2014, 07:21:48 AM »
A few days ago I added these things to the wiki with some descriptions on how to use them.

http://wiki.amuletsandarmor.com/index.php?title=Sector_Alter_Things


Yesterday I added the Vertical Scrolling object (1541) which doesn't seem to be in the Game Tools menu. Probably needs added as an asset.


While I'm on the subject, how does one end a quest on the last map? I checked level 60 and it didn't seem to help. Just has a level link with some weird, huge number attached.

EDIT!!!

I figured out what the value is for end of quest level links. It's 20004. I'll update the wiki.
« Last Edit: March 04, 2014, 12:22:44 PM by peewee_RotA »