Page 1 of 1

Help!

Posted: Fri Mar 28, 2008 4:52 am
by Jue
Gentlemen, I don't speak neither I read English, alone I can have access to you by means of programs of translation,...

****************************************************

I have a problem, player and shades,.... example house of shadow game....

entity playersetup

useShadowplayer = true
usestencilshadow = true

entity enviromentsetup


maximum of shades = 1

But it doesn't work...

I thank their help that me puedad toasts, something is making bad.

Yue

Re: Help!

Posted: Fri Mar 28, 2008 11:01 am
by QuestOfDreams
PlayerSetup entity:
UseStencilShadows true

There is no UseShadowPlayer option in the PlayerSetup entity ...

The options of the EnvironmentSetup that affect the shadows are:
SShadowsAlpha
Transparency of actor stencil shadows (0 to 255)

SShadowsColor
Color of stencil shadows (e.g. 0 0 0)

SShadowsMaxLightToUse
Maximum number of lights casting stencil shadows at the same time (0 to 8)


Additionally you need an entry in the menu.ini file to allow a checkbox for the shadows in the options->video menu (this box must be checked for the shadows to work), e.g.

Code: Select all

; define Shadow Box
; format : screen_X screen_Y image# width height image_X image_Y mouseover_X mouseover_Y set_X set_Y Animation# AnimationOver# AnimationSet#

shadowbox=170 326 5 19 19 38 85 19 85 0 85 -1 -1 -1

; define Shadow text
; format : screen_X screen_Y font

shadowtext=200 328 FONT9
PS: Give your topics a meaniningful title

Re: Help!

Posted: Fri Mar 28, 2008 3:31 pm
by Jue
Thanks to respond, if there is some error, to write and ask you to forgive me because my English language is invalid because the truth and do the impossible possible to manage Rf certainly is the best I have seen on the network.

Probare and then you comment.

Thank you for your collaboration.

Yue

Re: Help!

Posted: Fri Mar 28, 2008 3:57 pm
by Jue
Image
http://www.subirimagenes.com/fondosycap ... 58279.html



Hello, I have the entity enviromentSetup what this entity is a green light

In menú.ini already have entry to verify the shadows.

But it does not work.

My question is whether the shadows working with all entities lights.

Re: Help!

Posted: Fri Mar 28, 2008 4:59 pm
by QuestOfDreams
Change SShadowsAlpha in the EnvironmentSetup entity to 100

If you are using the Character Selection in the menu (which is on in the default RF installation), you must add

Code: Select all

stencilshadows = true
to the characters description in character.ini instead of specifying it in the PlayerSetup entity.

Also make sure that the light radius is large enough.

Re: Help!

Posted: Fri Mar 28, 2008 6:47 pm
by Jue
Image
http://www.subirimagenes.com/fondosycap ... 58888.html



Hey I very much appreciate the cooperation extended ...
Really there are many questions ...

The case is that the shadow is already ...

But thus appears in white

The entity envirmensetup

In color of the shadow he places: 139139139 gray.

Because if I leave default 0 0 0 black, the shadow is not visible unless this one pasted to the wall and the camera is closer to the player, but if I get the player away from the shadow wall disappears, and the only way to watch for is second rocket firing a weapon like that illuminates the room. And then the shadows disappear.

Re: Problem Solved.

Posted: Fri Mar 28, 2008 9:32 pm
by Jue
The shadow and I see the problem that I have is to change his weapon, the shadow changes its colors, in my case, started with the gun number one shadow was visible but not passing the weapon two, makes Visible now my concern is… like? ... Whether it is possible that the weapon is reflected in the shadow of the player.

Thank you for your cooperation.

Image
http://www.subirimagenes.com/fondosycap ... 59556.html


Weapon 1

Image
http://www.subirimagenes.com/fondosycap ... 59562.html

Weapon 2



A friendly greeting