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

How do you add stronger bombs, brighter lanterns, stronger kegs, etc.

Discussion in 'Modding [KAG Classic]' started by RoflcopterV22, Jul 9, 2012.

  1. RoflcopterV22

    RoflcopterV22 Poison Headcrab Donator

    Messages:
    53
    Ive seen alot of servers with multiple lantern/keg choices, some of which have different colored lights or are brighter, in terms of kegs, more explosive.

    Where do you add/modify these, and is it possible to do with standard bombs as well?
     
    Saverous likes this.
  2. Saverous

    Saverous Shopkeep Stealer

    Messages:
    418
    You can add these things if you find them first. Go to KAG-BASE-ENTITIES-ITEMS. You'll see stuff like boulders, kegs, lanterns etc. Go into each file and then modify them to your liking.

    To get brighter Lanterns, Increase their light radius:
    Code:
     f32_light_radius = 72000.0 
    To get stronger Kegs increase their damage power or damage radius.
    Code:
     
    u16_explosion_tiles_radius = 100
    f32_explosion_damage = 15.0 
    To get stronger bombs, you may have to mod the gamemode class using this:
    Code:
    # class modding
    # builder
    build_speed = 8
    builder_hitspeed = 14
     
    # knight
    knight_drawtime = 1
    knight_maxthrow = 120
    knight_maxpower = 28
    knight_speed = 13
    shield_stomp_velocity = 5.25
    max_bombs = 3
     
    #shieldbash
    shieldbash_push_factor = 2.0
    max_shieldbash_push = 3.5
    min_shieldbash_horiz_vel = 1.15
    clientside_shieldbash = 0
    shieldbash_uppysidey_ratio = 0.4
    shieldbash_knockdown = 15
     
    # archer
    build_arrow_speed = 25
    archer_dig_speed = 30
    archer_drawtime = 23
     
    archer_maxpower = 66;
    archer_nodamage_vel = 1.0
    archer_max_vel = 15.0
    archer_slow_arrow_damage = 0.5
    archer_normal_arrow_damage = 1.0
    archer_charged_arrow_damage = 1.5
     
    # knockdown
    sword_knockdown = 12
    small_sword_knockdown = 0
    arrow_knockdown = 0
    charged_arrow_knockdown = 12
     
    # misc
    arrows_buy_amount = 10
    resupply_time = 180
    

    Pretty self explanatory there.

    Thats about it, if you have other questions just ask
     
    RoflcopterV22 likes this.
  3. RoflcopterV22

    RoflcopterV22 Poison Headcrab Donator

    Messages:
    53
    I get those, what I meant is adding 2 lanterns in a shop i.e: "Dim lantern" and "Bright lantern", or two kegs "Big keg" "Small Keg"
    The biggest thing I was hoping to use was having multiple bombs in a shop "Normal bomb" "Weak bomb" "Strong Bomb"
     
    Saverous likes this.
  4. Saverous

    Saverous Shopkeep Stealer

    Messages:
    418
    Just copy the same file but rename it to what you want, then change settings and load it in shops. I'm not entirely sure about changing bombs but your welcome to try it. I haven't really found the bomb item files
     
    RoflcopterV22 likes this.
  5. RoflcopterV22

    RoflcopterV22 Poison Headcrab Donator

    Messages:
    53
    Thanks, where can I find the shops to change what they load?

    EDIT: Found them, but cant figure out how to change the price of a keg/lantern
     
    Saverous likes this.
  6. Saverous

    Saverous Shopkeep Stealer

    Messages:
    418
    Its in the Room files, The keg item script is down the bottom of the file
     
    RoflcopterV22 likes this.
  7. RoflcopterV22

    RoflcopterV22 Poison Headcrab Donator

    Messages:
    53
    Thanks
     
    Saverous likes this.