Добро пожаловать в ACSUtils Wiki! (English version)

ACSUtils is an ACS library that adds:

A lot of functions missing from ZDoom

A replacement for HudMessage with scaling and 3D messages

A lot of math functions, including those not yet in Zandronum

Advanced string functions coming from other programming languages

Easier to use input functions

Unit conversion functions

Character classification and case conversion functions

Number parsing functions

Functions to pack multiple values into one variable and retrieve them

A simple error handling mechanism

A safe replacement for UniqueTid

ACSUtils is fully compatible with latest Zandronum and (G)ZDoom. Several ZDoom-only functions are even implemented for Zandronum.

Getting started

Download the latest release, unpack the files to your acs sources folder and use this project template:

#library "myproject"
// Your project's scripts:
#define myproject_errorhandler 701
// ACSUtils settings:
#define TIDALLOCSTART 15000
#define ACSUTILS_ERROR_HANDLER myproject_errorhandler
// Includes:
#include "zcommon.acs"
#include "acsutils.acs"
// Your project's error handler:
script myproject_errorhandler (int type, int message)
{
Log(s:"error: ", s:message);
printbold(s:"error: ", s:message);
}
// Your project's code follows.

If you are making a mod for Zandronum, don't forget that you can name your scripts too.

Авторы

Вы можете делать с кодом что угодно, но вы обязательно должны упомянуть авторов этой библиотеки:

Korshun

DjSkaarj

Monsterovich

GitHub

https://github.com/Korshun/acsutils – помощь приветствуется.