Author Topic: Weapon gone wrong!  (Read 1159 times)

I tried to make an explosive shotgun the other day.
The model is **** <- I wrote that with stars!

But I loaded it up, no client problems, placed brick, created gun, picked up and fired, but no bullets came out? why? help! please! Everything else worked!

...cs file attached...


Let me take a look at it...
Not sure about it, but try this:
« Last Edit: September 21, 2009, 03:37:03 PM by Dapizzanator »

You are a ****** <- I wrote that with stars!  :cookieMonster:

Err, if you need a new model, I could do it. What is it anyway? :S
Explosive shotgun = too vague.
« Last Edit: September 21, 2009, 07:10:59 PM by AlphaicX »

Make sure the Projectiles on the script are vailed. You may made a non-existant projectile. (The name might be wrong.)

Off Topic: Tyler, don't reply if you didn't know the answer in the first place.

Make sure the Projectiles on the script are vailed. You may made a non-existant projectile. (The name might be wrong.)
I do believe that's what I did.

You are a ****** <- I wrote that with stars!  :cookieMonster:

Err, if you need a new model, I could do it. What is it anyway? :S
Explosive shotgun = too vague.

Yeah, I was out of ideas.

I can model if I can be bothered. I have milkshape for 25 days now :D.

I might rename sometime if inspiration convieniently decides to awaken!

Let me take a look at it...
Not sure about it, but try this:

Problem solved!!! OMG! Yay!
What'd you do?

Orly? Cool! Here, I'll show you. You had:
AddDamageType("explosiveshotgun",   '<bitmap:add-ons/Weapon_ExplosiveShotgun/CI_expshotgun> %1',    '%2 <bitmap:add-ons/Weapon_ExplosiveShotgun/CI_shotgun> %1',0.5,1);
datablock ProjectileData(explosiveshotgunProjectile)

but I changed: AddDamageType("explosiveshotgun",   '<bitmap:add-ons/Weapon_ExplosiveShotgun/CI_expshotgun> %1',    '%2 <bitmap:add-ons/Weapon_ExplosiveShotgun/CI_shotgun> %1',0.5,1);
datablock ProjectileData(shotgunProjectile)