I want to disable fog on Einbroch map.

Started by bomberman, Oct 03, 2017, 08:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bomberman

I had problem with Einbroch map, It's can't disable fog, command /fog on and off is same.

It's work only /effect is off. I merge addon_diseffect_all.grf and fog effect is not disappear.

Can be edit grf for disable fog in this map?

edit einbroch.rsw right?

Please tell me how to or send completed einbroch.rsw edit.

Thank you.

Min

You'll want to look for...

data\texture\effect\fog1.tga
data\texture\effect\fog2.tga
data\texture\effect\fog3.tga

and replace them with completely transparent images. This can be easily done with a free image editing program such as GIMP.

bomberman

Thank you Morocc

I found some .tga file in data.grf, it's transparent too.

:D

rootKid

Quote from: bomberman on Oct 03, 2017, 08:19 AM
I had problem with Einbroch map, It's can't disable fog, command /fog on and off is same.

It's work only /effect is off. I merge addon_diseffect_all.grf and fog effect is not disappear.

Can be edit grf for disable fog in this map?

edit einbroch.rsw right?

Please tell me how to or send completed einbroch.rsw edit.

Thank you.

Open up your client (.exe) in a hex editor, search for the string "einbroch.rsw", change the string to something else, and voila: the fog is gone.

misterj

Quote from: rootKid on Oct 03, 2017, 08:35 PM
Open up your client (.exe) in a hex editor, search for the string "einbroch.rsw", change the string to something else, and voila: the fog is gone.
that might mess up the client's inbuilt airship pathing and cause a crash on the world map. best bet is to find the reference to the einbroch.rsw string in CGameMode::Initialize and NOP out it being moved into the strcmp. you'll know it's the right function because it also compares against moc_fild22, rwc maps, and so on.