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

Is it possible to make "Events"?

Discussion in 'Modding [KAG Classic]' started by Inkognito, Aug 18, 2012.

  1. Inkognito

    Inkognito Catapult Fodder

    Messages:
    7
    Hi. Is it possible to start events in the gamemode after a amount of time or even random (% of change that the event will happen every day/night cycle)? I mean events like "Give all players X wood/stone/coins/whatever" or "spawn X zombies, X knights and X imigrants". Or something like that?
     
  2. MechaTrickster

    MechaTrickster Banned Donator

    Messages:
    654
    Sadly no, It'd be a nice feature though.
     
    UnnamedPlayer likes this.
  3. Inkognito

    Inkognito Catapult Fodder

    Messages:
    7
    That is really sad :(. But thank you for your answer!
     
  4. Zer0Striker

    Zer0Striker Shipwright

    Messages:
    139
    There is something similar to that, but I only know how to make bots spawn like events. Add this to your dedicated_autostart.cfg under the gamemode you want: sleep(0.1);
    addBotX( 1, 2, "Bot's Name" );. That will spawn a bot named Bot's Name in 0.1 seconds. The I believe it works with addBlobX, but its buggy and only spawns on the left side. Rising water is also a sudden death event or you can somehow time the water(Requires math skills) to rise above the ground at a certain time.