AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP] Extra Item: Satchel Charge v3.4(Updated 18.10.2009) (https://forums.alliedmods.net/showthread.php?t=96755)

NiHiLaNTh 07-08-2009 12:41

[ZP] Extra Item: Satchel Charge v3.4(Updated 18.10.2009)
 
1 Attachment(s)
Cost: 15 Ammo packs
Teams: Human

--- Intro ---

Satchel Charges from HL, which replaces he grenade To plant a charge press secondary attack button.To detonate a charge press primary attack button.By default Satchel cost is 15 Ammo packs

Some part of the code I took from V3x's Satchel Charge plugin.

--- CVARs ---
zp_satchel 1 - Plugin is enabled
zp_satchel_damage 1000 - damage done by satchel
zp_satchel_radius -- 300 // damage radius
zp_satchel_knockback --- 10 // knockback power

--- Changelog ---
Code:

    v3.0 - First release
    v3.1 - Now satchel lays on the ground and fixed bug with radius
    v3.2 - Fixed bugs when satchel did not dissappear
    v3.3 - Full code rewrite and many major and minor chages, fixed a lot of issues'
    v3.4 - Coded this plugin in much better way
        - Fixed bunch of gameplayer bugs

--- Credits ---
V3x - his Satchel Charge plugin
NiHiLaNTh - Author
Arkshine - Animation stock
meTaLiCroSS - Weapon model reset stuff

Screenshot:http://s61.radikal.ru/i171/0907/f7/1f9b3b40195d.jpg

ALIENMODSX 07-08-2009 13:14

Re: [ZP] Extra Item: Satchel Charge
 
Thanks. Sounds interesting :D

EDIT:
Error: Function heading differs from prototype on line 125

EDIT2:
line:
public zp_user_infected_post(id, infector, nemesis)

NiHiLaNTh 07-08-2009 13:37

Re: [ZP] Extra Item: Satchel Charge
 
Quote:

Originally Posted by ALIENMODSX (Post 867418)
Thanks. Sounds interesting :D

EDIT:
Error: Function heading differs from prototype on line 125

EDIT2:
line:
public zp_user_infected_post(id, infector, nemesis)

Change it to public zp_user_infected_post(id, infector)

ALIENMODSX 07-08-2009 13:52

Re: [ZP] Extra Item: Satchel Charge
 
I thought so, but cuz you released it like this, I thought it was right, but my compiler was wrong.. :P

Well. I'll give feedback asap.


EDIT:

It seems to be buggy :S


The bag will be in the air, and it can blow zombies that is not even close to it. There is no animations :S

Clear 07-08-2009 14:18

Re: [ZP] Extra Item: Satchel Charge
 
can wis wepon make to drop if its not make try to do wis

NiHiLaNTh 07-08-2009 15:09

Re: [ZP] Extra Item: Satchel Charge
 
Quote:

Originally Posted by ALIENMODSX (Post 867449)
The bag will be in the air, and it can blow zombies that is not even close to it. There is no animations :S

I don't understand you very well.
What you mean be in the air.

Quote:

Originally Posted by ALIENMODSX (Post 867449)
and it can blow zombies that is not even close to it.

maybe damage radius is too big.?
In the sma file find line
Code:

const Float:EXPLODE_RADIUS = 300.0
and change it.

Quote:

Originally Posted by ALIENMODSX (Post 867449)
There is no animations

What animation?

ALIENMODSX 07-08-2009 16:02

Re: [ZP] Extra Item: Satchel Charge
 
1. It isn't on the ground or on the wall, it's in the air.
2. Okay.
3. Exactly. There is no animations when planting it.

NiHiLaNTh 07-08-2009 16:38

Re: [ZP] Extra Item: Satchel Charge
 
Quote:

Originally Posted by ALIENMODSX (Post 867561)
1. It isn't on the ground or on the wall, it's in the air.
2. Okay.
3. Exactly. There is no animations when planting it.

Check first post

1) Fixed
2) Fixed
3) Will try to fix.

sunx 07-08-2009 19:09

Re: [ZP] Extra Item: Satchel Charge
 
1. Stays every round, even when infected
2. U can use it as much as u want ... every sec. u can bring it to explode.

NiHiLaNTh 07-09-2009 02:20

Re: [ZP] Extra Item: Satchel Charge
 
Quote:

Originally Posted by sunx (Post 867700)
1. Stays every round, even when infected
2. U can use it as much as u want ... every sec. u can bring it to explode.

1) On round end all planted satchels now disappears
2) Fixed


All times are GMT -4. The time now is 17:03.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.