Left 4 Dead 2

Left 4 Dead 2

26 oy
(Host Only) [VScript] Custom Viewmodel Arms - for Custom Survivors
   
Ödül
Favorilere Ekle
Favorilere Eklendi
Favorilerden Çıkar
Survivors: Survivors
Game Content: Weapons, Items, Scripts, Models, Textures
Dosya Boyutu
Gönderilme
Güncellenme
189.952 MB
18 Ağu @ 1:43
30 Eyl @ 20:02
4 Değişiklik Notu ( görüntüle )

İndirmek için abone ol
(Host Only) [VScript] Custom Viewmodel Arms - for Custom Survivors

ChapCanai tarafından 1 koleksiyonda
Custom Survivor Takeover Collection
91 öğe
Açıklama
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 Yorum
ChapCanai  [yaratıcı] 10 Eyl @ 18:03 
@ZombieZach
Did you restart the game after subscribing?
ZombieZach 10 Eyl @ 12:30 
Hey ChapCanai i use a mod that gives me extra slots but if i use this it doesn't work
ChapCanai  [yaratıcı] 24 Ağu @ 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 Ağu @ 7:17 
This addon work well with Lux's Survivor Legs idk why Sara bodies T pose in Pov view
Minhok 24 Ağu @ 6:11 
Nvm i removed an addon "Overhaul Shared Content" now the hands is visible
ChapCanai  [yaratıcı] 24 Ağu @ 2:49 
@Minhok
Did you restart the game?
Minhok 24 Ağu @ 2:43 
I remove weapons addons and conflict addons but it still invisible hands when using guns only melee,medkit,throwables is visible hands