But seriously, we need to separate again.However, Mario71 (NOT Mario7121) should get bhant for being the one who tipped the domino that started all of this chaos between these 2 communities, who aren't even that related...
QuoteBut seriously, we need to separate again.However, Mario71 (NOT Mario7121) should get bhant for being the one who tipped the domino that started all of this chaos between these 2 communities, who aren't even that related...Yup, I won't show up again unless something like this happens again.I think I should also mention that most people in our community think that Mario71 is a noob too. However, I don't think one post which says one game is better than another is any excuse for filling our forums with over 2 pages of spam.
Alright, fine.Make a rocket weapon in under 50 lines of code.
datablock ProjectileData(rocketProjectile) { projectileShapeName = "./shapes/RocketProjectile.dts"; brickExplosionRadius = 15; brickExplosionForce = 30; brickExplosionMaxVolume = 500; brickExplosionMaxVolumeFloating = 500;};function serverCmdRocket(%client) { %p = new Projectile(){ dataBlock = rocketProjectile; initialPosition = %client.player.getEyePoint(); initialVelocity = VectorScale(%client.player.getEyeVector(), 25); client = %client; }; missionCleanup.add(%p);}
Quote from: MrDoomBringer on September 23, 2007, 06:57:06 PMAlright, fine.Make a rocket weapon in under 50 lines of code.Done, only took me 16 lines:Code: [Select]datablock ProjectileData(rocketProjectile) { projectileShapeName = "./shapes/RocketProjectile.dts"; brickExplosionRadius = 15; brickExplosionForce = 30; brickExplosionMaxVolume = 500; brickExplosionMaxVolumeFloating = 500;};function serverCmdRocket(%client) { %p = new Projectile(){ dataBlock = rocketProjectile; initialPosition = %client.player.getEyePoint(); initialVelocity = VectorScale(%client.player.getEyeVector(), 25); client = %client; }; missionCleanup.add(%p);}
Since when can things in Blockland do that?
function serverCmdFireOn(%client){ if(isObject(%client.player)) %client.player.emote(fireupImage);}function serverCmdfireup(%client){ if(isObject(%client.player)) %client.player.emote(fireupImage);}datablock ShapeBaseImageData(fireupImage){ shapeFile = "base/data/shapes/empty.dts"; emap = false; mountPoint = $HeadSlot; stateName[0] = "Ready"; stateTransitionOnTimeout[0] = "FireA"; stateTimeoutValue[0] = 0.01; stateName[1] = "FireA"; stateTransitionOnTimeout[1] = "Done"; stateWaitForTimeout[1] = True; stateTimeoutValue[1] = 0.350; stateEmitter[1] = rocketExplosionEmitter; stateEmitterTime[1] = 0.350; stateName[2] = "Done"; stateScript[2] = "onDone";};function fireupImage::onDone(%this,%obj,%slot){ %obj.unMountImage(%slot);}