RMS Home | Guide Writing | Test Server | New Servers | Latest Reviews

Author Topic: I want to disable fog on Einbroch map.  (Read 491 times)

0 Members and 1 Guest are viewing this topic.

Offline bomberman

I want to disable fog on Einbroch map.
« 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.
« Last Edit: Oct 03, 2017, 08:56 AM by bomberman »

Advertisement

Offline Min

Re: I want to disable fog on Einbroch map.
« Reply #1 on: Oct 03, 2017, 01:59 PM »
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.

Offline bomberman

Re: I want to disable fog on Einbroch map.
« Reply #2 on: Oct 03, 2017, 02:22 PM »
Thank you Morocc

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

:D

Offline rootKid

Re: I want to disable fog on Einbroch map.
« Reply #3 on: Oct 03, 2017, 08:35 PM »
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.
Discord: rootKid#9006

Offline misterj

Re: I want to disable fog on Einbroch map.
« Reply #4 on: Oct 04, 2017, 06:41 AM »
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.