Sword of Moonlight Forums
Door Edits Request - Printable Version

+- Sword of Moonlight Forums (https://forum.swordofmoonlight.com)
+-- Forum: Game Development (https://forum.swordofmoonlight.com/Forum-Game-Development)
+--- Forum: Resources Wanted/Available (https://forum.swordofmoonlight.com/Forum-Resources-Wanted-Available)
+--- Thread: Door Edits Request (/Thread-Door-Edits-Request)

Pages: 1 2


Re: Door Edits Request - HwitVlf - 2014-02-20

The PRF files have the MDL name and "editor name"written internally so you'll have to open one in a hex editor and replace the old MDL name with the new one, and the "editor name" to something unique (ie "Door UpDown 3 Stone" > "Door Small Hidden 1"). Save the modified PRF under a new name and it should show up in the parameter editor. ‎  If you haven't used a Hex editor before, I recommend HXD.

The CP files just need to have the same name as their MDL (ie door1.mdl + door1.cp).


Re: Door Edits Request - JC Bailey - 2014-02-20

The SOM toolset actually comes with HXD Tongue. I used it and was able to get the door to work right in SOM Biggrin. There is one more problem though that I don't understand, the top section of the new door is cut off. My guess is that it's treating black as a transparent color, is there any way to fix this?


Re: Door Edits Request - HwitVlf - 2014-02-21

If your map doesn't have any outdoor areas that need a sky, setting "sky" to "none" in the map editor should stop the black transparency. Otherwise, you would need to edit the black in the image's palette to off-black (ie RGB = 8 etc). You can usually do that in a photo editor with something like a "color replacer" or "palette edit" tool.

The black transparency is a built in texture masking feature, but it does tend to get in the way. Tongue


Re: Door Edits Request - JC Bailey - 2014-02-21

I think I've got everything I need now, thanks for your help guys. Smile