Ricebug on 7/6/2016 at 03:37
How to I set up an AI to be killed by a particular weapon and ONLY that weapon? For example, only a fire arrow can kill it. A thousand sword hits won't touch it. You get the idea.
I know it's in the Receptron settings, but I'm scratching my head.
Yandros on 7/6/2016 at 04:56
To that AI, add a receptron for every stim type that causes damage except for FireStim and set the effect to Abort. So, off the top of my head that would include BashStim, SlashStim, PokeStim, ToxicStim, KOGas, and Knockout. Probably a few more.
Nameless Voice on 7/6/2016 at 10:27
Somehow I thought this thread was going to be about an objective to kill an enemy with a certain weapon, where using any other weapon would fail the mission.
john9818a on 7/6/2016 at 20:16
Me too. :o
Ricebug on 7/6/2016 at 21:10
Quote Posted by Yandros
To that AI, add a receptron for every stim type that causes damage except for FireStim and set the effect to Abort. So, off the top of my head that would include BashStim, SlashStim, PokeStim, ToxicStim, KOGas, and Knockout. Probably a few more.
I did as you suggested but I was able to BJ the AI. I didn't touch any of the fields (min/max, etc)
EDIT: Nevermind... Checking
No Min/No Max did the trick.
Nameless Voice on 7/6/2016 at 21:16
Well, in case anyone comes here looking for the answer to that question: the answer is also receptrons.
Make a copy of the stim that is closest to the type of damage your weapon would cause - for example, if you are making a special dagger, make a copy of SlashStim with Dark->BloodCause: True and Schema->Class Tags: DamageType Slash
Put it under the main Stimulus group rather than under WeaponStim.
Add a receptron to the standard vulnerability groups (e.g. Flashy) to cause damage by the receptron (e.g. copy the SlashStim receptron.)
That should effectively mean that all normal enemies will take damage from this new stimulus the same as they would from SlashStim.
Make your custom weapon archetype and make give it sources for this new stim (in the same way that the sword has SlashStim sources.)
Finally, add a receptron to your important creature for WeaponStim, to trigger a mission failure. You will probably also want to add FireStim.
(The idea here is that any damage with the wrong weapon would fail the objective; presumably the player is supposed to make it clear that the kill was made with the specific weapon to frame someone, so any damage by any other type of weapon would be a failure.)
Ricebug on 7/6/2016 at 22:54
Actually, it has to do with an objective in my Strife! campaign, where the player has to eliminate 4 AI with "Time Bolts." The projectiles are nothing more than fire arrows that carry some noisemaker props.
When the campaign was originally released, players quickly discovered that the AI could be killed with sword, arrows, drowning, etc. Now, the objective works as intended. The updated campaign is due for release this week, me hopes.