Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
)
"VertexLitGeneric"
{
$basetexture "models\example"
}
you can also write UnlitGeneric so that the texture doesnt react to any light i recommend you to take a look at the valve dev hub if some things are unclear
https://developer.valvesoftware.com/wiki/Category:Shader_parameters
default pose box checked: https://imgur.com/a/qKIVgMm
default pose box not checked: https://imgur.com/a/1wH4mHf
just in case, make sure that you have sequences inside your .qc for your model to work ingame in my case i use $includemodel "f_anm.mdl" (for female sequences not sure if m_anm works but try it out if you want male animations)
(also paste thse but make sure when compiling to have these names as smd files inside your models anims folder they export after using proportiontrick)
$sequence reference "anims/reference_female" fps 1
$animation a_proportions "anims/proportions" subtract reference 0
$sequence proportions a_proportions predelta autoplay
$Sequence "ragdoll" {
"anims/proportions"
activity "ACT_DIERAGDOLL" 1
fadein 0.2
fadeout 0.2
fps 30
}
if you also want your model as npc's make another .qc file copy paste everything and replace the includemodel with this:
(this will prevent animations from bugging out)
$includemodel "f_gst.mdl"
$includemodel "f_pst.mdl"
$includemodel "f_shd.mdl"
$includemodel "f_ss.mdl"
$includemodel "humans/female_shared.mdl"
$includemodel "humans/female_ss.mdl"
$includemodel "humans/female_gestures.mdl"
$includemodel "humans/female_postures.mdl"
$includemodel "humans/female_shared.mdl"
$includemodel "humans/female_ss.mdl"
//Hostile
$includemodel "combine_soldier_anims.mdl"
$includemodel "humans/male_shared.mdl"
if you need to know how to make the .lua file for npc's or playermodels i can send you the code for that
i did my proportion trick file in 2.79 and redid it yesterday
below is the the text from my qc file
https://imgur.com/a/Tpcqg6I
i have the define bones and physics in the qc as well i just did not include them in the screenshots because they are really long and such