Jump to content

Make an object "fireable"? Also, how to make a destructible "chain reaction?"


Recommended Posts

Hey everybody, I'm looking for some advice here in the form of 2 questions.

1. My mod includes Cannons as static meshes, and cannonballs that have collision, gravity etc. What I want to achieve is a system where the player can walk up to the cannon, interact, and fire a cannonball from it towards an "XMarker" I've placed elsewhere. I'm wondering how I would go about setting this up, I've never worked with "interactive" objects before.

I'm assuming I would make the cannonball into an actual projectile, not just a prop and then turn it into a spell- but the part I'm more stuck on is, how do I set up the Cannon to fire? It's not an NPC so is there a way to make it cast a "spell" without any animation? Is there some way to do it that isn't a spell? The cannonball mesh fits perfectly in the barrel, so what I need is some way to interact and apply force now to launch it and preferably at the targeted coodinates. It would also be great if NPCs could interact as well and fire. Naturally I want it to be fireable more than once - like every 30 seconds or something. No need for reload animations or any of that, just an interactive object is fine by me.


2. Following up on the above, I also want the cannons to be destroyable, but only by one means. Currently I have created working explosions like TNT Cases and Powder barrels. What I want to achieve is that when a barrel or case in appropriate range blows up, so too does the cannon get destroyed and change .nif files to a modified version . How do I link these two up? Like I said, the barrels work, they explode and disappear - but I want this for things like blowing down doors and blowing the cannons to bits.

I know how to make the cannon itself destroyable easily to any damage - the problem is I want it to only be triggered by specific explosions.

Edited by Lagruej
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...