"'Tis nae a proper bar brawl if ye cannae throw someone through a table, ye ken?"
Wise words indeed. NWN1 & 2 are full of high-powered indoor fights. Yet how come the innkeeper never charges you for damages? How come the fireball fight in the library never leaves it torched?
With The Fred's Combat Placeables, these worries are a thing of the past! Now, placeables can catch fire after being torched, and their battered remains can often be seen strewn around afterwards.
By setting your placeables to non-usable but also non-static, they will be untargetable, but still able to take damage from AoE spells.
This work includes an OnDamaged script for placeables which allows them to be set on fire, and an OnDeath script which will create a damaged version afterwards. Included are some example placeables so you can get building right away.
Sadly, NWN2 doesn't feature much broken furniture, and the broken tables do not look like the unbroken ones et.c. but since the system is quite customisable (through variables set on the placeables) you can easily apply it to custom placeables or any others you want.
I have a couple of thoughts on ways to expand this, but I'd be happy to get some feedback first.
I haven't really tested it for causing lag, but I shouldn't think it causes much - it's just an OnDamaged script and an OnDeath script. Yes, if you have a large number of these placeables clustered about and then hit them with a fireball, the game will have to do a little extra work at the point of impact, but every creature in the game has OnDamaged and OnDeath scripts which are probably more intensive to run that these. _________________________ In production: The Dragon Dynasty All my other stuff
Oh wierd. I'm pretty sure the objects in the erf are unchanged from the ones I used to test the system, which all worked fine. I'll look into that, if I get chance. ;-)
Anyway, the scripts can easily be applied to other objects. Sadly NWN2 suffers from something of a dearth of destroyed placeable models, at least ones which look like the undestroyed versions, so it's difficult to make it look like you're smashing something, but I figured this could easily be applied to custom content.
Posted by Amphibious Bagel at 2010-06-25 07:35:45 Voted 9.00 on 06/25/10
Forgot to vote. ;)
Posted by Amphibious Bagel at 2010-06-25 07:35:13 Voted 9.00 on 06/25/10
This is excellent. I only have one problem with it--it doesn't seem to work when I put down the placeables included in the ERF. I have to set them all to usable" for the scripts to work.
Not sure why that is.
But other than that, this is spectacular. I like how clean and short-but-sweet the scripting is. Easy to modify for other purposes.
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone