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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
Frost bomb sounds like a fun spell.
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
Ummm all the text in that file for me is just all scrambled.
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.