Getting started with ZScript
DoomOnly Forums :: DOOM Modding :: Coding :: ZScript
Page 1 of 1
Getting started with ZScript
This is a place for all the tips, tricks and tools for ZScript and it will be updated over time.
The key differences between Zscript and Decorate:
Actor flags have to be separated by {} and the keyword Default
Class Name: Actor
{
Default
{
+Flag;
+Flag2;
}
States
{
....
}
}
Links:
ZScript reference: https://zdoom.org/wiki/ZScript
More advanced features: https://gist.github.com/marrub--/8303813d9417f23da17eee5b802a252a
The key differences between Zscript and Decorate:
- Files are defined in ZSCRIPT.TXT
- Every line (except if and the end of {} brackets ) has to end with semicolon ;
- Actor definition starts with Class instead of Actor, using actor as a parent
- Class EmptyActor: actor
- Class NewImp: DoomImp
Class Name: Actor
{
Default
{
+Flag;
+Flag2;
}
States
{
....
}
}
Links:
ZScript reference: https://zdoom.org/wiki/ZScript
More advanced features: https://gist.github.com/marrub--/8303813d9417f23da17eee5b802a252a
MrBadGuy- Admin
- Posts : 19
Join date : 2019-01-27
DoomOnly Forums :: DOOM Modding :: Coding :: ZScript
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum