Challenge details :
Definition :
Several times throughout the rules I refer to a code snip, by this I mean a single "execute code" D&D item from the CONTROL tab
Rules :
MP_GRID and all related grid functions cannot be used.
MP_POTENTIAL_STEP can be used though
AI's can in no way modifiy or effect other AI's
Bullets cannot be passed information AT ANY TIME (other than direction at creation)
Specifications :
AI must use a 32x32 pixel circle mask (centred) (this will be replaced by myself at comp time to ensure consistancy)
AI's sprite can be no larger than 40x40
bullets must use a 3x3 pixel SQUARE mask (centred) (this will be replaced by myself at comp time to ensure consistancy)
bullet sprites can be no larger than 5x5 (drawing functions can be used to add effects if you wish, but not to increase the central size of the bullets look)
Walls are 32x32 solid blocks. your AI should refer to walls as wall_obj only. Wall origin will be 0,0
AI's must be parented to an object ai_parent
Bullets must be parents to an object bullet_parent
You can have ONLY 1 AI object and ONLY 1 Bullet Object
You can have as many scripts, and sprites as you desire, in regards to sprites, you may change the sprite of your AI object whenever you like providing that the sprite and mask settings are returned to there previous settings before the end of the code snip. (as I will be setting masks of all AI to a sprite of my creation, you will need to store the current mask id into a variable if you change masks, to ensure that you set your mask back to the correct sprite)
This is to allow each AI to accurately find bullets and AI on the map
The Maps in which the AI will battle it out are to remain a secret. they will all be completely contained (wall objects surrounding the outside) and no wall object will ever overlap another (ie, the map will be a 32x32 grid). Have fun coming up with a path finding system THERE WILL NOT BE MAZES
When your AI creates a bullet, it cannot give the bullet any information (other than direction), also, the bullet can never read any information from the game world. Other than that, your bullet can do whatever it likes, with the following conditions :
Bullets must be destroyed after 150 steps
Minimum speed for a bullet at any one time is 3
Maximum speed for a bullet at any one time is 7
Bullets must be destroyed instantly if contacting a wall
If Bullets contact an enemy AI, deal 1 damage then destroy itself instantly
Bullets do not collide with other bullets
Bullets do not collide or interact in any way with there creator.
AI's can do things to other Ai's, such as deactivating them during a step etc, as long as : It is completely reverted before the end of the code snip. it does not change or effect the other AI in any way past that code snip. the enemy AI will be no different to what it was at the beginning of the step.
AI's can move at a maximum speed of 5 (speed is determined by measuring the distance between the position at the start of the step, to the position at the end of the step)
AI's must have a local variable my_health, and set it to 100 at creation. This cannot be modified by your own ai, only enemy bullets.
AI's can only create a bullet at a maximum of once every 15 steps, and must create at the centre of the AI.
Room_speed will be 60
I will give 1 month for you to create your own AI. No Collaboration is allowed, so dont test each others AI's out on each other, that defeats the point!
Once all entries are in, AI will fight it out in a 1-on-1 battle. with the winner moving onto the next round, fighting one-on-one with winners of the previous round
1 round will last no longer than 10 minutes. if both AI remain, the one with the most health wins. if both have the same health, an additional time of 5 minutes will be given. after that time, both AI's are still alive, and both still have the same health, it counts as a draw, and both will move to the next round.
In the final rounds, this will be slightly different. new maps will be created in an attempt to find a clear winner. if it happens that two ai's that do not move make it to the final round, I will make a room with a wall between the two that will be removed after a set time, to allow line of sight to each other
Your AI's Object should be names in this type of convention :
yourname_ai_obj
yourname_bullet_obj
example :
templargfx_ai_obj
templargfx_bullet_obj
I have created my own AI for this competition, and the final end-all winner of the competition will have there AI go up against mine for a final battle.
The following file is an EARLY version of my AI to give you an idea of what can be done
http://willhostforfood.com/access.php?fileid=17359This is a zipped EXE file.
1,2,3,4,5,6,7,8 changes to different rooms I created for testing.
R to remove/enable FPS cap
I for AI info
Entries should be submitted to me via PM, please send either a GM6 or GMK file containing your AI object, Bullet object and sprites only. I will apply parents, masks etc
Once the competition time has come to an end, I will merge all the entries together into a single file, which contains the maps to be used, and a controller to keep track of everything and choose opponents. Each "match" will be recorded using FRAPS, and once a winner is found, the videos, an executable of the competition and the winner details will be released
I have attempted to run this once before, but had a great lack of interest. hopefully I will get a few more entries this time! (only got 1 entry last time!)
Please post any queries or requests for clarification here
PRIZES :
Only a prize for the winner, and not much of a prize really:
I will create an avatar, banner, logo, icon, etc (max 400x400) of anything you like (just look at my game in my sig, and you'll see I can sprite)
This competition is not really meant to be about the prize, but about you knowing that you created an AI that crushed all others! (like mine does

)
ENTRY DEADLINE : 28/FEB/09
ENTRIES (OR INTEREST SHOWN) :
1 )Chhaaiinnssaaww! Get Some!
2 )Potado
Thanks for looking and (hopefully) entering!