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

[L4D/L4D2]Lux's Model Changer(30/03/2020)


Post New Thread Reply   
 
Thread Tools Display Modes
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 07-08-2017 , 06:33   Re: [L4D2]Left 4 Dead 2 Model Changer(1.9- 03/07/2017)
Reply With Quote #101

Please stand by if your looking to download the includes for left 4 dead 2 model changer.

I'm unable to upload attachments right now?
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Farmoza
Member
Join Date: Dec 2016
Old 07-10-2017 , 04:52   Re: [L4D2]Left 4 Dead 2 Model Changer(1.9- 03/07/2017)
Reply With Quote #102

Artifacts appear on the map with 1m3mall
Farmoza is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 07-10-2017 , 05:25   Re: [L4D2]Left 4 Dead 2 Model Changer(1.9- 03/07/2017)
Reply With Quote #103

Quote:
Originally Posted by Farmoza View Post
Artifacts appear on the map with 1m3mall
That's not LMC's problem.

I had it when i had plugins that required signitures, e.g. supertanks,
after they were removed the bug was gone.
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 08-05-2017 , 14:10   Re: [L4D2]Left 4 Dead 2 Model Changer(1.9.6- 05/08/2017)
Reply With Quote #104

Update 1.9.6

1.9.2
Fixed api called returning Entity reference instead of Entity index.

1.9.3
Common infected model changing nolonger random it will cycle though they 1-34

1.9.4
Updated IsInfectedThirdPerson

1.9.5
Fixed some mistakes with code.
Saved some returns to varables instead of finding it again.
Optmized code somemore.

1.9.6
Added Deathmodel animations.

Somestuff i changed i forgot

Enjoy
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 08-24-2017 , 07:09   Re: [L4D2]Left 4 Dead 2 Model Changer(1.9.6- 05/08/2017)
Reply With Quote #105

Found a strange problem, a user if you change the model with Bill, all joined after the game is Bill characters, all become the first user after the replacement model.
For example, Bill changed the model to witch, and the characters who joined Bill later were all witch.
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 09-12-2017 , 05:59   Re: [L4D2]Left 4 Dead 2 Model Changer(1.9.6- 05/08/2017)
Reply With Quote #106

Is it possible to add more model choices? I play on a server that has a menu that allows players to change their character models to props like a teddy bear, wheelchair, bathtub, etc.

I'm wondering if your plugin's source code is user-friendly (easily configurable) for people who have no experience in coding (like me).

EDIT: Correct me if I'm wrong but these are the parts of the code that I need to edit to add more models right?

At the bottom of this:
Code:
#define Infected_Common34		"models/infected/common_test.mdl"
and

At the bottom of this:
Code:
	PrecacheModel(Infected_Common34, true);
Those are the only parts of the code I could find that has to do with setting up which models can be precached and used in the model changer menu.
__________________

Last edited by Psyk0tik; 10-22-2017 at 11:01. Reason: Elaborated question
Psyk0tik is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 09-12-2017 , 07:46   Re: [L4D2]Left 4 Dead 2 Model Changer(1.9.6- 05/08/2017)
Reply With Quote #107

Quote:
Originally Posted by Crasher_3637 View Post
Is it possible to add more model choices? I play on a server that has a menu that allows players to change their character models to props like a teddy bear, wheelchair, bathtub, etc.

I'm wondering if your plugin's source code is user-friendly (easily configurable) for people who have no experience in coding (like me).

EDIT: Correct me if I'm wrong but these are the parts of the code that I need to edit to add more models right?

At the bottom of this:
Code:
#define Infected_Common34		"models/infected/common_test.mdl"
and

At the bottom of this:
Code:
	PrecacheModel(Infected_Common34, true);
Those are the only parts of the code I could find that has to do with setting up which models can be precached and used in the model changer menu.

LMC is not like any model changer i don't change your model directly, if you try attaching other models with no bones or with no matching bones the model will be nowhere to be found.

Soo trying to add a bathtub will not work, that would require alot of code editing/adding to make it work

My code is not userfriendly(so im told) why i created an API for everything you would need for easier access to LMC features and easier for mee
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D

Last edited by Lux; 09-12-2017 at 07:51.
Lux is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 09-12-2017 , 14:11   Re: [L4D2]Left 4 Dead 2 Model Changer(1.9.6- 05/08/2017)
Reply With Quote #108

Okay, thanks for clearing that up.
__________________

Last edited by Psyk0tik; 10-22-2017 at 11:01.
Psyk0tik is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 09-15-2017 , 12:45   Re: [L4D2]Left 4 Dead 2 Model Changer(1.9.6- 05/08/2017)
Reply With Quote #109

L 09/15/2017 - 237:16: SourceMod error session started
L 09/15/2017 - 237:16: Info (map "c2m5_concert") (file "errors_20170915.log")
L 09/15/2017 - 237:16: [SM] Exception reported: Script execution timed out
L 09/15/2017 - 237:16: [SM] Blaming: L4D2ModelChanger.smx
L 09/15/2017 - 237:16: [SM] Call stack trace:
L 09/15/2017 - 237:16: [SM] [1] Line 304, C:\1L4D2\left4dead2\addons\sourcemod\scriptin g\L4D2ModelChanger.sp::OnMapStart
L 09/15/2017 - 237:27: Error log file session closed.
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 09-15-2017 , 14:03   Re: [L4D2]Left 4 Dead 2 Model Changer(1.9.6- 05/08/2017)
Reply With Quote #110

Quote:
Originally Posted by phoenix0001 View Post
L 09/15/2017 - 237:16: SourceMod error session started
L 09/15/2017 - 237:16: Info (map "c2m5_concert") (file "errors_20170915.log")
L 09/15/2017 - 237:16: [SM] Exception reported: Script execution timed out
L 09/15/2017 - 237:16: [SM] Blaming: L4D2ModelChanger.smx
L 09/15/2017 - 237:16: [SM] Call stack trace:
L 09/15/2017 - 237:16: [SM] [1] Line 304, C:\1L4D2\left4dead2\addons\sourcemod\scriptin g\L4D2ModelChanger.sp::OnMapStart
L 09/15/2017 - 237:27: Error log file session closed.
Not really sure if that error is my fault.

By the looks of it you have slow storage.
There is a cvar to give plugins more time to do stuff but i don't remember it.
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux 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 21:28.


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