Left 4 Dead 2

Left 4 Dead 2

26 beoordelingen
(Host Only) [VScript] Custom Viewmodel Arms - for Custom Survivors
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Survivors: Survivors
Game Content: Weapons, Items, Scripts, Models, Textures
Bestandsgrootte
Geplaatst op
Bijgewerkt op
189.952 MB
18 aug om 1:43
30 sep om 20:02
4 wijzigingsnotities (weergeven)

Abonneren om te downloaden
(Host Only) [VScript] Custom Viewmodel Arms - for Custom Survivors

In 1 verzameling van ChapCanai
Custom Survivor Takeover Collection
91 items
Omschrijving
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 uses the custom convar "yeoh_custom_viewmodel_arms_id" to set the arms id

The way I did it was using Ellie's model RNG:
To cram every arm model into one mdl, then each vmt will check what is the current id. if the id matches, then make itself not transparent

Credits:
  • Shadowysn, kouga, ChimiChamo - idea and guidance
  • Ellie - Model RNG vmt
  • and where the arms are from, of course
  • devlos - ParseSettings code
  • kouga, kurochama, RF - custom convar tips
7 opmerkingen
ChapCanai  [auteur] 10 sep om 18:03 
@ZombieZach
Did you restart the game after subscribing?
ZombieZach 10 sep om 12:30 
Hey ChapCanai i use a mod that gives me extra slots but if i use this it doesn't work
ChapCanai  [auteur] 24 aug om 7:26 
@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 om 7:17 
This addon work well with Lux's Survivor Legs idk why Sara bodies T pose in Pov view
Minhok 24 aug om 6:11 
Nvm i removed an addon "Overhaul Shared Content" now the hands is visible
ChapCanai  [auteur] 24 aug om 2:49 
@Minhok
Did you restart the game?
Minhok 24 aug om 2:43 
I remove weapons addons and conflict addons but it still invisible hands when using guns only melee,medkit,throwables is visible hands