Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

How to make it play specific backgrounds for troops?

A topic by Voltwolf56 created Sep 21, 2020 Views: 377 Replies: 8
Viewing posts 1 to 6

I'm fairly new to messin around with java plugins n all that so perhaps instructions could be given in a dumbed down way on how to make it play something other than the default? Like how I would change this screen.


I also have created a separate configure ( HJSON )  file to use instead and while I don't get an error it instead plays the default.

(+1)

The readme that comes with the plugin explains this:

"

As troops don't have a notes field, it's impossible to tag them the traditional way, but by adding something in the format of:

```
[EBB: <configuration name>]
```

to the troop name, you can target a specific configuration for your troop without messing with commands or JavaScript!"

(1 edit)

Even when I did this it still played the one set in the default. Was I supposed to make multiple config files or place multiple configs in one? And if so how would you go about naming them and such?

Developer (1 edit)

Just one config file. If you have a confiuguration in the file named "doomguy", you would use [EBB: doomguy], no angle braces. You can name them with any valid JSON string.

So what would two configs in a file look like next to each other in terms of code? Would it just be a new one placed directly under? And how/where would you go about naming it for tagging sake?

(+1)

that's the problem I've been having too.

If someone could answer the question left below ZainWD's comment it would be much appreciated.

Developer(-1)

Here you would use `JM_EBB.setConfiguration("soup")` unless you literally named the configuration "<soup>".

(+1)

I think's its better if you explained it or show us how to do it on a video Jengamon because this is too confusing.