Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

Fan made coding and clothes - On pause

A topic by Kenta created 53 days ago Views: 786 Replies: 32
Viewing posts 1 to 14
(19 edits)

I've got a desire to mess around and possibly add a few things visually, preferably with Asterion's layering, I saw in the suggestions on the "what clothing to give Asterion" topic and absolutely loved the idea with giving him a crown or a hat, if I have permission to do it, I'll gladly try my hand at it, i'm very familiar with python and will share the edits I've made to the code if you're interested in using it,

Update 3

The hat system is now working, if anyone would like to give me ideas, want the code or would like to contact me elsewhere if i'm not around, add me on discord Lethys#2970

To get the hat system ready I have had to made a few changes with how the layering of the images work:

  • Separate horn layers using a name such as "hornFilename_upper" and "hornFilename_lower"
  • Separate horn accessory layers such as "hornAccFilename_upper" and "hornAccFilename_lower"
  • Made it so when Asterion is facing front the horns and accessory are together on a layer behind the hat layer which uses "hornFilename_front" and "hornAccFilename_front"
  • Add a new wardrobe section for all hats

Things I plan on doing (If I'm not being too ambitious)

  • Add hats to the buff CG sections if it makes sense
  • Adjust the bottom of the "hornFilename_upper" normal horns so it's on the "hornFilename_lower" horn layer, this will allow hats to interact with the area more freely while the part of the horn that would cover the hat would still cover it, this will stop hats getting interface like how the hoodie stops dead at the start of the horn making it look like he's ripped straight through the hoodie while in fact it's where the fur and horn meets
  • Make all horns and accessories compatible with the new changes I've done - Done
  • A festive outfit with hat (50%)
  • Alter all pose outlines and furs to accommodate long sleeves so they don't look weird - Done

Hats done:

  • Flower Crown (see below)


Note to Nanoff and Minoh : I'm not sure how headwear would work with this to be honest, I think they will visually clash (not that there will be a layering issue, just visually) with each other depending on the headwear/hats so if you do decide to put hats into the game at a later point you may face this issue.

Developer

100%, absolutely go ahead!

On the subject of giving Asterion a hat, the main thing holding us back from doing so is the way his horns are layered, really, since the layering usually goes

>fur color layer
>body layer
>a LOT of clothing layers
>emote layer
>nose ring layer
>headwear layer (stuff like glasses, etc)
>horns layer
>horn accessory layer

Asterion's horn shape will be customizable in the future (though there are already sprites for this) so it's a layer on its own.

Adding headwear like hats or crowns becomes an issue because for most of his sprites, it would have to rest between the horns, so we'd have to split the horn and horn accessory layers into two, so

>fur color layer
>body layer
>a LOT of clothing layers
>emote layer
>nose ring layer
>back horn layer
>back horn accessory layer
>headwear (glasses, etc. but could also allow hats, crowns, etc)
>front horn layer
>front horn accessory layer

It's... kind of a lot. And there's an additional complication: remember when I said "most of his sprites"? The layer order for the front facing sprites would have to be the same as the original, or else the hat would clip between horns. An alternative would be to have all the front facing horn sprites on the back horn layer and not render the front horn/accessory layers if asterion is front facing, I suppose.

And that's not getting into the trouble of shaping the hat to acommodate all these horn shapes. So, it's doable, but very complicated. You have our blessing to try, though.

There may be some spoilers if you code dive so do it at your own discretion and try not to spoil other people though.

(1 edit)

I've already viewed the code and found some humorous comments, and some interesting finds, your secrets are safe for me :)

Deleted 48 days ago
Developer

Echoing what nanoff said, go right ahead and have fun! Modding the game is alright with us.

Thanks for the blessings from both of you <3 if you want the code just ask at any time, i'll post about what I've done in this thread

(2 edits)

Update, created most of the asset art for a single hat, my only issue is that i'm struggling with the code, I keep getting an error when the game tries to load asterion on the screen, getting this error:

I'm sorry, but an uncaught exception occurred.

While running game code:

  File "game/script_build05.rpy", line 20819, in script

    you "If anything, I'd like you to accept that you're good.{w=0.4}

  File "game/characters_images.rpy", line 69, in <module>

    if Asterion.stage == "buff" and Asterion.hatwear != "none":

AttributeError: 'AsterionObject' object has no attribute 'hatwear'

--

I've inserted everything that other assets have, but it doesn't seem to want to work. does anyone have any idea?

Developer

Hey Kentas, what you're bumping into here is one of the big issues the sprite system I set up has.

Modular character sprites like Asterion's load their filenames from attributes in each character object. If you add an attribute to the class and try to load an older save of the game where the character object didn't have the attribute you added, the game will crash when it tries to render the sprite because that savefile's instance of the object doesn't have the attribute.

There's a workaround for this: you'll notice an "after_load" label in script.rpy. This is a label renpy jumps to right after loading the game, and then it jumps back to the spot it was just in when you load the game. You can set Asterion's new attribute here.

There's an example laid out for you right there: Asterion's chlamys (the cape he wears starting on chapter 18) needed to be added for build 0.5. You'll notice that on line 77 (at least on the file I'm working with) the following happens:

        $Asterion.chlamys = "none"
        $wardrobe.clothing['chlamys'] = {}
        $Asterion.resetFilenames()

First I set the chlamys attribute, then I add a chlamys category to the wardrobe object (which is used on the screen where you change asterion's clothes), and then I make the Asterion object reset filenames. If you added a headwear or a  front/back horn filename attribute on the resetFilenames method, this is where that happens, and now the sprite knows which subsprite to load.

Also yes there are WAY better implementations for this. First of all the fact that wardrobe doesn't have a method for adding a category is fucking nasty and I have no idea why 2019 me thought that was ok

Awesome, thanks for the information, I was banging my head against the wall for 4 hours last night xD

(6 edits) (+2)

Flower crown

If anyone is interested, here is a preview of the hat I've made, the flowers are based on endemic flowers from Crete called Tulipa cretica :)


the eyes named something which I don't see unless he blushes, took liberties of adding a (blush effect, just for the preview)




this one was a nightmare to do due to the head being thrown back in surprise. it looks a tad ugly

Developer

Absolutely lovely! Excellent work

Thanks :) now all I have to do is find a way to put it into the wardrobe 

Developer

you now understand a fraction of my pain

still, looks great

All of this was done with a mouse, not too sure if you had a tablet or not but the perspective on that was so silly, I do not envy the amount of work you had to do to get this far ^^;

(6 edits) (+3)

Update 4

We have hats everybody, I repeat, We have hats (only issue is, for some reason the whole spite moves up slightly from the bottom of the screen it only seems to be an issue in the end of the day results and wardrobe for some reason. it only happens when I equip the hat, when I un-equip it, it goes back to the bottom of the screen again)

Update

Fixed the issue of Asterion floating above the bottom when equipping the flower hat, turns out the layers of the flower crown were outside of the image which seems to effect the character's positioning since I'm assuming the character's default position is fixed to the bottom of the screen.


(2 edits) (+3)

Made it for a silly joke on the clothing suggestions thread for a hoodie, but may as well put it here, I may make the other poses at some point.

Wasn't a fan of the icon and text, also tried to thin out some of the lines


Secret achievement, infect the moo into a being that is beyond the reach of the Labyrinth's torment. Secret Speed Runner ending. 

Gamer moo knows how to credits warp using SRM

Developer (1 edit) (+1)

I was talking with the team about this thread, and I'm leaning on sharing here some thoughts touching on the flower crown mod Kentas is doing but mainly modding as a whole.

When we started Minotaur Hotel we went back and forth on whether having people mod the game would be a good or a bad thing. For a while we leaned on them being good, because modding is almost always a positive force in a game's community, then we weren't too keen on it because we realised it could have a chilling effect on other games being made.

Ever since we released Build 0.5, however, it's become abundantly clear just how mature, thoughtful, creative and smart this community has become. A little exploration of the forum should show that well enough.

So, for anyone coming here in doubt on what's our stance on modding, we're ok and happy with it. It means a lot that Minotaur Hotel has become the sort of game that motivates people to mod in neat ideas.

If you, unknown reader, would like to make a mod of your own but are worried about it being ok or not... Well, if you're adding cute stuff like Kentas' flower crown or hoodie, that should always be alright.

If you're going for something spicier or kinkier... That's mostly good too. Evidently we are connoisseurs of the adult content ourselves. At the same time we'd rather people not go too far. I'd rather not put any hard rules at this moment, but as a general rule of thumb we'd just like people to avoid extreme content. By that I mean scatological stuff, gore (what's already in the game is arguably too much already), that sort of stuff. If you're in doubt you can just ask in the forum and it shouldn't take long for us to give you an answer.

In case more people jump into modding I'll setup a pinned thread for it.

(+1)

Thanks for the clarification, and thanks again for giving me permission to mess with the game, it's been a blast :)

(+3)

progression of the holiday outfit, it feels a tad awkward trying to make loose hanging sleeves for the buff boy, but I think I'm getting a hang of it (holiday hat coming soon) 

Festive moo

(+2)

This December, all we want for Christmas is moo 

(2 edits) (+3)

Hat is complete, might touch up before putting it in the game though.


Edit: just realised that this won't work as the hat draped over the horn will mess with the other horn types x.x

(1 edit)

Updated hat and golden lines

(2 edits) (+1)

Hunched clothing draft is now done, might update the neutral version's golden lines and white fluff to mirror the quality of this one.


(1 edit)

shaved off the tufts of hair so the arms don't have weird looking bulges on the clothing (created separate sprites for this with all colours done too)



(1 edit)

This might be rather presumptuous of me, but would the Dev team consider adding atleast my code and changes  to the layering system that allows hats to the next build? From what I hear it's content will be focused on side characters and would probably be easy to insert the code in without causing issues since it the build won't touch Asterion too much. 

Developer (1 edit)

I can give it a shot! The current status of the update is, we have plenty of new content written but nothing edited and ready to be added to the game yet. So I'd currently have the time to add features like this if it weren't for irl stuff clogging my schedule really hard. Thankfully I'll have more free time soon, I'd love to add this to the game. You wouldn't mind if I redrew the crown using yours as a basis, would you? So it's consistent with the rest of the assets. 

*also whenever we add cosmetics to the game we prefer if they aren't dropped on the player's laps and there's an exploration or R&D event tied to them, so we'd need to come up with one. 

(5 edits)

Ofcourse I don't mind you redrawing it, could we discuss this further in a more direct method like discord or skype? (if discord, my info is in the first post) It'll allow me to send you everything privately when you're ready to implement it

*not sure how you could have a flower crown an exploration and R&D option due to lore reasons of being unable to make living things and that any life from outside will attack Asterion, but it could be a human guest who brought flowers in the hotel and crafted it into a crown for Asterion

(+1)

You know what's funny? Flowers are a religious offering in certain faiths. Then there's the whole Robert saying Asterion's divinity and cthnoic nature have been bled out of him....

(1 edit)

That's why I picked them, they are also specifically west cretian flowers called Tulipa Cretica :)

(1 edit)

Mod on pause until further notice, not sure what to add at the moment considering the hat portion of the mod is most likely going to be implemented into future builds

I want to keep adding stuff to the game but I've ran out of ideas on what to do so I'm going to ask, is there anything the dev team needs help implementing or adding to the next build? I've got a weird coding itch that I just cant scratch xD

(1 edit)

Just giving this a slight bump just to make sure no one forgets about the mods addition, I forgot how long it's been since it was last active