Questions about 1st person
Moderator: Moderators
- destos
- Chief Warrant Officer

- Posts: 349
- Joined: Sat Sep 22, 2007 10:37 pm
Questions about 1st person
ok so i was wondering if you could
1. have a unit locked in first person view
2. edit first person view so you can add certain effects (i basicly wanna make it so that it truely seems like your looking through a visor {in metroid prime if you go by a waterfall your visor fogs up on the sides and you can see water droplets upon it}
1. have a unit locked in first person view
2. edit first person view so you can add certain effects (i basicly wanna make it so that it truely seems like your looking through a visor {in metroid prime if you go by a waterfall your visor fogs up on the sides and you can see water droplets upon it}
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: questions about 1st person
1. I pretty sure there is a lua comand for it.
2. You will needs to make a custom HUD.
2. You will needs to make a custom HUD.
- destos
- Chief Warrant Officer

- Posts: 349
- Joined: Sat Sep 22, 2007 10:37 pm
Re: questions about 1st person
ty AQT
does any1 know the lua code?
does any1 know the lua code?
- bobfinkl
- Rebel Colonel

- Posts: 593
- Joined: Sun Jul 13, 2008 9:01 am
- Projects :: Lots of unreleased stuff
- xbox live or psn: No gamertag set
- Location: The quaint little city gametoast.
Re: questions about 1st person
It's done via odf, just look at a vehicles odf which forces 3rd person just change that to 1st person and add it to your units odf.
-
lesovikk1
- Captain

- Posts: 484
- Joined: Thu Nov 20, 2008 1:29 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: In my own dream world :D
- Contact:
Re: questions about 1st person
i dont know about the lua codes but i have a idea for the visor....the republic commado view? can you use it from the game?
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: questions about 1st person
You will need to make a custom HUD, as mentioned above, but I'm not sure you can do ambient effects such as water droplets fall upon it.
- yukisuna
- Rebel Sergeant

- Posts: 210
- Joined: Wed Jan 28, 2009 5:50 am
- Projects :: My new PC hates the Mod Tools
- xbox live or psn: Samura Yukisuna
- Location: Stuck in a place full of happy happiness known as Steam.
Re: questions about 1st person
1: type in ForceMode = 2
2: dont know. will try it myself
2: dont know. will try it myself
-
RogueKnight
- Space Ranger
- Posts: 2512
- Joined: Sat Nov 22, 2008 1:50 pm
- Projects :: Life. Work.
- xbox live or psn: No gamertag set
- Location: Washington, US
Re: questions about 1st person
um... as far as I know, there is no ForceMode=2, you can only put 0 and 1.yukisuna wrote:1: type in ForceMode = 2
2: dont know. will try it myself
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: questions about 1st person
For two, you are talking about a dynamically changing HUD with relation to surroundings (objects, regions, etc.). While I've never played around with it myself to much detail, I think Rep will confirm that it's more or less impossible.
- destos
- Chief Warrant Officer

- Posts: 349
- Joined: Sat Sep 22, 2007 10:37 pm
Re: questions about 1st person
i didnt want it to change, i just wanted to add the foggy look to the siding (any1 with glasses and comes indoors after shoveling the driveway from lots of snow can understand what i mean =P) i didnt want a cycling hud even though it would be awesome =P
-
RogueKnight
- Space Ranger
- Posts: 2512
- Joined: Sat Nov 22, 2008 1:50 pm
- Projects :: Life. Work.
- xbox live or psn: No gamertag set
- Location: Washington, US
Re: questions about 1st person
I hate that, mine fog up really bad, and are transition lenses on top of that, so its really hard to see. I see what you mean now, I think, where you just have a non-animated HUD with fog around the outer brim of the screen, I even though about doing something like this once for a RC mod, which i still might do if i ever get around to it.....destos wrote:i didnt want it to change, i just wanted to add the foggy look to the siding (any1 with glasses and comes indoors after shoveling the driveway from lots of snow can understand what i mean =P) i didnt want a cycling hud even though it would be awesome =P
- bobfinkl
- Rebel Colonel

- Posts: 593
- Joined: Sun Jul 13, 2008 9:01 am
- Projects :: Lots of unreleased stuff
- xbox live or psn: No gamertag set
- Location: The quaint little city gametoast.
Re: Questions about 1st person
Im 50% sure you can get that effect through a custom HUD but since I have little to no experience with the HUD I wouldn't know.
-
VF501
- Lieutenant Colonel

- Posts: 539
- Joined: Fri Jun 08, 2007 1:18 am
- Projects :: Various Stuff- Weapon models. UDK Stuff
- xbox live or psn: Vintage Tagious
- Location: Terra Firma, Sol System; Milky Way
Re: Questions about 1st person
Messing with the HUD changes it for all units, HUDs are not unit specific.
To make a Unit specific view you need to make a new first person mesh with the Helmet elements placed right and weighted to a static un-animated bone, and with arms rigged/weighted to a skeleton that is setup exact to the stock one used in the games animations. The draw back is the game HUD is overlayed on top of it and if you add health and other indicators to your custom 1st view they wont work, they'll just be static and blink and scroll if you set them to.
Ambient (decal) effects (dirt, water, fog, blood/fluids, and cracks) are not possible in SWBF as far as I know, they might be in the code somewhere but all evidence in the HUD says no. The HUD is comprised of several meshes each calling on different textures. There is no singular mesh (plane) to apply decals to for those kind of effects.
To make a Unit specific view you need to make a new first person mesh with the Helmet elements placed right and weighted to a static un-animated bone, and with arms rigged/weighted to a skeleton that is setup exact to the stock one used in the games animations. The draw back is the game HUD is overlayed on top of it and if you add health and other indicators to your custom 1st view they wont work, they'll just be static and blink and scroll if you set them to.
Ambient (decal) effects (dirt, water, fog, blood/fluids, and cracks) are not possible in SWBF as far as I know, they might be in the code somewhere but all evidence in the HUD says no. The HUD is comprised of several meshes each calling on different textures. There is no singular mesh (plane) to apply decals to for those kind of effects.
