retreev / PangLib

Series of tools to interact with Pangya PC MMO game files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add PETScript parser

pixeldesu opened this issue · comments

PET.Models.Frame contains a Script which is a set of commands executed at the corresponding frame.

Example of PETScript included in a Frame:

*showbone("E_WI_11")*hidebone("E_WI_11_SUB") *hideclub *hidebone("E_Cannon" "E_Telescope" "E_Ship" "E_killerwhale") *ptex("__facetexture__" "e_def_reset.png") *showbone("E_WI_11")*hidebone("E_WI_11_SUB")

Write up a PETScriptParser that returns an AST, which can then be used by other tools to execute the given commands with their arguments.

This has been added in 2830ed8