Weapon powers? [message #53636] |
Sun, 16 August 2009 15:54 |
havik
Messages: 5 Registered: August 2009
|
|
|
|
Ok hello, Im new to this site But i have been searching on how to make a weapon have powers, I couldnt find anything about it on search so.. I thought i would try here.
Im wondering how i would be able to add a spell to a weapon? Like when i hit someone force push is used. Or have a fireball hit them with the sword blast? Any ideas on what to do?
(ps) i did make a post on projectego site, But i have not had any replys that help. So i thought i would try this site
|
|
|
|
|
Re: Weapon powers? [message #54571 is a reply to message #54568] |
Sat, 10 October 2009 09:38 |
|
You can't add a spell to a weapon.
But you can add the visual effects of a spell to a weapon.
You might also be able to add a physical explosion to a hit with a weapon.
So I guess both ideas might be possible, but I'm not sure if you would get the effect you are looking for.
Also most explosions effect the hero as well, sooo....
Anyway, this is how I would start if I would want to figure this out:
-> Back up your game.bin
-> In the game.bin you have a list of CExplosionDefs, open them up and find one you might like for your purpose and remember it's ID number(you could also make a new entry and edit as you like).
-> Look up the weapon you want to change OBJECT_*** and open it's CWeaponDef.
-> There's an empty label Explosion, put the ID number from the CExplosionDef in there.
-> Save and run Fable.
Now the above is all theory, I havn't done this.
So if you mess up anything, don't come here complaining that I messed up your stuff.
Good luck.
Oh and as for adding visual effects to a weapon, look in the 'new to modding fable' thread, there's some info there.
[edit]
JohnDoe beat me
this is not an exit.
[Updated on: Sat, 10 October 2009 09:39] Report message to a moderator
|
|
|
|
|
|
|
Re: Weapon powers? [message #54592 is a reply to message #54591] |
Sun, 11 October 2009 02:41 |
|
JohnDoe wrote on Sun, 11 October 2009 11:36 | That's interesting. I know exploding arrows and throwing bombs effect the Hero, but then those are projectiles. I'll have to be on the lookout for any noticeable differences in the defs, perhaps an unknown somewhere.
|
It looks like the explosion only effects the creature your melee attack is aimed at.
No other nearby creatures will suffer damage.
I'm not sure yet, but it seems that way.
THING_EXPLOSION_DRAGON_NAPALM is quite something though
[edit]
Did some more testing, and no creatures are harmed accept the one the attack is aimed at.
Now to find out how to change that.
this is not an exit.
[Updated on: Sun, 11 October 2009 02:55] Report message to a moderator
|
|
|
|
Re: Weapon powers? [message #62157 is a reply to message #53636] |
Sun, 03 April 2011 19:45 |
ChaoticMove
Messages: 1 Registered: April 2011
|
|
|
|
I just found a way to keep your projectile´s explosions from damaging your hero, actualy.
After you add the explosion effect, just open the "SHOT" ("SHOT_CROSSBOW_BOLT_LEGENDARY" for example) linked to your weapon and expand the sub menu on the left. Then, click where it says "D22EDCAB" and change the value in there to "0". Apply changes and run Fable.
P.D.- Sorry for posting on a dead thread, but since it is linked to as a tutorial I thought I might as well do it for everyone to see how to make the weapon of their dreams
|
|
|