[ZP] Addon: Ice Cube (ZP5.0 + ZP 4.3)
3 Attachment(s)
http://www.dodaj.rs/f/3n/Es/6nfFcxY/...t-snowflak.png http://www.dodaj.rs/f/1M/LR/4LCp5pzO...t-snowflak.png -= [ZP] =- http://www.dodaj.rs/f/1M/LR/4LCp5pzO...t-snowflak.png http://www.dodaj.rs/f/3n/Es/6nfFcxY/...t-snowflak.png http://www.dodaj.rs/f/3n/Es/6nfFcxY/...t-snowflak.png http://www.dodaj.rs/f/3n/Es/6nfFcxY/...t-snowflak.png -= Addon : Ice Cube =- http://www.dodaj.rs/f/3n/Es/6nfFcxY/...t-snowflak.png http://www.dodaj.rs/f/3n/Es/6nfFcxY/...t-snowflak.png http://www.dodaj.rs/f/3n/Es/6nfFcxY/...t-snowflak.png -= [ZP 4.3] [ZP 5.0] =- http://www.dodaj.rs/f/3n/Es/6nfFcxY/...t-snowflak.png Description: This plugin adds ice cube after zombie is frozen, and it is removed after he is unfrozen. I posted this because lot of you asked how to create it. It does not edit your effects and you don't need to edit any frost grenade or else. You can use it for ZP4.3 or ZP5.0. How to install: To install this plugin you need to set model's inside model's file (models/zombie_plague/...mdl) And download plugin and set amxx file inside plugins. (amxmodx/plugins/...amxx) Write the name of the plugin to activate it inside your plugins-zp.ini file (Diffrent for versions) Change map or restart server. Images:
Spoiler
Credits: Code:
hornet - For pev_body.
Spoiler
|
Re: [ZP5.0] Addon: Ice Cube
Gj as always, u can make a version adapting to the frost nade directly..
|
Re: [ZP5.0] Addon: Ice Cube
This is the same as i did. There is nothing diffrent, natives are called the same way, i have no idea why even people add effects inside zp 50 frost nades this way is much better.
|
Re: [ZP5.0] Addon: Ice Cube
will do you it for ZP 4.3?
|
Re: [ZP5.0] Addon: Ice Cube
Quote:
|
Re: [ZP5.0] Addon: Ice Cube
Do you create for me? I want this effect but does not work.
|
Re: [ZP5.0] Addon: Ice Cube
Quote:
|
Re: [ZP5.0] Addon: Ice Cube
I found a bug when a player freeze a zombie sometimes the model dont appear same when freeze several zombies some zombies dont have the cube model..
|
Re: [ZP5.0] Addon: Ice Cube
Yes, I have been waiting for this. Thank you for sharing.
Quote:
We will wait for the update. |
Re: [ZP5.0] Addon: Ice Cube
Quote:
I would be glad if you can give me more informations about that because i can't really test it out. PS: Check console please i think i might know what could happen when models are set. |
Re: [ZP5.0] Addon: Ice Cube
Well happens all the time and no for the moment i dont have errors on log but if i found i will post, another thing remove the entity on client disconnect sometimes when the player disconnect the model stay on a place in all the map and when the zombies turn on human too..
|
Re: [ZP5.0] Addon: Ice Cube
Quote:
However i don't mind adding you in the credits i focuse on the code not a model. And i don't see any sprites here. The code was made from 0, model was taken from here as a request specialy for ZP mod. Quote:
Quote:
|
Re: [ZP5.0] Addon: Ice Cube
Dare please finish once for all this child things, you cry ike a baby omg it's just a model for christ sake.
H.RED.ZONE: Great work really appreciated, add forwards for client_disconnect, client_cured, client_died and then it's all ok :P |
Re: [ZP5.0] Addon: Ice Cube
Updated it. Report other bugs if you get them. (:
|
Re: [ZP5.0] Addon: Ice Cube v1.1
Thank you, H.RED.ZONE. I have tested it with ZP5.0.8 and it is working well.
Below is the screenshots: http://img.ctrlv.in/img/14/07/22/53ce7f8ca172b.jpg http://img.ctrlv.in/img/14/07/22/53ce7f15eb0b0.jpg |
Re: [ZP5.0] Addon: Ice Cube v1.1
gg man nice effects and no lag
as always your rock |
Re: [ZP5.0] Addon: Ice Cube v1.1
Quote:
|
Re: [ZP5.0] Addon: Ice Cube v1.1
I found another bug when a player freeze the nemesis the model stay on a place all the map..
|
Re: [ZP5.0] Addon: Ice Cube v1.1
Quote:
|
Re: [ZP5.0] Addon: Ice Cube v1.2
I have find new problem (I'm not sure whether I'm the only one facing this problem):
Quote:
Quote:
|
Re: [ZP5.0] Addon: Ice Cube v1.2
Remove the cvar pointer of plugin_init and put it on plugin_cfg, like this:
PHP Code:
|
Re: [ZP5.0] Addon: Ice Cube v1.2
Thank you for helping. However it still giving the same error. I have tested it.
|
Re: [ZP5.0] Addon: Ice Cube v1.2
The cvar registration is good where is it now however the problem is that the author has used nemesis cvar from ZP 4.3 this cvar doesn't exists in ZP 5.0 since you enable zp43compat.amxx plugin but not sure will work too :)
So open the .SMA of Ice cube and change Code:
_pCvarNemesisFreeze = get_cvar_pointer( "zp_grenade_frost_nemesis" ) PHP Code:
|
Re: [ZP5.0] Addon: Ice Cube v1.2
Thank you guys, wicho and CryWolf. I have combined both of your solutions. Now, the plugin is working well.
This line should be changed: PHP Code:
PHP Code:
|
Re: [ZP5.0] Addon: Ice Cube v1.4
Updated the code.
|
Re: [ZP5.0] Ice Cube
Can u make it for zp 4.3 fix5a please
|
Re: [ZP5.0] Ice Cube
Quote:
|
Re: [ZP] Addon: Ice Cube (ZP5.0 + ZP 4.3)
Tested it on Zombie Plagues Shade and it seems to not work.
|
Re: [ZP] Addon: Ice Cube (ZP5.0 + ZP 4.3)
Quote:
|
Re: [ZP5.0] Addon: Ice Cube
( That first message was too kind. )
Right now i dont really see the difference between me and you. We both acting like children yet i am one, im not sure about you. If you want that your zp4.3 one will work you should copy/paste exacly the code not just take an idea. ( idea of hooking think. ) You cant just leave out the functions i wrote without knowing what they are for. 2. IF you can make it work somehow ( probably by taking my idea again ... ) What if zombie is near the explosion while having madness? ( This is way i checked pev_maxspeed ) Also, I tested your plugin even tho i was 100% sure that it wont work. For asherkin: Sometimes i cant even tell if im serious or not. Im just really sad that you took away my cute costom title. For Just4Games That zp mod you're using might be different from zp4.3. That would be reason why mine did not work for you even tho it is working fine in 4.3. |
Re: [ZP] Addon: Ice Cube (ZP5.0 + ZP 4.3)
Dare, ZPS it's more like a ZP 4.3 but has the new modes + a new one called Bombardier.
|
Re: [ZP] Addon: Ice Cube (ZP5.0 + ZP 4.3)
Quote:
It wont allow compile it or it just wont do anything, even no errors? |
Re: [ZP] Addon: Ice Cube (ZP5.0 + ZP 4.3)
No errors in console, it just doesn't want to work.
Image with your plugin installed dare:
Spoiler
|
Re: [ZP5.0] Addon: Ice Cube
Quote:
Quote:
Quote:
So in the end i still think stock should not be used and i still don't get why every server has 32 players inside your plugin. And you told me i used think, look at my plugin that was posted long time ago (Gas Mask) You can check code there its not that well coded and would need to be rewriten, but you can see my point there (I know you seen it). |
Re: [ZP] Addon: Ice Cube (ZP5.0 + ZP 4.3)
What is your point you're trying to prove right?
I did create the code like in 5 minutes, tested and edited code. Thats all i did. About your gas mask, well. It dont work for zp4.3. You're pretty much doing the same mistake like in this plugin. Look at my code and read that line where i register think... About that maxplayer thing. Well, why dont you just save entity index to variable instead doing loop alot bigger than 32 everytime you need to check entity? :) You're right about my loop thingy yet its just so small thing that i dont even dare to reupload the sma for this. If you had anyidea how computers works then you will know that some extra native calls wont to anything at all. If i would in fact run loop in prethink then ofcourse i would do as you say. Now, about the madness and the way of hooking it. If you read the zombieplague40.sma then you will realize that there is just no ohter way around it. |
Re: [ZP] Addon: Ice Cube (ZP5.0 + ZP 4.3)
Quote:
Quote:
Quote:
Quote:
Quote:
Updated version ZP 5.0 |
Re: [ZP] Addon: Ice Cube (ZP5.0 + ZP 4.3)
Ladies, take it to PM if you wish to continue the pissing contest about code quality.
Quote:
|
Re: [ZP] Addon: Ice Cube (ZP5.0 + ZP 4.3)
As i seen the only way for the madness to be set was by getting pev_maxspeed thanks to
Code:
if (g_frozen[id]) |
Re: [ZP] Addon: Ice Cube (ZP5.0 + ZP 4.3)
Just4Games Exactly the same problem =(
http://i60.tinypic.com/2py271x.jpg |
Re: [ZP] Addon: Ice Cube (ZP5.0 + ZP 4.3)
ghostz0r Which version are you using?
|
All times are GMT -4. The time now is 16:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.