Left 4 Dead 2

Left 4 Dead 2

Not enough ratings
(Host Only) [VScript] Custom Viewmodel Arms - for Custom Survivors
   
Award
Favorite
Favorited
Unfavorite
Survivors: Survivors
Game Content: Weapons, Items, Scripts, Models, Textures
File Size
Posted
Updated
189.952 MB
18 Aug @ 1:43am
25 Aug @ 3:21am
3 Change Notes ( view )

Subscribe to download
(Host Only) [VScript] Custom Viewmodel Arms - for Custom Survivors

In 1 collection by ChapCanai
Custom Survivor Takeover Collection
89 items
Description
All credits go to the original sources:

I just renamed the files so that they can be used for custom survivors.

Mainly for Custom Survivor Takeover, and if you want to play as a custom survivor.
Without this, you will have invisible viewmodel arms. (smoker_claw or some shi, idk)

Arms Names:
  • "yusuke"
  • "sara"
  • "haruka"
  • "blake"
  • "mike"
  • "mary"
  • "pete"
  • "pilot"
  • "john"
  • "amanda"
  • "jeff"
  • "whitaker"
  • "gibbs"
  • "virgil"
  • "css"

Due to 32 materials limit in 1 mdl, this is the most I could squeeze in.

Other custom survivors who are not included would just have CSS arms as default

The vscript only matches the arms to the host's model, because I don't know a better way to do this.
Feel free to suggest if you know

There is also a settings.cfg file at \Left 4 Dead 2\left4dead2\ems\custom_viewmodel_arms\
in case you want to reuse some arms for other custom survivors.
The settings "check_models" and "arms_names" are arrays parallel to each other.

This replaces all the weapon scripts, so may conflict with some weapon mods.
Guest players may see some visual glitches if they have other weapon scripts.

Probably need to restart the game to avoid ERROR.mdl

This hijacks the convar "mp_weapon_xm1014_price" to set the arms id

Credits:
  • Shadowysn, kouga, ChimiChamo - idea and guidance
  • Ellie - Model RNG vmt
  • and where the arms are from, of course
  • devlos & chatgpt - ParseSettings code
5 Comments
ChapCanai  [author] 24 Aug @ 7:26am 
@Minhok
Ye those with their own custom animations would have broken animations for the lux legs script for some reason. Idk how to fix
Minhok 24 Aug @ 7:17am 
This addon work well with Lux's Survivor Legs idk why Sara bodies T pose in Pov view
Minhok 24 Aug @ 6:11am 
Nvm i removed an addon "Overhaul Shared Content" now the hands is visible
ChapCanai  [author] 24 Aug @ 2:49am 
@Minhok
Did you restart the game?
Minhok 24 Aug @ 2:43am 
I remove weapons addons and conflict addons but it still invisible hands when using guns only melee,medkit,throwables is visible hands