Making a genuine "carried" type of light

Post » Fri Apr 08, 2011 2:17 am

When I look at a light in the GECK it really looks like the provision is there to create a light which the player can carry around. There is a whole section dedicated to this function. You can actually add a "light" to the player and it appears in the player's inventory with a certain name.

I don't quite see how to make it work, though. Adding the item to the player's inventory has it be a "Misc" class item, which does nothing when you try to activate it.

I have no examples within Fallout 3 of a carryable light so, I don't quite know where to go.

Can anyone direct me in what might be correct for this?

Emulating the pip-boy light has so far not helped me, it looks like parts of that are hardcoded so it is a different beast.
User avatar
James Baldwin
 
Posts: 3366
Joined: Tue Jun 05, 2007 11:11 am

Post » Fri Apr 08, 2011 4:40 am

Here's your "carriable light" given a mesh, specifically the right leather glove...
http://webpages.charter.net/biscuit1/glovelight.jpg
I used a green 512 light so it does seem to affect things around it. Makes me wonder if one could use one of the light beam effect nifs (because they have a no lighting property already attached). Found out you can add them to form lists too, though I couldn't get an armor to see the custom list (probably the MISC type). It works to turn a regular beer bottle into a glowing nuka cola though lol.
User avatar
Laura
 
Posts: 3456
Joined: Sun Sep 10, 2006 7:11 am

Post » Fri Apr 08, 2011 1:56 am

Here's your "carriable light" given a mesh, specifically the right leather glove...
http://webpages.charter.net/biscuit1/glovelight.jpg
I used a green 512 light so it does seem to affect things around it. Makes me wonder if one could use one of the light beam effect nifs (because they have a no lighting property already attached). Found out you can add them to form lists too, though I couldn't get an armor to see the custom list (probably the MISC type). It works to turn a regular beer bottle into a glowing nuka cola though lol.


hm ok .. that's a jpg but, what's technically behind making some equippable object do that?
User avatar
Dan Stevens
 
Posts: 3429
Joined: Thu Jun 14, 2007 5:00 pm

Post » Fri Apr 08, 2011 4:00 am

I did some checking with JustinOther who's seen some sort of torch deal for Oblivion or somewhere... it seems taht some of the things which worked to allow equippable lights don't quite work the same in FO3. It looks like my experiments with making an equippable light were in the right direction BUT it just cannot work now, for one the thing will not actually equip even if you force from console.

So for now I guess you do have to script it all using an object which is not in fact a light (which I can do ) but yeah if there was a more-or-less right way to do it, I would have picked that.
User avatar
JERMAINE VIDAURRI
 
Posts: 3382
Joined: Tue Dec 04, 2007 9:06 am

Post » Thu Apr 07, 2011 7:44 pm

how about creating a gun that has a "flashlight"attached to it kind of methode
User avatar
Rowena
 
Posts: 3471
Joined: Sun Nov 05, 2006 11:40 am

Post » Fri Apr 08, 2011 3:43 am

how about creating a gun that has a "flashlight"attached to it kind of methode


That's what I'm doing, all scripted. It will be pretty decent when done.

it's not a PROBLEM for me to do it this way but if there was a three-click, Woo-I-Have-A-Light way to do it, I would have picked that. hehe.
User avatar
Alan Cutler
 
Posts: 3163
Joined: Sun Jul 01, 2007 9:59 am

Post » Thu Apr 07, 2011 8:10 pm

So yeah.

I wandered over to the Elder Scrolls forum to ask for some guidance. Here's what came of it

Posted Today, 09:52 AM

View PostTarrant, on 24 May 2010 - 12:33 PM, said:
Can anyone describe how a light which the player carries around with him is made with the Elder Scrolls construction set please?

Load Morrowind.esm in the CS. From the menu's select Edit and Find. Type in torch and click OK. It will load a cell in the render window with a torch selected. Double click the torch to open the properties window. It is divided in two halves. The bottom half is the reference data for items placed in the world. Ignore it. The top half is the object data and this contains everything you need to know.


Of course I do not have Morrowwind or anything to really look at. I doubt now that this helps us BUT... if it makes anyone think of an edit which would work for Fallout 3 (including maybe what FO3edit can do), there it is.
User avatar
Laura-Lee Gerwing
 
Posts: 3363
Joined: Fri Jan 12, 2007 12:46 am

Post » Thu Apr 07, 2011 11:40 pm

Hmm, I'm wondering...maybe some kind of helmet with a light, though this would need a mesh etc.

The only problem with the gun solution is that with a gun out you move slower. (Though a flashlight mounted on a gun could look cool in certain places).
User avatar
Stacey Mason
 
Posts: 3350
Joined: Wed Nov 08, 2006 6:18 am

Post » Thu Apr 07, 2011 11:05 pm

Edit: scratch that.. was way off
User avatar
Robert Devlin
 
Posts: 3521
Joined: Mon Jul 23, 2007 2:19 pm

Post » Fri Apr 08, 2011 4:20 am

Hmm, I'm wondering...maybe some kind of helmet with a light, though this would need a mesh etc.

The only problem with the gun solution is that with a gun out you move slower. (Though a flashlight mounted on a gun could look cool in certain places).


Small flashlight on a gun instead of a scope seems kinda neat actually.

I'm making a high-powered, handheld spotlight though. It uses the mesh/texture of a mesmertron which is quite spotlight-like! I do mean for it to be equipped in place of a weapon and be bulky, but it's going to be a badass light, so yeah.

What's challenging is that the spotlight FX thingie meshes are all pre-rotated along several axes, but the player is not. That makes pointing the beam part of the light in the direction the player is facing kinda hard. The numbers are all weird and need to rotate in opposite direction from the player's rotation sometimes. I was not the Star Student in um... Trigonometry. Yeah. I think that was in college... something. I might end up posting for help on the last step of it, we'll see.
User avatar
KiiSsez jdgaf Benzler
 
Posts: 3546
Joined: Fri Mar 16, 2007 7:10 am

Post » Fri Apr 08, 2011 12:18 am

http://www.fallout3nexus.com/downloads/file.php?id=9673
dunno if that is helpfull.
User avatar
Gemma Woods Illustration
 
Posts: 3356
Joined: Sun Jun 18, 2006 8:48 pm

Post » Thu Apr 07, 2011 8:53 pm

[snip]

What's challenging is that the spotlight FX thingie meshes are all pre-rotated along several axes, but the player is not. That makes pointing the beam part of the light in the direction the player is facing kinda hard. The numbers are all weird and need to rotate in opposite direction from the player's rotation sometimes. I was not the Star Student in um... Trigonometry. Yeah. I think that was in college... something. I might end up posting for help on the last step of it, we'll see.

couldn't you make a copy of of the spotlight mesh and just rotate them in the NIF so you wouldn't have to compensate in the scripts?
User avatar
Betsy Humpledink
 
Posts: 3443
Joined: Wed Jun 28, 2006 11:56 am

Post » Thu Apr 07, 2011 7:39 pm

couldn't you make a copy of of the spotlight mesh and just rotate them in the NIF so you wouldn't have to compensate in the scripts?


I've heard that. I didn't want to distribute resources with this thing though, wanted to use pre-existing if possible.

We (Cipscis primarily) worked out in another thread how to make the light beam pivot and pitch properly with the player, it's here: http://www.gamesas.com/index.php?/topic/1094282-mathematics-and-axes-that-are-offset-and-scripting-pivotting-pitching-light-beam/
User avatar
Lauren Denman
 
Posts: 3382
Joined: Fri Jun 16, 2006 10:29 am


Return to Fallout 3