Modding Tutorials: Asset-Injection
- Interkarma
- Posts: 7254
- Joined: Sun Mar 22, 2015 1:51 am
Re: Modding Tutorials: Asset-Injection
Yep, that sounds right to me.
- Kamer
- Posts: 583
- Joined: Mon Mar 05, 2018 9:26 pm
Re: Modding Tutorials: Asset-Injection
On the Texture page on DFU home, it says:
"Texture replacement for billboards support animations (you can have as many frames as you want, even more or less than vanilla) and emission maps."
Is this possible for all types or only billboard characters? If only possible with billboards, are we going to see any added support for everyone else?
- Interkarma
- Posts: 7254
- Joined: Sun Mar 22, 2015 1:51 am
Re: Modding Tutorials: Asset-Injection
I was not responding to you, Kamer. I was responding to TheLacus' question to me.
- Kamer
- Posts: 583
- Joined: Mon Mar 05, 2018 9:26 pm
Re: Modding Tutorials: Asset-Injection
I was asking a question. It just quoted for some reason.
- Interkarma
- Posts: 7254
- Joined: Sun Mar 22, 2015 1:51 am
Re: Modding Tutorials: Asset-Injection
I'll leave that question for TheLacus to answer then, as he's the architect of all the texture injection and mod systems.
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: Modding Tutorials: Asset-Injection
If first frame is found in loose files, all other sequential frames are imported and cycled for animation. The idea was to keep things simple and make it just work, without worrying about situations like missing frames. Said that, there is a number of different implementations for different purposes, for example trees are added to an atlas with original textures and they are never animated.Kamer wrote: ↑Tue May 29, 2018 10:16 pmOn the Texture page on DFU home, it says:
"Texture replacement for billboards support animations (you can have as many frames as you want, even more or less than vanilla) and emission maps."
Is this possible for all types or only billboard characters? If only possible with billboards, are we going to see any added support for everyone else?
Reading again the quote on npcs, i see is a bit confusing and i apologize for that. I'm going to reword the paragraph to make it clear that base support is for 1:1 replacement with some minor helpers, like mesh scaling to fit different ratios without stretching.
Inserting additional frames without affecting resulting animation frequency (for example to have smoother animations) or even add new interations for wandering npcs, etc., would require some considerations for different implementations and optimizations, and is probably more suited for a script mod rather than support in core.
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: Modding Tutorials: Asset-Injection
Since Daggerfall Unity has reached the final stage of pre-alpha development, i thought it was worth to write out some considerations on mods support aspects that can be improved for a more stable release. You can find them on first page. Unfortunately i don't have much free time to work on Daggerfall these days, but i'll try to focus on fixing bugs, smoothing and improve existing features. If you have some suggestion or issues wich you can't find on the list, feel free to write here. Please don't quote the entire post.
- Interkarma
- Posts: 7254
- Joined: Sun Mar 22, 2015 1:51 am
Re: Modding Tutorials: Asset-Injection
Thanks for all that feedback, TheLacus! Like yourself, I'm looking forward to seeing where the mod system can go in the long tail stage of the game. Even if it doesn't get much better than now, it's still an incredible value add to the game.
You've done a tremendous job in all of this. You somehow worked around a constantly expanding codebase and kept everything ticking with practically zero issues. I watched the injection get more refined over time and its become a major system all to itself.
You've done a tremendous job in all of this. You somehow worked around a constantly expanding codebase and kept everything ticking with practically zero issues. I watched the injection get more refined over time and its become a major system all to itself.
- King of Worms
- Posts: 4758
- Joined: Mon Oct 17, 2016 11:18 pm
- Location: Scourg Barrow (CZ)
- Contact:
Re: Modding Tutorials: Asset-Injection
Hi, thanks for a lot of fixes, thing I really miss now is:
-World Map - TRAV0I00.IMG and maybe TRAV0I01.IMG Not Implemented, ImgFile.LoadPalette().
-Local Map - 51 screens called FMAPxxxx.IMG
and Ive noticed that there is a missing part (stays vanila eventho the whole picture is modded) in this img (highlighted in red)
Thank you!
-World Map - TRAV0I00.IMG and maybe TRAV0I01.IMG Not Implemented, ImgFile.LoadPalette().
-Local Map - 51 screens called FMAPxxxx.IMG
and Ive noticed that there is a missing part (stays vanila eventho the whole picture is modded) in this img (highlighted in red)
Thank you!
DREAM Nexus https://www.nexusmods.com/users/73250038?tab=user+files
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: Modding Tutorials: Asset-Injection
Do you still have issues with this image? The texture is actually CNFG00I1, which is drawn on top of CNFG00I0.King of Worms wrote: ↑Thu Jul 26, 2018 11:31 am and Ive noticed that there is a missing part (stays vanila eventho the whole picture is modded) in this img (highlighted in red)
CNFG00IO IMG.jpg