I just want to post to say that some progress has been made:
+ done
- partially done
/ mostly done
. not started
=Begun working on Crystal & Ore systems /
==Purchase things for the base /
==Bring crystal & ore to a retrieval zone .
==Get to keep 1/2 ore/crystal you retrieve for your own purchases +
==Purchase your own stuff +
=Leader systems /
==Vote on leader +
===Need half of the players to vote for you to become leader +
==Host starts as leader .
==Super Admins can assign leader .
=Level Generation .
==Concept /
==Load Levels from text files .
===System for adding objects to be recognized .
===Different Z levels .
==Pre-Scheduled events .
Details:
Purchasable items can be added very simply:
//designate a new self-purchasable item
$RR_self_Purchase["SHOVEL",0]=5;//ore required
$RR_self_Purchase["SHOVEL",1]=0;//crystal required
$RR_self_Purchase["SHOVEL",2]="";//requirements(i.e buildings)
$RR_self_Purchase["SHOVEL",3]="SHOVEL";//function to be called when purchased
Only the leader can purchase base-related items such as buildings and upgrades, leader is chosen via a vote or assigned by super admins. The host will start out as leader. Buildings will place a pad down where it will be constructed, and then resources must be brought to it. Once it has enough resources it will be constructed.
Levels will be generated from text files containing the layout of the level. All objects will be placed on a grid and stored in an array. Different Z levels will be separated in the text file with a line that says "Z LEVEL #"(# being which Z level in the grid) and everything past that until the next "Z LEVEL #" will be placed on said height level. New objects could also be added to the system, so say if you add a new type of wall or something, you could add it to your levels and just distribute a object definitions text file with your level.