Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Is there a right way to make a custom "avatar"?

A topic by Zora_Zebra created Apr 17, 2023 Views: 247 Replies: 4
Viewing posts 1 to 3
(1 edit)

I tried duplicating an existing folder in opponents_avatars, renaming everything in the .opponents files, and adding custom assets, but John, Jamal, and Jong are still the only ones who appear when starting the game.  I got it to work by renaming OG John's folder to John.bak and putting my custom assets in the new "John" folder.  It works but feels like I'm doing it wrong, and of course it makes OG John go away.

I also figured out that I could add a new character to opponents_core and use them as a player character, but opponents_core characters evidently are assumed to always be female, which is not my intent.

No big rush but thanks for any help.

Developer (1 edit) (+1)

All the opponents_xxxx folders are interchangeable. Those are just the names I used to keep things organized.  What you need to tweak is the opponent.type value in the opponent.properties file.

opponent.type=SELF      this is an avatar that you can play as, but not against. (presumed male by the game, because I'm lazy)

opponent.type=MALE      this is a regular player that you can play as or against, who will have male pronouns (This one is not used much in the code except in final undressing voice lines as far as I remember)


At least that's how it's SUPPOSED to work. There is a bug that prevents SELF players other than John Jamal and Jong from showing up in the avatar dropdown. I'll have a fix out with the next release.  And since you found a bug, here is your bug bounty sneak peek of Gnome-Denise:


Yes!  Thanks for the clarification and glad I helped find a bug.  Denise is super cool!

(+1)

Thanks for the bug fix in 1.10 - my custom "SELF" type character is working great.

Developer

Glad that's working for you. Sounds like you're making good progress!