material ini and actormaterial

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
Veleran
Posts: 891
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

material ini and actormaterial

Post by Veleran » Mon Sep 19, 2011 9:18 pm

Its been years since i used this..f you have
default = Leatherarmor
i guess you also need this in the material ini..
Leatherarmor = default

if you have more armor types..you need to add all armor combination-i guess not because when you select a new armor to use the previous is deactivated.

If i remember well,i need two actor material entities -one for switching to the leather and one to switch back to the default material when leather armor is deactivated.

If there is a more simple way to do it tell me.I will try find an older rf 0.71a version that had an material ini to check for examples.

Veleran
Posts: 891
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Re: material ini and actormaterial

Post by Veleran » Mon Sep 19, 2011 9:34 pm

I found this i had used in july 2004...
i dont remember why i needed Material #2 = Material #2 to switch the material back to the default one...and not Leatherarmour #1 = Material #1 -it worked at that time,unless i had messed it in by the end and i dont remember it.


( i think the cave part is for some actors that blocked the view when player was behind them and were triggered to become transparent).


;
; Material.ini
;
; used to define material switch for actors
;

[Cave_transparent]
Material #1 = Material #3

[Cave_normal]
Material #1 = Material #1

[Dwarven_leather_armour]
Material #2 = Leatherarmour #1

[Dwarven_default_armour]
Material #2 = Material #2

Post Reply