datablock DecalData(YourgunDecal1){ sizeX = 0.05;//adjust this if you want to change the scale sizeY = 0.05;//adjust this if you want to change the scale textureName = "add-ons/particles/bullethole1";};datablock DecalData(YourgunDecal2 : YourgunDecal1){ textureName = "add-ons/particles/bullethole2";};datablock DecalData(YourgunDecal3 : YourgunDecal1){ textureName = "add-ons/particles/bullethole3";};datablock DecalData(YourgunDecal4 : YourgunDecal1){ textureName = "add-ons/particles/bullethole4";};datablock DecalData(YourgunDecal5 : YourgunDecal1){ textureName = "add-ons/particles/bullethole5";};datablock DecalData(YourgunDecal6 : YourgunDecal1){ textureName = "add-ons/particles/bullethole6";};
decals[0] = YourgunDecal1; decals[1] = YourgunDecal2; decals[2] = YourgunDecal3; decals[3] = YourgunDecal4; decals[4] = YourgunDecal5; decals[5] = YourgunDecal6;
AddDamageType("TF2Pistol", '<bitmap:add-ons/ci/TF2Pistol> %1', '%2 <bitmap:add-ons/ci/TF2Pistol> %1',0.5,1);datablock ProjectileData(TF2PistolProjectile){ projectileShapeName = "./shapes/bullet.dts"; directDamage = 30; directDamageType = $DamageType::TF2Pistol; radiusDamageType = $DamageType::TF2Pistol; brickExplosionRadius = 0; brickExplosionImpact = true; //destroy a brick if we hit it directly? brickExplosionForce = 10; brickExplosionMaxVolume = 1; //max volume of bricks that we can destroy brickExplosionMaxVolumeFloating = 2; //max volume of bricks that we can destroy if they aren't connected to the ground impactImpulse = 700; verticalImpulse = 1000; explosion = TF2PistolExplosion; particleEmitter = bulletTrailEmitter; muzzleVelocity = 90; velInheritFactor = 1; armingDelay = 00; lifetime = 4000; fadeDelay = 3500; bounceElasticity = 0.5; bounceFriction = 0.20; isBallistic = false; gravityMod = 0.0; hasLight = false; lightRadius = 3.0; lightColor = "0 0 0.5"; decals[0] = TF2PistolDecal1; decals[1] = TF2PistolDecal2; decals[2] = TF2PistolDecal3; decals[3] = TF2PistolDecal4; decals[4] = TF2PistolDecal5; decals[5] = TF2PistolDecal6;};
datablock DecalData(TF2PistolDecal1){ sizeX = 0.05;//adjust this if you want to change the scale sizeY = 0.05;//adjust this if you want to change the scale textureName = "add-ons/particles/bullethole1";};datablock DecalData(TF2PistolDecal2 : TF2PistolDecal1){ textureName = "add-ons/particles/bullethole2";};datablock DecalData(TF2PistolDecal3 : TF2PistolDecal1){ textureName = "add-ons/particles/bullethole3";};datablock DecalData(TF2PistolDecal4 : TF2PistolDecal1){ textureName = "add-ons/particles/bullethole4";};datablock DecalData(TF2PistolDecal5 : TF2PistolDecal1){ textureName = "add-ons/particles/bullethole5";};datablock DecalData(TF2PistolDecal6 : TF2PistolDecal1){ textureName = "add-ons/particles/bullethole6";};
You make me feel like dancing, I'm gonna dance the night awayrandom song post :D
I just don't think bullet holes are necessary.
did it?