Skip to main content

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

Bug: Can't add additional clothing set to existing character by using a separate opponents folder

A topic by peter980_1 created Jun 12, 2022 Views: 244 Replies: 5
Viewing posts 1 to 6

In CSP 1.5, I could, for example, add a new "opponents_something" folder, add "vivian" folder inside it and then add new clothing set in it, and it would be loaded for the Vivian character.

Now, it is not anymore the case in 1.6. No new clothing set loaded. The only way to work around this is to directly add the clothing set inside the "opponents_core" folder for Vivian.

Plus, I get following in console as error:

missing opponent.properties: .\opponents_something\vivian\opponent.properties

Additionally, exempt restoring this functionality, I would request the possibility to add images or finales to an existing character by using separate opponents folder.

Essentially, treat the additional folder as an override (add new stuff to the core character or replacing stuff if file names match).

Developer

Weird. That _should_ still work. I don't think I touched any of that code for 1.6

Developer(+1)

Figured it out. Easy fix: just pick a folder that comes after opponents_core in the alphabet.

The code reads through the folders alphabetically looking for opponents. If it finds a folder with outfits but no player.properties in it, it doesn't know who that outfit is for yet, and just drops it.   You can also put a copy of the opponents.properties and portrait.jpg files in there. That fixes it too...

... except if that player's name is Vivian, because there are a couple terrible bugs in the "shared outfits loader" part of the code. Those will flat out crash the game if it finds Vivian and her cheerleaders outfit before it finds Candy. Or in other cases give Candy the outfit twice.  Those will be fixed in the next release though.  

Developer(+1)

Here's a sneak preview of Vivian in her beach attire as your bug-bounty.


Niiice...