Don't confuse with EUDTrig
Original idea
eudtrglib is a library for generating self-modifying trigger.
Features:
- Trigger execution order can be freely manipulated. So, loop & conditional branch is also supported.
- Triggers can be dynamically modified.
- Support functions : you can really reuse your triggers multiple time in SC level.
- Support variables that you can assign, add, subtract to any address.
- Built-in functions. Including
- Multiplication & Division (f_mul, f_div)
- Memory read/write (f_dwread, f_dwwrite)
- Address to EPD Player. (f_epd)
- Extract word/byte inside dword ( f_dwbreak )
- Memory copy / String copy (f_repmovsd, f_memcpy, f_strcpy)
- Built-in Basic control structures (EUDJump, EUDJumpIf, EUDJumpIfNot)
How to install:
1. Install Python 3.x and pip
2. Run following in command line : "pip install eudtrg"
Or you may use PyPI
How to run examples:
1. Download attachment & unzip all of them into somewhere
2. There should be lots of .py files. Run all of them.
3. Example maps should be created at outputmap/. Run those with EUDA enabled
Credits
- Heinermann, EUD dev
- Unit property syntax is borrowed from MacroTrigger.
- Forward() synatx is borrowed from pyparsing.
- Various file formats from modcrafters
- CHK fromat from rpgkdh & SEN.
- SFmpq, Starforge (Trigger condition/actions)
Currently documenting the library.
Attachments:
Post has been edited 7 time(s), last time on Oct 17 2014, 6:12 am by trgk.
EUD