[MOD] Real Grass 2

A curated forum for compatible and maintained mods. Users are unable to create new topics in this forum but can reply to existing topics. Please message a moderator to have your mod moved into this forum area.
Post Reply
User avatar
mikeprichard
Posts: 1037
Joined: Sun Feb 19, 2017 6:49 pm

Re: [MOD] Real Grass 2

Post by mikeprichard »

Can I ignore the "TextureOverride" folder when installing the mod, and simply copy "realgrass.dfmod" to the DFU "StreamingAssets/Mods" folder? Cheers!

User avatar
TheLacus
Posts: 1266
Joined: Wed Sep 14, 2016 6:22 pm
Contact:

Re: [MOD] Real Grass 2

Post by TheLacus »

Mike wrote: Mon May 14, 2018 1:53 am Can I ignore the "TextureOverride" folder when installing the mod, and simply copy "realgrass.dfmod" to the DFU "StreamingAssets/Mods" folder? Cheers!
Yes, the dfmod includes all required materials. But if you drop textures inside StreamingAssets/Textures/Grass they will be imported and override originals. This is completely optional.
Mod System documentation - Learn how to create mods for Daggerfall Unity.
Modder Discussion - General help and discussion for the mod system.
Github Issues - Submit a bug report for the game, including the mod system.

User avatar
mikeprichard
Posts: 1037
Joined: Sun Feb 19, 2017 6:49 pm

Re: [MOD] Real Grass 2

Post by mikeprichard »

OK, that's what I thought - thanks!

User avatar
Interkarma
Posts: 5835
Joined: Sun Mar 22, 2015 1:51 am

Re: [MOD] Real Grass 2

Post by Interkarma »

Just a heads-up TheLacus, I'm implementing support for floating y in a branch right now. This extends the existing floating origin support to work in all three axes.

This has impact across a wide range of placement code. One of the areas touched is CityNavigation.WorldToScenePosition() which is now floating y aware when using refineY option. It should return the correct location in future calls, but any serialized objects may not be in the right place when loading a game.

If you get the time, would you be able to test your mod against the new branch to ensure plants, etc. are placed OK? Especially any serialized objects with absolute height values.

I'll be on deck to help resolve any problems if they're encountered. Just let me know what I can do to help.

User avatar
TheLacus
Posts: 1266
Joined: Wed Sep 14, 2016 6:22 pm
Contact:

Re: [MOD] Real Grass 2

Post by TheLacus »

All vegetation is added via Unity grass system, so placement is on terrain layers and it shouldn't be affected at all by this change.
Particle mist, which is not yet available in a build, is supposed to use WorldToScenePosition() via event. I tested the mod (including mist) on the floating y branch and didn't find any issue.
Harvested crops are saved with mapPixel and local 2d position, no need to store height for terrain here. Let me know if i can test something else :)
Mod System documentation - Learn how to create mods for Daggerfall Unity.
Modder Discussion - General help and discussion for the mod system.
Github Issues - Submit a bug report for the game, including the mod system.

User avatar
Interkarma
Posts: 5835
Joined: Sun Mar 22, 2015 1:51 am

Re: [MOD] Real Grass 2

Post by Interkarma »

That sounds great! Thankyou for testing. :)

User avatar
mikeprichard
Posts: 1037
Joined: Sun Feb 19, 2017 6:49 pm

Re: [MOD] Real Grass 2

Post by mikeprichard »

Can this please be added to the Released Mods forum? Thanks!

User avatar
Interkarma
Posts: 5835
Joined: Sun Mar 22, 2015 1:51 am

Re: [MOD] Real Grass 2

Post by Interkarma »

Thank you, I don't know how I missed this one. Keep pointing them out and I'll keep moving them. :)

User avatar
TheLacus
Posts: 1266
Joined: Wed Sep 14, 2016 6:22 pm
Contact:

Re: [MOD] Real Grass 2

Post by TheLacus »

Interkarma wrote: Thu May 10, 2018 9:31 pm Thanks for the information. I'll take a look at reordering some things here when I can.
Hey, what do you think if i just add this event as is for the moment ? You can get back to it when you have time. :)
Mod System documentation - Learn how to create mods for Daggerfall Unity.
Modder Discussion - General help and discussion for the mod system.
Github Issues - Submit a bug report for the game, including the mod system.

User avatar
Interkarma
Posts: 5835
Joined: Sun Mar 22, 2015 1:51 am

Re: [MOD] Real Grass 2

Post by Interkarma »

Please go ahead. :)

Post Reply