[Crossfire-wiki] [Crossfire DokuWiki] page changed: cfpython:tod

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Thu Nov 22 16:58:08 CST 2007


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2007/11/22 16:58
User        : tchize
Edit Summary: 

@@ -1,7 +1,7 @@
  ====== Time based python scripts ======
  ===== Common conventions =====
- The folder /python/tod in crossfire maps contains several scripts ready to be linked to event_xxxx object in map editor. All those scripts use common naming and parameters conventions. 
+ The folder [[http://crossfire.svn.sourceforge.net/viewvc/crossfire/maps/trunk/python/tod|python/tod]] in crossfire maps contains several scripts ready to be linked to event_xxxx object in map editor. All those scripts use common naming and parameters conventions. 
  ==== JSON parameters ====
  All parameters are passed as arguments in //Message// of event, using JSON (JavaScript Object Notation). Basically, it takes the forms of "key" : "value" list enclosed in braces. Example:<code javascript>
  {
    "key1" : "value1",
@@ -59,9 +59,9 @@
  |Noon| Between 13:00 am and 1:00 pm |
  |Evening| Between 1:00 pm and 6:00 pm |
  |Dusk| Between 6:00 pm and 9:00 pm |
  
- For demonstration of the scripts, mapmakers are invited to take a look at the demo maps at /test/tod and test/tod2
+ For demonstration of the scripts, mapmakers are invited to take a look at the demo maps at [[http://crossfire.svn.sourceforge.net/viewvc/crossfire/maps/trunk/test/tod|test/tod]] and [[http://crossfire.svn.sourceforge.net/viewvc/crossfire/maps/trunk/test/tod2|test/tod2]]
  
  ===== Available scripts =====
  ==== Filtering ====
  **Script** /python/tod/filter.py


IP-Address  : 91.177.206.171
Old Revision: http://wiki.metalforge.net/doku.php/cfpython:tod?rev=1195770564
New Revision: http://wiki.metalforge.net/doku.php/cfpython:tod

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/




More information about the crossfire-wiki mailing list