- #HALF LIFE CRACK LIFE CAMPAIGN HOW TO INSTALL MODDB MOD#
- #HALF LIFE CRACK LIFE CAMPAIGN HOW TO INSTALL MODDB MODS#
- #HALF LIFE CRACK LIFE CAMPAIGN HOW TO INSTALL MODDB CODE#
- #HALF LIFE CRACK LIFE CAMPAIGN HOW TO INSTALL MODDB FREE#
- #HALF LIFE CRACK LIFE CAMPAIGN HOW TO INSTALL MODDB CRACK#
#HALF LIFE CRACK LIFE CAMPAIGN HOW TO INSTALL MODDB MOD#
If you want to run a purely historical game, this is not the mod for you. Road to 56 is all about alternate history and giving you lots of options to make a new world.Now your scientists will earn their pay and keep working until the end of the war.
#HALF LIFE CRACK LIFE CAMPAIGN HOW TO INSTALL MODDB FREE#
#HALF LIFE CRACK LIFE CAMPAIGN HOW TO INSTALL MODDB MODS#
Int bResult = (pOther->GiveAmmo(SNIPER_DEFAULT_AMMO, "ammo_snipars",ĮMIT_SOUND(ENT(pev), CHAN_ITEM, "items/9mmclip1.Road to 56 is a frankenstein of mods that has been riveted together for your convenience and pleasure. PRECACHE_MODEL ("models/w_9mmARclip.mdl") īOOL CSniperAmmoClip::AddAmmo( CBaseEntity *pOther ) SET_MODEL(ENT(pev), "models/w_9mmARclip.mdl") M_flTimeWeaponIdle = UTIL_SharedRandomFloat(m_pPlayer->random_seed, 10, 15) If (m_flTimeWeaponIdle > UTIL_WeaponTimeBase()) M_pPlayer->GetAutoaimVector( AUTOAIM_5DEGREES ) M_flNextSecondaryAttack = UTIL_WeaponTimeBase() + 0.5 ĭefaultReload( SNIPER_DEFAULT_AMMO, SNIPER_RELOAD, SNIPER_RELOAD_TIME ) Pev->nextthink = UTIL_WeaponTimeBase() + 0.1 M_pPlayer->pev->fov = m_pPlayer->m_iFOV = 20 M_pPlayer->pev->fov = m_pPlayer->m_iFOV = 0 // 0 means reset to default fov M_flTimeWeaponIdle = UTIL_WeaponTimeBase() + UTIL_SharedRandomFloat(m_pPlayer->random_seed, SNIPER_FIRE_DELAY + 1, SNIPER_FIRE_DELAY + 2) M_flNextPrimaryAttack = UTIL_WeaponTimeBase() + SNIPER_FIRE_DELAY Add a delay before the player can fire the next shot PLAYBACK_EVENT_FULL( FEV_NOTHOST, m_pPlayer->edict(), (m_InZoom ? m_event_z :m_event), 0.0, (float *)&g_vecZero, (float *)&g_vecZero, vecDir.x, vecDir.y, 0, 0, (m_iClip ? 0 : 1), 0 ) Vector vecDir(m_pPlayer->FireBulletsPlayer( 1, vecSrc, vecAim, vecAcc, 8192, BULLET_PLAYER_SNIPER, 0, 0, m_pPlayer->pev, m_pPlayer->random_seed )) Vector vecAcc(InZoom() ? VECTOR_CONE_1DEGREES : VECTOR_CONE_3DEGREES) Accuracy of the weapon in degrees, zoomed in is way more accurate Vector vecAim(m_pPlayer->GetAutoaimVector(AUTOAIM_2DEGREES)) Vector vecSrc(m_pPlayer->GetGunPosition()) M_pPlayer->SetAnimation( PLAYER_ATTACK1 ) M_pPlayer->pev->effects = (int)(m_pPlayer->pev->effects) | EF_MUZZLEFLASH M_pPlayer->m_iWeaponFlash = NORMAL_GUN_FLASH If (m_iClip m_iWeaponVolume = NORMAL_GUN_VOLUME If (!(m_pPlayer->m_afButtonPressed & IN_ATTACK) & InZoom()) This weapon is single shot when zoomed in, auto otherwise Return DefaultDeploy( SNIPER_MODEL_1STPERSON, SNIPER_MODEL_3RDPERSON, SNIPER_DEPLOY, "mp5" ) MESSAGE_BEGIN( MSG_ONE, gmsgWeapPickup, NULL, pPlayer->pev ) If ( CBasePlayerWeapon::AddToPlayer( pPlayer ) ) Int CSniper::AddToPlayer( CBasePlayer *pPlayer ) P->iWeight = SNIPER_WEIGHT // for autoswitching P->iId = m_iId = WEAPON_SNIPER // The weapon id P->iFlags = ITEM_FLAG_NOAUTOSWITCHEMPTY | ITEM_FLAG_SELECTONEMPTY P->iPosition = SNIPER_POSITION // The position in a HUD slot P->iSlot = SNIPER_SLOT - 1 // The number in the HUD P->iMaxClip = SNIPER_MAX_CLIP // The clip size P->iMaxAmmo1 = SNIPER_MAX_AMMO // Max ammo the player can carry P->pszAmmo1 = "ammo_snipars" // The type of ammo it uses M_event_z = PRECACHE_EVENT( 1, "events/sniperz.sc" ) M_event = PRECACHE_EVENT( 1, "events/sniper.sc" ) M_iShell = PRECACHE_MODEL ("models/shell.mdl") // brass shell Pev->classname = MAKE_STRING("weapon_snipars") // hack to allow for old names LINK_ENTITY_TO_CLASS( ammo_snipars, CSniperAmmoClip ) LINK_ENTITY_TO_CLASS( weapon_snipars, CSniper ) Merry Christmas to all :) snipars.cpp #include "extdll.h"
#HALF LIFE CRACK LIFE CAMPAIGN HOW TO INSTALL MODDB CODE#
Here is the Sniper Code if you are interested in helping me The deploy animation appears when it is recharging and the firing animation when the weapon is taken out and I don't know what the hell I'm doing wrong The problem is the animations which do not come out when they should
#HALF LIFE CRACK LIFE CAMPAIGN HOW TO INSTALL MODDB CRACK#
I made a filthy copy paste of the mp5 code and modified it to look like the Sniper from Crack life Well I'll get to the point, since I'm a programming noob, I come to ask you masters of programming for a little help