Doom Builder 2 How many items //$Category can have?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
chikokevo
Posts: 83
Joined: Tue May 31, 2016 9:42 am

Doom Builder 2 How many items //$Category can have?

Post by chikokevo »

Hello! So I have made this simple code, its basically prop:

Code: Select all

    ACTOR BloodyBits03 9995
{
//$Category Blood, Gore & Torture
//$Title Mutilated Leg
  Radius 10
  Height 21
  Scale 0.6
  //DeadCorpse +Solid
  States
  {
  Spawn:
BB03 A -1
LOOP
  }
 } 
How come it shows up in Sector Action.. I have several other items like that, all code bases are the same.. These several should be in //$Category in decorate for Doom Builder, Did I just hit the limit?

[imgur]
https://i.imgur.com/m1bWPX0.png
[/imgur]
User avatar
phantombeta
Posts: 2175
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: Doom Builder 2 How many items //$Category can have?

Post by phantombeta »

There's no limit, it's showing up in Sector Actions because DoomEdNum 9995 is already used by GZDoom for the Player uses sector sector action. I'd recommend starting your DoomEdNums from something like 30000.
I'd also recommend defining the DoomEdNums in MAPINFO instead, as that lets you see which are used and which aren't far more easily. You'll need to update to Ultimate Doom Builder to be able to use that feature, though, or your actors won't show up in the editor.
Post Reply

Return to “Scripting”