| [Freeciv-Dev] Scripting[Top] [All Lists][Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
 
 
Hello all,
I'd like to ask if freeciv developers considered use of any sripting 
language so that some functionality would be customisable by 
server/cilen users. This way it would be possible e.g.: 
1) assign script to unit
   - inteligent workers/engineers
      => build roads between cities
      => transform landscape
   - inteligent defenders
=> attack approaching units if there is "better chance" to kill 
them instead of wait and defend
      => drive away units by extending ZOC
   - inteligent attackers
      => seek and destroy
      => attack target
   - custom path finding
2) assign script to city (more inteligent CMA)
- assign script to new build units (eg. attack target so the 
production automatically goes to war)
   - copy different city (buid same improvements, try to have same 
units present)
This way you could:
   a) give users tool to code (and possibly spread) their know-how/habbits
      - it would require knowledge of the scripting language
- might spoil net games (but generally you can't avoid it anyway 
if the source is free)
   b) separate AI development from server development
- server-side scripts could access extra information not 
available to clients (as todays AI) 
      - complete AI client
AlesD
 
| [Prev in Thread] | Current Thread | [Next in Thread] |  
[Freeciv-Dev] Scripting,
Aleš Doleček <=
 
 |