But, you don't have to be a scripting guru to be able to attend. No, really. Because...
The point is, to describe something in real world in the MoHAA scripting language.
The rules are quite simple:
- All entries must be sent to me via a PM.
- The deadline for submitting your work is September 17th 0:00 GMT. Any scripts sent after that date will be discarded.
- Only 1 submission from each contestant is allowed, and entries cannot be corrected after submitting.
- The scripts should have correct syntax, however, it is allowed to make small deviations (e.g. invented object classes or methods) that make sense.
- Both the correctness and humour level will be subject to judgement, as well as the script's complexity.
- The authors of the best 3 scripts will be rewarded with custom forum ranks of their choice.
Code: Select all
$guitarist thread guitarist_thinker
guitarist_thinker:
// pull out our instrument...
self useweaponclass guitar
// ...and get a hang of it...
self weaponcommand dual targetname ("guitar" + self.entnum)
local.guitar = $("guitar" + self.entnum)
local.guitar targetname ""
// ...as well as of its parts
local.guitar.fretboard_head = spawn script_origin
local.guitar.fretboard_head attach local.guitar "fretboard"
local.fret = spawn script_origin
local.fretindex = 0
// make some scenic movement
self animloop headbang
// play the song to the rhythm
while (self canhear $drums) {
// press the next fret and pull the string
local.fret.origin = local.guitar.fretboard_head.origin + (angles_toforward local.guitar.angles) * (level.FRETLENGTH * self.memory.song.frets[local.fretindex]) * -1
self setaimtarget local.fret
self fire
local.fretindex++
waitframe
}
// rest a bit
self animloop unarmed_idle
endAnd yes, I made a topic shadow in General Discussion on purpose to get more attention.



