1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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

Scripting Progress and Massive Rewrites.

Discussion in 'Announcements' started by Geti, Aug 8, 2012.

  1. Geti

    Geti Please avoid PMing me (poke a mod instead) THD Team Administrator Global Moderator

    Messages:
    3,730
    That basically sums up the past few weeks. We've started moving literally all of the old content to scripted entities, which has required us to be pragmatic and basically wipe all the old hardcoded things. Every time we've come across something that needs to be done better, we've rewritten it. This has lead to many, many positive changes and a hell of a lot of work.

    First of all, attacking is now fully directional, scripted, and a little less buggy (though I'm sure lag will help keep everyone angry about it). This means that your knights can now chop upwards, downwards and to the side, as well as slash in an arc.

    Second of all, all classes have been moved to scripts. This makes it significantly easier to tweak how they work (both for us and for modders) but has also taken a lot of work, since the old "runner" code basically made KAG happen - all of the building code, emoticon code, hud code, attacking code (and so on) was in there. That was very rigid, but fairly simple to work with for us.

    All the basic classes are drafted and "semi-working", though there's a little more to be done before we can even begin larger-scale testing, but they're all working with team colours, animations, and layers.
    classespreview.png
    Here they are decked out in drab grey, all ready for painting. Note the archer's arm accurately reflecting its aim angle.

    Sprite layers also let us piece together slightly more complicated sprites from various pieces, for example, the catapult's arm and wheels can be separate layers, like so:
    temp.png
    Workshops are also naturally fully scripted. The bank allows you to take out a loan if you're low on coins, or deposit money for safekeeping.

    Tom is now working on documentation for the scripting API, and Ryan has bought several new machines for our infrastructure to future proof against traffic spikes and help balance the load.

    More previews coming as we build more content :)
     
  2. Raron

    Raron KAG Guard Tester

    Messages:
    543
    Good..
    We still have stuff to complain about.
     
  3. LostPix

    LostPix Base Burner

    Messages:
    574
    Fully directional attack, this will be amazing, but as we all know we will all have to learn how to play from the very bottom :D

    So I guess it means we can create our own custom siege machines is it?
     
  4. Karthremar

    Karthremar Catapult Fodder

    Messages:
    2
    good, finally the knights will be able to hit down with a slash attack
     
  5. delankski

    delankski Horde Gibber

    Messages:
    435
    [​IMG]
    I call this FTW :D
    Great Update Anyways :)
     
    Dark_Ham likes this.
  6. ParaLogia

    ParaLogia tired Administrator Global Moderator Forum Moderator Tester Official Server Admin

    Messages:
    1,133
    Directional attacks! Hallelujah! Gone are the days of jabbing left or right to hit someone on your head!
    Looks like the builder has a new tool too.
     
  7. One

    One I got 99 problems and my name is One Donator Tester

    Messages:
    641
    Awesome! Is shield bashing getting a revamp, or just getting cut out?
     
    Antman likes this.
  8. LostPix

    LostPix Base Burner

    Messages:
    574
    You will be able to finally cut those filthy builders sitting in pits where your hits don't register properly.
     
  9. 8x

    8x Elimination Et Choix Traduisant la Realité Forum Moderator Staff Alumni Tester
    1. The Young Blood Collective - [YB]

    Messages:
    1,325
    Do the charachters look like less chubby? :migrant:
     
  10. Trylobot

    Trylobot Bison Rider

    Messages:
    9
  11. Cirom

    Cirom Bison Rider

    Messages:
    162
    I am HYPED. Before I couldn't wait for scripting, but now... asdfg. Why don't I have this already D:

    Also, with the greyscale "ready to be coloured" classes.. does this mean that more than 3 classes are possible without breaking things? ;o
     
  12. Dark_Ham

    Dark_Ham Shipwright

    Messages:
    144
    "This means that your knights can now chop upwards, downwards and to the side, as well as slash in an arc."
    This is amazing! I really can't wait for this update! Great work as always.
     
  13. LostPix

    LostPix Base Burner

    Messages:
    574
    I sort of think that fun mechanic for sword fighting would be to swing sword with mouse while you hold left mouse button, then you swing in every direction by yourself, shielding would work the same too while holding right mouse button and directing the shield to block, unless this is what is meant by directional attacks.
     
  14. Adinxs

    Adinxs Bison Rider

    Messages:
    340
    [​IMG]
    Sword fighting that is not random!? MAI GAWD.
     
  15. Overlord

    Overlord KAG Guard Tester

    Messages:
    313
    Does this mean the invincible angle is no more?
     
  16. PinXviiN

    PinXviiN Haxor

    Messages:
    494
    Oh god :eek: Soo much new things are coming, cant you Geti realase one things and others will come soon? it takes like a year to complete those things :>:(:
     
  17. vid please, please, please, please?
     
  18. LucasTT

    LucasTT Haxor Tester

    Messages:
    455
    OH MY GOD
    If this really happen will be great ;)
     
  19. madcow55

    madcow55 Catapult Fodder

    Messages:
    6
    with this update i hope that the directional attacks
    make gameplay smoother and and i can tell where my enemy swings there sword
    very especially with the catapault and the new text give a better feel
    something new is always nice:);)
     
  20. Parpoch

    Parpoch Also known as Lord Puffet Donator

    Messages:
    45
    Naaaiisssss.