Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Cultist Destroyer?

Page: 1 of 1
 razorace
10-21-2004, 2:02 AM
#1
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?
 keshire
10-21-2004, 4:47 AM
#2
Would this be the use of the cultist explode animation that was never used?
 razorace
10-21-2004, 11:40 AM
#3
Probably, the code uses BOTH_FORCE_RAGE but that animation could have been a more dedicated version of that.
 lassev
10-22-2004, 2:39 AM
#4
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...
 razorace
10-22-2004, 8:27 AM
#5
It probably just means that the effects aren't be precashed for those particular NPC classes.
 lassev
10-22-2004, 11:06 AM
#6
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...
 razorace
10-22-2004, 2:46 PM
#7
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".
 lassev
10-23-2004, 4:17 AM
#8
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...
 razorace
10-23-2004, 11:00 AM
#9
Ok dokie. Let me know how it turns out. Getting a dedicated effect for the destroyer would be great.
 lassev
10-23-2004, 12:02 PM
#10
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... ;)
 TK-425
10-23-2004, 4:34 PM
#11
Cool! Hay lassev could I use this in my Realism Project Mod (http://www.forumforfree.com/forums/index.php?mforum=realismprojectm&showtopic=3)?)
 lassev
10-23-2004, 4:43 PM
#12
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...
 TK-425
10-23-2004, 5:37 PM
#13
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.
 NumberWan
09-14-2007, 5:46 PM
#14
Does anybody still use this force/destruction_exp effect? I couldn't find one... =(
 Iron Herald
03-19-2008, 9:48 AM
#15
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?
Page: 1 of 1