[Alpha 0.604] FA Forever Map Editor

Post here if you want to help developing something for FAF.

Re: [Alpha 0.515] FA Forever Map Editor

Postby sprinkles12 » 16 Feb 2018, 22:13

sprinkles12
 
Posts: 2
Joined: 11 Feb 2018, 23:15
Has liked: 0 time
Been liked: 0 time
FAF User Name: Sprinkles12

Re: [Alpha 0.515] FA Forever Map Editor

Postby ozonex » 17 Feb 2018, 08:05

sprinkles12 wrote:https://imgur.com/a/TZVAf

see post on page 26 for info
https://pastebin.com/UVnbaQ9K



Can you send me your map?
I see what failed, but don't know why. Looks like terrain normal map was not loaded correctly or was saved like that. Exporting and importing or modifying heightmap with brush should fix it. If not then I will need to look at map whats wrong there.
FAF Map Editor Alpha v0.604 > Get it now!
User avatar
ozonex
Priest
 
Posts: 356
Joined: 16 Feb 2012, 20:11
Location: Poland
Has liked: 192 times
Been liked: 252 times
FAF User Name: ozonex

Re: [Alpha 0.515] FA Forever Map Editor

Postby ozonex » 17 Feb 2018, 12:05

v0.516
- Upgraded project to Unity 2018.1
- Project is now builded as IL2CPP and it should improve performance
- ResourceBrowser can now find files in map folder (add "env/[AssetType]" folders inside map folder)
- Fixed UI bug in armies settings
- Fixed UI bug in stratum layer settings
- Editor now check on github if new version of editor is available
- Editor can now load map from any folder, not only from map folder from preferences (but its still required as default path)
- Fixed bug in rotating symmetry brush textures
- Brush rotation symmetry now updates when we change rotation steps in symmetry window
- Fixed droping props from resource browser to props paint list
- Removed transparency from "NormalMappedTerrain" shader
- Editor now remove rotation for all markers (without camera marker)
- When creating new markers symmetry rotation is removed
- Fixed wrong values in default skybox values
- Added "FFA" team and 2 default armies for new maps (to help beginners configure armies)
- Editor will not crash when wrong symmetry values are loaded from save
- Fixed transform tool orientation not restarting when switching tools
- Added proper default values by marker type
- Fixed wrong display of decimal numbers in input fields for some systems
- Fixed wrong format of symmetry tolerance input field
- Fixed disabled AllowAtWater for props painting when water is disabled
- Fixed lost of water elevation when saving/loading map with disabled water
- Changed terrain height values range to lost less data when converting values between editor and scmap. Conversion is also done on 64bit floats
- Fixed stratum brush Min and Max slope and Rotation values sometimes not updated when changing them
- Camera is now clamped into area where there is no UI. It should improve performance and camera is now centered by render area and not entire window.
- Fixed decals UI not fully cleaned when exiting decals tool
- Added Specular settings in Lighting menu
- Fixed bugs in Lighting menu
- Editor displays proper specular and lighting for TTerrain and TTerrainXP shaders
- Fixed normal mapping in props shader
- Fixed lighting in markers shader
- Fixed mipmaps not being properly displayed for stratum textures
- Grid and slope should now not be visible in preview image


Unity 2018
Project is now upgraded to Unity 2018.1. It's still in beta, but as I tested latest Beta7 it works quite well. I'm also using IL2CPP build, that build code as C++ for better scripts performance. I tried to use more features of 2018 but they are not works well for now. That's also main reason why this build took me more time than usual.

Latest build
At start editor is now getting from Github latest build and checking if current used on is latest. If not, then it will prompt about new version with link to download.

Custom resources
Editor can now load custom textures and decals from map folder. Props are supported by editor, but they are not loaded into game
Read wiki page for more info:
https://wiki.faforever.com/index.php?ti ... _resources

Rendering fixes
Fixed some bugs in rendering, and it should look now more close to the game. Also added specular settings. TTerrain and TTerrainXP shaders has different calculations for lighting and specular. Now that's supported by editor, so you can see change in look wen switching TTerrainXP shader. TTerrain use only red channel of specular color as specular strength.
Still don't know how to read DDS cubemaps, so water sky reflections are missing.



Download
https://github.com/ozonexo3/FAForeverMapEditor/releases/tag/v0.516-alpha

Image
FAF Map Editor Alpha v0.604 > Get it now!
User avatar
ozonex
Priest
 
Posts: 356
Joined: 16 Feb 2012, 20:11
Location: Poland
Has liked: 192 times
Been liked: 252 times
FAF User Name: ozonex

Re: [Alpha 0.516] FA Forever Map Editor

Postby Petricpwnz » 17 Feb 2018, 12:18

Hmm editor crashes on map opening, tried with like 5 different maps, log attached.
Otherwise hype for custom resources :D
P.S. Now tried again and it works? Strange stuff but yea :?
Attachments
output_log.txt
(31.19 KiB) Downloaded 50 times
Blackheart wrote:actually i love lolis and want petry to be my waifu


Scientifically proving that Blackheart is a weeb - https://imgur.com/a/J436c | https://clips.twitch.tv/AssiduousAverageOxMikeHogu

Best meme of 2017 - https://puu.sh/yLsvH/abbf54eb99.mp4
User avatar
Petricpwnz
Priest
 
Posts: 442
Joined: 30 Aug 2012, 01:48
Has liked: 417 times
Been liked: 448 times
FAF User Name: Whiteheart

Re: [Alpha 0.516] FA Forever Map Editor

Postby ozonex » 17 Feb 2018, 12:30

Petricpwnz wrote:Hmm editor crashes on map opening, tried with like 5 different maps, log attached.
Otherwise hype for custom resources :D
P.S. Now tried again and it works? Strange stuff but yea :?

Crash only says that it crashed on getting Desktop folder. Strange. If crash will happen again I can try to send you build without IL2CPP, so it should be more stable.
FAF Map Editor Alpha v0.604 > Get it now!
User avatar
ozonex
Priest
 
Posts: 356
Joined: 16 Feb 2012, 20:11
Location: Poland
Has liked: 192 times
Been liked: 252 times
FAF User Name: ozonex

Re: [Alpha 0.516] FA Forever Map Editor

Postby Petricpwnz » 17 Feb 2018, 15:00

Ok here's some proper report

-The Armies and Areas tabs' UIs are messed up
Spoiler: show
Image
Spoiler: show
Image

-Custom textures and decals work but when you quit and load up map into editor again custom textures are replaced by a bunch of white
Spoiler: show
Image
how it actually looks
Spoiler: show
Image
decals remain fine.

-When I saved map as v56 it didn't load into the game throwing me out into the main menu, saving as v60 fixed the issue, might be related to custom decals/textures, dunno.
-In the texture list if you select a stratum, click on it's layer it opens a resource browser, if you close and reopen it the same way the files in resorce browser double
Spoiler: show
Image
going to some other folder in the resource browser and back fixes the issue
Spoiler: show
Image

-When switching to Lighting tab it changes the angle of the lighting or something, weird stuff - https://puu.sh/zpEch/33e78a57e2.mp4
Blackheart wrote:actually i love lolis and want petry to be my waifu


Scientifically proving that Blackheart is a weeb - https://imgur.com/a/J436c | https://clips.twitch.tv/AssiduousAverageOxMikeHogu

Best meme of 2017 - https://puu.sh/yLsvH/abbf54eb99.mp4
User avatar
Petricpwnz
Priest
 
Posts: 442
Joined: 30 Aug 2012, 01:48
Has liked: 417 times
Been liked: 448 times
FAF User Name: Whiteheart

Re: [Alpha 0.516] FA Forever Map Editor

Postby Petricpwnz » 17 Feb 2018, 16:59

Ok so after I suffered eternal pain of dealing with server autorename breaking custom resorces paths that I've set up I added a guide on how to minimize the suffering to your wiki page https://wiki.faforever.com/index.php?ti ... ork_in_FAF
Blackheart wrote:actually i love lolis and want petry to be my waifu


Scientifically proving that Blackheart is a weeb - https://imgur.com/a/J436c | https://clips.twitch.tv/AssiduousAverageOxMikeHogu

Best meme of 2017 - https://puu.sh/yLsvH/abbf54eb99.mp4
User avatar
Petricpwnz
Priest
 
Posts: 442
Joined: 30 Aug 2012, 01:48
Has liked: 417 times
Been liked: 448 times
FAF User Name: Whiteheart

Re: [Alpha 0.516] FA Forever Map Editor

Postby Egon » 18 Feb 2018, 10:20

516 is crashing for me no matter what map i try to open. Deleting registry entry changing, paths of map and editor to no effect.
Attachments
output_log.txt
(34.96 KiB) Downloaded 44 times
Egon
Avatar-of-War
 
Posts: 57
Joined: 14 Oct 2015, 03:53
Location: Deutschland
Has liked: 14 times
Been liked: 14 times
FAF User Name: FAF_Egon

Re: [Alpha 0.516] FA Forever Map Editor

Postby ozonex » 18 Feb 2018, 13:30

v0.517
- Disabled IL2CPP because of instability on some devices
- Fixed light flipped at Z axis when entering lighting menu
- Stratum textures from map folder are now correctly loaded when loading map
- Workaround for Armies and Areas prefabs UI bug
- Fixed terrain performance issues when camera is far away
- Generating terrain normal texture speed and overhead is now based on real time calculations take (allowed 0.02s max per frame)

Faster release because of big fixes. Also lets test update prompt in editor ;)

Download
https://github.com/ozonexo3/FAForeverMapEditor/releases/tag/v0.517-alpha

Image




Petricpwnz wrote:-In the texture list if you select a stratum, click on it's layer it opens a resource browser, if you close and reopen it the same way the files in resorce browser double
Spoiler: show
Image
going to some other folder in the resource browser and back fixes the issue
Spoiler: show
Image

I actually can't reproduce that. What texture it was? From what type.
FAF Map Editor Alpha v0.604 > Get it now!
User avatar
ozonex
Priest
 
Posts: 356
Joined: 16 Feb 2012, 20:11
Location: Poland
Has liked: 192 times
Been liked: 252 times
FAF User Name: ozonex

Re: [Alpha 0.516] FA Forever Map Editor

Postby Petricpwnz » 18 Feb 2018, 15:17

ozonex wrote:
Petricpwnz wrote:-In the texture list if you select a stratum, click on it's layer it opens a resource browser, if you close and reopen it the same way the files in resorce browser double
Spoiler: show
Image
going to some other folder in the resource browser and back fixes the issue
Spoiler: show
Image

I actually can't reproduce that. What texture it was? From what type.


Albedo, here a quick demonstration, maybe I just explained poorly https://puu.sh/zqnEh/4d042a5074.mp4
Blackheart wrote:actually i love lolis and want petry to be my waifu


Scientifically proving that Blackheart is a weeb - https://imgur.com/a/J436c | https://clips.twitch.tv/AssiduousAverageOxMikeHogu

Best meme of 2017 - https://puu.sh/yLsvH/abbf54eb99.mp4
User avatar
Petricpwnz
Priest
 
Posts: 442
Joined: 30 Aug 2012, 01:48
Has liked: 417 times
Been liked: 448 times
FAF User Name: Whiteheart

PreviousNext

Return to Contributors

Who is online

Users browsing this forum: No registered users and 1 guest