Page 13 of 21

Re: Modding Tutorials: Asset-Injection

Posted: Tue May 29, 2018 8:35 pm
by Interkarma
Yep, that sounds right to me. :)

Re: Modding Tutorials: Asset-Injection

Posted: Tue May 29, 2018 10:16 pm
by Kamer
Interkarma wrote: Tue May 29, 2018 8:35 pm Yep, that sounds right to me. :)
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?

Re: Modding Tutorials: Asset-Injection

Posted: Tue May 29, 2018 10:52 pm
by Interkarma
I was not responding to you, Kamer. I was responding to TheLacus' question to me.

Re: Modding Tutorials: Asset-Injection

Posted: Tue May 29, 2018 10:57 pm
by Kamer
I was asking a question. It just quoted for some reason.

Re: Modding Tutorials: Asset-Injection

Posted: Wed May 30, 2018 12:57 am
by Interkarma
I'll leave that question for TheLacus to answer then, as he's the architect of all the texture injection and mod systems.

Re: Modding Tutorials: Asset-Injection

Posted: Wed May 30, 2018 1:36 pm
by TheLacus
Kamer wrote: Tue May 29, 2018 10:16 pm
Interkarma wrote: Tue May 29, 2018 8:35 pm Yep, that sounds right to me. :)
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?
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.

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.

Re: Modding Tutorials: Asset-Injection

Posted: Tue Jun 12, 2018 8:41 pm
by TheLacus
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. :)

Re: Modding Tutorials: Asset-Injection

Posted: Tue Jun 12, 2018 9:26 pm
by Interkarma
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.

Re: Modding Tutorials: Asset-Injection

Posted: Thu Jul 26, 2018 11:31 am
by King of Worms
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)
CNFG00IO IMG.jpg
CNFG00IO IMG.jpg (878.83 KiB) Viewed 4725 times
Thank you!

Re: Modding Tutorials: Asset-Injection

Posted: Tue Oct 02, 2018 7:23 pm
by TheLacus
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
Do you still have issues with this image? The texture is actually CNFG00I1, which is drawn on top of CNFG00I0.