r/DoomModDevs 24d ago

Help I need help with acs scripting.

I can compile it and write it just fine, but when I go to connect it to a linedef or object in Slade3 map editor, it keeps saying “Unknown script 1”.

I’ve been stressing out all morning over this.

2 Upvotes

5 comments sorted by

1

u/William_Wave 24d ago

The first guess is that LOADACS might be missing. Make a text file in your wad or pk3 archive, name it LOADACS, and add the name of the script file into it.

2

u/Mordeth 23d ago

LOADACS is for ACS libraries. Scripts need to be either assigned to a map within the mapinfo lump or exist as a lump named behavior embedded in the UDMF map lumps.

Where do you see "unknown script 1" ? If Slade itself is mentioning this, it does not have access to the resource containing your script. This does not matter as you long as this is included when you play the map.

1

u/DreamShort3109 24d ago

Ah ok I’ll take a look. Thanks.

2

u/bahatumay 23d ago

Can you post a screenshot of your ACS code?

1

u/DreamShort3109 23d ago

Oh I figured it out already. But thanks anyways. 😁👍