SCRMaps
/
Sign in

The eds file: plugins and load order

The file that tells euddraft what to put in and in what order - and the order changes behaviour.

8 min read

euddraft takes one configuration file and builds the map. There are two extensions, and the difference is whether it compiles once.

Extensions
.edsCompiles once and stops.
.eddDaemon mode: it watches the folder and recompiles whenever a file changes.
[main]
input : 입력 맵 파일 이름
output : 출력 맵 파일 이름

[플러그인 이름 1]
:: 두 개의 콜론은 주석입니다
키 1 : 값 1
키 2 : 값 2

[플러그인 이름 2]
:: 인자가 없으면 아무것도 쓰지 않습니다
It is an ini file. A line starting :: is a comment.

euddraft ships with several plugins. The one nearly every map uses is eudTurbo, which cuts the trigger polling interval down so EUD runs often enough to matter.

The built-in plugins
eudTurboReduces the trigger polling interval. Effectively required.
dataDumperLoads a file to a memory address you name.
unlimiterRemoves the bullet limit. No parameters.
MSQCMany parameters - the mouse and screen side of things.
freezeMap protection, switched with true or false.

The order you list the plugins in IS the load order - that is documented, not inferred. So when two plugins write the same display line, the one listed later wins. This is where the hard-to-find symptom comes from: a feature looks gone and the code for it is perfectly fine.

When the game starts, onPluginStart() runs once; after that beforeTriggerExec(), then the triggers, then afterTriggerExec() repeat every cycle. Where to put your code is a question of which of those three it belongs in.

If you use EUD Editor 3 you do not write this file - the editor writes it, and the order it writes is fixed in the editor's own source. It keeps a block list and re-inserts any block that is missing, with [main] always first.

[main]                    input: / output:
[DataEditor.py]           dat .py 파일이 있을 때만 / only if the dat .py exists
[ExtraDataEditor.py]      같은 조건 / same condition
[dataDumper]              커스텀 tbl이 있으면 "<tbl> : 0x6D5A30, copy" 한 줄이 붙음
[<트리거 에디터 메인 파일>]  eds 기준 상대경로로 쓰임 / written relative to the eds
[MSQC]                    마우스 줄과 SCArchive 줄
[chatEvent]
<사용자 플러그인 블록>      적어 둔 그대로, 적어 둔 자리에 / verbatim, where you put them
The blocks the editor writes by default, in order.

freeze is not one of the editor's own blocks. It exists only as a user block, so regenerating the eds silently drops it. If your map ships with protection on, check after every regeneration that the freeze block is still there - look at the file that came out, not at what the generator meant to do.

Do not try to turn a feature off by deleting its block: a missing block is re-inserted, so it comes back on the next write. Turn it off in the project instead. And the eds is written in the system code page rather than UTF-8 - the UTF-8 argument is commented out in the editor's source - so keep every path inside an eds ASCII.

Plugin order decides the screen