Results 1 to 8 of 8

Thread: [COD1] setText without precache?

  1. #1
    Private keso's Avatar
    Join Date
    Oct 2016
    Posts
    11
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question [COD1] setText without precache?

    Hi

    Is it in any shape or form possible to call text to hud in COD1 without precaching and without libcod?

    I'm basically looking to call for clientname and get it to show on a hud element:

    setText(player.name);

    Any help appreciated!

    Thanks, keso!

  2. #2
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Idk if hud setplayernamestring(player); is available for cod1. Aside from that, libcod or codextended ftw.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  3. #3
    Private keso's Avatar
    Join Date
    Oct 2016
    Posts
    11
    Thanks
    3
    Thanked 0 Times in 0 Posts
    setplayernamestring only for cod2 and beyond

  4. #4
    Private keso's Avatar
    Join Date
    Oct 2016
    Posts
    11
    Thanks
    3
    Thanked 0 Times in 0 Posts
    any way to get libcod going on win pc for cod1?

  5. #5
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Just forget the windows thingy and only aim for linux server, that will save you a lot of brainfuckery. Either rent a cheapish VPS or install linux in VMWare/VirtualBox

    A quick google search for "codextended G_FindConfigstringIndex" has no hopeful results, hence I guess php doesnt seem to have it implemented in codextended, neither it is in libcod (only for version CoD2 1.0 1.2 1.3).

    So you would either find somebody willing to implement it or you learn it yourself (the latter will make you less dependent, hint hint)

    https://killtube.org/showthread.php?...out-precaching
    timescale 0.01

  6. The Following User Says Thank You to kung foo man For This Useful Post:

    kubislav23 (3rd October 2016)

  7. #6
    Private keso's Avatar
    Join Date
    Oct 2016
    Posts
    11
    Thanks
    3
    Thanked 0 Times in 0 Posts
    I know how to do it using CoDExtend

    will have to set up a linux server once my new case arrives!

    Im pretty noob when it comes to these things but if I've understood it correctly codextend wont mess with versionchecks or anything like that? I.e people playing on your libcod server wont have to download the libs etc themselves?

  8. #7
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Yup, players don't need to install anything at all, it's all just server-side

    GL with ya new case lol
    timescale 0.01

  9. The Following User Says Thank You to kung foo man For This Useful Post:

    keso (3rd October 2016)

  10. #8
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    well, afaik codextended does push a client modification to the clients, but it should be fully automated.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  11. The Following User Says Thank You to IzNoGoD For This Useful Post:

    keso (3rd October 2016)

Posting Permissions

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