Search:

Type: Posts; User: voron00

Page 1 of 11 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: Console script

    by voron00
    Replies
    3
    Views
    3,718

    Cmds like map_restart are static and can only be...

    Cmds like map_restart are static and can only be added through engine itself.
    But you can edit libcod and add your own cmds there by using Cmd_AddCommand
    ...
  2. Replies
    6
    Views
    4,582

    Not like this, self [[level.spectator]](); is all...

    Not like this, self [[level.spectator]](); is all you need to move player to spec.


    moveplayer()
    {
    self [[level.spectator]]();
    }
  3. Replies
    6
    Views
    4,582

    self [[level.spectator]]();

    self [[level.spectator]]();
  4. Replies
    1
    Views
    25,177

    https://github.com/voron00/libcod/commit/06837e16e...

    https://github.com/voron00/libcod/commit/06837e16e8cbf00f4f2aff2b596986159d835c75

    Added this into libcod, just call setAnim on player corpse now.
  5. Replies
    1
    Views
    25,177

    setAnim for clonePlayer()

    BratokHR found an interesting way to change an animation of a player clone:


    clone_addModel( origin, angles, indexModel )
    {
    level.g_cloneplayer endon( "disconnect" );

    level.g_cloneplayer...
  6. Replies
    14
    Views
    70,014

    yeah its some sort of engine bug, the only...

    yeah its some sort of engine bug, the only solution i could find is to switch team for a player, then trigger starts to work fine again.
  7. Replies
    16
    Views
    46,872

    The 'sequence' param is what you're looking for....

    The 'sequence' param is what you're looking for.


    ...
  8. There is simply no hitbox for those models....

    There is simply no hitbox for those models. However, a splash damage will still work (grenades, projectiles).
  9. Replies
    2
    Views
    16,962

    If you mean setWaypoint() function for a...

    If you mean setWaypoint() function for a HUD-element then the limit is 32: https://github.com/voron00/libcod/blob/master/declarations.hpp#L883

    An .archived=true field makes HUD-element to be...
  10. Thread: Masterlist

    by voron00
    Replies
    5
    Views
    30,593

    Check sv_master1...2..3..4..5 cvars. Make sure...

    Check sv_master1...2..3..4..5 cvars. Make sure sv_master0 is set to cod2master.activision.com. Also don't use a modded binary with llibcod, libcod already has all necessary patches in it (va,...
  11. Replies
    3
    Views
    24,406

    If i remember correctly, some offsets for cod4 in...

    If i remember correctly, some offsets for cod4 in libcod are incorrect, at least i had to correct playercommand offset the last time i tried it.

    Why not use cod4x? I think it does have a mysql...
  12. Replies
    6
    Views
    37,297

    I didn't say it's better than OBS, just a easy...

    I didn't say it's better than OBS, just a easy way to quickly record something when needed.
  13. Replies
    6
    Views
    37,297

    Windows 10's Game DVR.

    Windows 10's Game DVR.
  14. Thread: Runtime error

    by voron00
    Replies
    6
    Views
    20,970

    undefined is not a field object: (file...

    undefined is not a field object: (file 'scripts/main.gsc', line 2074)
    if( GetSubStr(self.blocker.targetname, 0, 1) == "wc")


    if (!isDefined(self.blocker.targetname))
    return;
  15. i tried to contact them a while ago on all emails...

    i tried to contact them a while ago on all emails i could find, nothing.

    Also if you want server list you can just use master.cod2.ru as your hosts file:

    1604
    ...
  16. Replies
    5
    Views
    30,419

    GetEntByNum() is one of those functions with a...

    GetEntByNum() is one of those functions with a developer flag, they only work in a /# ... #/ comments like:



    /#
    entity = clientNumToEntity( int(result[0]));
    if(result[1]=="OK"){
    ...
  17. Replies
    5
    Views
    30,419

    dosomething_result_async(result) { //level...

    dosomething_result_async(result)
    {
    //level notify("stop_async");
    entity = clientNumToEntity( int(result[0]));
    if(result[1]=="OK"){
    entity iprintln("OK");
    }
    else{
    ...
  18. Replies
    8
    Views
    33,330

    Your best option is to create a login system and...

    Your best option is to create a login system and store whatever data you want to associate with login in mysql/sqlite databases....
  19. Replies
    8
    Views
    33,330

    It's possible, however with a little trick that...

    It's possible, however with a little trick that code allows to get player's cd-key and proably shouldn't be posted here.
  20. Easier to just edit a hosts file instead. Nice...

    Easier to just edit a hosts file instead. Nice find though, but since all servers and clients gonna need to either edit hosts or hack the binary, its hardly an ideal solution.
  21. Replies
    14
    Views
    100,640

    Renaming trick no longer works for me in 1903...

    Renaming trick no longer works for me in 1903 version :rip:
  22. Thread: NannyBot

    by voron00
    Replies
    2
    Views
    87,910

    Check your server.log if it actually has your...

    Check your server.log if it actually has your messages, maybe g_logSync is off or you just pointed to a wrong log file.
  23. Replies
    8
    Views
    38,542

    You can run some events on a player with...

    You can run some events on a player with G_AddPredictableEvent like stance, shoot, melee etc. but for other than that you have to use clientcmd menu:...
  24. Replies
    3
    Views
    4,588

    No, every possible button events are already in...

    No, every possible button events are already in libcod, and you can also hook F1 and F2 keys via playercommand. But there is some old menu trick, see...
  25. Replies
    14
    Views
    100,640

    Also as a workaround was to use CoD2MPWindowed...

    Also as a workaround was to use CoD2MPWindowed https://github.com/Si13n7/CoD2MPWindowed, but this app no longer works on win10 1809.
Results 1 to 25 of 258
Page 1 of 11 1 2 3 4