JU5TlN
Member-
Content Count
6 -
Joined
-
Last visited
-
Medals
Community Reputation
5 NeutralAbout JU5TlN
-
Rank
Rookie
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Applying textures to a polyline/spline
JU5TlN replied to Casseburne's topic in Arma Reforger - Terrain Creation
The file will be called "export.svg" and it will be in your Arma Reforger profile directory. I hope you've been grouping your road types into different layers because it's going to make it a lot easier. In your hierarchy make sure you have selected the vector entities you wish to export. You can right click on the layer and hit "Select all entities". Then in the top toolbar there is a button that says "Export Geographic data". In the dropdown, select SVG. Click Export. Again, it will be in your My Documents\My Games\ArmaReforger\profile folder. -
Applying textures to a polyline/spline
JU5TlN replied to Casseburne's topic in Arma Reforger - Terrain Creation
Here is an example showing different stroke widths effect in game. Sidewalks and trails are set at 4 wide and stroked at 4px, dirt roads are default width and stroked at 9px, Regular roads are 10px wide stroke and the River spline is stroked at 11px. The dirt trail on the lower-right is set to 4-wide road with a 9px stroke. -
Applying textures to a polyline/spline
JU5TlN replied to Casseburne's topic in Arma Reforger - Terrain Creation
I can't offer a YouTube tutorial. I can attempt to explain. Essentially what is needed is a Black & White PNG-8 of the mask of your desires. I use Inkscape and Photoshop CS to achieve this; neither of which I am proficient enough to teach about in a video. In World Editor, highlight all the vectors of one type (Dirt road type for example). Export as SVG (in the top toolbar). Open the vectors using Inkscape. In Inkscape one must take all paths group them. Then to that group apply a white stroke of, say, 5 pixels. Click File>Export as .png. Click the Page tab. Ensure it's the entire resolution of your original (1024 × 1024 or whatever). Click Export to create a new .png file. Open the .png file in Photoshop. In Photoshop you should see a white mask with a transparent checkered background. Add a new Layer. Click Layer>Fill. Fill with black. Drag it to the bottom of the Layer stack. You now should have a black square with a white mask you desire. Click File>Export for Web. Export as Black and White in PNG-8 format. No transparency. Ensure it is the correct orientation. If it is not correct, flip it so that it is. Name it after one of your materials (Pebbles_01.png). In World Editor click the Terrain Tool then click the Paint tab and at the bottom choose a directory. Click Export. In Windows Explorer (WinKey + E) navigate into this export directory. There should be .png files with names of all materials on your map. Write over the appropriate .png with the one you made in Photoshop. Back in World Editor>Terrain Tool>Paint click "Import" and it will re-import the mask your new changes. Then you may replace the material at your leisure. -
Applying textures to a polyline/spline
JU5TlN replied to Casseburne's topic in Arma Reforger - Terrain Creation
Here is something I was able to achieve by exporting the forested areas of my map as SVG and importing them as a surface mask. No hand painting required 👍. Couple caveats are the hard-and-fast 5 texture limit on your individual blocks and the generated SVG will be flipped vertically so flip the .png vertically (back to normal) before importing it into World Editor. -
Applying textures to a polyline/spline
JU5TlN replied to Casseburne's topic in Arma Reforger - Terrain Creation
It works well, and is much faster than painting all my walking paths, trails and rivers by hand. As a test I got it to work with my river system. I discovered you must make sure that you have the ["river"/"trail"/"walking path"] splines selected before you export your SVG, otherwise the World Editor will generate an empty SVG file containing no vectors. -
Applying textures to a polyline/spline
JU5TlN replied to Casseburne's topic in Arma Reforger - Terrain Creation
I cannot think of a way to do it dynamically. Afterwards, however, (after you've made your trails) I believe you can click "Export Geographic data" at the top toolbar. Export it as an SVG (scalable vector graphics) file. Then take that New file into Inkscape/Photoshop/etc... (hopefully) and add a thick pink stroke to all your trail vectors on black background. Have the editor export the SVG as .png raster format. Back in World Editor click the Terrain Tool and in the Paint tab, import the .png as a mask which should follow the contours of your trails and walking paths. To the mask apply the material of your desires.