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

Smoker


Post New Thread Reply   
 
Thread Tools Display Modes
johnny40409
Senior Member
Join Date: Mar 2009
Old 04-20-2009 , 06:44   Re: [ZP] Class: Smoker
Reply With Quote #21

4eRT, Still few bug's.

1) dmg2_stop, It's " one time damge", not all damage plus together ,
ex:set 80 , you have to give smoker 80 damage at once , It will stop drag.
But not plus together.

2)still can pull teammate's.I've tried to change like this.
PHP Code:
if (get_pcvar_num(cvar_mates) == 0) {
      
g_hooked[id] = hooktarget
      
//emit_sound(hooktarget, CHAN_BODY, g_sndDrag, 1.0, ATTN_NORM, 0, PITCH_HIGH)
      
emit_sound(hooktargetCHAN_BODYg_sndMiss1.0ATTN_NORM0PITCH_HIGH
But it still doesn't work.

And the time counting still doesn't work very well , It's better then v0.2 , but still doesn't work well.

Last edited by johnny40409; 04-20-2009 at 06:59.
johnny40409 is offline
johnny40409
Senior Member
Join Date: Mar 2009
Old 04-20-2009 , 07:45   Re: [ZP] Class: Smoker
Reply With Quote #22

Ahh..Fixed the problem

cvar_mates = register_cvar("zp_smoker_mates", "0")

it works now , for 0 and 1 , tested, works fine!
Attached Files
File Type: rar zp_zclass_smoker.rar (3.4 KB, 278 views)

Last edited by johnny40409; 04-20-2009 at 08:06.
johnny40409 is offline
albert123
Veteran Member
Join Date: Mar 2009
Location: VietNam, Hai Phong
Old 04-20-2009 , 07:51   Re: [ZP] Class: Smoker
Reply With Quote #23

Oke, did you fix it ? +karma for you !
__________________
albert123 is offline
johnny40409
Senior Member
Join Date: Mar 2009
Old 04-20-2009 , 08:01   Re: [ZP] Class: Smoker
Reply With Quote #24

I'm not sure since 10 min's ago , but now I'm sure it work's fine .
I added

PHP Code:
if (get_pcvar_num(cvar_mates) == 0
PHP Code:
if (get_pcvar_num(cvar_mates) == 1
cuz I'm not sure. I want to ask a question.
If I wrote like this

PHP Code:
(get_pcvar_num(cvar_mates) == 1) { // If is 1 , hook!
      
g_hooked[id] = hooktarget
      emit_sound
(hooktargetCHAN_BODYg_sndDrag1.0ATTN_NORM0PITCH_HIGH
then if "cvar_mates" = 0 , will it miss? or still can hook?

Last edited by johnny40409; 04-20-2009 at 08:08.
johnny40409 is offline
SonicSonedit
Veteran Member
Join Date: Nov 2008
Location: Silent Hill
Old 04-20-2009 , 23:42   Re: [ZP] Class: Smoker
Reply With Quote #25

4eRT
If you want, i can look-up your plugin code later. I pmed you server adress, where you can test it, but they probably didn't update smoker plugin yet. Also you can test it at my server.
__________________

SonicSonedit is offline
ZP_user#1
Junior Member
Join Date: Apr 2009
Old 04-21-2009 , 03:05   Re: [ZP] Class: Smoker
Reply With Quote #26

really interesting zombie class!!
i tried it on my server...but i found it was a little too hard to use at a distance......i aimed human for seconds but still couldn't get him |o|.....
ZP_user#1 is offline
MmikiM
Senior Member
Join Date: Nov 2006
Location: Poland
Old 04-23-2009 , 10:44   Re: [ZP] Class: Smoker (updated 0.3.1)
Reply With Quote #27

Smoker model lagging so much server.
__________________


Projects:
Zombie Elite - Technical: 100% Looking for models and sounds...
CS:Source Zombie -
Work in progress...
MmikiM is offline
beckham9224
Senior Member
Join Date: Feb 2009
Location: Asia, Mongolia
Old 04-28-2009 , 00:59   Re: [ZP] Class: Smoker (updated 0.3.1)
Reply With Quote #28

Hey i got an error when i add this class and start my server it says : ERROR C++
HELP?
beckham9224 is offline
vermillioN25
Member
Join Date: Apr 2009
Location: Brazil
Old 04-28-2009 , 13:56   Re: [ZP] Class: Smoker (updated 0.3.1)
Reply With Quote #29

Quote:
Originally Posted by beckham9224 View Post
Hey i got an error when i add this class and start my server it says : ERROR C++
HELP?
... tell us whats your error ?
__________________
vermillioN25 is offline
beckham9224
Senior Member
Join Date: Feb 2009
Location: Asia, Mongolia
Old 04-28-2009 , 22:47   Re: [ZP] Class: Smoker (updated 0.3.1)
Reply With Quote #30

i told u:
Server says C++ error and crashes
beckham9224 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 07:00.


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