Results 1 to 10 of 14

Thread: SPRINT Mod For MeatBot COD2

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private First Class G-Stuff002's Avatar
    Join Date
    Jan 2018
    Posts
    212
    Thanks
    42
    Thanked 109 Times in 107 Posts
    Ok, look what i did.

    1. In folder localizedstrings/sprint.str

    I take "Q" key for replace
    Before: (&"SPRINT_HOLD_ACTIVATE");


    Change:

    REFERENCE HOLD_Q
    LANG_ENGLISH "^9Hold Q to activate"

    2. In folder maps/mp/gametypes/_sprint.gsc

    Change:

    }

    Precache()
    {
    //---Sprint
    precacheItem("sprint_med_mp");
    precacheItem("sprint_slow_mp");
    precacheItem("sprint_fast_mp");
    precacheString(&"SPRINT_HOLD_Q");
    precacheShader("gfx/hud/hud@health_back.tga");
    precacheShader("gfx/hud/hud@health_bar.tga");
    precacheShader(game["sprint_minus"]);
    precacheShader(game["sprint_cross"]);
    precacheString(&"SPRINT_HEAVY_FLAG");
    }

    NEXT:
    }

    if(!isdefined(self.bfe_sprinthud_hint))
    {
    self.bfe_sprinthud_hint = newClientHudElem( self );
    self.bfe_sprinthud_hint.color = (0.980,0.996,0.388);
    self.bfe_sprinthud_hint setText(&"SPRINT_HOLD_Q");
    self.bfe_sprinthud_hint.alignX = "right";
    self.bfe_sprinthud_hint.alignY = "top";
    self.bfe_sprinthud_hint.fontScale = .9;
    self.bfe_sprinthud_hint.x = 220;
    self.bfe_sprinthud_hint.y = y - 11;
    self.bfe_sprinthud_hint.alpha = .9;
    }

    This is for change the use key for sprint. But doesnt not work. Other script for this not exist, not find

    .."and disable it for bots."
    The fact is that, Bots not use sprint mod nothing to disable..
    Last edited by G-Stuff002; 19th February 2018 at 13:24.

  2. #2
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Quote Originally Posted by G-Stuff002 View Post
    Ok, look what i did.

    1. In folder localizedstrings/sprint.str

    I take "Q" key for replace
    Before: (&"SPRINT_HOLD_ACTIVATE");


    Change:

    REFERENCE HOLD_Q
    LANG_ENGLISH "^9Hold Q to activate"

    2. In folder maps/mp/gametypes/_sprint.gsc

    Change:

    }

    Precache()
    {
    //---Sprint
    precacheItem("sprint_med_mp");
    precacheItem("sprint_slow_mp");
    precacheItem("sprint_fast_mp");
    precacheString(&"SPRINT_HOLD_Q");
    precacheShader("gfx/hud/hud@health_back.tga");
    precacheShader("gfx/hud/hud@health_bar.tga");
    precacheShader(game["sprint_minus"]);
    precacheShader(game["sprint_cross"]);
    precacheString(&"SPRINT_HEAVY_FLAG");
    }

    NEXT:
    }

    if(!isdefined(self.bfe_sprinthud_hint))
    {
    self.bfe_sprinthud_hint = newClientHudElem( self );
    self.bfe_sprinthud_hint.color = (0.980,0.996,0.388);
    self.bfe_sprinthud_hint setText(&"SPRINT_HOLD_Q");
    self.bfe_sprinthud_hint.alignX = "right";
    self.bfe_sprinthud_hint.alignY = "top";
    self.bfe_sprinthud_hint.fontScale = .9;
    self.bfe_sprinthud_hint.x = 220;
    self.bfe_sprinthud_hint.y = y - 11;
    self.bfe_sprinthud_hint.alpha = .9;
    }

    This is for change the use key for sprint. But doesnt not work. Other script for this not exist, not find

    .."and disable it for bots."
    The fact is that, Bots not use sprint mod nothing to disable..
    This literally just changes what it says on screen. Not what the mod actually looks for.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •