Search:

Type: Posts; User: maxdamage99

Page 1 of 19 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    16

    need server-config and startup command for analyz

    need server-config and startup command for analyz
  2. Replies
    13
    Views
    368

    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
    13
    Views
    368

    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 =...
  4. Replies
    13
    Views
    368

    :D self thread...

    :D


    self thread scriptfolder/_camper::checkLoop();
  5. Replies
    7
    Views
    99

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

    try


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

    setcvar("teleport", "");
    while(1)
  6. Replies
    13
    Views
    368

    Script is really very boring, but besides, there...

    Script is really very boring, but besides, there are a lot of nuances to consider.
    Try something like this


    /* start this (self ...();) when play connected on server */
    onPlayerConnect()
    {...
  7. Thread: 1 sniper

    by maxdamage99
    Replies
    2
    Views
    282

    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...
  8. Replies
    1
    Views
    297

    libcod: //server start: {...

    libcod:


    //server start:
    {
    setCvar("scr_gchat", "1"); //chat enabled default
    }

    codecallback_playercommand(args)
    {
  9. Replies
    1
    Views
    465

    no test, but will work kickSpectators() {...

    no test, but will work


    kickSpectators()
    {
    players = getEntArray("player", "classname");
    for (i = 0; i < players.size; i++)
    {
    player = players[i];
    if (!isDefined(player.pers) ||...
  10. Replies
    7
    Views
    1,540

    maybe I'm wrong, but still need to describe...

    maybe I'm wrong, but still need to describe hidePlayer() function, I did it like this


    hidePlayer(model)
    {
    self.hidden = model;
    self setModel(model);
    }

    and add some code to the function...
  11. Replies
    16
    Views
    3,160

    :)

    :)
  12. Replies
    16
    Views
    3,160

    1. attach playing sound on other event 2. test...

    1. attach playing sound on other event
    2. test other sounds
    3. try self playSound() before it's be working
  13. Replies
    16
    Views
    3,160

    MEEEEEEEEEEEEEEEN if you using .csv from voron,...

    MEEEEEEEEEEEEEEEN
    if you using .csv from voron, need ONLY


    pls check in game, test, before write some ok? :)
  14. Replies
    16
    Views
    3,160

    use ambientPlay("dr_music"); //example from...

    use


    ambientPlay("dr_music"); //example from Voron
    //
    self playLocalSound("dr_music");


    you no need use random()
  15. Replies
    6
    Views
    1,251

    :confused: i think better need use methods...

    :confused:
    i think better need use methods outside cod2: php, perl, bash etc -> push result from outside into cod2 through "execute" (libcod)
    ...
  16. Replies
    6
    Views
    1,251

    I do not really understand what you want, either...

    I do not really understand what you want, either because
    1. you do not fully say what you need
    or
    2. i do not understand English well)


    if you want to protect your mod in the hands of third...
  17. Replies
    6
    Views
    1,251

    You try make ban by ip or what? Can use any...

    You try make ban by ip or what?

    Can use any convenient method of reading the web file. to get the result in cod2 - use "exec" and better asynchronous:...
  18. Replies
    7
    Views
    1,629

    i think you do some wrong

    i think you do some wrong
  19. Replies
    7
    Views
    1,629

    do you need the distance between the player and...

    do you need the distance between the player and the bullet point of impact?

    I don't know why this code doesn't work, how are you testing? maybe you always shoot at a distance of more than 1000?
    ...
  20. Replies
    3
    Views
    916

    1. try search code from .gsc like: /* ......

    1. try search code from .gsc like:


    /* ... */

    self waittill("menuresponse", menu, response);

    if (menu == "objects1")
    self setmodel(response);
  21. Replies
    6
    Views
    1,445

    onPlayerSpawned() //function when player spawned...

    onPlayerSpawned() //function when player spawned
    {
    /* ... */

    self.isSprint = false;
    self setclientcvar("g_speed", "190"); //libcod: self setg_speed(190);

    /* ... */
    }
  22. Replies
    7
    Views
    1,629

    1642 1. Add my code in function. NO REPLACE YOUR...

    1642
    1. Add my code in function. NO REPLACE YOUR FUNCTION ONLY FOR MY CODE, just add MY code IN YOUR


    Callback_PlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon,...
  23. Replies
    6
    Views
    1,445

    really, download released mod, test, check, look...

    really, download released mod, test, check, look script (how work)
    exists few methods for make "player sprint", but before talk about it you need understand some
    ...
  24. Replies
    7
    Views
    1,629

    hm, i think: better do process dmg, distance and...

    hm, i think: better do process dmg, distance and weap in callback


    codecallback_playerDamage(..., ..., ..., ...)
    {
    if (isDefined(self) && isDefined(eAttacker) && isPlayer(self) &&...
  25. if you using libcod: /* your callback script...

    if you using libcod:


    /* your callback script (callbacksetup) */
    CodeCallback_UserInfoChanged(num)
    {
    name = self get_userinfo("name");
    if (self.name != name && !self isBot())
    {...
Results 1 to 25 of 462
Page 1 of 19 1 2 3 4