*
Free and Open Source Code:
Anyone may copy, use, and redistribute the code contained herein without restriction implied or otherwise.
Limitation of Liability:
The author of this code can't be held liable for any results pursuant to the use of code whether expected or unexpected. Including any disputes arising from third parties about the usage by the user of the code; if by circumstance of dispute regarding proprietorship a lawsuit arises then the author of this code can't be held liable for any expenses or losses incurred by users of this code(royalties, etc arising from resolution of dispute).
*/
Simulate feign death using an item with tag "mf_fd_onacti" and ResRef "feigndeathactiva".
Using the item toggles the player state to feigned or not feigned.
The following situations automatically deactivate FD:
Player attacks or damages a target.
Creature sees through FD and damages Player(delayed until OnCombatRoundEnd).
Player dies.
If useDetectableFDs is set to 1(TRUE) then the chance for a creature to see through a PC
FD is calculated using GetHitDice on both creature and PC to make the comparison.
The player will have the effect EffectCutsceneImmobilize(); applied on activation. Known bug
is that the player is able to stand(breaking the FD animation) even though FD will still be
evaluated as active(the PC will still have to use the FD item to deactivate the FD).
Thank you jdeavila. An understandable rating, I agree that I don't always spend as much time on documentation as some other developers do.
Posted by jdeavila at 2009-02-06 17:19:44 Voted 9.75 on 02/06/09
Ah...then that explains it...well then this is a mighty fine thing you did here...ya should have had that expalined first...I change my score to 9.75 - because it is great yet you had not made all this clear in the description intitially and in the module...hope you can appreciate that...and the fact I took the time to even vote and come back several times...so maybe on the next submission you do...perhaps include a Readme and also in module explaination _________________________ Imtherealthing
The system is designed with the possibility for FD to be detected(if the switch is enabled in the module variables). A comparison based on the hit dice of both the FDer and the perceiver. The goblin all the way on the left is a level 30 humanoid which is why that one is much more likely to see through an FD.
Posted by jdeavila at 2009-02-05 20:45:44 Voted 9.75 on 02/06/09
You know...you should'nt get offened because of the score I gave you...I was really good about voting here where others were not and as well as on your last submission I gave you a good mark. I marked you based on the stuff I mentioned above.
Now I have gone back and re-tried it with another higher level PC and it partially worked...much better than last time...but not perfectly...I walked towards the lower lv goblins on the right and then went FD as soon as he ran at me...he stopped and did nothing (great!)...then I de-activated it and then went in the middle of all the goblins and went FD...two did not attack - one did and never stopped until I was almost dead...I then de-activated it again and re-activated it a ways off after I ran away and gave myself more room...they all attacked me when I was in FD...so that is my experience with testing it...that is all I can say...so don't be upset with my telling you this...but because it sort of worked...I will up the mark from 6 to 7.75 for making this. _________________________ Imtherealthing
Posted by vonstorm2007 at 2009-02-05 07:24:18 Voted 10.00 on 02/05/09
Giving a 10 because matthew took the time to make this code, and for me at least does what its posted as doing.
Will be using a modified version of the script, saved me a lot of work. Thanks!
I don't know how you are managing to be attacked. My testing has worked as expected. You read the notes right? The module variable for detectable FDs in enabled. And if any one of the monsters sees through your FD, and then damages you then your FD is intended to be broken(and the others SHOULD attack you). Furthermore, I intentionally placed a high level(level 30) goblin on the left side to demonstrate that FD is level comparison based. Upon entering the game, you received an item acquired message. Lastly, that the goblins received FD items is trivial for a module demonstration. I am sorry, but your rating of 6 is lame at best.
Posted by jdeavila at 2009-02-04 20:28:09 Voted 9.75 on 02/06/09
Sorry had to reduce it from 9.75 to this score because of the following reasons:
1) At the begining of the start area...there is no signage telling you waht to expect and what to do...it is only by looking in the inventory that you see the item that activates the FD.
2) This affect can be duplicated by other ways..for what this does in your module I don't see much of a differance.
3) When I go to activate it before the goblins attack they kill me each time...they are too powerful for a 1st level test PC...but the point is...they continue to attack you even while you are on the ground in FD - I thought this was what your scripts were suppose to avoid...you know...the creatures are told you are dead and walk away...nope doesn't happen.
4) Your item that activates it has NO discription on it explaining anything about this.
Hope this helps you to fix or address all those issues. Alos the goblins when killed have one in thier inventory...are they suppose to FD?
Posted by jdeavila at 2009-02-04 20:13:30 Voted 9.75 on 02/06/09
Nice feature brought to life here...if it wokrs really wellI will make this a 10...otherwise I love that we now have this. Good job!! _________________________ Imtherealthing