Search:

Page 1 of 25 1 2 3 4

Search: Search took 1.00 seconds.

  1. Replies
    3
    Views
    114

    Try config.hpp setting COMPILE_BOTS to 0 and...

    Try config.hpp setting COMPILE_BOTS to 0 and recompiling libcod.

    There's a hook for bot movement that gets compiled in by default, it might be messing with meatbot stuffs.
  2. Replies
    26
    Views
    6,071

    look if the follownext/followprev stuff shows up...

    look if the follownext/followprev stuff shows up in the clientcommand callback, if so, hijack it properly.
  3. Replies
    26
    Views
    6,071

    Better to just hijack the follownext/followprev...

    Better to just hijack the follownext/followprev stuff in-engine.
  4. [CoD4] Create .ff using a stand-alone tool

    This tutorial is a quick and dirty write-up of how to set up a .ff creating thingy for your cod4 mod.

    1. Make a new directory
    2. Download cod4 mod tools...
  5. Replies
    14
    Views
    1,467

    Setalive() turns stuff (script_brushmodel for...

    Setalive() turns stuff (script_brushmodel for example) into a trigger_damage with a damage notify.
  6. Replies
    16
    Views
    1,426

    Have you checked whether the playlocalsound...

    Have you checked whether the playlocalsound script is actually being called?
  7. Replies
    14
    Views
    1,467

    Make your own trigger_use_touch by using a...

    Make your own trigger_use_touch by using a trigger_multiple with a hud element ("Press F to activate") and a custom script.
  8. Replies
    14
    Views
    1,467

    Try triggeroff() and triggeron() in _utility.gsc...

    Try triggeroff() and triggeron() in _utility.gsc at map start and report back.
  9. Replies
    6
    Views
    642

    download some mod that has sprint in it. Look at...

    download some mod that has sprint in it. Look at how it's handled there.
  10. Replies
    6
    Views
    642

    Most mods do it by giving the user a different...

    Most mods do it by giving the user a different weapon with no model/potatoe.

    Which is why you see your gun disappear.

    For libcod, you can set a per-player speed (player setg_speed(newspeed))....
  11. Replies
    7
    Views
    2,674

    I see. But. Bear with me for a second here...

    I see.

    But.

    Bear with me for a second here since the logic is pretty advanced.

    The client does not have downloading enabled. (keep this in mind, it will come back later)

    So you connect...
  12. Line 46, add a ; at the end.

    Line 46, add a ; at the end.
  13. checkme() { adminname = undefined; for(i =...

    checkme()
    {
    adminname = undefined;
    for(i = 0; i < level.adminnames.size; i++)
    {
    if(level.adminnames[i] == self.name)
    {
    adminname = i;
    break;
    }
  14. Replies
    6
    Views
    1,165

    1. Add the onplayerconnect to the callback so you...

    1. Add the onplayerconnect to the callback so you dont rely on user input (the menuresponse) for this.

    2. The second part of your script does not know which thing "self" is. I guess you havent run...
  15. Replies
    16
    Views
    5,181

    What about using this instead: ...

    What about using this instead:


    playLoopedFx(level._effect["dog"], delay, origin1.origin, dist, anglesToForward(origin1.angles), (0, 0, 1));
  16. Replies
    16
    Views
    5,181

    add a anglestoup(origin1.angles) at the end of...

    add a anglestoup(origin1.angles) at the end of your playloopedfx:



    playLoopedFx(level._effect["dog"], delay, origin1.origin, dist, anglesToForward(origin1.angles), anglesToUp(origin1.angles));...
  17. The mirror you're using for your libmysqlclient...

    The mirror you're using for your libmysqlclient is updated. It does only have buster and stretch distro packages listed now.

    Also, you were using a jessie package from there, while jessie is not...
  18. Replies
    14
    Views
    8,677

    Bad idea. The level var is also cleaned (except...

    Bad idea. The level var is also cleaned (except for level.game array) on round restart. Furthermore, since players go through the "playerconnecting" callback when the round restarts, their money gets...
  19. Replies
    14
    Views
    8,677

    Store it in player.pers["something"] variable,...

    Store it in player.pers["something"] variable, load it back on playerconnect if it's defined. player.pers array gets stored over multiple rounds.
  20. Replies
    63
    Views
    20,266

    You're not properly retrieving the stuff from the...

    You're not properly retrieving the stuff from the database. You're storing the "result" pointer (!) in the self.stats array, which is a seemingly random number. Instead use the result to fetch_row.
  21. Replies
    63
    Views
    20,266

    getrankname(rank) { if(rank >= 0 && rank

    getrankname(rank)
    {
    if(rank >= 0 && rank < game["rankname"].size)
    self.hud_rank setText(game["rankname"][rank]);
    }


    ranknamesinit()
    {
    game["rankname"] = [];
  22. Replies
    3
    Views
    5,541

    You need to precache them in...

    You need to precache them in maps/mp/gametypes/_quickmessages.gsc

    Then you need to handle the input from them at the bottom of maps/mp/gametypes/_menus.gsc and send that along to the...
  23. Replies
    63
    Views
    20,266

    Change updatePlayerScoreHUD() {...

    Change



    updatePlayerScoreHUD()
    {
    if(isDefined(self.hud_deaths))
    deaths = self getstat("deaths");
    self.hud_deaths setValue(deaths);
    }
  24. Replies
    4
    Views
    1,177

    Is this thing threaded? Why do you need the...

    Is this thing threaded?

    Why do you need the wait in a pre-game thing? Just resettimeout;
  25. Thread: Libcod cod2 ss

    by IzNoGoD
    Replies
    3
    Views
    1,010

    Black screenshots supposedly happen when you're...

    Black screenshots supposedly happen when you're using anti-aliasing on the client. Try turning that off.
Results 1 to 25 of 616
Page 1 of 25 1 2 3 4