Search:

Page 1 of 3 1 2 3

Search: Search took 1.00 seconds.

  1. Replies
    11
    Views
    43,109

    These are extracted from the asset manager: ...

    These are extracted from the asset manager:


    Surface Surface Surface
    Unknown Type Flags Extra flag
    ------------------------------------------------------------...
  2. Replies
    11
    Views
    43,109

    Should be these CONTENTS_ flags:...

    Should be these CONTENTS_ flags: https://github.com/iortcw/iortcw/blob/master/MP/code/qcommon/surfaceflags.h




    #define CONTENTS_SOLID 1 // an eye is never valid in a solid
    ...
  3. Replies
    11
    Views
    26,655

    set this function to libcod: void...

    set this function to libcod:



    void gsc_utils_getweaponidbyname() {

    char* weapon;
    if(!stackGetParams("s", &weapon)) {
    printf("scriptengine> wrongs args for:...
  4. Replies
    11
    Views
    26,655

    I was tried to achieve with libcod to make a...

    I was tried to achieve with libcod to make a weapon with script (set sounds and everything else) so I get almost every offsets for the weapons. If you need I can send it. It contains the boltaction...
  5. Thread: clan match mod

    by IzNoGoD
    Replies
    11
    Views
    12,567

    https://farm6.staticflickr.com/5569/14902074276_27...

    https://farm6.staticflickr.com/5569/14902074276_27679fa893_o.jpg

    Cut image in parts, show dot on map of scotland. Tell user to match that place to a certain scottish clan, identified by their kilt
  6. Replies
    2
    Views
    5,968

    [CoD2] Transparent water

    Hey, i've been searching through my dropbox trash and found some stuff i made a while ago. Its a transparent water with tweaked hlsl shader. Unfortunately it's D3D9 only.
    Here is how it's looking:
    ...
  7. Replies
    1
    Views
    3,918

    CodeCallback_FireGrenade

    Heres a working version of CodeCallback_FireGrenade for cod2 1.3:

    Possible uses: nade explosion timer and preventing people from changing team after throwing a grenade (prevent those filthy...
  8. Replies
    27
    Views
    44,486

    Hi, sry for the late post but i wasn't sure if...

    Hi, sry for the late post but i wasn't sure if its stable enough. I was able to push the download speed to 19 kb/s by reversing the entire download function and forcing some values in it. I tried...
  9. Thread: custom ID ban

    by IzNoGoD
    Replies
    11
    Views
    17,482

    No, it does not. Try kicking a player over 9,...

    No, it does not.

    Try kicking a player over 9, it will crash on the isint() part.

    Use this instead:


    isint(string)
    {
    return ((int(string) + "") == string + "");
  10. [CoD2] How to export (almost) any playermodel from Source Engine to CoD

    Hi, title says it, im going to show you how to export playermodels from source engine to cod(2) (Multiplayer only!!). Its not really a direct export since it requers some work, but its not too...
  11. Replies
    11
    Views
    12,027

    I digged some time through the animation...

    I digged some time through the animation functions and I could set a new animation, but it was instantly resetted. Maybe this helps you to look further without redoing whats already done.

    libcod,...
  12. Thread: isTouching()

    by Mitch
    Replies
    20
    Views
    21,158

    Maybe it is a difference between 1.0 and 1.3 (=...

    Maybe it is a difference between 1.0 and 1.3 (= where i tested it).

    Edit: In 1.3 i get this:
    clientaddress_to_num = -55, gentityaddress_to_num = 0
  13. Thread: isTouching()

    by Mitch
    Replies
    20
    Views
    21,158

    The code doesn't work correctly, because a2 isn't...

    The code doesn't work correctly, because a2 isn't a client address but a gentity address.
    You need to replace 'clientaddress_to_num' with 'gentityaddress_to_num' to get a valid client number....
  14. Replies
    4
    Views
    8,035

    I think the problem is "j_mainroot" bone. When...

    I think the problem is "j_mainroot" bone. When you import a *.tanim file in Maya the "j_mainroot" bone goes to the origin (Translate Z is about 0) and when you try it in cod2 the character is in the...
  15. Thread: isTouching()

    by Tally
    Replies
    20
    Views
    21,158

    It should not be called isTouching() because...

    It should not be called isTouching() because there is already a built-in function with that name to determine if you are within a trigger range. Call it something else please.
  16. Replies
    2
    Views
    3,803

    When i decompile that function then i get a bit...

    When i decompile that function then i get a bit different code.

    Edit: it might be useful to make code callback function like player commands (ClientCommand).
    Then you can decide in CoD if you...
  17. Replies
    32
    Views
    32,393

    https://.../libcod/binaries.7z...

    https://.../libcod/binaries.7z
    Contains both 1.0 binary for MP and SP.
  18. Replies
    32
    Views
    32,393

    I searched it that function name in the Mac...

    I searched it that function name in the Mac binary. It contains all the functions names and more.

    Edit: you only need the code within else curly brackets.
  19. Replies
    33
    Views
    37,967

    It does work for me, but you first need to bash...

    It does work for me, but you first need to bash once and then melee is blocked. But I should be able to fix that.



    while(isAlive(self))
    {
    self setweaponfiremeleedelay(1000); // keep forcing...
  20. Replies
    33
    Views
    37,967

    I added them last night and included 1.2. I was...

    I added them last night and included 1.2. I was working on changing g_gravity per player :).

    https://github.com/M-itch/libcod/commit/6dee9a7d9b12b8f0ba7f4ec360dac4ef9608efb7

    Edit: this should...
  21. Replies
    3
    Views
    6,199

    Should be the same order as it is in the binary,...

    Should be the same order as it is in the binary, the table lookup is just an index of it. Also fits with my CoD version, loc_language = 2, which fits with binary order.



    lang = [];
    ...
  22. Replies
    33
    Views
    37,967

    I tried firetime, but i don't get the exact...

    I tried firetime, but i don't get the exact values as in the weapon files back and when i change the value it bugs your weapon. Also it has no affect on your fire speed.

    Edit: read value:...
  23. Replies
    33
    Views
    37,967

    Weapon functions (+ setMoveSpeedScale)

    I have been adding weapon related functions to my libcod git the last few weeks.

    Also I found out how the weapons use their move speed scale. So i added this cod4 function to cod2 :D.

    player...
  24. Replies
    2
    Views
    5,656

    [Tutorial] settext() without precaching

    Heres a small tutorial for you all.

    It will allow you to settext() to any clienthudelem any string you desire.

    Known bugs: does not work properly with killcam and .archived = true (so set...
  25. Replies
    8
    Views
    6,558

    WINDOW_STYLE_DVAR_SHADER

    I just discovered this. I didn't know of its existence until I saw it in COD1 (it's not used in COD2 at all, and there isn't any reference to it), so I thought I'd share:

    If you want to show a...
Results 1 to 25 of 56
Page 1 of 3 1 2 3