Corsair Posted August 29, 2015 Report Share Posted August 29, 2015 Hello, My name is Corsair and I need help in adding Interior lighting. I saw this button on the LA Mod 3.0 Chevy Impala and I wanted to know how to add make lights only work for this function. I think it helpful and I really want to try it out. Any suggestions are welcomed. Please help Quote Link to comment Share on other sites More sharing options...
Newfoundking Posted August 29, 2015 Report Share Posted August 29, 2015 Interior lighting on what? Cars, houses, people? I'm kinda hoping you want the latter. I have always wondered what my firefighters look like inside. If you're talking a button to activate only certain lights, that can be done with a script that triggers traffic lights. What you're asking seems kinda muddled and I don't quite understand Quote Link to comment Share on other sites More sharing options...
itchboy Posted August 30, 2015 Report Share Posted August 30, 2015 Interior lighting on what? Cars, houses, people? I'm kinda hoping you want the latter. I have always wondered what my firefighters look like inside. If you're talking a button to activate only certain lights, that can be done with a script that triggers traffic lights. What you're asking seems kinda muddled and I don't quite understandI think he means interior emergency lighting, kinda like an Inner Edge, or a Dashmiser.A good example would be the lights on these UMPC's. Hello, My name is Corsair and I need help in adding Interior lighting. I saw this button on the LA Mod 3.0 Chevy Impala and I wanted to know how to add make lights only work for this function. I think it helpful and I really want to try it out. Any suggestions are welcomed. Please helpIf this isn't what you are referring to, then I do not know what interior lighting could mean. And btw, isn't that mod considered contraband due to content disputes? Quote Link to comment Share on other sites More sharing options...
Corsair Posted August 30, 2015 Author Report Share Posted August 30, 2015 I've stated the LA Mod 3.0 alot of times and nobody ever told me that. Plus Newfoundking would have told me something right now.Heres a link to the videohttps://mega.nz/#!u1sXTToY!p_n1LwWQKKAYXAkey2jfWi8wLmUG9nkPO50Na6Qllwo Quote Link to comment Share on other sites More sharing options...
Newfoundking Posted August 30, 2015 Report Share Posted August 30, 2015 Talking about it is fine. Sharing it is not. Either way,that's not the point. If you mean interior lights like the ones itchboy showed, then to set those, a certain script available on the German forums allows users to put a command that activates a traffic light (red) I think on that particular prototype, so you just place the types of lights you want as traffic light red instead of bluelight. If you mean how to physically set them up, I find the best method is to place the corona behind the edge of the model as close as possible to it, and build a poly on top of it the shape of the light. Make the corona slightly smaller than the actual light for best effect Quote Link to comment Share on other sites More sharing options...
itchboy Posted August 30, 2015 Report Share Posted August 30, 2015 Talking about it is fine. Sharing it is not. Either way,that's not the point. If you mean interior lights like the ones itchboy showed, then to set those, a certain script available on the German forums allows users to put a command that activates a traffic light (red) I think on that particular prototype, so you just place the types of lights you want as traffic light red instead of bluelight. If you mean how to physically set them up, I find the best method is to place the corona behind the edge of the model as close as possible to it, and build a poly on top of it the shape of the light. Make the corona slightly smaller than the actual light for best effectIn fact, the 2nd pic I showed makes use of the TLR_Green light to make those front takedown lights. The rear lights are special lights which are used as the directional lights. Quote Link to comment Share on other sites More sharing options...
Corsair Posted August 30, 2015 Author Report Share Posted August 30, 2015 No I in the "mod" the interior light button is put for the LAPD Impala as it's shown in the video. Quote Link to comment Share on other sites More sharing options...
itchboy Posted August 30, 2015 Report Share Posted August 30, 2015 No I in the "mod" the interior light button is put for the LAPD Impala has it as shown in the video. Link? Video? Proof? Quote Link to comment Share on other sites More sharing options...
Corsair Posted August 30, 2015 Author Report Share Posted August 30, 2015 Scroll up Quote Link to comment Share on other sites More sharing options...
itchboy Posted August 30, 2015 Report Share Posted August 30, 2015 Scroll upI dont see a video or a screenshot of what you are referring to. Quote Link to comment Share on other sites More sharing options...
Corsair Posted August 30, 2015 Author Report Share Posted August 30, 2015 http://api.viglink.com/api/click?format=go&jsonp=vglnk_144089499396613&key=79bd9386a12d9ac58a81d42672c87dc4&libId=idxrnfj601002eus000DAnoyme3lw&subId=&loc=http%3A%2F%2Fforum.emergency-planet.com%2Ftopic%2F20699-interior-lighting%2F%23entry303778&v=1&out=https%3A%2F%2Fmega.nz%2F%23!u1sXTToY!p_n1LwWQKKAYXAkey2jfWi8wLmUG9nkPO50Na6Qllwo&ref=http%3A%2F%2Fforum.emergency-planet.com%2Findex.php%3Fapp%3Dcore%26module%3Dusercp%26area%3Dnotificationlog&title=Interior%20Lighting%20-%20Modding%20Related%20Support%20-%20International%20Emergency%20%26%20911%3A%20First%20Responders%20Fan%20Forum&txt=https%3A%2F%2Fmega.nz%2F%23!u1...9nkPO50Na6Qllwo Quote Link to comment Share on other sites More sharing options...
Newfoundking Posted August 30, 2015 Report Share Posted August 30, 2015 So that's the EXACT same function the two of us are describing, just a different use for it. Itch uses it for takedown lights, I use it in my mod for standby lights. What you do is look at the script in question, see what type of light it uses, usually a traffic light, and then make your light that type of light, and its enabled. Quote Link to comment Share on other sites More sharing options...
Corsair Posted August 30, 2015 Author Report Share Posted August 30, 2015 So in editor I got to the car I want the function in and then what do I put the light for it? Headlight, Blue Light, Special Light, Hazard light or what Quote Link to comment Share on other sites More sharing options...
Newfoundking Posted August 30, 2015 Report Share Posted August 30, 2015 Probably a traffic light. Every script does it different. You'll have to open that copy of the script you have, and read what type of light it lists. It's probably TLR_Red, yellow, or Green. Which one, I don't know though, becuase I don't have that exact script Quote Link to comment Share on other sites More sharing options...
Corsair Posted August 30, 2015 Author Report Share Posted August 30, 2015 I think its red "v.EnableTrafficLight(TLT_NONE);v.RemoveCommand(DUMMY_HASINTERIORLIGHT);} else {v.EnableTrafficLight(TLT_RED);v.AssignCommand(DUMMY_HASINTERIORLIGHT);"But correct me if I am wrong const char ICON[] = "LightOn";const char DUMMY_HASINTERIORLIGHT[] = "DUMMYINTERIORLIGHT"; object InteriorLight : CommandScript{InteriorLight() { SetIcon(ICON); SetCursor(ICON); SetRestrictions(RESTRICT_SELFEXECUTE); } bool CheckPossible(GameObject *Caller) {if (!Caller->IsValid()) return false; if (Caller->GetType() == ACTOR_VEHICLE) { return true; } return false; } bool CheckTarget(GameObject *Caller, Actor *Target, int childID) {if (!Caller->IsValid() || !Target->IsValid() || Target->GetID() != Caller->GetID()) return false; if (Caller->GetType() == ACTOR_VEHICLE) { return true; } return true; } void PushActions(GameObject *Caller, Actor *Target, int childID) {Vehicle v(Caller);if (v.HasCommand(DUMMY_HASINTERIORLIGHT)){v.EnableTrafficLight(TLT_NONE);v.RemoveCommand(DUMMY_HASINTERIORLIGHT);} else {v.EnableTrafficLight(TLT_RED);v.AssignCommand(DUMMY_HASINTERIORLIGHT); } } }; object DUMMYINTERIORLIGHT : CommandScript { DUMMYINTERIORLIGHT() { SetGroupID(20); } bool CheckGroupVisibility(GameObject *Caller) { return false; } bool CheckPossible(GameObject *Caller) { return false; } bool CheckTarget(GameObject *Caller, Actor *Target, int childID) { return false; } void PushActions(GameObject *Caller, Actor *Target, int childID) { Quote Link to comment Share on other sites More sharing options...
itchboy Posted August 30, 2015 Report Share Posted August 30, 2015 That would look like a valid script, but where are the lights located? Like the pics I showed you? Or something different? I have a script just like that in my LA Mod, except it is more efficient and relies on no dummyCommands of that sort. Quote Link to comment Share on other sites More sharing options...
Corsair Posted August 30, 2015 Author Report Share Posted August 30, 2015 No sorry, only the Mega link Quote Link to comment Share on other sites More sharing options...
itchboy Posted August 30, 2015 Report Share Posted August 30, 2015 What kind of interior light is this? One that is on the interior of the vehicle (like a night light inside the vehicle) or you mean emergency lighting inside a vehicle? Quote Link to comment Share on other sites More sharing options...
Corsair Posted August 30, 2015 Author Report Share Posted August 30, 2015 I mean emergency light outside. Imagine I have my directional lights on but it doesn't direct traffic. Thats basically what it looks like, it has lights outside of the vehicle Quote Link to comment Share on other sites More sharing options...
itchboy Posted August 30, 2015 Report Share Posted August 30, 2015 Eh, its pretty easy to do. Modify the directional lights script so that if you press a button (control, shift or delete) it does not redirect any vehicles. I know, I've tried this. Quote Link to comment Share on other sites More sharing options...
Corsair Posted September 2, 2015 Author Report Share Posted September 2, 2015 Hello again,I have encountered another problem with my private mod, when I place a traffic cone it shows a white box saying missing model file. So I tried everything from replacing some files to deleting some files and putting other ones. The only thing I remember that could have maybe done this was accidentally deleting a file without knowing how important it was. I still have the normal traffic cone file with the prototype and model but it still doesn't work. Heres a picture of what I mean: Quote Link to comment Share on other sites More sharing options...
itchboy Posted September 2, 2015 Report Share Posted September 2, 2015 You probably deleted the model file of the traffic cone. Quote Link to comment Share on other sites More sharing options...
Corsair Posted September 2, 2015 Author Report Share Posted September 2, 2015 Do you know where i can get it back. i looked and I still have it. I have the dds file and v3o Quote Link to comment Share on other sites More sharing options...
itchboy Posted September 2, 2015 Report Share Posted September 2, 2015 Have you checked the cone itself in the editor if it actually displays correctly? Then also check the script if it is generating the correct object and not the broken one? Quote Link to comment Share on other sites More sharing options...
Corsair Posted September 2, 2015 Author Report Share Posted September 2, 2015 Yeah I checked the cone. I found out the cone was not the one I was looking at. It was a cone in Vehicle/06 Object/ Traffic cone and I was looking in Models/Objects/ LA Equipment and that's where the cone appeared but the scrip told me the model was in Model/ Vehicle but I would have never looked there since the cone isn't a vehicle. Anyways, I copied a working script from another mod and it worked. Thanks for everything! Quote Link to comment Share on other sites More sharing options...