Left 4 Dead 2
Оценок: 113
Survivor Set Specific Textures Base [VScript]
   
Наградить
В избранное
В избранном
Удалить
Game Content: Scripts, Textures
Размер файла
Добавлен
Изменён
254.000 B
24 мая в 11:27
24 мая в 13:19
Обновлений: 2 (просмотреть)

Подпишитесь, чтобы загрузить
Survivor Set Specific Textures Base [VScript]

Описание
A silly lil script that allows you to have textures specific for either the L4D1 or L4D2 crew without the need for MST.

Will only work in local/dedicated servers however.

To get this to work in your mod, simply create a VTF where frame 0 is the L4D1 texture and frame 1 is the L4D2 texture and then place this in the VMT:
$currentset 1 $l4d1 1 $zero 0 $one 1 Proxies { ConVar { convar "PICK_CONVAR_HERE_YOU_SWINE" resultVar "$currentset" } LessOrEqual { srcVar1 $currentset srcVar2 $l4d1 lessEqualVar $zero greaterVar $one resultVar $frame } }
Replace PICK_CONVAR_HERE_YOU_SWINE with mp_weapon_famas_price if you want the L4D2 texture to appear in lobbies where this mod isn't installed or mp_weapon_fiveseven_price if you want the L4D1 texture to appear.
Комментариев: 13
NoobMaster WebosPeludos 18 июл в 18:15 
how do i make a hud to work with this?, like making l4d1 hud appearing only if survivor set is 1
Madd Slayer 25 мая в 4:56 
Alright, thanks
ChimiChamo  [создатель] 25 мая в 4:52 
yes
Nick 25 мая в 3:04 
oh
cinzardoya 24 мая в 16:05 
@Book Simon u add lines in a file and u get survivor set specific textures
Nick 24 мая в 13:32 
my dumbass doesn’t know ♥♥♥♥ about remodelling, please explain in 1 sentence.
surytrap 24 мая в 13:24 
thanks specifimi
Samuels' Chili Shop 24 мая в 13:06 
Our little plushie blesses us once again.
André7 24 мая в 12:56 
mod idea: 1 L4D1 survivor joins the L4D2 crew on campaigns and custom maps, like how louis joins the L4D2 survivors in your Chaos mod. Also, so people can choose the survivor that they want they can install a separate mod that will show that survivor instead (maybe that's asking too much)