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

Custom GameMode

Discussion in 'Modding Help' started by nkChehov, May 22, 2013.

  1. nkChehov

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

    Messages:
    172
    How I can launch server with custom gamemode? :huh?:
     
  2. SirLoading

    SirLoading Haxor

    Messages:
    22
    In autoconfig file change line
    Code:
    sv_gamemode = WAR
    Instead of WAR put name from gamemode file, from this line:
    Code:
    gamemode_name                      = GMNAME
     
  3. nkChehov

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

    Messages:
    172
    Situation:
    In folder Mods I have:

    CaptureThePoints->Base->(Entities, Rules, Scripts)
    Rules->CP->(gamemode.cfg, mapcycle.cfg and etc.)

    in gamemode:
    in autoconfig:
    1.png

    in autoconfig:
    1.png
     
  4. SirLoading

    SirLoading Haxor

    Messages:
    22
    Have you added names of all folders you have in "Mods" folder to mods.cfg file?
     
  5. nkChehov

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

    Messages:
    172
    in folder:
    Mods->CaptureThePoints->Base->...
     
  6. SirLoading

    SirLoading Haxor

    Messages:
    22
    But have you added
    Code:
    CaptureThePoints
    to the mods.cfg file?
     
  7. nkChehov

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

    Messages:
    172
     
  8. SirLoading

    SirLoading Haxor

    Messages:
    22
    Try putting your gamemode outside Mods folder (Base/Rules), some files dosen't work when they are placed in it. And remember to create autoupdate_ignore_custom.cfg file and add there names of all of your gamemode files.
     
  9. nkChehov

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

    Messages:
    172
    if I try it in singelplayer (with mobs), its work perfect. But if I try to make a server, he dont include all the files (same in other hands)
     
  10. SirLoading

    SirLoading Haxor

    Messages:
    22
    If it is not working when you put this gamemode outside Mods folder then maybe you should try replacing War files.
     
  11. FranticIch

    FranticIch Let me be your tank... Donator

    Messages:
    234
    This is the wrong section.
    Well, I can't load mods, too.
    It's propably not possible how it should be (yet)... or it is and we are doing it wrong :p
    https://forum.kag2d.com/threads/cant-load-mods.13527/
     
  12. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    I think the client needs the mod.
     
  13. SirLoading

    SirLoading Haxor

    Messages:
    22
    I thinks it is not because client haven't mods, his server is crushing when he is opening it. It is probably because this is in Mods folder, some things are not working there.
     
  14. VanHuek

    VanHuek KAG Guard Tester

    Messages:
    751
    This issue has been sorted: the mods folder does not work.
     
  15. SirLoading

    SirLoading Haxor

    Messages:
    22
    It works but some mods, for example custom gamemode doesn't work there, but you can add blocks, vehicles, workshops, but can't put graphics into it.
     
  16. JacKD

    JacKD Ballista Bolt Thrower

    Messages:
    496
    I have successfully set up a server and connected to it from another KAG installation from the same PC. No crash, no nothing. I could start my server and you could try joining to see if it works, but I don't see a reason why it wouldn't.

    EDIT: A couple of minutes ago someone joined my server without problems. So Mods *are* working, you're just doing something wrong.