UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Bullets To Pellets

broken avatar :(
Created 11 years ago
by killer403
0 Members and 1 Guest are viewing this topic.
1,933 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 19 September 2013
Last active: 10 years ago
Posts
3
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
My Contact & Social Links
More
×
killer403's Groups
killer403's Contact & Social LinksInsanityB4Me
How would I change a gun from firing bullets to firing shotgun pellets? I've tried editing the weapon files and changing the weaponClass and such to match that of the trench gun but it didn't work and to be honest I didn't think it would, but it was my only idea. I'm assuming I would have to change this through some scripting, but I have no idea where to search exactly or what to do. Can anyone point me in the right direction?
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 9 months ago
Posts
5,551
Respect
6,691Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
Signature
If Java had true garbage collection, most programs would delete themselves upon execution.
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
You just change the weaponClass to spread. If it didn't work, it's probably because you didnt add the weapon file to your mod's IWD.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 19 September 2013
Last active: 10 years ago
Posts
3
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
My Contact & Social Links
More
×
killer403's Groups
killer403's Contact & Social LinksInsanityB4Me
I tried that again and the gun loads up; I changed the name to make sure that it was this model, and it may be firing pellets but I can't really tell since only one shot is hitting the wall. If I change that to spread is it supposed to immediately fire multiple pellets or just a single one? Thanks for the swift reply by the way.
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 9 months ago
Posts
5,551
Respect
6,691Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
I tried that again and the gun loads up; I changed the name to make sure that it was this model, and it may be firing pellets but I can't really tell since only one shot is hitting the wall. If I change that to spread is it supposed to immediately fire multiple pellets or just a single one? Thanks for the swift reply by the way.
Try increasing the shotCount.

If that doesn't work, just take the Trench Gun weapon file, change the gunModel, worldModel, noteTracks, and weaponName to whatever you are trying to make.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 19 September 2013
Last active: 10 years ago
Posts
3
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
My Contact & Social Links
More
×
killer403's Groups
killer403's Contact & Social LinksInsanityB4Me
Try increasing the shotCount.

If that doesn't work, just take the Trench Gun weapon file, change the gunModel, worldModel, noteTracks, and weaponName to whatever you are trying to make.

I'm an idiot; this flew right over my head. The fix worked. Thank you for your help :)

 
Loading ...