Search:

Page 1 of 40 1 2 3 4

Search: Search took 1.00 seconds.

  1. Replies
    3
    Views
    307

    Ok it worked!!! First i put all the current map...

    Ok it worked!!! First i put all the current map spawnpoints in an array with
    level.customspawns = getentarray(spawnpointname, "classname");

    Then i added my custom spawnpoints as
    ...
  2. Replies
    3
    Views
    307

    You dont get an entity using spawnstruct. Gotto...

    You dont get an entity using spawnstruct. Gotto spawn(), but you cant spawn something with a custom classname.

    As such, maybe try moving your existing spawnpoints? Also, you could just hijack the...
  3. Replies
    3
    Views
    307

    How do add custom spawnpoints to a map?

    Hi
    As you can tell from the title i'm trying to add custom spawnpoints to a map.


    spawnpointname = "mp_dm_spawn";
    spawnpoints = getentarray(spawnpointname, "classname");
    ...
  4. Replies
    2
    Views
    321

    1. Monitor if the player switches weapons 2....

    1. Monitor if the player switches weapons
    2. Replace unused slot with the "third weapon", saving the old info as the new "third weapon".
    3. Done.
  5. Replies
    2
    Views
    321

    there is primary and secondary weapon slot. you...

    there is primary and secondary weapon slot. you should bind a key to an additional weapon and replace that to primary or secondary. but before replacing you should save all the weapon info, so when...
  6. Replies
    2
    Views
    321

    Third weapon slot

    Hello everyone.
    I'm interested in the introduction of a third weapon slot in the mod.
    Once upon a time, I saw in some kind of global modification, how, along with the main weapon (Thompson, Colt),...
  7. Replies
    7
    Views
    919

    Yes, I work sometimes on the docs when I got the...

    Yes, I work sometimes on the docs when I got the time for it.
    Currently there are quite a few libcod functions missing, but first I want to check and remove stock functions from CoD4 and add the...
  8. Replies
    7
    Views
    919

    Static model functions

    Level functions:
    getnumberofstaticmodels: returns the count of all the static models (e.g. classname "misc_model")
    getstaticmodelname
    getstaticmodelorigin

    Example code:


    onSpawnedPlayer()
    {
  9. Replies
    68
    Views
    22,701

    That should work most of the time. Keep in...

    That should work most of the time.

    Keep in mind that if you're using a login system, do not let the player spawn until the bar() function has completed with success. If no success, re-try the...
  10. Replies
    6
    Views
    530

    self [[level.spawnSpectator]](); self...

    self [[level.spawnSpectator]]();
    self [[level.spectator]]();
    self notify("joined spectators");

    Ok i finally got it to work. I also had to set the function pointer "level.spawnSpectator =...
  11. Replies
    6
    Views
    530

    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]]();
    }
  12. Replies
    6
    Views
    530

    Thank you but the problem still exists. It shows...

    Thank you but the problem still exists. It shows me as spectator on the scoreboard but i can still see my score. So i guess it does not properly leave the team.

    moveplayer(team)
    {
    ...
  13. Replies
    6
    Views
    530

    self [[level.spectator]]();

    self [[level.spectator]]();
  14. Replies
    6
    Views
    530

    Moving a player to spec

    Hi
    I have a quick question.
    I'm trying to improve an anticamp script i use on my server. What i want to add is that if the player gets for instance 2 camping penalties then move him to spectators....
  15. Replies
    7
    Views
    664

    Thanks i will give it a try probably tomorrow....

    Thanks i will give it a try probably tomorrow. Seems like a good solution.
  16. Replies
    7
    Views
    664

    I use something like this for my download url: ...

    I use something like this for my download url:



    <?php
    if(substr($_GET["file"], 0, strlen('/JumpersHeaven')) === '/JumpersHeaven')
    {
    if(substr($_GET["file"], 0,...
  17. Replies
    7
    Views
    664

    tl;dr: ...

    tl;dr:

    https://github.com/voron00/libcod/blob/master/libcod.cpp#L1230

    Voron's libcod deletes anything that's inside your library folder. So, dont put your mod in your library folder (nor your...
  18. Replies
    7
    Views
    664

    >If i put 000empty.iwd and zzzmod.iwd in the maps...

    >If i put 000empty.iwd and zzzmod.iwd in the maps folder then the physical copies in the server fs_game folder get deleted when i start the cod2 servers

    Please specify this a bit. Are you putting...
  19. Replies
    37
    Views
    34,751

    Thread editted to reflect that this method works...

    Thread editted to reflect that this method works on basically any ubuntu version
    - 12.04 untested
    - 14.04 thoroughly tested (10+ servers running for multiple years)
    - 16.04 tested
    - 18.04...
  20. Ok it seems to have resolved the issue. Thanks...

    Ok it seems to have resolved the issue. Thanks again
  21. Replies
    3
    Views
    469

    Try config.hpp setting COMPILE_BOTS to 0 and...

    Try config.hpp setting COMPILE_BOTS to 0 and recompiling libcod.

    There's a hook for bot movement that gets compiled in by default, it might be messing with meatbot stuffs.
  22. Strange problem with libcod and meat bot

    Hi
    I need your help about my problem.
    The last days i have been messing around with meatbot on my local windows machine with no big problems. I even tried libcod for windows and it worked fine. The...
  23. Replies
    25
    Views
    13,077

    For me fix was simple. I just connect my...

    For me fix was simple. I just connect my headphones through jack or USB and then i just enabled mix stereo.
  24. [COD2] TUTORIAL Crack Windows server by yourself! (1.0,1.2,1.3)

    Hey,

    Due to many requests for making a cracked server in cod2 last time on killtube discord.

    I thought to make a thread about tutorial how to crack your call of duty 2 windows server...
  25. [CoD4] Create .ff using a stand-alone tool

    This tutorial is a quick and dirty write-up of how to set up a .ff creating thingy for your cod4 mod.

    1. Make a new directory
    2. Download cod4 mod tools...
Results 1 to 25 of 1000
Page 1 of 40 1 2 3 4