Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - waterdoom13

Pages: [1]
1
Suggestions & Requests / Jumpman Playertype DL?
« on: June 19, 2017, 01:35:17 PM »
The download on the original post is down on Filipe's Jumpman Playertype: https://forum.blockland.us/index.php?topic=246046.0

Will anyone mind posting a working link for this?

2
Suggestions & Requests / 3 shot Limit Homing Rocket L.
« on: August 17, 2016, 06:39:38 PM »
I would like to have a homing rocket L. that deletes itself from the player's slot after 3 shots.

Can someone make this for me please?

3
Suggestions & Requests / Event_IfItemInSlot link request
« on: August 15, 2016, 05:17:00 PM »
Anyone has a working link to this addon?

https://forum.blockland.us/index.php?topic=49410.0

I need it for a project I'm doing.

4
Modification Help / Limited Use Arm Rocket L.
« on: August 14, 2016, 08:59:04 PM »
I'm trying to make the arm rocket have a one time usage, However I'm new when it comes to coding.

Here's the code

Quote
//Arm_Rocket.cs
//Amadé (ID 10716)

//audio
datablock AudioProfile(ArmRLexplodeSound)
{
   filename    = "Add-Ons/Weapon_Rocket_Launcher/TNTexplode.wav";
   description = AudioDefault3d;
   preload = true;
};
datablock AudioProfile(ArmRLloopSound)
{
   filename    = "Add-Ons/Weapon_Rocket_Launcher/RocketLoop.wav";
   description = AudioDefaultLooping3d;
   preload = true;
};

//muzzle flash effects
datablock ParticleData(ArmRocketFlashParticle)
{
   dragCoefficient      = 1;
   gravityCoefficient   = -0.7;
   inheritedVelFactor   = 0.85;
   constantAcceleration = 0;
   lifetimeMS         = 500;
   lifetimeVarianceMS = 300;
   textureName = "base/data/particles/cloud";
   spinSpeed     = 15;
   spinRandomMin = -500;
   spinRandomMax = 500;
   colors[0] = "1 0.75 0 1";
   colors[1] = "1 0 0 0";
   sizes[0] = 0.4;
   sizes[1] = 0;

   useInvAlpha = false;
};
datablock ParticleEmitterData(ArmRocketFlashEmitter)
{
   ejectionPeriodMS = 2;
   periodVarianceMS = 0;
   ejectionVelocity = 1.5;
   velocityVariance = 1;
   ejectionOffset   = 0;
   thetaMin = 1;
   thetaMax = 105;
   phiReferenceVel = 0;
   phiVariance     = 360;
   overrideAdvance = false;
   particles = ArmRocketFlashParticle;

   uiName = "Arm Rocket Sparks";
};

datablock ParticleData(ArmRocketSmokeParticle)
{
   dragCoefficient      = 1;
   gravityCoefficient   = -0.3;
   inheritedVelFactor   = 1;
   constantAcceleration = 0;
   lifetimeMS         = 1250;
   lifetimeVarianceMS = 250;
   textureName = "base/data/particles/cloud";
   spinSpeed     = 10;
   spinRandomMin = -500;
   spinRandomMax = 500;

   colors[0] = "0.7 0.7 0.7 0.3";
   colors[1] = "0.6 0.6 0.6 0.5";
   colors[2] = "0.5 0.5 0.5 0";

   sizes[0] = 0.4;
   sizes[1] = 0.8;
   sizes[2] = 1.2;

   times[1] = 0.5;
   times[2] = 1;

   useInvAlpha = true;
};
datablock ParticleEmitterData(ArmRocketSmokeEmitter)
{
   ejectionPeriodMS = 7;
   periodVarianceMS = 0;
   ejectionVelocity = 1.5;
   velocityVariance = 1;
   ejectionOffset = 0;
   thetaMin = 85;
   thetaMax = 95;
   phiReferenceVel = 0;
   phiVariance     = 360;
   overrideAdvance = false;
   particles = "ArmRocketSmokeParticle";

   uiName = "Arm Rocket Launch Smoke";
};

//Trail
datablock ParticleData(ArmRocketTrailParticle)
{
   dragCoefficient      = 0.1;
   gravityCoefficient   = -0.06;
   windCoefficient      = 0.35;
   inheritedVelFactor   = 0;
   constantAcceleration = 0;
   lifetimeMS           = 3000;
   lifetimeVarianceMS   = 1000;
   textureName          = "base/data/particles/cloud";
   spinSpeed     = 10;
   spinRandomMin = -600;
   spinRandomMax = 700;
   colors[0] = "1 1 0 0.5";
   colors[1] = "1 0 0 0.3";
   colors[2] = "0.2 0.2 0.2 0.2";
   colors[3] = "0.2 0.2 0.2 0.05";

   sizes[0] = 0.6;
   sizes[1] = 0.7;
   sizes[2] = 0.8;
   sizes[3] = 0.9;

   times[0] = 0;
   times[1] = 0.1;
   times[2] = 0.15;
   times[3] = 1;

   useInvAlpha = false;
};
datablock ParticleEmitterData(ArmRocketTrailEmitter)
{
   ejectionPeriodMS = 10;
   periodVarianceMS = 0;
   ejectionVelocity = 0.3;
   velocityVariance = 0.15;
   ejectionOffset = 0.1;
   thetaMin = 135;
   thetaMax = 180;
   phiReferenceVel = 0;
   phiVariance     = 360;
   overrideAdvance = false;
   particles = "ArmRocketTrailParticle";
};


datablock ParticleData(ArmRocketExplosionParticle)
{
   dragCoefficient      = 2;
   gravityCoefficient   = -0.5;
   inheritedVelFactor   = 0.3;
   constantAcceleration = 0;
   lifetimeMS           = 1000;
   lifetimeVarianceMS   = 750;
   textureName          = "base/data/particles/cloud";
   spinSpeed          = 10;
   spinRandomMin      = -100;
   spinRandomMax      = 100;
   colors[0]     = "0.75 0.7 0.65 0.9";
   colors[1]     = "0.6 0.55 0.5 0.1";
   sizes[0]      = 10;
   sizes[1]      = 15;

   useInvAlpha = true;
};
datablock ParticleEmitterData(ArmRocketExplosionEmitter)
{
   ejectionPeriodMS = 7;
   periodVarianceMS = 2;
   ejectionVelocity = 12;
   velocityVariance = 1.2;
   ejectionOffset   = 3.0;
   thetaMin         = 89;
   thetaMax         = 90;
   phiReferenceVel  = 0;
   phiVariance      = 360;
   overrideAdvance = false;
   particles = "ArmRocketExplosionParticle";
};

datablock ParticleData(ArmRocketExplosionRingParticl e)
{
   dragCoefficient      = 8;
   gravityCoefficient   = -0.5;
   inheritedVelFactor   = 0.2;
   constantAcceleration = 0.0;
   lifetimeMS           = 40;
   lifetimeVarianceMS   = 10;
   textureName          = "base/data/particles/dot";
   spinSpeed      = 10.0;
   spinRandomMin      = -500.0;
   spinRandomMax      = 500.0;
   colors[0]     = "1 0.5 0 0.6";
   colors[1]     = "1 0 0 0.1";
   sizes[0]      = 8;
   sizes[1]      = 15;

   useInvAlpha = false;
};
datablock ParticleEmitterData(ArmRocketExplosionRingEmitter)
{
   lifeTimeMS = 150;

   ejectionPeriodMS = 1;
   periodVarianceMS = 0;
   ejectionVelocity = 15;
   velocityVariance = 10;
   ejectionOffset   = 3;
   thetaMin         = 0;
   thetaMax         = 180;
   phiReferenceVel  = 0;
   phiVariance      = 360;
   overrideAdvance  = false;
   particles        = "ArmRocketExplosionRingParticl e";
};

datablock ExplosionData(ArmRocketExplosion)
{
   explosionShape = "Add-Ons/Weapon_Rocket_Launcher/explosionSphere1.dts";
   soundProfile   = ArmRLexplodeSound;

   lifeTimeMS = 150;

   particleEmitter = ArmRocketExplosionEmitter;
   particleDensity = 20;
   particleRadius = 0.2;

   emitter[0] = ArmRocketExplosionRingEmitter;

   faceViewer     = true;
   explosionScale = "1 1 1";

   shakeCamera = true;
   camShakeFreq = "10 11 10";
   camShakeAmp = "1.5 5 1.5";
   camShakeDuration = 0.25;
   camShakeRadius = 15;

   lightStartRadius = 5;
   lightEndRadius   = 20;
   lightStartColor  = "1 1 0 1";
   lightEndColor    = "1 1 1 1";

   damageRadius = 5;
   radiusDamage = 85;

   impulseRadius = 5;
   impulseForce  = 3000;

   uiName = "Arm Rocket Explosion";
};

AddDamageType("ArmRocketDirect", '<bitmap:add-ons/Weapon_Arm_Rocket/CI> %1', '%2 <bitmap:add-ons/Weapon_Arm_Rocket/CI> %1',1,1);
AddDamageType("ArmRocketRadius", '<bitmap:add-ons/Weapon_Arm_Rocket/CI_radius> %1', '%2 <bitmap:add-ons/Weapon_Arm_Rocket/CI_radius> %1',1,0);

datablock ProjectileData(ArmRocketProjectile)
{
   projectileShapeName = "./rocket.dts";
   directDamage     = 500;
   directDamageType = $DamageType::ArmRocketDirect;
   radiusDamageType = $DamageType::ArmRocketRadius;
   impactImpulse   = 3000;
   verticalImpulse = 1000;
   explosion       = ArmRocketExplosion;
   particleEmitter = ArmRocketTrailEmitter;

   brickExplosionRadius = 6;
   brickExplosionImpact = true;
   brickExplosionForce  = 25;             
   brickExplosionMaxVolume = 45;
   brickExplosionMaxVolumeFloati ng = 75;

   sound = ArmRLloopSound;

   muzzleVelocity   = 110;
   velInheritFactor = 0;

   armingDelay = 0;
   lifetime    = 5000;
   fadeDelay   = 5000;
   bounceElasticity = 1;
   bounceFriction   = 0;
   isBallistic = false;
   gravityMod  = 0;
   Explodeondeath = true;
   hasLight    = true;
   lightRadius = 10;
   lightColor  = "1 0.5 0";

   uiName = "Arm Rocket";
};

//item
datablock ItemData(ArmRocketItem)
{
   category = "Weapon";
   className = "Weapon";

   shapeFile = "./ArmRocketLauncher.dts";
   rotate = false;
   mass = 1;
   density = 0.2;
   elasticity = 0.2;
   friction = 0.6;
   emap = true;

   uiName = "Arm Rocket L.";
   iconName = "./icon_ArmRocket";
   doColorShift = true;
   colorShiftColor = "1 0 0 1";

   image = ArmRocketImage;
   canDrop = true;
};

//weapon image
datablock ShapeBaseImageData(ArmRocketImage)
{
   shapeFile = ArmRocketItem.shapeFile;
   emap = true;

   mountPoint = 0;
   offset = "0 0 0";
   eyeOffset = 0;
   rotation = "0 0 0";

   correctMuzzleVector = true;

   className = "WeaponImage";

   item = BowItem;
   ammo = "1";
   projectile = ArmRocketProjectile;
   projectileType = Projectile;

   melee = false;
   armReady = true;
   minShotTime = 1000;

   doColorShift = true;
   colorShiftColor = ArmRocketItem.colorShiftColor;

   stateName[0]                = "Activate";
   stateTimeoutValue[0]        = 0.1;
   stateTransitionOnTimeout[0] = "Ready";
   stateSound[0]               = weaponSwitchSound;

   stateName[1]                    = "Ready";
   stateTransitionOnTriggerDown[1] = "Fire";
   stateAllowImageChange[1]        = true;

   stateName[2]                = "Fire";
   stateTransitionOnTimeout[2] = "Smoke";
   stateTimeoutValue[2]        = 0.1;
   stateFire[2]                = true;
   stateAllowImageChange[2]    = false;
   stateScript[2]              = "onFire";
   stateWaitForTimeout[2]      = true;
   stateEmitter[2]             = ArmRocketFlashEmitter;
   stateEmitterTime[2]         = 0.15;
   stateEmitterNode[2]         = muzzleNode;

   stateName[3]                = "Smoke";
   stateEmitter[3]             = ArmRocketSmokeEmitter;
   stateEmitterTime[3]         = 0.05;
   stateEmitterNode[3]         = "muzzleNode";
   stateTimeoutValue[3]        = 0.1;
   stateTransitionOnTimeout[3] = "CoolDown";

   stateName[5]                = "CoolDown";
   stateTimeoutValue[5]        = 0.9;
   stateTransitionOnTimeout[5] = "Reload";

   stateName[4]                  = "Reload";
   stateTransitionOnTriggerUp[4] = "Ready";
};

function ArmRocketImage::onFire(%this, %obj, %slot)
{
   if(%obj.getDamagePercent() < 1)
   {
      %obj.playthread(2,shiftAway);
   }
   parent::onFire(%this,%obj,%slot);
}

function ArmRocketImage::onFire(%this, %obj, %slot)
{
   cancel(%obj.burnSched);
   %obj.playthread(2, spearThrow);
   %obj.chargeEnd = getSimTime();
   %obj.chargeTime = %obj.chargeEnd - %obj.chargeStart;
   Parent::OnFire(%this, %obj, %slot);

   %currSlot = %obj.lastFragSlot;
   %obj.tool[%currSlot] = 0;
   %obj.weaponCount--;
   messageClient(%obj.client,'MsgItemPickup','',%currSlot,0);
   serverCmdUnUseTool(%obj.client);
}

function ArmRocketImage::onDone(%this,%obj,%slot)
{
   %obj.unMountImage(%slot);
}


All i did basically is copy and pasted the bob-omb code and rename some stuff.
(Most likely a bad idea but whatever)

It works somewhat. its get unequipped but still remains in the player's inventory.
I need help and a little knowledge on what i could've done. Thank you

5
Help / Vehicle "turret" Removal
« on: August 10, 2016, 03:10:13 PM »
I know this is a bland help topic but How does one remove a turret from a vehicle?

Ie. the default tank without the turret?


6
Help / Constant crashing when loading addons.
« on: January 23, 2016, 06:45:59 PM »
Every time I try to host and when its loading addons blockland just crashes.
Can someone please help me with this issue?

Console.log:
https://www.dropbox.com/s/16acpi4em7phjr9/Console.log?dl=1

7
Help / Blockland crashing at random again.
« on: January 17, 2016, 08:34:43 PM »
When hosting i experience some random crashing.
 I have no idea what is causing it. It only happens when i host a server.

Here is console log if anyone wants to help resolve this problem:

8
Help / Random crashing when hosting a server.
« on: November 21, 2015, 02:47:52 PM »
During hosting a server my blockland randomly crashes. I have no idea what is causing it.
will someone please be kind and help me with this problem.

Here is a console log. (if i did it correctly)

9
Suggestions & Requests / Bot event request - Setslayerteam
« on: October 03, 2015, 09:47:34 AM »
I need an event that lets bots from bots holes fight for a specific team from slayer.
something like Onbotspawn > Bot > Setslayerteam [Insertslayerteamnamehere]

For example, Onbotspawn > Bot > Setslayerteam (Blu)
This would make the bot fight for the slayer team named Blu.

Can someone make this please?

10
Help / Slayer problem?
« on: June 10, 2014, 08:11:45 PM »
Most of the time when i place down a Path Node,Team spawn or Rally point my Blockland freezes.

Is their any way to fix this?

11
Suggestions & Requests / Music request
« on: April 18, 2014, 01:37:01 PM »
Can someone make this into a loop for me please?
http://www.youtube.com/watch?v=dP3n44MF1qc


12
Suggestions & Requests / Bot n' Player Teams
« on: March 24, 2014, 07:04:05 PM »
I'm asking someone to make an events so that the player can be on the same team as a bot through events.
For Example on slayer a bot will work with a certain team and attack the other teams. If anyone would mind
and make this for me?

13
Suggestions & Requests / /Mount command
« on: January 04, 2014, 02:06:34 PM »
Will anybody be able to make a command that
 let's you mount a specific body part if you have full trust,
similar to the /mount cmd in Fooley fun cmds?

Sorry if this is too small really.

14
Help / My Set transform events Do not work properly.
« on: November 29, 2013, 07:08:35 PM »
Basicly, what the topic name explains it all. My set transform events do not work. when i go to teleport it teleports an existing bot or an a different player. Please help me

Pages: [1]