I cant see myself

Game Design, Story, Game Play.
Post Reply
incenseman2003
Posts: 320
Joined: Sat Mar 11, 2006 11:41 pm

I cant see myself

Post by incenseman2003 »

When I am in 1st person view in a game, I cant see a reflection of the player actor in any reflective surface. I can see non-player actors in a reflective surface though.

Is there a way to get the reflection function to see the player actor?
Is there a way to get the player actor to see its self in the mirror?

Also I am in need of a flashlight script that looks where the payer does and turns on and off and is proven to work in the current version of RF, with detailed instruction on how to make it work. There was one that people were talking about a while back but I have tried all the scripts I can find on the forum, some work but only go horizontal, and others dont work at all.

If some has a script that is proven to work, please let me know.
Patience and tolerance are the keys to the passage of knowledge. Even those that are the most knowledgeable started with many questions.
GD1
Posts: 413
Joined: Tue Jul 05, 2005 2:33 pm

Post by GD1 »

The reason for this is that when you are in first person, the player actor is not used. Your weapon actors are used instead. There probably would be ways to do this, but it would take a heavy toll on your framerate considering the added polygons from the weapons.

If you really want to do this, write a pawn script to make a pawn that uses the player's .act file to match the location of the player.
Check out my band
Tougher Than Fort Knox
Image
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Post by Juutis »

Or...

Open up install\PlayerSetup.ini and find the field called 'mirror1st'. Simply set this to true and you'll see yourself in mirrors. :)
Pain is only psychological.
User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Post by QuestOfDreams »

The RF075A installer includes a working flashlight script and even a basic level to demonstrate the setup (flashlight.s, flashlight.3dt) :!:
GD1
Posts: 413
Joined: Tue Jul 05, 2005 2:33 pm

Post by GD1 »

I've been around RF for about 3-4 years and I never knew that command was in there :shock: I should do more reading before i try to do EVERYTHING the hard way! :lol:
Check out my band
Tougher Than Fort Knox
Image
Jay
RF Dev Team
Posts: 1232
Joined: Fri Jul 08, 2005 1:56 pm
Location: Germany

Post by Jay »

That's news to me too. very interesting.
Everyone can see the difficult, but only the wise can see the simple.
-----
incenseman2003
Posts: 320
Joined: Sat Mar 11, 2006 11:41 pm

Post by incenseman2003 »

Juutis,

You were right about the command in the PlayerSetup.ini. However it wasn't there by default. I added it and now the player can see his reflection. When I go to holster a weapon or throw it away the game crashes. I figure that is because there is no animation for thoes functions. I will have to work around that. But thanks bunches for the tip.

QuestOfDreams,

I cant beleive I missed that Flashlight demo. Major blindness!!!!
got it, saw it and my flashlight is working great now.
TY...TY...TY...!!!!
Has there ever been anyone that could figure out how to turn the flashlight on and off in a way that works?
Patience and tolerance are the keys to the passage of knowledge. Even those that are the most knowledgeable started with many questions.
Post Reply