Search:

Page 1 of 8 1 2 3 4

Search: Search took 1.00 seconds.

  1. Replies
    15
    Views
    65,591

    Some experiments with shaders:...

    Some experiments with shaders: https://github.com/nonsensation/CoD2-Shader

    However, texture atlas seems to be more integrated in the engine itself, no luck on that.

    ...
  2. Replies
    15
    Views
    65,591

    I played around abit, and spawned the FX on a...

    I played around abit, and spawned the FX on a tag, but it seems it is the FX, it won't change its upward angle


    init()
    {
    level thread MonitorPlayer();

    level._effect[ "dog" ] = loadfx(...
  3. Replies
    15
    Views
    65,591

    Yeah, I remember that something about placing...

    Yeah, I remember that something about placing such effects was weird in CoD2..
    Do you spawn them with a bullettrace()? How do they behave on non axis aligned surfaces?
    Maybe changing the type of...
  4. Replies
    15
    Views
    65,591

    I think I kind of remember now. It was done as...

    I think I kind of remember now.
    It was done as an effect, not as a texture, so placing and scaling can be abit tricky.
    Lookup how smoke or fire effects are done, they use an 'atlas'-texture,...
  5. Replies
    15
    Views
    65,591

    You can play .roq files, like the CoD2 intro...

    You can play .roq files, like the CoD2 intro sequence when you first start the game, but only fullscreen.

    You can use atlas-textures to play 'videos' or more gifs.
    However you have to export...
  6. Replies
    1
    Views
    2,891

    Damage through Teammate/Enemy

    Hey,

    we just had a discussion about a possible cheater, he shot THROUGH a TEAMMATE and killed a guy behind.
    As far as I can remember, you can shoot through an ENEMY and damage/kill two or more...
  7. Replies
    68
    Views
    77,672

    You can have a look at this from a couple of...

    You can have a look at this from a couple of years ago: https://github.com/nonsensation/CoD2-MySql-ClientCmd
    Maybe it helps abit
  8. Replies
    6
    Views
    34,925

    Yeah, okay. Unfortunately I cant help you with...

    Yeah, okay. Unfortunately I cant help you with that, as I dont remember this part.
    In the past I had similar trouble getting sound to work, sometimes it was a faulty soundalias or a different audio...
  9. Replies
    6
    Views
    34,925

    In the maps/mp/gametypes/_callbacksetup.gsc call...

    In the maps/mp/gametypes/_callbacksetup.gsc call the init():


    CodeCallback_StartGameType()
    {
    // If the gametype has not beed started, run the startup
    if(!isDefined(level.gametypestarted) ||...
  10. There are a few things that get you started...

    There are a few things that get you started scripting wise in CoD2:
    - your map script gets called first
    - then the game calls maps/mp/gametypes/_callbacksetup::CallBack_StartGameType()
    - Kills,...
  11. Funny, I just did a quick video, because I forgot...

    Funny, I just did a quick video, because I forgot how to do it myself.
    However it is on windows:

    https://youtu.be/9-n75APn81g
  12. Thread: mysql init

    by serthy
    Replies
    10
    Views
    40,807

    I'll leave you here a link of an 2 year old...

    I'll leave you here a link of an 2 year old project. I used mysql to store some logs of chat-commands, maybe some1 can use this https://github.com/nonsensation/CoD2-MySql-ClientCmd
  13. Replies
    11
    Views
    13,304

    Yes, here is it -> secret pickup script that...

    Yes, here is it -> secret pickup script that can't be found otherwise
  14. ORIGIN_TITLEE != ORIGIN_TITLED Maybe?

    ORIGIN_TITLEE != ORIGIN_TITLED Maybe?
  15. You can localize your text (one identifier-string...

    You can localize your text (one identifier-string in your code - multiple languages in the game).
    However, you need to precache your localized string in your script (precacheString() iirc) and you...
  16. Maybe ui_mp/scriptmenus/weapons_german.menu

    Maybe ui_mp/scriptmenus/weapons_german.menu
  17. Replies
    10
    Views
    9,152

    When fixing silent aim, maybe do something like...

    When fixing silent aim, maybe do something like this (after you get the players eye-pos based on the current stance):


    trace = bulletTrace( start , end , true , attacker );

    if( !isDefined(...
  18. Replies
    13
    Views
    12,446

    I recogn this bug, but forgot the details but...

    I recogn this bug, but forgot the details

    but you actually can have variables in macros as kung did it here (DVAR_CHECK):...
  19. Replies
    4
    Views
    4,094

    :) Thats why your text was wrapped on the itemdef...

    :) Thats why your text was wrapped on the itemdef boundary then I guess
  20. Replies
    4
    Views
    4,094

    maybe you have had autowrapped in your itemdef?

    maybe you have had autowrapped in your itemdef?
  21. Replies
    3
    Views
    3,309

    It can be set in the weaponfiles...

    It can be set in the weaponfiles iwd/weapons/mp/grenade_mp

    If you modify weaponfiles yourself, the client has to download this file (not a serverside change)
  22. Thread: Model name

    by serthy
    Replies
    11
    Views
    8,124

    trace[ "entity" ] is either the player, any other...

    trace[ "entity" ] is either the player, any other entity (script-models etc) or undefined

    I do not know if your player has a static model, the trace-entity will show it as a player.

    If so,...
  23. Replies
    19
    Views
    27,768

    If you have libcod, you can also use Izno's...

    If you have libcod, you can also use Izno's unprecached setText() patch
  24. Replies
    34
    Views
    35,956

    Ahh, got it iirc libcod also has...

    Ahh, got it

    iirc libcod also has GetArrayKeys() implemented, that works like the CoD4 version (see script reference for that) but this would work only for arrays, not objects..)
  25. Replies
    34
    Views
    35,956

    Not directly:...

    Not directly: https://killtube.org/showthread.php?2722-Print-any-variable-s-content&p=15105#post15105
Results 1 to 25 of 188
Page 1 of 8 1 2 3 4