Coder Social home page Coder Social logo

zdoom-docs / stable Goto Github PK

View Code? Open in Web Editor NEW
54.0 15.0 6.0 444 KB

ZScript documentation

Home Page: https://forum.zdoom.org/viewtopic.php?f=122&t=59770

License: Creative Commons Zero v1.0 Universal

Ruby 100.00%
zscript zscript-programming-language zdoom doom modding

stable's Introduction

ZScriptDoc

This is documentation for the ZScript language. CC0 public domain. See LICENSE for more information.

  • API - for information on the interfaces provided by GZDoom. This is itself a map of all of the API files.
  • Entry Points - for information on the ways you can tell the engine to add new things.
  • Glossary - for miscallaneous information and concepts you should learn. This is itself a map of all of the glossary files.
  • Language - for information on the language itself.

If you're wondering where to start, try starting with the language documentation and working your way from there. Also recommended is looking at existing mods using ZScript and modifying them. Try experimenting with features if you don't know what they do.

stable's People

Contributors

iniquitatis avatar marrub-- avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stable's Issues

help!

// 分类列表
// [VarDef, CLASS(0), 'HEADS']
// [VarDef, CLASS(1), 'SHAPES']
// [VarDef, CLASS(2), 'FORMS']
// [VarDef, CLASS(3), 'DETAILS']
// [VarDef, CLASS(4), 'EMOTIONS']
// [VarDef, CLASS(5), 'CUSTOM']

[VarDef, HEADS(0), 'male']
[VarDef, HEADS(1), 'female']
[VarDef, HEADS(2), 'fat']
[VarDef, HEADS(3), 'skinny']
[VarDef, HEADS(4), 'old']
[VarDef, HEADS(5), 'young']
[VarDef, HEADS(6), 'primate']
[VarDef, HEADS(7), 'alien']

[VarDef, SHAPES(0), 'shape-wide']
[VarDef, SHAPES(1), 'shape-type']
[VarDef, SHAPES(2), 'braw_size']
[VarDef, SHAPES(3), 'chin_size']
[VarDef, SHAPES(4), 'ears-size']
[VarDef, SHAPES(5), 'eyes-size']
[VarDef, SHAPES(6), 'mouth-size']
[VarDef, SHAPES(7), 'mouse-size']

[VarDef, FORMS(0), 'ears_wide']
[VarDef, FORMS(1), 'ears-type']
[VarDef, FORMS(2), 'eyes_wide']
[VarDef, FORMS(3), 'eyes_type']
[VarDef, FORMS(4), 'mouth_wide']
[VarDef, FORMS(5), 'mouth_type']
[VarDef, FORMS(6), 'nouse_wide']
[VarDef, FORMS(7), 'nouse_type']

[VarDef, DETAILS(0), 'skin-a']
[VarDef, DETAILS(1), 'skin-b']
[VarDef, DETAILS(2), 'skin-c']
[VarDef, DETAILS(3), 'skin-d']
[VarDef, DETAILS(4), 'skin-e']
[VarDef, DETAILS(5), 'skin-f']
[VarDef, DETAILS(6), 'makeup']
[VarDef, DETAILS(7), 'beard']

[VarDef, EMOTIONS(0), 'close_eyes']
[VarDef, EMOTIONS(1), 'open_mouth']
[VarDef, EMOTIONS(2), 'disgust']
[VarDef, EMOTIONS(3), 'disappoint']
[VarDef, EMOTIONS(4), 'sadness']
[VarDef, EMOTIONS(5), 'smile']
[VarDef, EMOTIONS(6), 'enjoy']
[VarDef, EMOTIONS(7), 'angry']

[VarDef, CUSTOM(0), 'sculpt']
[VarDef, CUSTOM(1), '色彩']

// 2**10*42 = 1024 * 42 = 43008

// 循环
[Loop,
[VarSize,
CLASS
],
[Loop,
[VarSize,
HEADS
],
[Loop,
[VarSize,
SHAPES
],
[Loop,
[VarSize,
FORMS
],
[Loop,
[VarSize,
DETAILS
],
[Loop,
[VarSize,
EMOTIONS
],
[Loop,
[VarSize,
CUSTOM
],
[Note, CLASS(CLASSloopCount)]
[Note, HEADS(HEADSloopCount)]
[Note, SHAPES(SHAPESloopCount)]
[Note, FORMS(FORMSloopCount)]
[Note, DETAILS(DETAILSloopCount)]
[Note, EMOTIONS(EMOTIONSloopCount)]
[Note, CUSTOM(CUSTOMloopCount)]
,
CUSTOMloopCount
],
EMOTIONSloopCount
],
DETAILSloopCount
],
FORMSloopCount
],
SHAPESloopCount
],
HEADSloopCount
],
CLASSloopCount
]

// 分类列表
// [VarDef, CLASS(0), 'HEADS']
// [VarDef, CLASS(1), 'SHAPES']
// [VarDef, CLASS(2), 'FORMS']
// [VarDef, CLASS(3), 'DETAILS']
// [VarDef, CLASS(4), 'EMOTIONS']
// [VarDef, CLASS(5), 'CUSTOM']

[VarDef, HEADS(0), 'male']
[VarDef, HEADS(1), 'female']
[VarDef, HEADS(2), 'fat']
[VarDef, HEADS(3), 'skinny']
[VarDef, HEADS(4), 'old']
[VarDef, HEADS(5), 'young']
[VarDef, HEADS(6), 'primate']
[VarDef, HEADS(7), 'alien']

[VarDef, SHAPES(0), 'shape-wide']
[VarDef, SHAPES(1), 'shape-type']
[VarDef, SHAPES(2), 'braw_size']
[VarDef, SHAPES(3), 'chin_size']
[VarDef, SHAPES(4), 'ears-size']
[VarDef, SHAPES(5), 'eyes-size']
[VarDef, SHAPES(6), 'mouth-size']
[VarDef, SHAPES(7), 'mouse-size']

[VarDef, FORMS(0), 'ears_wide']
[VarDef, FORMS(1), 'ears-type']
[VarDef, FORMS(2), 'eyes_wide']
[VarDef, FORMS(3), 'eyes_type']
[VarDef, FORMS(4), 'mouth_wide']
[VarDef, FORMS(5), 'mouth_type']
[VarDef, FORMS(6), 'nouse_wide']
[VarDef, FORMS(7), 'nouse_type']

[VarDef, DETAILS(0), 'skin-a']
[VarDef, DETAILS(1), 'skin-b']
[VarDef, DETAILS(2), 'skin-c']
[VarDef, DETAILS(3), 'skin-d']
[VarDef, DETAILS(4), 'skin-e']
[VarDef, DETAILS(5), 'skin-f']
[VarDef, DETAILS(6), 'makeup']
[VarDef, DETAILS(7), 'beard']

[VarDef, EMOTIONS(0), 'close_eyes']
[VarDef, EMOTIONS(1), 'open_mouth']
[VarDef, EMOTIONS(2), 'disgust']
[VarDef, EMOTIONS(3), 'disappoint']
[VarDef, EMOTIONS(4), 'sadness']
[VarDef, EMOTIONS(5), 'smile']
[VarDef, EMOTIONS(6), 'enjoy']
[VarDef, EMOTIONS(7), 'angry']

[VarDef, CUSTOM(0), 'sculpt']
[VarDef, CUSTOM(1), '色彩']

// 2**10*42 = 1024 * 42 = 43008

// 循环
[Loop,
[VarSize,
CLASS
],
[Loop,
[VarSize,
HEADS
],
[Loop,
[VarSize,
SHAPES
],
[Loop,
[VarSize,
FORMS
],
[Loop,
[VarSize,
DETAILS
],
[Loop,
[VarSize,
EMOTIONS
],
[Loop,
[VarSize,
CUSTOM
],
[Note, CLASS(CLASSloopCount)]
[Note, HEADS(HEADSloopCount)]
[Note, SHAPES(SHAPESloopCount)]
[Note, FORMS(FORMSloopCount)]
[Note, DETAILS(DETAILSloopCount)]
[Note, EMOTIONS(EMOTIONSloopCount)]
[Note, CUSTOM(CUSTOMloopCount)]
,
CUSTOMloopCount
],
EMOTIONSloopCount
],
DETAILSloopCount
],
FORMSloopCount
],
SHAPESloopCount
],
HEADSloopCount
],
CLASSloopCount
]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.