I've been digging thru the SP AI code while implimenting the code for OJP CoOp.
Anyway, I've come across what appears to be a unused NPC "class" that seems to be functional.
It's the Cultist Destroyer, a reborn cultist who blindly charges the player and suicides using a big force explosion.
Has anyone ever actually heard of this enemy type or seen it in action?
Would this be the use of the cultist explode animation that was never used?
Probably, the code uses BOTH_FORCE_RAGE but that animation could have been a more dedicated version of that.
The class AI behavior seems to work fine, but my experimentation with this class has revealed a problem quite similar to the remote droid. The remote weapon didn't show any visual effects in game as long as I didn't have bryar_pistol loaded beforehand. Now, the reborn_destroyer seems to explode, killing the player, but there's no explosion effect in game (that I could see on my system anyway). So, I think either some other effect must be loaded earlier or the effect for the class wasn't shipped with the game.
If somebody knows a solution, it would be nice to hear it...
It probably just means that the effects aren't be precashed for those particular NPC classes.
Indeed. But the question remains: What entity (or effect) must be loaded (cached) before the reborn_destroyer, because the effect is not cached when the NPC itself is loaded. It won't be solved with a second reborn_destoyer spawning, that much I know.
It was exactly the same thing with the remote sp. By trial and error, and educated guesses, I deduced it was the bryar pistol for the remote. It might be possible to get the effect somehow also for the detroyer to be shown. It would of course help if you could find the answer in some file...
According to the code it's "force/destruction_exp", and I don't immediately see it in the effects folder so I assume it was cut from the final product.
However, I should note that the effect is supposed to precashe and be used so it should work if you add in an effect called "force/destruction_exp".
Oh, yes... It indeed works after placing an effect called that in the folder. I copied, renamed and edited a red version of the concussion rifle explosion effect for it. Now the suicidal cultist charges himself with force_rage, runs to the player, playes the animation, and explodes (removing himself right in the beginning of the process, which doesn't look so good).
The damage is hard coded, I guess, and the damage range very wide. Thus, the explosion effect should be pretty wide also, definitely far more than in the concussion right now. I might edit the effect to have some lightning and upscale it quite a bit. It should turn out to be interesting...
It's a nasty enemy, especially in tight quarters...
Ok dokie. Let me know how it turns out. Getting a dedicated effect for the destroyer would be great.
Ah, well, why don't you have a look for yourself? :)
Cultist Destroyer effect pk3 packet (
http://www.student.oulu.fi/~lvaarisk/external/cul_dest.pk3) containing the efx, the red lightning image and the shader.
Have fun!
EDIT: Readme included in the pk3... In case you want to check the credits... ;)
Originally posted by TK42235
Cool! Hay lassev could I use this in my Realism Project Mod (
http://www.forumforfree.com/forums/index.php?mforum=realismprojectm&showtopic=3)?)
Ah, yes, but of course! There's actually a readme inside the pk3 that says you can use and modify it as much as you want. You must realise my work was only, let's say experimental, and not aiming at a project of my own. It was just a captivating idea. So, please use it if you find it useful. Or course I'd be happy if you mentioned me in your future readme, but I don't require even that...
Sure.
I will use somthing els if I find it to be more realistic but this works for now:)
I will mention you in the readme.txt btw.
Does anybody still use this force/destruction_exp effect? I couldn't find one... =(
Ace, this would be awsome to add in bot support for OJP, with lassevs effects.
do they explode immediately or do you have time to kill them first?