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

Players Models 1.3.1 ( 13 nov 2010 )


Post New Thread Reply   
 
Thread Tools Display Modes
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-11-2013 , 00:34   Re: Players Models 1.3.1 ( 13 nov 2010 )
Reply With Quote #531

ZP has its own model system.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Lexofles
Member
Join Date: Sep 2013
Old 10-11-2013 , 06:39   Re: Players Models 1.3.1 ( 13 nov 2010 )
Reply With Quote #532

Quote:
Originally Posted by ConnorMcLeod View Post
ZP has its own model system.
Hi thank you for your reply , just asking how u fix this?

Last edited by Lexofles; 10-11-2013 at 06:42.
Lexofles is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 10-11-2013 , 06:49   Re: Players Models 1.3.1 ( 13 nov 2010 )
Reply With Quote #533

check your "zp configuration files" (.cfg and .ini)
__________________
ANTICHRISTUS is offline
Old 10-11-2013, 07:30
Lexofles
This message has been deleted by ConnorMcLeod. Reason: OT
Old 10-11-2013, 08:03
ANTICHRISTUS
This message has been deleted by ConnorMcLeod. Reason: OT
Old 10-11-2013, 08:13
Lexofles
This message has been deleted by ConnorMcLeod. Reason: OT
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-11-2013 , 12:52   Re: Players Models 1.3.1 ( 13 nov 2010 )
Reply With Quote #534

This does NOT work with ZP.
You can set models directly in ZP configs.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Old 10-11-2013, 14:20
ANTICHRISTUS
This message has been deleted by ConnorMcLeod. Reason: OT
Old 10-11-2013, 18:13
Lexofles
This message has been deleted by ConnorMcLeod. Reason: OT
Old 10-12-2013, 18:04
Lexofles
This message has been deleted by ConnorMcLeod. Reason: OT
Old 10-12-2013, 19:22
wickedd
This message has been deleted by ConnorMcLeod. Reason: OT
alencore
Senior Member
Join Date: Oct 2011
Old 11-11-2013 , 04:40   Re: Players Models 1.3.1 ( 13 nov 2010 )
Reply With Quote #535

Is it possible or anyone willing to make this have individual map configs "playermodel-mapname.ini" files so I can use more models atleast 8 different sets per map?
alencore is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-11-2013 , 05:29   Re: Players Models 1.3.1 ( 13 nov 2010 )
Reply With Quote #536

Try this version :

- default file is now located in addons/amxmodx/configs/players_models/players_models.ini

Priority config files order is :

1. MAPNAME
2. PREFIX
3. DEFAULT

For example for fy_snow :
1. addons/amxmodx/configs/players_models/fy_snow.ini
2. addons/amxmodx/configs/players_models/prefix_fy.ini
3. addons/amxmodx/configs/players_models/players_models.ini

When one of those files is found by plugin, other files are not checked at all.


- new commands to add models in config files (map need to be reloaded after that for precache needs) :

amx_set_player_model <steamid/name/userid> <t_model> <ct_model> <vip_model> [MAPNAME/PREFIX]
([partial] name, userid and partial steamids are only allowed for connected players, for not connected players you need to pass steamid.

amx_set_default_players_model <def_model> <new_model> [MAPNAME/PREFIX]


About [MAPNAME/PREFIX], if you write an extra argument, if that argument is "prefix", model is add in config file that is corresponding to current map prefix, else if you pass "mapname", per map cfg file for current map is written, else, the arg you write is taken in account, so you could either write a mapname "de_dust" or a prefix "prefix_de" as argument.
Attached Files
File Type: sma Get Plugin or Get Source (players_models.sma - 621 views - 11.2 KB)
File Type: zip configs.zip (641 Bytes, 158 views)
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 11-11-2013 at 10:45.
ConnorMcLeod is offline
alencore
Senior Member
Join Date: Oct 2011
Old 11-11-2013 , 23:36   Re: Players Models 1.3.1 ( 13 nov 2010 )
Reply With Quote #537

@ConnorMcLeod....Now that's definitely sounds better and tnx for the immediate update, will test it out now....so excited hehe! Much tnX!
alencore is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-12-2013 , 01:35   Re: Players Models 1.3.1 ( 13 nov 2010 )
Reply With Quote #538

I figured out that in previous version, SetKeyValue was sent at new round even if model was already the good one, it is fixed now and it should prevent some overflows.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
alencore
Senior Member
Join Date: Oct 2011
Old 11-12-2013 , 04:08   Re: Players Models 1.3.1 ( 13 nov 2010 )
Reply With Quote #539

Ok finally got it working seems I need to delete first the players_models.ini before creating mapname.ini files. Working really well now....tnc u very muchos!!

Btw you still haven't made this random coz now it only uses the last line of models
as this what I wrote on the players_models.ini...

Code:
"BOT" "ava1" "master_chief_blue" "cs_leluk"

"BOT" "mil1" "RoshelL4D2" "cs_leluk"

"BOT" "ayumi" "red" "cs_leluk"

"BOT" "krauserdsc" "CatWoman" "cs_leluk"
It uses this line only ....
"BOT" "krauserdsc" "CatWoman" "cs_leluk"
...no matter how many bots I spawn.

Just wondering if that's a bug.
alencore is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-12-2013 , 13:47   Re: Players Models 1.3.1 ( 13 nov 2010 )
Reply With Quote #540

Nope, you can only apply 1 model to bots.
And you don't need to delete anything in order to make mapname config file to work.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 16:39.


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