Hi,
Many of you that have imported mach tags from single player maps to multiplayer maps had this bug:
In this tutorial i show you how to fix this, it's really simple and there is no need to nullout lightmaps as we have seen many mods with this problem, the only solution that was found in the past was to null out lightmap which basicaly made the shaders look wreid, in fact ugly because the reflections and bumpmaps lightning looks sharp without the lightmap.
In this example i am using the base gate from containement, i couldn't recreate the bug, i don't know why, so it took a mod from Ragdoll at halomods and i'll use it because it's a perfect example of this bug ( sorry )
The mod:
http://forums.halomods.com/viewtopic.ph ... 71&t=62506
The bug:
As you can see the lighting is green, sometimes it's completly dark and everysingle object that is over it will take that lighting, there is how to fix this.
To fix this we are going to null out two reflexives on the mode tag, GREAT thanks to XZodia for the plugin, so we now just have to edit 4 values instead of removing it on the chunk cloner :p
Get the plugin that is attached to this thread.
Go to the machine's model:
mode - scenarios\objects\multi\containment\base_gate\base_gate
Set to 0 these values:
Clic Save
Now sign map and test you should now get normal lighting for machines and object that goes over it.
Before fixing the bug:
Bug fixed:
How to fix Green lighting bug on imported machines #UPDATED#
- neodos
- Posts: 1493
- Joined: Sun Dec 09, 2007 8:58 pm
How to fix Green lighting bug on imported machines #UPDATED#
- Attachments
-
- mode.zip
- Model plugin
- (1.43 KiB) Downloaded 491 times
Last edited by neodos on Mon Mar 24, 2008 4:38 pm, edited 1 time in total.
- neodos
- Posts: 1493
- Joined: Sun Dec 09, 2007 8:58 pm
- XZodia
- Staff
- Posts: 2208
- Joined: Sun Dec 09, 2007 2:09 pm
- Location: UK
- Contact:
Re: How to fix the Green lighting bug on imported machines tags
neodos you could make this a lot easier by writing a special plugin for it, change the reflexive into 2 int's (chunk count and pointer)
then all you have to do is set the chunk count to 0
then all you have to do is set the chunk count to 0
- neodos
- Posts: 1493
- Joined: Sun Dec 09, 2007 8:58 pm
Re: How to fix Green lighting bug on imported machines #UPDATED#
Updated, thank you XZodia for the plugin and the idea, it's indeed much more simple now
- Yamagushi
- Posts: 67
- Joined: Wed Mar 19, 2008 3:02 am
- Location: America
- Contact:
Re: How to fix Green lighting bug on imported machines #UPDATED#
Very nice Neodos <3 lol
- NotZachary82
- Posts: 1846
- Joined: Thu Dec 20, 2007 8:39 pm
Re: How to fix Green lighting bug on imported machines #UPDATED#
another great tutorial from neodos.
nice research too
nice research too