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

[HELP] Players will always use server models


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mastera40
Member
Join Date: Jul 2014
Old 07-25-2014 , 11:17   [HELP] Players will always use server models
Reply With Quote #1

Hello guys,
Yet another topic from me.
How can I make sure that when a player connects to my server he will download all the models and replace the ones with the same name.
For example when someone joins my server his Hunter models will be replaced by mine (since mine are different). What happens is the game checks if the user has those files and continues without checking if they are different.
So how can I make sure that players are using my server models ?
Thanks !
mastera40 is offline
Just4Games
Senior Member
Join Date: Jan 2013
Location: Romania
Old 07-25-2014 , 11:30   Re: [HELP] Players will always use server models
Reply With Quote #2

You have to change the name of the model you edited.
If you have a model on your server (edited one) and a player has the same model (same name), his client will pretend that the model it's already downloaded and pass it.
__________________

Just an old fart revisiting the nostalgia.
---------
Oh yeah
|[[ZPA/ZPS]NoSound]|[[ZPA/ZPS]Hud Stats(Edited)]|

PS: I go by MoistWomble nowadays.

Last edited by Just4Games; 07-25-2014 at 11:31.
Just4Games is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 07-25-2014 , 11:31   Re: [HELP] Players will always use server models
Reply With Quote #3

You can set a tag on the end of the models example : hunter_zombie_rz.mdl
Or you can create your own file and then inside place models.

EDIT:
Quote:
Originally Posted by Just4Games View Post
You have to change the name of the model you edited.
If you have a model on your server (edited one) and a player has the same model (same name), his client will pretend that the model it's already downloaded and pass it.
You are faster... :/
__________________

Last edited by H.RED.ZONE; 07-25-2014 at 14:11.
H.RED.ZONE is offline
mastera40
Member
Join Date: Jul 2014
Old 07-25-2014 , 11:41   Re: [HELP] Players will always use server models
Reply With Quote #4

Quote:
Originally Posted by H.RED.ZONE View Post
Or you can create your own file and then inside place models.
I want to put the models in a folder with my server name. How can I do that ? I just change the paths ?
How can I change all zombie models like this one to be in a folder called "VGServer":

PHP Code:
new const zclass_model[] = "zombie_brain_eater"
new const zclass_clawmodel[] = "v_knife_zombie_brain_eater.mdl" 

Last edited by mastera40; 07-25-2014 at 11:42.
mastera40 is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 07-25-2014 , 11:48   Re: [HELP] Players will always use server models
Reply With Quote #5

Quote:
Originally Posted by mastera40 View Post
I want to put the models in a folder with my server name. How can I do that ? I just change the paths ?
How can I change all zombie models like this one to be in a folder called "VGServer":

PHP Code:
new const zclass_model[] = "zombie_brain_eater"
new const zclass_clawmodel[] = "v_knife_zombie_brain_eater.mdl" 
ZP5.0 uses models API that mercylezz made so you would need to edit the zp50_class_zombie.sma to do that and much better way would be to add a tag in the end, you don't really need to complicate things in your life. (:
__________________
H.RED.ZONE is offline
mastera40
Member
Join Date: Jul 2014
Old 07-25-2014 , 11:51   Re: [HELP] Players will always use server models
Reply With Quote #6

Well it would be better to create a new folder. If players stopped playing on my server I could create a folder with my ip and the models in it... that way they will have the ip and can easily find my server again.
mastera40 is offline
Just4Games
Senior Member
Join Date: Jan 2013
Location: Romania
Old 07-25-2014 , 12:03   Re: [HELP] Players will always use server models
Reply With Quote #7

Quote:
Originally Posted by H.RED.ZONE View Post
You are faster... :/
Thank you! XD
__________________

Just an old fart revisiting the nostalgia.
---------
Oh yeah
|[[ZPA/ZPS]NoSound]|[[ZPA/ZPS]Hud Stats(Edited)]|

PS: I go by MoistWomble nowadays.
Just4Games is offline
mastera40
Member
Join Date: Jul 2014
Old 07-25-2014 , 14:07   Re: [HELP] Players will always use server models
Reply With Quote #8

Can you guys tell me how I can move all the models in one folder ? Both player and knife models.

P.S. I don't like putting tags...

Last edited by mastera40; 07-25-2014 at 14:08.
mastera40 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 07-25-2014 , 14:14   Re: [HELP] Players will always use server models
Reply With Quote #9

Quote:
Well it would be better to create a new folder. If players stopped playing on my server I could create a folder with my ip and the models in it. That way they will have the ip and can easily find my server again.
I like your idea.

I can use it for the my new ZP server.
zmd94 is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 07-25-2014 , 14:15   Re: [HELP] Players will always use server models
Reply With Quote #10

Quote:
Originally Posted by Just4Games View Post
Thank you! XD
Omg your signature XD (And Metal Gear Rising *-*)

Quote:
Originally Posted by mastera40 View Post
Can you guys tell me how I can move all the models in one folder ? Both player and knife models.
P.S. I don't like putting tags...
You really want your life to be harder (:

Open "zp50_class_zombie" and change every like from
Code:
models/player/%s/%s.mdl
=>
Code:
models/MyFolder/%s/%s.mdl
And don't forget to change

Code:
models/player/%s/%sT.mdl
=>
Code:
models/MyFolder/%s/%sT.mdl
It's a support for Tmodel files.
__________________

Last edited by H.RED.ZONE; 07-25-2014 at 14:17. Reason: God i hate that smyle...
H.RED.ZONE 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 20:00.


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