AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   *Survivor Model* ---> [Zombie Mod] (https://forums.alliedmods.net/showthread.php?t=81434)

crazyeffect 12-05-2008 06:20

*Survivor Model* ---> [Zombie Mod]
 
3 Attachment(s)
Survivor Model
version 1.0
By crazyeffect



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 :D
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.)

xPaw 12-05-2008 07:16

Re: *Survivor Model* ---> [Zombie Mod]
 
this plugin does nothing if real ;o

the ResetHUD event should be changed into player spawn event

tuty 12-05-2008 07:19

Re: *Survivor Model* ---> [Zombie Mod]
 
i tink you can make this in fakemeta using fakemeta_util.. right?:|

crazyeffect 12-05-2008 07:24

Re: *Survivor Model* ---> [Zombie Mod]
 
Quote:

Originally Posted by xPaw (Post 722843)
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 12-05-2008 07:26

Re: *Survivor Model* ---> [Zombie Mod]
 
Quote:

Originally Posted by tuty (Post 722844)
i tink you can make this in fakemeta using fakemeta_util.. right?:|

I just started... What is rong about this?

tuty 12-05-2008 07:36

Re: *Survivor Model* ---> [Zombie Mod]
 
oh i have no problem.. GG :P

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?

Stixsmaster 12-05-2008 10:19

Re: *Survivor Model* ---> [Zombie Mod]
 
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

Arkshine 12-05-2008 10:27

Re: *Survivor Model* ---> [Zombie Mod]
 
PlayerModel already exists to change player models. I don't understand well the purpose of this plugin.

crazyeffect 12-05-2008 10:30

Re: *Survivor Model* ---> [Zombie Mod]
 
@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...

Arkshine 12-05-2008 10:37

Re: *Survivor Model* ---> [Zombie Mod]
 
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 )


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

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