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

*Survivor Model* ---> [Zombie Mod]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 12-05-2008 , 06:20   *Survivor Model* ---> [Zombie Mod]
Reply With Quote #1

Survivor Model
version 1.0
By crazyeffect


Screenshots:

What does this plugin do?
It changes the player models into a survivor model!
(It does it automatic, you can only turn it off by the cvar.)

Cvars:
"survivor_model" "1/0" (Plugin on or off) [Default = 1]

Installation:
- Put the "survivor.amxx" file in "amxmodx/plugins"
- Put the line "survivor.amxx" in your "amxmodx/configs/plugins.ini" file
- Put the "survivor.mdl" in "czero/models/player/survivor"
If you change the place of "survivor.mdl", then put the "suvivor.sma" in your "amxmodx/scripting" file

Known bugs and oncoming updates:
If you have an admin model, it won't work...
I maybe will add it to this plugin
Like a survivor admin model!
(Send me PM if you wanna help with it... I don't know how to add admin.mdl
<---->
I should wanna add an alert sound.
When someone is infeted it plays: "Pieeeuw, pieeeuw..."
("siren.wav", already exists.)
Attached Files
File Type: sma Get Plugin or Get Source (survivor.sma - 1508 views - 506 Bytes)
File Type: zip survivor.zip (1.63 MB, 1276 views)

Last edited by crazyeffect; 12-05-2008 at 10:52.
crazyeffect is offline
Send a message via MSN to crazyeffect
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 12-05-2008 , 07:16   Re: *Survivor Model* ---> [Zombie Mod]
Reply With Quote #2

this plugin does nothing if real ;o

the ResetHUD event should be changed into player spawn event
__________________
xPaw is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 12-05-2008 , 07:19   Re: *Survivor Model* ---> [Zombie Mod]
Reply With Quote #3

i tink you can make this in fakemeta using fakemeta_util.. right?
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 12-05-2008 , 07:24   Re: *Survivor Model* ---> [Zombie Mod]
Reply With Quote #4

Quote:
Originally Posted by xPaw View Post
this plugin does nothing if real ;o

the ResetHUD event should be changed into player spawn event
It works like it is now...

I need to change it in:
Quote:
register_event("PlayerSPAWN", "resetModel", "b")
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 12-05-2008 , 07:26   Re: *Survivor Model* ---> [Zombie Mod]
Reply With Quote #5

Quote:
Originally Posted by tuty View Post
i tink you can make this in fakemeta using fakemeta_util.. right?
I just started... What is rong about this?
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 12-05-2008 , 07:36   Re: *Survivor Model* ---> [Zombie Mod]
Reply With Quote #6

oh i have no problem.. GG

EDIT: i have a strange qwest'

If this plugin has been set to 1 on zm plague server, zombies models is not changed no?

i mean the humans will be survivors and the zombies bouth.... i think.. anyway zombies remain in default model?
__________________

Last edited by tuty; 12-05-2008 at 09:46.
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Stixsmaster
Veteran Member
Join Date: May 2007
Location: I am all around you...I
Old 12-05-2008 , 10:19   Re: *Survivor Model* ---> [Zombie Mod]
Reply With Quote #7

So if I am not mistaken doesnt ZM and ZP and any other Zombie mod code out there already have in its coding the ability to change both zombie and human models?

So what is the point of this code really? just an attempt to get easy karma?

---Stixsmaster
__________________
Stixsmaster is offline
Send a message via AIM to Stixsmaster Send a message via MSN to Stixsmaster
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-05-2008 , 10:27   Re: *Survivor Model* ---> [Zombie Mod]
Reply With Quote #8

PlayerModel already exists to change player models. I don't understand well the purpose of this plugin.
__________________
Arkshine is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 12-05-2008 , 10:30   Re: *Survivor Model* ---> [Zombie Mod]
Reply With Quote #9

@Stixsmaster:
No, ZP i don't know, but Biohazard cant much peoples compile. And this plugin is easier.
And karma doesnt care me...

@Arkshine:
This is much easier then a player model change plugin, am i right or rong?
Here you have only a .amxx and .mdl...
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-05-2008 , 10:37   Re: *Survivor Model* ---> [Zombie Mod]
Reply With Quote #10

You're wrong.

Anyway :

- You create a cvar which not used.
- You use cs_set_user_model() which known to generate deconnections, errors, etc. ( See tuto ou use connor's plugin )
- You apply model on ResetHud without any checks. ( Plus, it should be resetModel(id) not with "level, cid". It's not a command.) Really a bad way to do that. Use another events. ( see tutos )
__________________

Last edited by Arkshine; 12-05-2008 at 10:39.
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 14:52.


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