1. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

[script] Frags (way of classic)

Discussion in 'Modding [KAG]' started by nkChehov, Jul 11, 2013.

  1. nkChehov

    nkChehov Ballista Bolt Thrower
    1. PumpkinStars - [Pk#] - Inactive

    Messages:
    172
    REQUEST ONLY SERVER SIDE
    Hello there. Simple script that add one more condition for winning and probably everyone know what exactly ;) Its make as analogy from classic ctf/rtdm​
    classic.png
    So, I decided to make that thing for beta too​
    beta.png
    Yes, that not just for design) working pretty similar like in classic (in collection with classic ladders, maybe soon will make version for builders).​
    Actually, if talk about beta gamemode there are 2 things that I don't like: economic (unlimited bombs and etc. that getting from nowhere) AND unlimited frags, people just don't care about will they die or no, hope it will solve this problem at least... but enough of the lyrics.​
    1. replace base from Kag-beta folder by base from archive.​
    4.png
    2. Add line in your autoupdate_ignore_custom.cfg (int placed somewhere near base folder, but you may not have it yet) line:​
    Code:
    Frags.as
    IF YOU HAVEN'T FOUND autoupdate_ignore_custom.cfg JUST GET HIM FROM ARCHIVE AND PUT NEAR BASE FOLDER, NOT IN!​
    (hope no one will have problem with this step)​
    3. [most hard step]. This mod working with any gamemode, and to make it working you must include this mode to gamemode script, actually, its pretty easy ;)​
    for example, you wanna add frags_mode in WAR.​
    a) open: \Base\Rules\WAR\gamemode.cfg​
    1.png
    b) add line in scripts section, like that​
    2.png
    Thats all, must work. Have questions/problems, feel free to ask.​
    Also, one word about some simple changes that you can make. TO change number of frags open your Frags.as file​
    5.png

    * Minimum_Frags, it is minimum tickets at your server, less then that it can't change.
    * Frags_Per_Player, by this option it launch algorithm, that count players in biggest team and give equivalent [players* Frags_Per_Player]. If this value will be bigger then Minimum_Frags it will trigger as start tickets enstead.

    example:
    setup( Minimum_Frags = 100, Frags_Per_Player = 25)
    Var a.
    -blue team, 3 players;
    -red team, 2 players;
    start tickets for both team, 100
    Var b.
    -blue team, 4 players;
    -red team, 5 players;
    start tickets for both team, 125
    Thats all, have fun ;)​
     
  2. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    You should include a option like in classic : frags*players
     
  3. nkChehov

    nkChehov Ballista Bolt Thrower
    1. PumpkinStars - [Pk#] - Inactive

    Messages:
    172
    yep, will think about it
    </br>--- merged: Jul 12, 2013 10:57 AM ---</br>
    Ok, now it have on more option:

    5.png

    * Minimum_Frags, it is minimum frags at your server, less then that it can't change.
    * Frags_Per_Player, by this option it launch algorithm, that count players in biggest team and give equivalent [players* Frags_Per_Player]. If this value will be bigger then Minimum_Frags it will trigger as start frags enstead.

    example:
    setup( Minimum_Frags = 100, Frags_Per_Player = 25)
    Var a.
    -blue team, 3 players;
    -red team, 2 players;
    start frags for both team, 100
    Var b.
    -blue team, 4 players;
    -red team, 5 players;
    start frags for both team, 125
     
    VanHuek, Asu and kaizokuroof like this.
  4. 16th

    16th Bison Rider

    Messages:
    254
    I Love u, Chehov!
    Добавить в бэту побольше классика, и может быть получится хорошая игра! 25252525
     
  5. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    I will report this message because it is the wrong language for this forum

    Will you make some interface improvements for it?
     
  6. nkChehov

    nkChehov Ballista Bolt Thrower
    1. PumpkinStars - [Pk#] - Inactive

    Messages:
    172
    while there is no autoloader for sprites, probably no. Think, don't need it at all ;) when we will make ctf that can be improved
     
  7. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    About CTF, I was interested by making a CTF mode. Would you want to do it with me?
     
    Hawxx likes this.
  8. nkChehov

    nkChehov Ballista Bolt Thrower
    1. PumpkinStars - [Pk#] - Inactive

    Messages:
    172
    I start making small scripts, but for full ctf wanna wait first what devs will make and modding support
     
  9. ThailandGamemingGold

    ThailandGamemingGold Ballista Bolt Thrower

    Messages:
    27
    FILE HAVE BEEN DELETED :QQ::QQ::QQ:.

    I WANT TO USE IN SUMO SERVER ! (IN COMMING) PLEASE REUPLOAD PLZZZZZ :QQ:.
     
  10. nkChehov

    nkChehov Ballista Bolt Thrower
    1. PumpkinStars - [Pk#] - Inactive

    Messages:
    172
  11. ZeroZ30o

    ZeroZ30o Haxor

    Messages:
    119
    This is good.
    Also:
    MORE CAPS!!!1!!!!!!