1.Left 4 Dead Model Changer no longer supports l4d2 only(See filenames of plugins).
2.LMC is now modular design.
3.See the includes in attached 7z/Github to see what changed in the API.
4.Maintained compatibility with olders plugins that use LMC besides 1 function.
5.Only install what you want without the other bloat.
6.Renamed plugin&thread because major change and hybrid support of both games
Plugin names in attached zip are named according to what they support.
L4D2 = Left 4 Dead 2
L4D1 = Left 4 dead
Nothing = Supports both
LMC = LMC ovcourse
Features:
1:Auto spawn with custom model when selected (LMC_L4D2_RandomSpawns or LMC_L4D2_Menu_Choosing).
2:ThirdpersonShoulder support
3:Try not to shoot your teammate because he looks like a boomer ;D
4:Last Picked model is saved to server for when you come back model is applied on spawn (LMC_L4D2_Menu_Choosing)
5:Creates a death model with your custom model or ragdoll(hide the death model)(LMCL4D2CDeathHandler)
6:LMC come's with it's own API you can code to and interact with (also allows witch and common models)(See includes for changes)
7.Modular design
I tried my best to make the custom models act like clientsided model from the server
No Download Server needed!!!
This is a Worldmodel only change, NOT VIEW MODEL
Cvars
Spoiler
LMCCore.cfg
PHP Code:
// ConVars for plugin "LMCCore.smx"
// 1 = (When client has no lmc model (enforce aggressive model showing base model render mode)) 0 = (compatibility mode (should help with plugins like incap crawling) Depends on the plugin)
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
lmc_aggressive_model_checks "0"
// The tank model is big and don't look good on other models so i made it optional(1 = true)
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
lmc_allow_tank_model_use "0"
// Disables model precaching on selected maps to help prevent crashing, e.g. "c1m3_mall," for dead center map 3 separated by ","
// -
// Default: ""
lmc_precache_prevent ""
LMC_L4D2_RandomSpawns.cfg
PHP Code:
// ConVars for plugin "LMC_L4D2_RandomSpawns.smx"
// Allow humans to be considered by rng, menu selection will overwrite this in LMC_Menu_Choosing
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
lmc_rng_humans "0"
// (0 = disable custom models)chance on which will get a custom model
// -
// Default: "20"
// Minimum: "0.000000"
// Maximum: "100.000000"
lmc_rng_model_infected "20"
// (0 = disable custom models)chance on which will get a custom model
// -
// Default: "10"
// Minimum: "0.000000"
// Maximum: "100.000000"
lmc_rng_model_survivor "10"
LMC_L4D2_Menu_Choosing.cfg
PHP Code:
// ConVars for plugin "LMC_L4D2_Menu_Choosing.smx"
// Allow admins to only change models? (1 = true) NOTE: this will disable announcement to player who join. ((#define COMMAND_ACCESS ADMFLAG_CHAT) change to w/o flag you want or (Use override file))
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
lmc_adminonly "0"
// Delay On which a message is displayed for !lmc command
// -
// Default: "15.0"
// Minimum: "1.000000"
// Maximum: "360.000000"
lmc_announcedelay "15.0"
// Display Mode for !lmc command (0 = off, 1 = Print to chat, 2 = Center text, 3 = Director Hint)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "3.000000"
lmc_announcemode "1"
// How long (in seconds) the client will be in thirdperson view after selecting a model from !lmc command. (0.5 < = off)
// -
// Default: "0.0"
// Minimum: "0.000000"
// Maximum: "360.000000"
lmc_thirdpersontime "0.0"
LMC_L4D1_Menu_Choosing.cfg
PHP Code:
// ConVars for plugin "LMC_L4D1_Menu_Choosing.smx"
// Allow admins to only change models? (1 = true) NOTE: this will disable announcement to player who join. ((#define COMMAND_ACCESS ADMFLAG_CHAT) change to w/o flag you want)
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
lmc_adminonly "0"
// Delay On which a message is displayed for !lmc command
// -
// Default: "15.0"
// Minimum: "1.000000"
// Maximum: "360.000000"
lmc_announcedelay "15.0"
// Allow humans to be considered by rng, menu selection will overwrite this in LMC_Menu_Choosing
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
lmc_rng_humans "0"
// (0 = disable custom models)chance on which will get a custom model
// -
// Default: "20"
// Minimum: "0.000000"
// Maximum: "100.000000"
lmc_rng_model_infected "100"
// (0 = disable custom models)chance on which will get a custom model
// -
// Default: "10"
// Minimum: "0.000000"
// Maximum: "100.000000"
lmc_rng_model_survivor "100"
Clients crashing workaround or client looks like a wall.
Spoiler
Most common map for client crashing is "c1m3_mall" this is due to "The stringtable for models is 2048 strings however clients can only precache 1024"
I made a cvar to disable precaching models (lmc_precache_prevent) this will try to help prevent client crashes by only using models that are precached already this does not account for other plugins trying to precache models.
If you crashing on c1m3_mall you can add in "LMC_SharedCvars.cfg" it may fix your issue it may not.
lmc_precache_prevent "c1m3_mall"
if you crashing on more than 1 map due to too many models you can add more map string to the cvar e.g. below.
lmc_precache_prevent "c1m3_mall,c11m1_greenhouse,c10m3_ranchho use"
Very Nice! Sir! Very love you! Very veryyyyyyyyyyyyyyyyyyyyyy likeeeeeeee loveeeeeeeeeeeeeee youuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu! I Feel so many more happyyyyyyyyyyyy! NICEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE!
Have a BUG! When change model (Model aren't model of survivors) if when play in ThirdPersonShoulder can see model but when play in the default view can't see model (I mean if others choose model aren't model of survivors. I can't see model of others when i play in the default view - first view, but i play in the ThirdPersonShoulder i can see model of others choose.When i play in the default view - fist view look like others choose model like stealth.) I test in the survivors.
Have a BUG! When change model (Model aren't model of survivors) if when play in ThirdPersonShoulder can see model but when play in the default view can't see model (I mean if others choose model aren't model of survivors. I can't see model of others when i play in the default view - first view, but i play in the ThirdPersonShoulder i can see model of others choose.When i play in the default view - fist view look like others choose model like stealth.) I test in the survivors.
1. Does this conflict with a standard character select plugin?
2. Do the models save themselves on map change, going idle, etc? Or do you always have to change the model to keep it?
1. Does this conflict with a standard character select plugin?
2. Do the models save themselves on map change, going idle, etc? Or do you always have to change the model to keep it?
Don't know if it conflicts with csm i don't use it, but if csm breaks this plugin then it is not really a bug, I don't really see the point using csm with this plugin
Your model is saved for the map then resets on nextmap load, it will auto give you model each spawn and Random Common Infected will give you a random common infected model each spawn
Well. It isn't bug sir? when i play in ThirdPersonShoulder , i can see my friend model (Model is not of survivors) but i play not in ThirdPersonShoulder ( play in first view) can't see model of they (They looks like stealth with gun dangling in mid air)
Well. It isn't bug sir? when i play in ThirdPersonShoulder , i can see my friend model (Model is not of survivors) but i play not in ThirdPersonShoulder ( play in first view) can't see model of they (They looks like stealth with gun dangling in mid air)
That is a better way to say it, i nearly understud nothing when you posted lasttime, yes i have already fixed it but mastermind wants to make thirdpersonshoulder perfect so it will be a little bit untill an update