Menu

Started Modding

SpellForge
2002-04-30
2002-05-10
  • Nixon Bardsley

    Nixon Bardsley - 2002-04-30

    Well, I guess I couldn't wait for Siege Editor and I've started playing around already... ;-]

    A cool (literally) modification of Explosive Powder called Frost Bomb: same grenade model but a blue fuse flame, blue and green bounce sparks, a modified ice_explosion_small when it detonates (adding a cloud of blue fire) and it does half damage of Explosive Powder but with a 40% chance of freezing for 4 secs. (That needs tweaking methinks, mebbe down to 30%-35% chance - 4 secs is quite a good time for the freeze tho' - 5 secs is too long...) I also swapped the sound file references after a peek at the available sound files - but I didn't need to retank those, of course.

    I modified physics.gas under world/contentdb/global/effects directory in the logic .dsres file and spl_spell.gas, wpn_projectile.gas under world/contentdb/templates/regular/interactive).

    It works nicely and I've got it into a shop but I confess I haven't changed the inventory or gui icons for it (ie. it shares the same icons as Explosive Powder). This is mainly cos I ain't got Photoshop. Making it a nature spell was a doddle however...

    To get a spell into a shop you need to mod a suitable shopkeeper in the gas files under world/contentdb/templates/regular/actors/good/npc

    mage_trianna_lelaine in the npc_fg_based.gas file is the spell and potion seller in the temple in Elddim (the lowest-level town on the Utrean Peninsula map) and is a very convenient access point for spell-testing.

    You simply adjust the shopkeep's stock under [store] and then [item_restock] you will see entries like:

    spell_zap = 8; //this ensures a stock of 8 zap spells

    Simply add a suitable line, in my case:

    spell_frost_bomb = 1; //forces the shop to carry my new spell

    Shops also appear to generate non-forced stock dependent on certain formulae.

    For instance, the code:

    [store_pcontent]
            {
                full_ratio = 0.08;
                [magic]
                {
                    [all*]
                    {
                        il_main = #spell/10-28;
                        max = 40;
                        min = 40;
                    }
                    [all*]
                    {
                        il_main = #spell/0-9;
                        max = 10;
                        min = 10;
                    }
                }

    Seems to provide for spell stock generation of a selection of spells within given spell level limits. (Tho' that is my interpretation - this is emphatically not gospel.)

    Anyhow, my fun with Frost Bomb (which was an exercise in spellcrafting and is not intended to feature in any collection of spells I create) allows me to try to create 'Flower Bomb', one of the projected Circus Magic spells. I have to acknowledge that I'm lucky enought to be able build on the existing Explosive Powder spell for this. (Tho', after some searching, I can't find a spell effect that could be described as 'confusion' or similar, so that, I'll have to skrit myself.)

    Jasp

     
    • KC

      KC - 2002-04-30

      Frost bomb sounds like a fun spell.

       
    • Nixon Bardsley

      Nixon Bardsley - 2002-04-30

      Not only that but /very/ handy for a solo mage beset by several Forest Klaws.... ;-]

      I think probably I'll polish it up and make it available using the spl_spell_WHATEVER.gas naming convention some time in the future.

      I must emphasise that all spellcrafters should explore like hell because it's all there and we do pretty amazing stuff just with Tank Viewer, TextPad and Tank Creator.

      Jasp

       
    • Nobody/Anonymous

      Ummm all the text in that file for me is just all scrambled.

       
    • Charles McCann

      Charles McCann - 2002-05-10

      Very cool Nixon!  When do we get to use it?  This could be the first true addition / mod to come from the Guild.  :) 

      Well, let me know if you are ready to start using the 'release files' server and/or if you want to put the files into CVS.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.