Version: 0.10 Alpha
Updated on: 2009-06-09 08:54:53
by Omega_K2 File Name: empires_api.zip
File Size: 13470 bytes
(View Zip Contents)
Version Notes: [b]0.10 Alpha Changelog:[/b]
[list][*]Added a check whether empires mod is running upon api load
[*]Added support for using the classes like dicts
[*]Added SetHealth and GetHealth functions to player class
[*]Added GetOrigin/SetOrigin/GetOriginString/GetOriginString aliases; supported in tank and building class
[*]Added several ([b]around 50![/b]) new functions to the player class
[*]Added Helper class provding some help features
[*]Added a empapi/update script allowing to update the script without having to restart server
[*]Improved script struture; added several comments (tank class)
[*]Improved handling sides in tank armor functions; they automatically lower the input to avoid captilisaiton issues
[*]Improved handling of inputs that are required to be a boolean (Supports strings, too)
[*]Changed researchdata in the gameclass to be automatically parsed upon the first class init (Should have eleminated the need of updating the list manually upon new mod version; might cause issues if you directly used researchdata before)
[*]Changed tank armor functions to retrieve the side data from class properties instead
[*]Changed classes to retrieve manager entity indexes upon class init only once
[*]Changed classes to store manager entity indexes in a manager dict
[*]Changed player class to set userindex console var upon class init only once
[*]Changed GetOrigin/SetOrigin in the building class to be inherited from the shared object instead
[*]Fixed the error raised in game.__VerifyRearchItem; it won't output a list of valid research items anymore (caused a BufferOverflow)
[*]Fixed SetSabotageState missing the function parameter "state"
[*]Fixed script's header information to be shown properly when calling python's help() function
[/list] Download this version
Version: 0.05 Aplha
Updated on: 2009-05-21 00:54:54
by Omega_K2 File Name: empires_api.zip
File Size: 6721 bytes
(View Zip Contents)
Version Notes: This is an APLHA RELEASE which means it is not feature complete, likly to change and probably partially broken. Mainly this is untested. Download this version