HomeFrostburntCalendarFAQSearchUsergroupsLog inRegisterMemberlistContent
Share | 
 

 Hypervelocity Ammo and Overcharged Cells.

View previous topic View next topic Go down 
AuthorMessage
DCWasteland3r

avatar

Posts : 526
Join date : 2014-04-07

PostSubject: Hypervelocity Ammo and Overcharged Cells.   Fri Mar 06, 2015 3:31 pm

How about adding a couple new ammotypes for pnrp in the form of attachments? There could be:

-Hypervelocity Ammo: +50% Damage, +25% Recoil.
-Overcharged Cells: +25% Damage, no effect on recoil, since lasers don't have recoil.

Obviously, these attachments wouldn't be super cheap to make, but since attachments disappear every time you log off, they would be "Self-Regulating" to prevent everyone from having them.

Note: I have coded my own version of the "hypervelocity" ammo, along with several new (unreleased) weapons on the FA:S base, so I know that this would be very easy to implement.

Code:
FAS2_AddAttachment(tbl)

tbl = {}

tbl.key = "hvammo"
tbl.nameshort = "HVAmmo"
tbl.namefull = "Hypervelocity Ammo"
tbl.desc = {[1] = {t = "Increases damage by 50%", c = Color(202, 255, 163, 255)},
        [2] = {t = "Increases recoil by 25%", c = Color(255, 137, 119, 255)}}

if CLIENT then
   tbl.displaytexture = surface.GetTextureID("VGUI/fas2atts/hvammo")
end

tbl.attfunc = function(ply, wep)
   wep.Damage = wep.Damage * 1.5
   wep:UnloadWeapon()
   wep.ViewKick = wep.ViewKick * 1.25
   wep.Recoil = wep.Recoil * 1.25
end

tbl.clattfunc = function(ply, wep)
   wep.Damage = wep.Damage * 1.5
   wep:UnloadWeapon()
   wep.ViewKick = wep.ViewKick * 1.25
   wep.Recoil = wep.Recoil * 1.25
end

tbl.deattfunc = function(ply, wep)
   wep.Damage = wep.Damage / 1.5
   wep:UnloadWeapon()
   wep.ViewKick = wep.ViewKick / 1.25
   wep.Recoil = wep.Recoil / 1.25
end

tbl.cldeattfunc = function(ply, wep)
   wep.Damage = wep.Damage / 1.5
   wep:UnloadWeapon()
   wep.ViewKick = wep.ViewKick / 1.25
   wep.Recoil = wep.Recoil / 1.25
end

For anyone questioning the term "Hypervelocity":

__________________________
I'm back bitches!


Last edited by DCWasteland3r on Fri Mar 06, 2015 7:21 pm; edited 1 time in total
Back to top Go down
View user profile
Coront
Ban
avatar

Posts : 1271
Join date : 2014-07-09

PostSubject: Re: Hypervelocity Ammo and Overcharged Cells.   Fri Mar 06, 2015 4:04 pm

Imposter! Everyone knows that the only person on earth that can code is bizz!
Back to top Go down
View user profile
DCWasteland3r

avatar

Posts : 526
Join date : 2014-04-07

PostSubject: Re: Hypervelocity Ammo and Overcharged Cells.   Fri Mar 06, 2015 4:08 pm

I know VERY little about coding. The FA:S base is just easy to work with.

__________________________
I'm back bitches!
Back to top Go down
View user profile
Exavolt
Donator
Donator
avatar

Posts : 296
Join date : 2015-01-24

PostSubject: Re: Hypervelocity Ammo and Overcharged Cells.   Fri Mar 06, 2015 8:58 pm

Oh god, fucking Aguila brand ammo. You should have a trigger warning for gundealers like me.

__________________________
Back to top Go down
View user profile
DCWasteland3r

avatar

Posts : 526
Join date : 2014-04-07

PostSubject: Re: Hypervelocity Ammo and Overcharged Cells.   Fri Mar 06, 2015 11:51 pm

Dr. Exavolt wrote:
Oh god, fucking Aguila brand ammo. You should have a trigger warning for gundealers like me.

How bad is it?

__________________________
I'm back bitches!
Back to top Go down
View user profile
Exavolt
Donator
Donator
avatar

Posts : 296
Join date : 2015-01-24

PostSubject: Re: Hypervelocity Ammo and Overcharged Cells.   Sat Mar 07, 2015 12:54 am

the issue is not the quality of the ammo but how they label it. I'm sure you've heard of the f****** shortage on 22 ammo. basically they produced a version of the ammo that is powderless and it doesn't work in anything except revolvers, it won't chamber anything else properly and they write in the tiniest little f****** writing "has no powder" so we get these people who buy it thinking its normal 22 and then bitch us out when it doesn't work in their semi automatics and they can't return it.

__________________________
Back to top Go down
View user profile
DCWasteland3r

avatar

Posts : 526
Join date : 2014-04-07

PostSubject: Re: Hypervelocity Ammo and Overcharged Cells.   Sat Mar 07, 2015 11:52 am

I see the problem now.

__________________________
I'm back bitches!
Back to top Go down
View user profile
 
Hypervelocity Ammo and Overcharged Cells.
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» From a Colony of Cells to an Organism
» ammo box in wolf3d
» changing max ammo and hp
» Flying ammo box chicken cluckshot droppings!!
» Help a noob out? (Ammo Edition)

Permissions in this forum:You cannot reply to topics in this forum
 :: Fallout Decay :: Suggestions/Bugs/Technical-
Jump to: