Black Cat Forums

Black Cat Forums (http://forums.blackcatgames.com/index.php)
-   Alien Swarm 2K4 Mapping (http://forums.blackcatgames.com/forumdisplay.php?f=30)
-   -   How to make an Alien not bleed? (http://forums.blackcatgames.com/showthread.php?t=11201)

lightfoot 15th Nov 2008 10:22 AM

How to make an Alien not bleed?
 
Assumed that I have a working monster. It bleeds its own blood patches (of a different color) when hurt.

This results in the monster bleeding in two colors! Not nice.

So, the question: is there a way to turn the normal green blood patches OFF, or at least change the color?

L'architecte 15th Nov 2008 11:32 AM

I guess you have modified the default GibGroupClass in your monster properties ?
I have coded a few asw npc in the past and that are not using the default red blood. I dont exactly know the way it works with aliens...

lightfoot 15th Nov 2008 12:52 PM

The monsters are a port only, over from vanilla UT2K4.

Means, I only made the scripts be subclasses of the AlienSwarm base classes, which are AoAlienPawn for the pawn, and AoAlienController for the brain.

By doing so, the monsters inherited the green blood, it seems.

So you say it could be the GibGroupClass section of code, where that happens? I will take a look.

Bucchus 19th Nov 2008 04:31 AM

Off-Topic: The title would make a great zen riddle.

Ki!ler-Mk1 26th Nov 2008 07:54 AM

On a random note, isn't there a mutator somewhere for purple blood?

Moses2k 26th Nov 2008 01:18 PM

Maybe five bucks would refresh my memory...

lightfoot 28th Nov 2008 09:30 AM

1 Attachment(s)
Ah yes. How could I forget that.

Maybe because it is a thing from anno 2004. :rolleyes: The 'purple blood' mutator BigD did.

I tried it. See in the screenie what funny thing happened.

Not sure why, but my guess is it is because AlienSwarm has changed (been updated) since then.

Apart from that strange effect, the technique used in that mutator will NOT solve my problem. As already mentioned in the Readme, the mutator didn't get rid of the normal blood patches, it only added the purple ones.

I dug in the scripts and tried things for days now, but still no luck. The possibility of toggling green/red alien blood really complicates things. It only happens on the client side, and it should seem that there is a way to turn it completely off. But no, no easy way at least.

Damn, how can a thing seeming so simple turn out to be so complex!

Ki!ler-Mk1 30th Nov 2008 08:19 AM

Clients can turn all the blood off aswel, right? (aswel as several other useful signs and such.

lightfoot 30th Nov 2008 10:45 AM

Yes it may be possible to turn ALL blood off, by adjusting the gore level.

Well, again, this isnt a solution for my problem. As I said, I just want these special aliens to not bleed in the AlienSwarm style, cos they got their own blood.

I tried setting the bUsesAoGibs bool to false, in the pawn script, hoping it would make the green/red blood stop, but no.

I suspect some functions in the AoGibbingPawn parent class to be the source of that blood, and as l'architecte said, it has something to do with the GibGroupClass part of code, but to be honest, I don't understand enough to do more than poking around in the dark, there.

Ki!ler-Mk1 30th Nov 2008 08:34 PM

I was thinking you could disect the way the game does it, even if you have to write a mutator to acompany the actor.


All times are GMT -5. The time now is 11:04 PM.

Powered by vBulletin®
Copyright ©2000 - 2017, vBulletin Solutions, Inc.