This assignment is to change the spawn function to have more discreet increments. Currently here are examples of how spawns work:
mob1 = DBSpawnInfo(spawn="Radothe",startTime=20, endTime=6)
mob2 = DBSpawnInfo(spawn="Wild Wolf",frequency=RPG_FREQ_ALWAYS)
The new function should allow
mob3 = RPGSpawnInfo(spawn="Wild Wolf",startTime=20.13.56,endTime=6.24.24)
Allowing detail to the second to be used.
Python:
Install Win32Api Extensions and PythonWin packages.
To exit the interpeter, use Ctrl+Z on Windows, On Unix or IDLE Ctrl D.
To run a Python program in Unix as an executable, use chmod to make your script executable. (chmod +x script.py). Add a line to the top of the program for the location of your python executable. (ex. #!/usr/bin/env python)
Links used on this project:
http://www.mmoworkshop.com/trac/mom/wiki/PopulatorGroups
http://www.mmoworkshop.com/trac/mom/phpbb?page=viewtopic.php&t=262&highlight=spawn+group
http://wiki.uberworlds.com/index.php/Spawn_times
http://www.python.org
http://www.vex.net/parnassus
Interesting Links:
http://www.3dtotal.com/ffa/tutorials/max/joanofarc/joanmenu.asp
^ Full model tutorial.
No comments:
Post a Comment