Would be so much easier if DropCameraAtPlayer was open source
Er, not really. Practically all it does is:Make sure you're admin.Respawn you if you're dead.Put your camera into orbit mode, move it to your player's eyeTransform and make you control it.Mount an image with an emitter to the camera.
Harder than I thought. Would be so much easier if DropCameraAtPlayer was open source
function serverCmdDropCameraAtPlayer(%client){ //if ($Server::TestCheats) if(%client.isAdmin || %client.isSuperAdmin) { %client.camera.setTransform(%client.player.getEyeTransform()); %client.camera.setVelocity("0 0 0"); %client.setControlObject(%client.camera); }}
Mount an image with an emitter to the camera.
This is the source from the default gameCode: [Select]function serverCmdDropCameraAtPlayer(%client){ //if ($Server::TestCheats) if(%client.isAdmin || %client.isSuperAdmin) { %client.camera.setTransform(%client.player.getEyeTransform()); %client.camera.setVelocity("0 0 0"); %client.setControlObject(%client.camera); }}The only addition to Blockland's would be
How about add the tab keyboard to change the view 1/3 person?
could you offset the emitter for the illusion of 3rd person? Just a guess, don't know a great amount about scripting