Raised This Month: $12 Target: $400
 3% 

Request , Make me a Bigmomma attack ,will pay $30


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-08-2009 , 21:08   Re: Request , Make me a Bigmomma attack ,will pay $30
Reply With Quote #41

Sorry for the late. Some thing it was not working as I wanted.
Here the plugin.

As always, I've added a command to test. You have just to use the function into Command_Test() to shoot.
It should act like you've asked. Though I did not test with the monster model, hope that it will shoot from the right origin.

See the #define first to customize as you want.
I did not test thoroughly. Also I will see to optimize some parts later.

If you need modifications, tell me.
Attached Files
File Type: sma Get Plugin or Get Source (bullsquid_attack.sma - 380 views - 20.1 KB)

Last edited by Arkshine; 02-14-2009 at 11:08. Reason: Updated.
Arkshine is offline
Joker4ever
Member
Join Date: Dec 2008
Old 02-08-2009 , 21:35   Re: Request , Make me a Bigmomma attack ,will pay $30
Reply With Quote #42

Wow GJ ark , that was fast.
Joker4ever is offline
crazylf2
Member
Join Date: May 2004
Old 02-09-2009 , 07:23   Re: Request , Make me a Bigmomma attack ,will pay $30
Reply With Quote #43

Can you make the situation 1 take damage from other ways

the enemy will turn into zombie when he get situation 1 , i don't want to be this

situation 3 is the same
crazylf2 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-09-2009 , 07:25   Re: Request , Make me a Bigmomma attack ,will pay $30
Reply With Quote #44

Sorry, I don't understand what you ask me. :s
Arkshine is offline
crazylf2
Member
Join Date: May 2004
Old 02-09-2009 , 07:30   Re: Request , Make me a Bigmomma attack ,will pay $30
Reply With Quote #45

Quote:
Originally Posted by arkshine View Post
Sorry, I don't understand what you ask me. :s
You use set_pev the made the lost damage effect right ?

my server is running on zombie plague mode , when zombie hit the human ,they will become a zombie

They will turn into zombie when the get in situation 1 and 3

i just want to damage the enemy , not like this

Also , i want the attack will only effect on the enemy
crazylf2 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-09-2009 , 07:40   Re: Request , Make me a Bigmomma attack ,will pay $30
Reply With Quote #46

Situation 1 : It uses Ham_TakeDamage
Situation 3 : It uses an offset which trigger Damage event and I'm using pev_health to remove health.

Situation 1 is the same way I'm using for the bigmomma attack. I don't see why it would turn human in zombie. Weird. Plus the same type DMG_ACID.

Really I don't know right away, I'm going to check Zombie plague source. Also I will have to test the plugin with this plugin installed :/

[edit] Can you show the ZombiePlague addons you use ?
Arkshine is offline
crazylf2
Member
Join Date: May 2004
Old 02-09-2009 , 07:41   Re: Request , Make me a Bigmomma attack ,will pay $30
Reply With Quote #47

Quote:
Originally Posted by arkshine View Post
Situation 1 : It uses Ham_TakeDamage
Situation 3 : It uses an offset which trigger Damage event and I'm using pev_health to remove health.

Situation 1 is the same way I'm using for the bigmomma attack. I don't see why it would turn human in zombie. Weird. Plus the same type DMG_ACID.

Really I don't know right away, I'm going to check Zombie plague source. Also I will have to test the plugin with this plugin installed :/
The bigmomma attack will turn player into zombie as well
crazylf2 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-09-2009 , 07:42   Re: Request , Make me a Bigmomma attack ,will pay $30
Reply With Quote #48

Is not what you want for bigmomma too ?
Arkshine is offline
crazylf2
Member
Join Date: May 2004
Old 02-09-2009 , 08:13   Re: Request , Make me a Bigmomma attack ,will pay $30
Reply With Quote #49

Quote:
Originally Posted by arkshine View Post
Is not what you want for bigmomma too ?
That is fine , exactly what i want
crazylf2 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-09-2009 , 08:26   Re: Request , Make me a Bigmomma attack ,will pay $30
Reply With Quote #50

It seems ZombiePlague hook TakeDamage, so whatever the damage you get you will turn out a zombie right away.

I think the situation 1 can be solved by replacing the both 'ExecuteHamB' by 'ExecuteHam' . Try and tell me.

But for situation 3 I don't know. At least modifying only this plugin, not sure if it's possible and ZombiePlague doesn't provide any forward to block an infection. :/ . A solution would be to create a forward or native, whatever in my plugin or zombieplague plugin, so to block the forward TakeDamage in ZombiePlague plugin.. If you don't mind I can give a try.

Last edited by Arkshine; 02-09-2009 at 08:32.
Arkshine is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:21.


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