Search:

Page 1 of 40 1 2 3 4

Search: Search took 1.00 seconds.

  1. Replies
    19
    Views
    1,050

    Thanks. i am getting error : ...

    Thanks. i am getting error :


    https://i.hizliresim.com/e9ujf7y.PNG
  2. Replies
    19
    Views
    1,050

    self.flagAttacher this flag saw player has...

    self.flagAttacher

    this flag saw player has flag or no, add it in checkLoop()


    /* ... */
    while (1)
    {
    if (isAlive(self) && !self.flagAttached && (team == "allies" || team...
  3. Replies
    19
    Views
    1,050

    Thank you so much. I completed everything....

    Thank you so much. I completed everything. Finally..
    Where and how do I add this script so that flag bearers are not affected by the camp.



    attachFlag()
    {
    if(isdefined(self.flagAttached))...
  4. Replies
    19
    Views
    1,050

    add in checkLoop() /* ... */ ...

    add in checkLoop()


    /* ... */

    //ALL "CAMP_SECS_*" vars must be multiples of "waitTime" (4 / 0.1 & 6 / 0.1 == true => good)
    CAMP_RADIUS = level.campradius;
    CAMP_SECS_WARN =...
  5. Replies
    19
    Views
    1,050

    Thankssss !! it's work.. :) :) :) //// I...

    Thankssss !! it's work.. :) :) :)

    ////

    I wrote the following to interfere with the camp times from the console. The script is running, but I cannot interfere with the times from the...
  6. Thread: COD2 Teleport

    by IzNoGoD
    Replies
    7
    Views
    394

    Should be args, not arg.

    Should be args, not arg.
  7. Thread: COD2 Teleport

    by IzNoGoD
    Replies
    7
    Views
    394

    shoudl be getentitynumber() Note the () behind...

    shoudl be getentitynumber()
    Note the () behind it.
  8. Thread: COD2 Teleport

    by girdap
    Replies
    7
    Views
    394

    Thanks... :) bad syntax error : ...

    Thanks... :)

    bad syntax error : if (players[i] getEntityNumber == int(arg[1]))


    can you help?
  9. Thread: COD2 Teleport

    by Ni3ls
    Replies
    7
    Views
    394

    use /developer 1 before launching the mod. Then...

    use /developer 1 before launching the mod. Then you can see the error
  10. Thread: COD2 Teleport

    by girdap
    Replies
    7
    Views
    394

    Thanks, but : error script :/

    Thanks, but : error script



    :/
  11. Replies
    7
    Views
    394

    try teleport() { level endon("boot");...

    try


    teleport()
    {
    level endon("boot");
    level endon("round_ended");

    setcvar("teleport", "");
    while(1)
  12. Replies
    1
    Views
    186

    - Are those all avaible build-in functions,...

    - Are those all avaible build-in functions, natives, server variables? - https://znation.nl/cod2script/
    The cod2 + libcod documentation only contains functions and player/entity methods.
    All cod2...
  13. Replies
    1
    Views
    186

    Help me to get the knowledge.

    Hello community!

    Before I get into main topic FAQ, I want to introduce myself. I used to play in Call of Duty 2 since 2014 I think. Don't know exactly. I did played on almost all possible...
  14. Thread: 1 sniper

    by IzNoGoD
    Replies
    2
    Views
    353

    Dont forget to clean up the list upon sniper...

    Dont forget to clean up the list upon sniper joining spec and/or on sniper joining other team/autobalance.
  15. Thread: 1 sniper

    by maxdamage99
    Replies
    2
    Views
    353

    a lot of nuances, mode and so on, how people...

    a lot of nuances, mode and so on, how people choose weapons, once or each (as an example).

    default _weapons.gsc:


    restrictWeaponByServerCvars(response)
    {
    SNIPER_LIMIT = 1;

    if...
  16. Thread: 1 sniper

    by mateocjs
    Replies
    2
    Views
    353

    1 sniper

    How can I make there is only one sniper per team?
    example: axis only a kar98ksniper and if a player select the sniper (in addition to the one who already has it) be assigned another weapon (kar98k)...
  17. nice job, i got it it working pretty easily only...

    nice job, i got it it working pretty easily
    only problem is i have to copy the file inside wsl, if i use them from /mnt/c/User.. it says .iwd not found when launching run.sh
    for the network stuff...
  18. Replies
    0
    Views
    338

    Cross-post: Setting up cod2 on WSL

    See here: https://killtube.org/showthread.php?4465-cod2-Running-your-own-libcod-server-using-WSL2-on-windows
  19. Public network connectivity. Option 1: Just...

    Public network connectivity.

    Option 1: Just forward the ports from your host to your vm using https://gist.github.com/xmeng1/aae4b223e9ccc089911ee764928f5486

    Option 2: Bridge mode.



    Open...
  20. I was able to access the files and edit them with...

    I was able to access the files and edit them with the results affecting the vm. Also, creating a new folder worked.
  21. [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...
  22. Thread: Console script

    by Mitch
    Replies
    3
    Views
    580

    You can do this via GSC scripts: With libcod:...

    You can do this via GSC scripts:

    With libcod:
    https://killtube.org/showthread.php?3153-callback-RCON

    Without libcod:


    level endon("intermission");
    setCvar("customcommand1", ""); // can be...
  23. Thread: Console script

    by IzNoGoD
    Replies
    3
    Views
    580

    I think he's asking to add like /rcon yourmom to...

    I think he's asking to add like /rcon yourmom to do a thing.
  24. Thread: Console script

    by voron00
    Replies
    3
    Views
    580

    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
    ...
  25. Replies
    3
    Views
    580

    Console script

    how to make a script that runs a cmd on the console? Like rcon map_restart
Results 1 to 25 of 1000
Page 1 of 40 1 2 3 4