Вот это я как раз и не понял(( Видимо совсем запутался, через несколько часов ещё попробую, если не получиться, сформулирую вопрос конкретней.



appid на 420
Code:"GameInfo" { game "KIEV-MOD" title "HALF-LIFE'" title2 "== episode two ==" type singleplayer_only FileSystem { SteamAppId 420 // GCF for Episode 2 ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc. AdditionalContentId { 220 240 380 420 } SearchPaths { Game |gameinfo_path|. Game |all_source_engine_paths|ep2 Game |all_source_engine_paths|episodic Game |all_source_engine_paths|hl2 Game ep2 Game episodic Game hl2 } } }
Code:"GameInfo" { game "KIEV-MOD" title "HALF-LIFE'" title2 "== episode two ==" type singleplayer_only FileSystem { SteamAppId 218 ToolsAppId 211 AdditionalContentId 420 SearchPaths { Game |gameinfo_path|. Game |all_source_engine_paths|ep2 Game |all_source_engine_paths|episodic Game |all_source_engine_paths|sourcetest Game |all_source_engine_paths|hl2 } } }
//---------------------------------------------------
// Draw Weapon Icon
//---------------------------------------------------
// Get icon information
const CHudTexture *iWeapon = pWeapon->GetSpriteInactive();
const CHudTexture *iWeaponBlur = pWeapon->GetSpriteActive();
iWeapon->DrawSelf( 60, 8, clr );
iWeaponBlur->DrawSelf( 60, 8, clr );
//---------------------------------------------------
// Draw Current Weapon Name
//---------------------------------------------------
// Get font information
HFont hFont_text = ::scheme()->GetIScheme(scheme)->GetFont( "ModHudDefault" );
clr[3] -= 92;
// Get weapon
C_BaseCombatWeapon *pWeapon = GetActiveWeapon();
surface()->DrawSetTextFont( hFont_text );
surface()->DrawSetTextColor( clr );
surface()->DrawSetTextPos( 270, 96 );
bool bIsWeaponGalil = FClassnameIs( pWeapon, "weapon_galil" );
if ( bIsWeaponGalil )
{
surface()->DrawPrintText(L"y menya v rykah galil!", wcslen(L"y menya v rykah galil!")); // print text
}
1>------ Build started: Project: Client Episodic, Configuration: Release Win32 ------
1>Compiling...
1>hud_mission.cpp
1>.\hud_mission.cpp(268) : error C2065: 'pWeapon' : undeclared identifier
1>.\hud_mission.cpp(268) : error C2227: left of '->GetSpriteInactive' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>.\hud_mission.cpp(269) : error C2227: left of '->GetSpriteActive' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>.\hud_mission.cpp(270) : error C2065: 'clr' : undeclared identifier
1>Build log was saved at "file://d:\Games\Steam\steamapps\noxter1466\sourcesdk_content\km\src\game\client\Release_episodic\BuildLog.htm"
1>Client Episodic - 4 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
c_sdk_player.h
LOLСам ты datler =/![]()