2 Light questions
Moderator: Moderators
-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
2 Light questions
Ok ive got 2 more questions before ill quit bothering everyone with my questions, for now anyways...
1. How could i go about making a map dark
and then
2. How can I make a flashlight to light up the dark when used (I could swear I remember someone did this before)
This is another area I havent got much knowledge in so I may as well learn, right
1. How could i go about making a map dark
and then
2. How can I make a flashlight to light up the dark when used (I could swear I remember someone did this before)
This is another area I havent got much knowledge in so I may as well learn, right
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: 2 Light questions
1. What type of "dark" do you want?
2. Not sure it's possible the way you want it to be. You could do a beacon, by dispensing a prop with a light odf attached.
2. Not sure it's possible the way you want it to be. You could do a beacon, by dispensing a prop with a light odf attached.
-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: 2 Light questions
Like dark as in the inside of a building with no light sources so that a flashlight must be used to see, that kind of dark.Fiodis wrote:1. What type of "dark" do you want?
2. Not sure it's possible the way you want it to be. You could do a beacon, by dispensing a prop with a light odf attached.
I almost 100% someone made a flashlight and they had a vid of it but if only i could remember...
-
YaNkFaN
- Field Commander

- Posts: 943
- Joined: Sat Dec 13, 2008 8:17 am
Re: 2 Light questions
flash lights are possible (ie attaching lights to a hardpoint, but i'm not sure they move up and down when the weapon moves or go away when the unit dies. in order to make a dark map that you speak of just put lots of omni lights that have very dark color also possibly darken the texture a little as well (of the room not the light obvi) that;s about it really
-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: 2 Light questions
So your saying i could make a flashlight model, and attach a light to the hp_fire and taht would work?
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: 2 Light questions
I've never tried it myself, but it is possible to attach lights to meshes to form a flashlight; however, it'd be permanently on.
EDIT - Eh, you may be able to use LUA scripting to alter the weapon odf to attatch/detatch the light upon the firing of a dispensable rigged to look like a flashlight and dispense something useless that vanishes in a heartbeat. But I'm not sure wether you'd have to enter a CP or not for that to take effect.
EDIT - Eh, you may be able to use LUA scripting to alter the weapon odf to attatch/detatch the light upon the firing of a dispensable rigged to look like a flashlight and dispense something useless that vanishes in a heartbeat. But I'm not sure wether you'd have to enter a CP or not for that to take effect.
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: 2 Light questions
Flashlights don't really work, I have tried many times and many ways. They don't really light anything up, you can't attach a light to a weapon, you can attach a light as a effect to unit but it stays when the unit dies and you end up with a bazillion lights all over the place. Closest I have come is seting the flashlight, light as a long lasting beam weapon and it still din't really light anything up either but you can always try if you want 
-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: 2 Light questions
didnt you have a video showing a flashlight though? I guess it was you who was trying to make a flashlight
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: 2 Light questions
FragMe! wrote:you can attach a light as a effect to unit but it stays when the unit dies and you end up with a bazillion lights all over the place.
You can work around this; but it's a moot point since effects don't light anything up.
-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: 2 Light questions
What does light things up then?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: 2 Light questions
directional light, commandpostlight, and maybe another i dont know of
@fragme: cant you simply attach the light as damage effect??
it would go away if the unit dies then
@fragme: cant you simply attach the light as damage effect??
it would go away if the unit dies then
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: 2 Light questions
Tried that too, it is great for showing other people where you are, especially if you have lens flare on but it still doesn't light things up the way people would like. Closest I ever got was the light grenade which will light up the area it is passing though until it finally hits the ground and explodes.
BTW just in case you are interested here is the discussion for the Light grenade and other flashlight attempts.
Light Grenade
Of course the video link to FF doesn't work. Might upload the video to my Photobucket account when I get home.
BTW just in case you are interested here is the discussion for the Light grenade and other flashlight attempts.
Light Grenade
Of course the video link to FF doesn't work. Might upload the video to my Photobucket account when I get home.
-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: 2 Light questions
So couldnt you attach that same light to a unit then and have a sort of attached flashlight? I dont care if its on all of the time cause your the only person on your team so it wouldnt look crazy with tons of lights
EDIT: ok i figured out the lighting one on my own I had to change the fog range in the sky file and the ambient light setting in ZE, so heres what it looks like:
Sorry but I have 1 new question haha, is there a way to remove the radar in the corner, or else make it so there are no enemy icons? Id prefer option 1, but if its not possible then 2nd is fine
EDIT: ok i figured out the lighting one on my own I had to change the fog range in the sky file and the ambient light setting in ZE, so heres what it looks like:
Hidden/Spoiler:
-
theultimat
- Lieutenant General

- Posts: 679
- Joined: Sun Apr 13, 2008 1:39 pm
- Location: UK
Re: 2 Light questions
Yes, the code is used in space maps. It is as follows:
Put that in your
Code: Select all
DisableSmallMapMiniMap()Code: Select all
function ScriptPostLoad()-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: 2 Light questions
Oh wow thats easy thanks alot
lol now im scared to go around corners cause you never know where the zombies are
lol now im scared to go around corners cause you never know where the zombies are
Last edited by ryukaji on Tue Mar 31, 2009 7:42 pm, edited 1 time in total.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: 2 Light questions
Hold on, you changed ambient lighting in ZE?
-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: 2 Light questions
Yeah I could make the terrain darker with one setting and the objects darker with another its in the lighting button Top Ambient Color, and Bottom Ambient Color.
- YTGTangerine
- Command Sergeant Major

- Posts: 270
- Joined: Sat Aug 16, 2008 7:53 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Aw man I can't think of anything creative...
Re: 2 Light questions
Sorry for comandeering this topic, but what exactly did you set everything to, and how? Maybe just PM me so we don't get off topic.ryukaji wrote:Yeah I could make the terrain darker with one setting and the objects darker with another its in the lighting button Top Ambient Color, and Bottom Ambient Color.
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: 2 Light questions
If you wanted to see it I updated the link in the lightgrenade topic I posted above.
The flashlight thing you see is an attached effect if I remember correctly. The grenade is also an early version it has a better glow to it now.
The flashlight thing you see is an attached effect if I remember correctly. The grenade is also an early version it has a better glow to it now.
-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: 2 Light questions
Yeah thats the vid i remember seeing
So that attached effect doesnt do anything to light things up even if it was made wider and longer of a beam?
So that attached effect doesnt do anything to light things up even if it was made wider and longer of a beam?
