Changing render properties Created 16 years ago2008-01-04 13:10:29 UTC by Madcow Madcow

Created 16 years ago2008-01-04 13:10:29 UTC by Madcow Madcow

Posted 16 years ago2008-01-04 13:10:29 UTC Post #242578
Holy cow an entity question!

I'm not sure if this is possible, but if it is, I have this really cool secret hidden idea, but to do it I need this to work.
Is there a way to change the render properties of an NPC ingame in HL2 or any of the episodes?
Either using inputs or with a console command, doesn't matter.

I have figgured out how to change the color, wasn't very hard, just the simple input called "color"
But what if I want to change the trasparancy of the NPC?
Is this possible?
There appears to be no input for it, and I'm not really an expert at console commands.

Thanks in advance!
Madcow MadcowSpy zappin my udder
Posted 16 years ago2008-01-04 13:27:21 UTC Post #242582
Should be possible, since it's been done in HL2 & the Episodes (HL2 Gman intro, EP1 Vorts, EP2 healing sequence, etc.).
Daubster DaubsterVault Dweller
Posted 16 years ago2008-01-04 13:34:52 UTC Post #242584
The Gman intro was simply an overlay, EP1 vorts, can't remember that, and the EP2 healing, that DID change the textures directly on alyx, so maybe, but I have no idea how they did that
Madcow MadcowSpy zappin my udder
Posted 16 years ago2008-01-04 22:38:50 UTC Post #242611
any "alpha" property?
Archie ArchieGoodbye Moonmen
Posted 16 years ago2008-01-04 22:54:53 UTC Post #242616
Yes, but it doesn't do shit.

I tried putting in all kinds of values, but... OH!
I think I know what I did wrong now.

I put values from 1 to 255, and it didn't work at all.
But it looks like I miss read(?) the page about it on valve dev wiki.
Apparently you are supposed to put in a value between 0 and 1, which is then multiplied with 255!
Why the hell did they make it so messy?

I'll see if that works as soon as I can, so don't close the thread yet.

Thanks for bringing it up huntey :>

Edit

Still one question remains, is there a way to change the render effect?
I knew about alpha but couldn't get it working (and I still haven't tried the 0 - 1 thing, but I'm pretty sure it will work) but I haven't seen any output or console command that possibly could be related with render FX.
The render FX isn't THAT important, as long as I know how to alter color and alpha I should be fine.
But being able to change render FX would make it look slightly sexier
Madcow MadcowSpy zappin my udder
Posted 16 years ago2008-01-05 12:33:45 UTC Post #242653
Minor bump!

I figgured out howto do it.
I needed to change the rendermode of the combine soldier.

And I was wrong about the value being from 0 to 1, it is infact from 1 to 255.

Examplemap comming soon along with quite a few suprises.
This is gonna be awesome!
Madcow MadcowSpy zappin my udder
You must be logged in to post a response.