Sarge
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > User-defined safe ACS spawn numbers
 
Author
All times are GMT. The time now is 05:29. Post New Thread    Post A Reply
printz
CRAZY DUMB ZEALOT


Posts: 8781
Registered: 06-06


I'd like to know what ACS spawn numbers are safe to be defined by users in custom thing types, so they don't clash with future Strife/Hexen implementations.

__________________
Automatic Wolfenstein - Version 1.0 - also on Android

Old Post 03-09-12 12:01 #
printz is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 5968
Registered: 08-00


Probably any that are not assigned in ZDoom; the numbers have been thus far chosen to be compatible. Please note that the "modes" field of the ACS spawndata block controls what gamemodes an ACS spawn number is considered to apply to, however. So Strife thingtypes cannot conflict with things that are only used in a DOOM gamemode for example.

Also, the newest thing to declare it uses a certain spawn number always wins, so you can override the defaults. I don't necessarily recommend it, but there are ways this could be very useful too.

code:
stdinclude("root.edf"); thingtype Foobar { // Doesn't matter who used 10 before; now this thing is #10. acs_spawndata { num 10; modes doom } }

Old Post 03-09-12 15:49 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 8781
Registered: 06-06


Yeah, well neither ACC nor ExtraData are limited by the 255 range, so if acs_spawndata {num}'s internal variable and logic isn't limited either, it will mean that I'll simply have to supply numbers large enough that are less likely to be reserved for the future.

__________________
Automatic Wolfenstein - Version 1.0 - also on Android

Old Post 03-10-12 07:01 #
printz is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 5968
Registered: 08-00



printz said:
Yeah, well neither ACC nor ExtraData are limited by the 255 range, so if acs_spawndata {num}'s internal variable and logic isn't limited either, it will mean that I'll simply have to supply numbers large enough that are less likely to be reserved for the future.

EDF will currently reject numbers outside the range of 0 to 255. This will change during udmf-branch development (as well as increasing the range of allowed DoomEd numbers to INT_MAX).

Old Post 03-15-12 21:16 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 05:29. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > User-defined safe ACS spawn numbers

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.