Difference between revisions of "User:AVS/Scripting"

From VCMI Project Wiki
Jump to: navigation, search
(Replaced content with "== Roadmap == == TODOs == == Persistence ==")
Line 1: Line 1:
 
== Roadmap ==
 
== Roadmap ==
# {{done}} make "hellow world" works
+
 
# add new test objects
 
# implement WoG henchman script ''(just as an example)''
 
# WoG 3.59 creature abilities (from new towns)
 
# (*) WoG objects ''(if will not be already written in ERM)''
 
# (*) WoG artifacts ''(if will not be already written in ERM)''
 
  
 
== TODOs ==
 
== TODOs ==
  
* all battle packets shall check curB
 
 
== Implementation details ==
 
* Lua 5.2.1 static + SLB
 
 
 
== Directory structure ==
 
 
* {{done}} "ALL/Scripts" - autoloading scripts. Independent of each other.
 
* {{todo}} "ALL/ScriptLib" - script library, load on demand.
 
* recomended to put scripts in mod subfolder
 
  
 
== Persistence ==
 
== Persistence ==
 
* {{todo}} JsonNode`s in Advmap objects.
 
* (*) global state of scripts and scripts itself. + reloading scripts (Era like)
 
 
== Engine interaction ==
 
 
* read only through callbacks
 
* '''ALL''' changes through NetPacks
 
 
== Problems ==
 
* How to override server logic when script acts at client side?
 

Revision as of 15:52, 24 June 2018

Roadmap

TODOs

Persistence