Author Topic: New image tagging  (Read 145 times)

0 Members and 1 Guest are viewing this topic.

Offline h1262216

  • Newbie
  • *
  • Posts: 30
New image tagging
« on: July 13, 2021, 04:35:32 PM »
For the next version, I'm working on a new way of providing tags for image packs (in this context, image could also be an animation)
The current plan is something like the following:
* The tags will be encoded in an xml file that is distributed together with the images or clips. This means that you can make the pack compatible with the older version by using file names as before.
* There is going to be a fuckton of different tags. The idea is to have a relatively comprehensive set of tags that can describe well what is happening in an image. The game can then choose based on the combination of tags which image to display.
* The choice of images by the game is then as follows:
  Each situation where an image is displayed has a certain (string) code, e.g. "arena-lose-beast" for losing a fight against a beast in the arena. Then there is a config file that describes which tags are relevant for thus image code.
  - There is first a primary tag, which must be a match (primary tags will be something like "fetish", "sex", "tease", "profile", "activity" I think, though that may change), otherwise an image is directly discarded.
  - Then it goes to a list of required tags, and for each of the tags it finds in the image, a certain value (may be negative if you want a tag to exclude an image) is added to the score of the image.
  - If the image score is less than 0, or less than the highest scoring image minus 100, the image is also discarded.
  - For the remaining images, we do the same thing with a list of preference tags, i.e. we calculate a score based on the presence of certain tags. The higher scoring images are then more likely to be selected. In this second phase, a few more tags will be considered, e.g. the game will add tags based on the girls clothes, items, stats, traits etc. Higher scoring images will then have a higher chance of being selected. (I will probably add that an image that has recently been displayed gets a malus, to preserve variety).

The reason for having this first, primary tag phase is twofold:
1) It allows to discared a large amount of image early on, and thus reduces the computation required considerably
2) The system is mainly tuned to work by reacting to the tags you want in your image, so if there were no primary tags, each image type would need to list a large amount of tags with negative scores. With primary tags, this is not really necessary I hope.

The main problem I see with a system like that is that it increases the effort needed to properly tag an image pack in the first place, as some of you are making gigantic packs
Please let me know what you think about this approach