Hi
There is hardly any information about the particular control values used in .RS files. While the meaning of transparent, envmap, twosided is obvious, there come another types that are not in common use.
texturefade - so according to my research it's mainly used to dim the building portals like door and windows
sortedblend true/false, customfloatvalue number - ??? these are used in conjunction with texturefade, right? However what do they exactly do?
alphaTestRef 0-1 - I can see it controls the appearance of transparent textures over the distance
depthWrite true/false - If not set to false, then sprite objects (like trees) can not be seen through that texture. Anything more? Anyway what is this, and how it works?
blendSrc sourceAlpha; ???
blendDest one/invsourceAlpha/two; (yeah, i've spotted a value of two as well, even if it is not available within the 3DS Max material options.) ???
Any help is much appreciated. Thanks
Battlefield .RS file entries explanation
- Apache Thunder
- Posts: 1210
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: Battlefield .RS file entries explanation
SortedBlend is not a valid RS file command as far as I can tell. Even a hex-edit search of the exe finds nothing. If you found this command in a custom object, the mesh maker was smoking crack because it doesn't exist in BF1942 and thus would have no effect.
None of the vanilla files use it and the EXE doesn't define it either. If you can't find the command in the EXE file with a hex-editor, that means it pretty much doesn't exist. Not even Rallisport Challenge has a command like this.
EDIT:
I've made this it's own topic in the tutorials section now at the suggestion of Swaffy.
RS File commands explained
None of the vanilla files use it and the EXE doesn't define it either. If you can't find the command in the EXE file with a hex-editor, that means it pretty much doesn't exist. Not even Rallisport Challenge has a command like this.
EDIT:
I've made this it's own topic in the tutorials section now at the suggestion of Swaffy.
RS File commands explained
I have cameras in your head!
Re: Battlefield .RS file entries explanation
You should move this to the tutorial section. That is one damn good explanation, ApacheThunder.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
- Apache Thunder
- Posts: 1210
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: Battlefield .RS file entries explanation
I have cameras in your head!
Re: Battlefield .RS file entries explanation
oh my... wow! I would never have expected to receive so much information, thank you!
One suggestion though: Sometimes it gets difficult to understand pure description of mechanisms, so particular examples of real usage involved in the game would be very handy. For example diming black texture of windows and door portals for TextureFade command.
One suggestion though: Sometimes it gets difficult to understand pure description of mechanisms, so particular examples of real usage involved in the game would be very handy. For example diming black texture of windows and door portals for TextureFade command.
Apparently I was browsing models that were ripped from Battefield Vietnam, and then ported to BF1942 mod.SortedBlend is not a valid RS file command as far as I can tell. Even a hex-edit search of the exe finds nothing. If you found this command in a custom object, the mesh maker was smoking crack because it doesn't exist in BF1942 and thus would have no effect.
- Apache Thunder
- Posts: 1210
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: Battlefield .RS file entries explanation
Well that explains it. BFV might have RS commands that don't exist in BF1942.
I have cameras in your head!