[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.6251537 [View]
File: 925 KB, 490x367, zscripting.gif [View same] [iqdb] [saucenao] [google]
6251537

>>6251482
>Does any decent zscript reference/documentation exist at all?
Yes, there's plenty now. What you need to realize is that you can essentially write normal Decorate in zscript, as long as you add a pair of "{ }" and ";" in the right places, as specified in the "converting decorate to zscript" page on the wiki. After that, you can begin introducing zscript-exclusive features to your decorate-plus-semicolons.

Next stop after you're at that level is to read about the available variable types and the concepts of pointers and casting. Once you've done that, you virtually don't need any more documentation except for the most arcane features like rewriting the entire menu system from scratch or the level pre-processing shit. Everything you'd need in a normal mod is easily available in gzdoom.pk3.

>It seems too new to be feasible yet since literally only the NO Chicken and his closest friends know how ro use it.
That's not the case any more. Also, if there's some particular thing you want to know you can just ask here, on the forums, or on the discord.

>> No.6019549 [View]
File: 925 KB, 490x367, ZScripting.gif [View same] [iqdb] [saucenao] [google]
6019549

>>6019514
Working example, since I don't know if the suggestion I thought of would have worked:

int LumpNum = -1;
while ((LumpNum = Wads.FindLump ("UGBLKLST", LumpNum + 1, Wads.GlobalNamespace)) >= 0)

Navigation
View posts[+24][+48][+96]