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

Entity Resources Replacement[ V 1.4 ]


Post New Thread Reply   
 
Thread Tools Display Modes
Ramexanloo
Junior Member
Join Date: Jun 2017
Location: Iran, for now.
Old 06-10-2017 , 03:58   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #221

Quote:
Originally Posted by HamletEagle View Post
So without this plugin map is changed faster?
Exactly.
With this plugin ON => 30 sec
With Plugin OFF => about 5 sec

I have replaced 3 models at all.
__________________
Iranians are not Terrorists, don't let the media fool you.
Proud Iranian, But hate this [Islamic] goverment
Ramexanloo is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-10-2017 , 08:01   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #222

Dynamic or complete replacement?
__________________
HamletEagle is offline
Ramexanloo
Junior Member
Join Date: Jun 2017
Location: Iran, for now.
Old 06-10-2017 , 13:13   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #223

Quote:
Originally Posted by HamletEagle View Post
Dynamic or complete replacement?
Complete.

Edit [1]: It was on very first line of my custom plugins list, Once I moved it down to last one, problem solved and there's no more delays, any idea?
Edit [2]: Server's unstable. with this plugin ON; sometimes it has delay on map change, sometimes not.
__________________
Iranians are not Terrorists, don't let the media fool you.
Proud Iranian, But hate this [Islamic] goverment

Last edited by Ramexanloo; 06-11-2017 at 15:10.
Ramexanloo is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-12-2017 , 10:25   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #224

I don't know, honestly. Complete replacement does nothing that could in any way slow the map change. It may be something related with your server and/or other plugins, but not this one.
Complete replacement changes some strings only one time, once map is loaded and reverse the change at the end of the map.
__________________
HamletEagle is offline
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 07-14-2017 , 11:27   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #225

any chance to remove orpheu? im using rehlds
tarsisd2 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-14-2017 , 14:10   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #226

Quote:
Originally Posted by tarsisd2 View Post
any chance to remove orpheu? im using rehlds
No, I'm not going to support it. Mainly because I'm too lazy to port it to rehlds and secondly because I would have to test on both to make sure things works.
__________________
HamletEagle is offline
angelbesh
New Member
Join Date: Aug 2017
Old 08-11-2017 , 00:50   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #227

My sprites aren't changing please help me. I got the error that the sprite name is too long. But even if i change it to shorter one its not changing. I tried to change the sprite of smoke to the black colored one. I added the line "sprites/gas_puff_01.spr sprites/gas_puff_bl.spr" in entities_resources_comp_replace.ini. Also I locally created the plugin file through the sma file. When I tried to install the plugin file(filesize of 2.3mB) that is present on this post, it gives microsoft visual c++ runtime error. But the one that i compiled(filesize of 13kB) doesnt give that error.

My error log:

L 08/11/2017 - 091:05: [entities_resources_replacement.amxx] [ sprites/gas_puff_01black.spr ] is longer than [ sprites/gas_puff_01.spr ]. Rename it to something shorter.
L 08/11/2017 - 091:05: [entities_resources_replacement.amxx] Both Replacement files are empty.
L 08/11/2017 - 094:09: [admin.amxx] Login: "[sG]` $tr!ker<1><STEAM_0:0:1615804064><>" became an admin (account "[sG]` $tr!ker") (access "abcdefghijklmnopqrstu") (address "192.168.1.4")
L 08/11/2017 - 098:57: -------- Mapchange to de_dust2 --------
L 08/11/2017 - 10:13:27: -------- Mapchange to de_dust2 --------
L 08/11/2017 - 10:13:28: [entities_resources_replacement.amxx] Connection was succesfully created
L 08/11/2017 - 10:137: -------- Mapchange to de_dust2 --------
L 08/11/2017 - 10:138: [entities_resources_replacement.amxx] Connection was succesfully created
L 08/11/2017 - 10:14:03: [admin.amxx] Login: "[sG]` $tr!ker<1><STEAM_0:0:1615804064><>" became an admin (account "[sG]` $tr!ker") (access "abcdefghijklmnopqrstu") (address "192.168.1.4")
L 08/11/2017 - 10:14:04: [entities_resources_replacement.amxx] Something went wrong while getting information about next version
angelbesh is offline
666
Senior Member
Join Date: Mar 2015
Old 08-26-2017 , 17:38   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #228

Help with this error

I have cvar ToggleReplacementType = 2, I'm only using dynamic.

dyn.ini
PHP Code:
;This file allow you to dynamically change entites resources
;For complete replacement use entities_resources_comp_replace file and set err_replace_type cvar to 1 or 3
;You can have resources changed for different playersteams, for admins, for maps and so on.
;
This increase the precache list, be sure to don't go over it(512)
;Please add models into their section, don'
t add player models in weapon section!

;
Flags explanation:

;
1.STEAM_....:
;
Allow to change a model only for a specific steamid.

;
2.Flag_access:
;
Access flag is the letter or the combination of letters that are used in users.ini.
;
You must add Flag in front of access flags. If you have the letter m it will become Flag_m.
;
Example: If you want the user with rcon acces to have a custom weapon model do: Flag_l v_old_model v_new_model p_new_model w_new_model

;Change the cvar AdminFlagsReadType to change the way in which admins flags are checked
;
0 means contain the flags from file must be contained in user flags
;1 means equal flags from file must be the same as the user flags.

;
Examplein the file we have the flags abc and a user with flags abcdefghijklmnopqrstu 
;If the cvar value is 0he will get the modelbecause abc is contained in abcdefghijklmnopqrstu
;If the cvar value is 1he won't get the model, because abc is not equal to abcdefghijklmnopqrstu

;You can also make any combination you want between flags, by adding a +
;Example: TEAM_CT+Flag_abc -> only admins with flag "abc" that are CT will get the modification

;Priority of plags:
;If the current player has a custom config this will be taken into account, no matter other settings(firstly steam, after that acces flags are checked)
;If the current player doesn'
t has a custom config then check the team configthis will be taken into accountno matter the global config
;If no player no team config the global config will be taken into account.
;If 
no player no team no global config the resources will not be changed for that player.


[
WEAPON MODELS]
;
Change Weapon Models
;You can change weapon models to one player, for one team, for admins or for all players.
;Use 
NULL to ignore a model from the syntaxThis model won't get changed.

;Syntax:
;STEAM_......    v_old_model v_new_model p_new_model w_new_model
;Flag_acces      v_old_model v_new_model p_new_model w_new_model
;TEAM_TERRORIST  v_old_model v_new_model p_new_model w_new_model
;TEAM_CT           v_old_model v_new_model p_new_model w_new_model
;ALL v_old_model v_new_model p_new_model w_new_model

;Example1: 
;ALL models/v_ak47.mdl models/v_m4a1.mdl models/p_m4a1.mdl NULL
;ALL means that everyone gets this modification
;models/v_ak47.mdl is the weapon you want to replace, specified by v_ model. If you would replace galil models, then it will be models/v_galil.mdl
;models/v_m4a1.mdl is the model which will replace models/v_ak47.mdl
;models/p_m4a1i.mdl is the model which will replace models/p_ak47.mdl
;NULL: this means that w_ak47.mdl won'
t be replaced.

;
Example2Flag_abcdefghijklmnopqrstu models/v_m4a1.mdl models/v_ak47.mdl models/p_ak47.mdl models/w_ak47.mdl
;Flag_abcdefghijklmnopqrstu means that only admins with "abcdefghijklmnopqrstu" will get the model.
;
This will replace all m4a1 models with ak47 ones.

;
Add your models below:

TEAM_TERRORIST models/v_awp.mdl models/HD/v_awp.mdl models/HD/p_awp.mdl models/HD/w_awp.mdl

[PLAYER MODELS]
;
Change Player Models
;You can add models for one player, for a team, for admins, for all players or to replace a specific model.
;Do 
not include models/ or .mdl in the path!
           
;
Syntax:
;
STEAM_......   model
;Flag             model
;TEAM_TERRORIST model
;TEAM_CT         model
;OldModel        model
;ALL             model

;Example1
;
TEAM_CT antifurien
;TEAM_CT means that only CT team will get the model
;antifurien this is the model that everyone from CT team will get


;Example2guerilla antifurien
;guerilla is the old model that will be replaced
;antifurien is the model that will replace "guerilla" model

;Add your models below:

"sas" "sas_bw"
"gsg9" "gsg9_bw"
"gign" "gign_bw"
"urban" "urban_bw"

"leet" "leet_bw"
"arctic" "arctic_bw"
"guerilla" "guerilla_bw"
"terror" "terror_bw"


[SOUND SECTION]
;
Change Sounds
;You can replace a sound with a new one.
;
Only .wav files are allowed, .no mp3 files.
;
You MUST include soundin the path.
;For 
weaponsyou can only change knife sound.

;
Syntax:
;
old_sound new_sound

;Example:
;
sound/weapons/knife_hitwall1.wav  sound/weapons/m4a1_deploy.wav
;This will replace sound/weapons/knife_hitwall1.wav with sound/weapons/m4a1_deploy.wav

;Add your sounds below:

"sound/weapons/c4_draw.wav" "sound/weapons/c4_draw.wav"
"sound/weapons/c4_initiate.wav" "sound/weapons/c4_initiate.wav"
"sound/weapons/key_press1.wav" "sound/weapons/key_press1.wav"
"sound/weapons/key_press2.wav" "sound/weapons/key_press2.wav"
"sound/weapons/key_press3.wav" "sound/weapons/key_press3.wav"
"sound/weapons/key_press4.wav" "sound/weapons/key_press4.wav"
"sound/weapons/key_press5.wav" "sound/weapons/key_press5.wav"
"sound/weapons/key_press6.wav" "sound/weapons/key_press6.wav"
"sound/weapons/key_press7.wav" "sound/weapons/key_press7.wav"
"sound/weapons/c4_disarm.wav" "sound/weapons/c4_disarm_csgo.wav"
"sound/weapons/c4_disarmed.wav" "sound/weapons/c4_disarmed_csgo.wav"
"sound/weapons/c4_beep1.wav" "sound/weapons/c4_beep1_csgo.wav"
"sound/weapons/c4_beep2.wav" "sound/weapons/c4_beep2_csgo.wav"
"sound/weapons/c4_beep3.wav" "sound/weapons/c4_beep3_csgo.wav"
"sound/weapons/c4_beep4.wav" "sound/weapons/c4_beep4_csgo.wav"
"sound/weapons/c4_beep5.wav" "sound/weapons/c4_beep5_csgo.wav"

[SPRITE SECTION]
;
Change Sprites
;This works pretty much as sprite replacement from complete replacement mode
;It does not increase precache list. The advantage is that you are not limited by path size, as in entities_resources_comp_replace

;Syntax:
;
old_sprite new_sprite

;Example:
;
sprites/fexplo.spr sprites/explo1.spr
;This will change the he grenade explosion sprite to explo1.spr

;Add your sprites below



Last edited by 666; 08-26-2017 at 18:04.
666 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-27-2017 , 08:30   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #229

"ReGameDLL"...
This plugin works in default HLDS only. Anything that uses orpheu module won't work in ReGameDLL unless changes are made.
__________________

Last edited by HamletEagle; 08-27-2017 at 08:31.
HamletEagle is offline
GoRiLliAz
Senior Member
Join Date: May 2013
Old 08-27-2017 , 08:49   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #230

hi if i have only rehlds but not regamedll he work ?
__________________

GoRiLliAz 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 06:44.


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