RUNNING WITH RIFLES http://www.runningwithrifles.com/phpBB3/ |
|
Replacement building and terrain textures? http://www.runningwithrifles.com/phpBB3/viewtopic.php?f=7&t=1319 |
Page 1 of 1 |
Author: | 352ndEl [ Fri Aug 02, 2013 4:54 am ] |
Post subject: | Replacement building and terrain textures? |
Hey, How would I go about creating my own texture replacements for buildings and for the terrain grass/asphalt/road ect.? I'm not asking how to make the image files themselves, but how I would go about implimenting new/replacement assets in rwr to give my map it's own unique look? |
Author: | pasik [ Fri Aug 02, 2013 12:40 pm ] |
Post subject: | Re: Replacement building and terrain textures? |
The quick and easy way out is to just override the textures by having a file named exactly the same in your map folder. You may need to dig around to figure out what those texture names are, unless you took the basis for your map from one of those vanilla maps that already use this same trick to change the appearance in some assets. For terrain, your map should have a bunch of config rects on material layer on the far top left side. The terrain config boxes feature settings such as Code: index = 0; texture = dirt.png; scale = 0.01 0.01; auto_decoration_texture = ground_decoration.png; auto_decoration_texture_atlas_cell = 0 1 2 2; auto_decoration_texture_atlas_cell = 1 1 2 2; auto_decoration_multiplier = 4; auto_decoration_size = 0.25; auto_decoration_density = 0.05; You can either change the texture filename to point to one of your own, or override dirt.png by having one in your map folder. Auto-decoration stuff is used to create those grass-like effects. The surface config rects have a few extra fields not strictly related to terrain, the last two rects referring to roofs and non-terrain platforms, not sure in which order to be honest. *** For buildings, the easy way out again is just to override wall_atlas1.png for changing the selective detail texture and building_atlas*.png for the foreground. If you replace the contents with something similar in context, the pieces and patterns declared to work with those atlases for vanilla will work for you too. If you want to go deeper than that, you can always change or add building configs on material layer. Spoiler: |
Author: | 352ndEl [ Sat Aug 03, 2013 10:47 pm ] |
Post subject: | Re: Replacement building and terrain textures? |
Thank you, pasik! I'll probably have more questions once I dive more into this. ![]() |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |