Raised This Month: $ Target: $400
 0% 

[L4D/L4D2] Character Select Menu (2.5a/b)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Xada
Junior Member
Join Date: May 2017
Old 01-18-2021 , 10:49   Re: [L4D/L4D2] Character Select Menu (2.5a/b)
Reply With Quote #11

Quote:
Originally Posted by Sappykun View Post
Kinda wish SCS had its own thread, but I'm posting my edited version here because I want some feedback/advice on it.

This is a very useful addon!
My friend and I have been experimenting with hexing extra survivor models over and for the most part this seems to work, however I notice the two models provided (Reimu and Taokaka) appear to crash the sever as soon as you attempt to use any sort of incapped crawling (I currently use this plugin for the functionality: https://forums.alliedmods.net/showthread.php?p=1291588 ) with the error:
"174/ - commentary_dummy: UTIL_SetModel: not precached: models/serioussaturdays/survivors/taokaka"
Reimu's crash message is pretty much identical. I'm unsure why this occurs as our own hexes appear to at worst T-Pose when crawling. It seems to be a precaching issue, but the other models don't share this issue inherently and as far as I know they aren't directly precached either? Hopefully some light can be shed onto this as to why it only happens when the incapped crawling is initiated.

EDIT: upon further testing I notice using things like CSC to change a bot works until they are defibbed or the map changes, then they almost always revert to another bot (ie a custom model ellis will become straight up nick on revive/map change)
Unsure if this is the mod's behavior exactly but it seems consistent with other plugins used-- is there any possible workaround for bots to stay as the custom-model survivors without resetting?

Edit#2: It would seem the above model-related crash has something to do with the file path and how the plugin reads the MDL files. If the hexed pathname exceeds the characters in the base modelname (ie survivor_gambler.mdl) it will cause the server to crash on plugin-aided animations (like the incap crawling) or, more strangely instead of crashing, turns survivor into coach but only when crawling. Funny error to witness, but usually avoided by making the custom model name shortened.


Edit #3: It would also appear the provided .sp file no longer compiles properly on newer/beta branches of Sourcemod. This could be a fluke with the beta branch I am using but I figured it was also worth noting here for feedback and reference purpose.

Code:
SourcePawn Compiler 1.11.0.6654
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2018 AlliedModders LLC

survivor_chat_select_2.sp(439) : error 001: expected token: "{", but found "("
survivor_chat_select_2.sp(445) : error 010: invalid function or declaration
survivor_chat_select_2.sp(441) : warning 203: symbol is never used: "__unknown__
"

2 Errors.

Last edited by Xada; 01-27-2021 at 21:53. Reason: further testing/information #3
Xada is offline
 



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 22:05.


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