Search:

Type: Posts; User: IzNoGoD

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    16
    Views
    253

    You're going to need a bit of code inside the...

    You're going to need a bit of code inside the spawnplayer() too, to reset the killstreak counter upon respawn. (thats the lazy way, the better way would be to put it in playerkilled, spawnspectator...
  2. Replies
    16
    Views
    253

    Why are you calling the killing spree code every...

    Why are you calling the killing spree code every time a player spawns? And, on a more important note, your killspree code takes 2 arguments, and you provide none.
    ...
  3. Replies
    16
    Views
    253

    I still have no information about where exactly...

    I still have no information about where exactly you put this script. Post the entire callback_playerkilled.
  4. Replies
    16
    Views
    253

    Why is the Killing spree sound in playerDAMAGE...

    Why is the Killing spree sound in playerDAMAGE and not in playerKILLED?

    Also, be more specific about how you added them. You cannot just throw them randomly in and expect them to work.

    Also, be...
  5. Replies
    16
    Views
    253

    Be more specific how you add it to teams.gsc.

    Be more specific how you add it to teams.gsc.
  6. Replies
    19
    Views
    957

    self.previousPosition = self.origin; ...

    self.previousPosition = self.origin;
    self.campTik = 0;
    while (1)
    {
    if (isAlive(self) && (!isDefined(self.flagAttached) || !self.flagAttached) && self.pers["team"] == "allies"...
  7. Replies
    3
    Views
    206

    Seems like you're not running any map. Type...

    Seems like you're not running any map. Type "status" and report result.
  8. Replies
    19
    Views
    957

    Replace by self.sessionteam

    Replace by self.sessionteam
  9. Thread: COD2 Teleport

    by IzNoGoD
    Replies
    7
    Views
    340

    Should be args, not arg.

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

    by IzNoGoD
    Replies
    7
    Views
    340

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

    shoudl be getentitynumber()
    Note the () behind it.
  11. Replies
    19
    Views
    957

    This forum tends to perform poorly when asked for...

    This forum tends to perform poorly when asked for full scripts for free.

    However, if you try yourself we're pretty good at helping when you hit roadblocks.

    As a sidenote: this script would be...
  12. Replies
    19
    Views
    957

    Why not set the activation through the same cvar?...

    Why not set the activation through the same cvar? scr_campertime 0 has no other purpose than to disable it.
  13. Small update: If you get the "PuTTy key format...

    Small update: If you get the "PuTTy key format too new" error trying to log in with winscp, you have to save your key in the older key file format in puttygen.

    Before saving your private key, go...
  14. Thread: 1 sniper

    by IzNoGoD
    Replies
    2
    Views
    347

    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. Replies
    0
    Views
    331

    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
  16. 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...
  17. 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.
  18. I've got it working such that I can access it...

    I've got it working such that I can access it from other devices in my local network. One port-forwarding rule in my router to get internet access. It's a pain to do though. (win10 pro)
  19. With the vm running, go to \\wsl$\ in your file...

    With the vm running, go to \\wsl$\ in your file explorer and browse from there.
  20. [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...
  21. Thread: Console script

    by IzNoGoD
    Replies
    3
    Views
    576

    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.
  22. Replies
    3
    Views
    848

    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...
  23. Replies
    3
    Views
    1,035

    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.
  24. Replies
    7
    Views
    1,987

    Ah, so no technical limitations in there, just...

    Ah, so no technical limitations in there, just convinience for the player
  25. Replies
    7
    Views
    1,987

    Why is there a distance check in there?

    Why is there a distance check in there?
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4