The Special Weapon Assembling Kit
Mods often tend to grow exuberantly like creeper plants in the jungle. One must be careful not to loose the way or get entangled, and somtimes one must draw the machete and hack a straight path free <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="
" border="0" alt="wink.gif" />
Just that happened to the "Grenade" mod that I was working on. My devious imagination came up with lots of other special weapons with unique effects, and in the end i had the program messed up with lots of "`If-else`" statements for every weapon. It worked allright, but I want my mods to be simple examples that others can work with as well. So I made a clear cut and now i am about to make a " Special Weapon Assembling Kit" that allows everybody to assemble special weapons easily by combining features from a given set.
And before I finish that I would like to ask you what features YOU would like to have.
Right now the set of optional ! features includes:
Soundeffects
You can choose which sound your weapon will make when used, e.g. a roaring boom for explosives, firecrackling for combustibles, a stealthy hiss for a throwing knife etc.
Optical effects
Choose from the already existing effects (particles) of PotC: fireballs for grenades, fire and smoke for combustibles, spray or fog for a gasbomb...
Damage on several characters
Activate this and the weapon will not only hurt the initial targetperson but also people close to the initial target. For e.g. grenades or shotguns
Damage on yourself <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="
" border="0" alt="wink.gif" />
You will get hurt as well if you are too close to the initial target (For grenades, gasbombs...)
Throwing weapon
Weapons that you throw, like grenades or throwing knifes, can of course be used only once. They will be unequiped and deleted from the inventory after use
Stealth weapon
If you use silent weapons, like throwing knifes, from a distance your victim will not realize who started the attack. So you may not meet any counterattack
Poison
will poison the victim (like a monkeybite). For e.g. gasbombs or poisoned knifes.
Apart from those new options you can also define the usual stats like model, picture, damagestats, price etc. The different combination of these options creates unique weapons. Here are a few examples of what you CAN assemble (not all should really be implemented <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="
" border="0" alt="wink.gif" /> ) :
A Grenade is being made by combining:
ExplosionBOOMsound, fireball, a little scorching fire on the ground, high damage, to everyone nearby, including you, thrown away.
Blunderbuss
Boomsound, moderate damage, to everyone nearby
Poisoned throwing knife
Hissing sound, light damage, thrown away, stealthy, poisoning
Gasbomb
"Spray/ Bowwave" sound and graphic effect, light damage, to everyone nearby, including you, thrown away, poisoning.
"Hitman" pistol with silencer <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="
" border="0" alt="wink.gif" />
Plop sound, stealthy
Flamethrower <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="
" border="0" alt="wink.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="
" border="0" alt="wink.gif" />
Firesound, fire and smoke, high damage, to everyone nearby.
Lasergun <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_eek.gif" style="vertical-align:middle" emoid="
:" border="0" alt="icon_eek.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid="
" border="0" alt="rolleyes.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid="
" border="0" alt="icon_mrgreen1.gif" />
Teleportersound, "artifact" corona effect
Well, one must be careful not to become TOO unrealistic or cheating <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="
" border="0" alt="wink.gif" />
Mods often tend to grow exuberantly like creeper plants in the jungle. One must be careful not to loose the way or get entangled, and somtimes one must draw the machete and hack a straight path free <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="

Just that happened to the "Grenade" mod that I was working on. My devious imagination came up with lots of other special weapons with unique effects, and in the end i had the program messed up with lots of "`If-else`" statements for every weapon. It worked allright, but I want my mods to be simple examples that others can work with as well. So I made a clear cut and now i am about to make a " Special Weapon Assembling Kit" that allows everybody to assemble special weapons easily by combining features from a given set.
And before I finish that I would like to ask you what features YOU would like to have.
Right now the set of optional ! features includes:
Soundeffects
You can choose which sound your weapon will make when used, e.g. a roaring boom for explosives, firecrackling for combustibles, a stealthy hiss for a throwing knife etc.
Optical effects
Choose from the already existing effects (particles) of PotC: fireballs for grenades, fire and smoke for combustibles, spray or fog for a gasbomb...
Damage on several characters
Activate this and the weapon will not only hurt the initial targetperson but also people close to the initial target. For e.g. grenades or shotguns
Damage on yourself <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="

You will get hurt as well if you are too close to the initial target (For grenades, gasbombs...)
Throwing weapon
Weapons that you throw, like grenades or throwing knifes, can of course be used only once. They will be unequiped and deleted from the inventory after use
Stealth weapon
If you use silent weapons, like throwing knifes, from a distance your victim will not realize who started the attack. So you may not meet any counterattack
Poison
will poison the victim (like a monkeybite). For e.g. gasbombs or poisoned knifes.
Apart from those new options you can also define the usual stats like model, picture, damagestats, price etc. The different combination of these options creates unique weapons. Here are a few examples of what you CAN assemble (not all should really be implemented <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="

A Grenade is being made by combining:
ExplosionBOOMsound, fireball, a little scorching fire on the ground, high damage, to everyone nearby, including you, thrown away.
Blunderbuss
Boomsound, moderate damage, to everyone nearby
Poisoned throwing knife
Hissing sound, light damage, thrown away, stealthy, poisoning
Gasbomb
"Spray/ Bowwave" sound and graphic effect, light damage, to everyone nearby, including you, thrown away, poisoning.
"Hitman" pistol with silencer <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="

Plop sound, stealthy
Flamethrower <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="


Firesound, fire and smoke, high damage, to everyone nearby.
Lasergun <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_eek.gif" style="vertical-align:middle" emoid="



Teleportersound, "artifact" corona effect
Well, one must be careful not to become TOO unrealistic or cheating <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="
