About a demo mission, read the header of mando3dwrite.sqs script, you will find there a very simple example step by step.
Not exactly related to this topic, but for the "false bullets" all you need to do is to create small black particles 50 meters away of the player's heading and give each particle a velocity vector towards the player, but adding a bit of dispersion.