Darth*krisz Posted February 12, 2012 Share Posted February 12, 2012 Hello. I'm a big beginner in coder.I need some help. My question is: How can i make it run on walls with weapons for example pistol and blaster??? :confused: Thanks your answer :) Link to comment Share on other sites More sharing options...
-=*Raz0r*=- Posted February 13, 2012 Share Posted February 13, 2012 in bg_pmove.c, search for this block of code else if ( pm->cmd.upmove > 0 && pm->waterlevel < 2 && pm->ps->fd.forcePowerLevel[FP_LEVITATION] > FORCE_LEVEL_0 && !(pm->ps->pm_flags&PMF_JUMP_HELD) && (pm->ps->weapon == WP_SABER || pm->ps->weapon == WP_MELEE) && !PM_IsRocketTrooper() && !BG_HasYsalamiri(pm->gametype, pm->ps) && BG_CanUseFPNow(pm->gametype, pm->ps, pm->cmd.serverTime, FP_LEVITATION) ) Put '//' at the start of the line that checks the weapon, like so // (pm->ps->weapon == WP_SABER || pm->ps->weapon == WP_MELEE) Link to comment Share on other sites More sharing options...
Darth*krisz Posted February 13, 2012 Author Share Posted February 13, 2012 Thank you -=*Raz0r*=- Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.