Search:

Page 1 of 4 1 2 3 4

Search: Search took 1.00 seconds.

  1. Replies
    0
    Views
    2,112

    New Category: CoD File Formats

    Hey all,

    the biggest burden to make an open source CoD clone is to get the file formats right. You can spent weeks figuring out all the details, and no one ever did all the work yet.

    However,...
  2. [cod2] Running your own libcod server using WSL2 on windows

    Hello,

    This is a tutorial on how to run a libcod-enabled cod2 server on WSL2, on top of windows 10. This is a very quick and dirty tutorial.

    This tutorial assumes you have a working wsl2...
  3. Replies
    21
    Views
    17,545

    Works fine but i had to rebuild the xmodelparts...

    Works fine but i had to rebuild the xmodelparts and xmodelsurfs in order to get it to work. so here is the iwd file with all the required files if someone else wants to try it too.
  4. Replies
    21
    Views
    17,545

    I decided to go the model approach since once...

    I decided to go the model approach since once it's created it is easier to manipulate.The hard part is to create the model... Too bad i couldn't make it your way. But maybe i use it to do fun stuff...
  5. Oh yes! Mitch and Pollo, thank you so much for...

    Oh yes! Mitch and Pollo, thank you so much for your help! I was quite stuck on this one and now it works like a charm! I have it working for DM (each MP player has their own unique model) and in TDM ...
  6. Replies
    14
    Views
    70,210

    Setalive() turns stuff (script_brushmodel for...

    Setalive() turns stuff (script_brushmodel for example) into a trigger_damage with a damage notify.
  7. Replies
    14
    Views
    70,210

    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. Thread: Trigger load bug

    by Mitch
    Replies
    14
    Views
    70,210

    I guess a trigger limit (all variants). After...

    I guess a trigger limit (all variants). After this limit you get undefined behaviour like in your video.
    At how many triggers does this behaviour start?
  9. Replies
    14
    Views
    70,210

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

    Try triggeroff() and triggeron() in _utility.gsc at map start and report back.
  10. Thread: Trigger load bug

    by Mitch
    Replies
    14
    Views
    70,210

    Maybe you can combine multiple triggers (with the...

    Maybe you can combine multiple triggers (with the same functionality) as one entity.

    E.g. you have 3 minefields.
    Remove all triggers, select all of them and create one trigger.
  11. Replies
    14
    Views
    70,210

    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.
  12. Replies
    15
    Views
    65,599

    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.

    ...
  13. Replies
    15
    Views
    65,599

    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(...
  14. Replies
    15
    Views
    65,599

    What about using this instead: ...

    What about using this instead:


    playLoopedFx(level._effect["dog"], delay, origin1.origin, dist, anglesToForward(origin1.angles), (0, 0, 1));
  15. Replies
    15
    Views
    65,599

    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));...
  16. Replies
    15
    Views
    65,599

    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,...
  17. Replies
    15
    Views
    65,599

    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...
  18. Thread: CoD2 VPS

    by IzNoGoD
    Replies
    5
    Views
    7,292

    cod2 is not under ddos all that much, only the...

    cod2 is not under ddos all that much, only the amplification attacks can happen. Apply mitch's latest libcod to defend yourself against that.

    Especially if your server is in a weird location...
  19. Thread: CoD2 VPS

    by IzNoGoD
    Replies
    5
    Views
    7,292

    When you disable logging, all that remains is: -...

    When you disable logging, all that remains is:
    - HDD size (I tweaked my install to fit inside a 2gb hdd, see some other thread i made)
    - RAM (256mb minimum, non-oversold)(so go with a kvm or xen...
  20. Thread: CoD2 VPS

    by voron00
    Replies
    5
    Views
    7,292

    Well, i've got 2GHz cpu (single core), 1G RAM, 25...

    Well, i've got 2GHz cpu (single core), 1G RAM, 25 GB HDD, running Arch Linux and it holds 3 servers (and 3 Nanny's) just fine. I never saw CPU load went above 30%. (2/3 servers are now 99% empty...
  21. Replies
    3
    Views
    5,291

    Replace the text part of an itemdef with...

    Replace the text part of an itemdef with cvar/dvar (not sure which one, try both), with value [the dvar you want to show], like:


    dvar cl_showthisdvarplox
  22. Replies
    3
    Views
    5,291

    self setClientCvar("ui_stats_kills", self.kills);...

    self setClientCvar("ui_stats_kills", self.kills);

    And then use this cvar in your menus, just look how its done in serverinfo menus ( I would have given you an example code but i only will be home...
  23. Replies
    1
    Views
    3,861

    https://killtube.org/showthread.php?2087-Tutorial-...

    https://killtube.org/showthread.php?2087-Tutorial-settext()-without-precaching

    Or
    just show a cvar in hud.menu, then setcvar it.
  24. Replies
    14
    Views
    11,288

    Here's a line-by-line analysis of your code,...

    Here's a line-by-line analysis of your code, comments are pre-fixed with //


    kill()
    {
    level endon("boot");

    setcvar("g_kill", "");
    while(1)
    {
  25. http://www.nesmaps.com/maps/SuperMarioBrothers/Sup...

    http://www.nesmaps.com/maps/SuperMarioBrothers/SuperMarioBrosMap1-2.png
Results 1 to 25 of 93
Page 1 of 4 1 2 3 4