Coders - Please help extending Dynamic bckgrnd script and bug fix

Discuss modding questions and implementation details.
Post Reply
User avatar
King of Worms
Posts: 4752
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Coders - Please help extending Dynamic bckgrnd script and bug fix

Post by King of Worms »

Hi :)

If you never heard of it, its a script which changes the paperdoll backgrounds according to time of a day, location and weather - written by Josh Camas and donated to me - I will explain basics here:
  • It has 4 interior types:
    _CASTLE
    _DUNGEON
    _OPENSHOP
    _BUILDING

  • It has 5 exterior weather types:
    _RAIN
    _SNOW
    _STORM
    _FOG
    _OVERCAST
    (snowing is missing :X)

  • Exterior weather types have 2 times of day:
    default - standard look
    _NIGHT

  • It has 3 beast forms:
    Vampire, WereWolf, WereBoar




PART 1 - BUG
- SOLVED BY SHAPUR, NEVERENDING GLORY TO HIM!!! -
3153.jpg
3153.jpg (11.96 KiB) Viewed 1059 times
When transformed to the VAMPIRE, the dynamic background does not switch when indoors
(to dungeon, shop, house, castle)
Otherwise it works 100%, it changes according to day time and weather, just does not switch when indoors.
Expected behavior: Dynamic background changes to _DUNGEON while in dungeon as a VAMPIRE
DOWNLOADS:

SAVE FILE in Vampire form inside dungeon
SAVE352.rar
(242.33 KiB) Downloaded 79 times

SCRIPT latest version
TODBackgrounds.rar
(2.67 KiB) Downloaded 84 times

HUD DFMOD
so you can test it
https://mega.nz/file/a2AUEbLK#DUG3lN0Yh ... 2zAHryq8vc



PART 2 - BUG
- SOLVED BY SHAPUR, NEVERENDING GLORY TO HIM!!! -
3153.jpg
3153.jpg (11.96 KiB) Viewed 1059 times
When I enter the shop, background properly changes to SHOP. When I leave the shop, background stays changed to SHOP until I enter another BUILDING other than shop.
Expected behavior: When leaving the SHOP, background changes to the dynamic outdoor.


PART 3

- SOLVED BY SHAPUR, NEVERENDING GLORY TO HIM!!! -
3153.jpg
3153.jpg (11.96 KiB) Viewed 1059 times
As you can see the script changes the backgrounds while inside (Castle, Dungeon, OpenShop, Building)
Id like to extend it for INN & TEMPLE interiors Can someone script that in pls?



PART 4
- SOLVED BY SHAPUR, NEVERENDING GLORY TO HIM!!! -
3153.jpg
3153.jpg (11.96 KiB) Viewed 1059 times
Dynamic Background changes according to daytime and weather.
But its missing a WINTER SEASON AND SNOW WEATHER.
Can someone script the winter season in?
So when there is a winter, I can provide a snow covered version (IF fitting, for desert I will use standard season images during winter) - with time of a day and weathers possibly.


I cant code anything, help would be very appreciated!
Thanks a lot :)
Last edited by King of Worms on Thu Nov 18, 2021 2:32 pm, edited 20 times in total.

User avatar
King of Worms
Posts: 4752
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Coders - Please help extending Dynamic bckgrnd script and bug fix one issue

Post by King of Worms »

Bumping this up

User avatar
King of Worms
Posts: 4752
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Coders - Please help extending Dynamic bckgrnd script and bug fix one issue

Post by King of Worms »

Added another bug. You can find it at PART 2
Added some basic description at the start of opening post

Its quite desperate here. Can I help you with anything, I see ppl downloaded it but nobody replied.
I will support you with anything I can. I REALLY want to fix at least the bugs.

The script is not that long, it has some basic explanation written in it. Please, try it.

User avatar
Shapur
Posts: 154
Joined: Wed Apr 21, 2021 5:11 pm
Location: Czech Republic
Contact:

Re: Coders - Please help extending Dynamic bckgrnd script and bug fix

Post by Shapur »

Untitled.png
Untitled.png (44.33 KiB) Viewed 1019 times
That is really not necessary, lol.
It turned to be relatively easy to do.


It would be cool if someone made a pixelart version of dynamic backgrounds.
If someone decides to do this, feel free to ask me for help with implementing them in-game.

P.S.: KoW, maybe replace "SCRIPT latest version" with the actual latest version. ;)
Link to my github here.
And here is my nexus profile.

User avatar
King of Worms
Posts: 4752
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Coders - Please help extending Dynamic bckgrnd script and bug fix

Post by King of Worms »

Easy or not I was asking for this for almost a year, this was not a 1st thread about it... replacing the script here - for who actually? 😉

User avatar
Shapur
Posts: 154
Joined: Wed Apr 21, 2021 5:11 pm
Location: Czech Republic
Contact:

Re: Coders - Please help extending Dynamic bckgrnd script and bug fix

Post by Shapur »

ALMOST A YEAR? I guess that explains it...

Yeah,
King of Worms wrote: Wed Nov 17, 2021 10:14 am replacing the script here - for who actually? 😉
Yeah, for nobody most likely... but maybe, someone will try to make a pixelart version of these backgrounds and will find this thread...
Link to my github here.
And here is my nexus profile.

User avatar
King of Worms
Posts: 4752
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Coders - Please help extending Dynamic bckgrnd script and bug fix

Post by King of Worms »

I can pixelize it using one nice tool I have here...
But you can hardly see the effect here, it blurs things up, even your image viewer does most likely unless set differently.
Texture606.png
Texture606.png (93.28 KiB) Viewed 986 times
Maybe like this it will represent how it actually looks when viewed properly
Untitled-1.jpg
Untitled-1.jpg (360.66 KiB) Viewed 984 times

User avatar
Shapur
Posts: 154
Joined: Wed Apr 21, 2021 5:11 pm
Location: Czech Republic
Contact:

Re: Coders - Please help extending Dynamic bckgrnd script and bug fix

Post by Shapur »

King of Worms wrote: Wed Nov 17, 2021 3:57 pm I can pixelize it using one nice tool I have here...
But you can hardly see the effect here, it blurs things up, even your image viewer does most likely unless set differently.
Texture606.png

Maybe like this it will represent how it actually looks when viewed properly
Untitled-1.jpg
That looks good.
I think it would be worth it to release the pixelated dynamic backgrounds on their own at some point.
Link to my github here.
And here is my nexus profile.

User avatar
King of Worms
Posts: 4752
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Coders - Please help extending Dynamic bckgrnd script and bug fix

Post by King of Worms »

I can do that and I see some ppl using it, so it will happen in the future. Just need to test the current version properly. I already found some bugs on my side. Its 96 backgrounds just for exteriors now...

Post Reply