Asterix Gaming Guild Logo GeneralXXLXXL 2XXL 3XXXLOlympic GamesXXL EditorToolsOff-TopicXXL RomasteredXXL 2 RemasteredOther GamesModsCaesar's ChallengeUnfair XXLPatchesFan ArtPersonal ArtSpeedrunningMediaRandomizerBETA RomeHSKALPresence AdrienPresence SPQRSupport Bot Helpdesk

#editor

adrientd
Yes, I think we could just take the first pool as the default one. They are marked red anyway, so you know that it can be any enemy.
adrientd
I just experimented to use ImGuiMemberListener to show the parameters and use the names from JSON:
adrientd
But maybe it is better to use a range input for the duration, and something adapted for the % (especially a 0-100% limit)
adrientd
Or maybe through drag-drop, if I manage to do it (because order dragging is not easy in ImGui :Obelul: , though I did manage to do it for the Sekens)
adrientd
Yes, not sure if there's a need to randomise the directions, iirc this was added more for testing than anything else.
adrientd
Also I'm thinking if maybe I should change the spot direction to just an angle instead of a direction vector, as the Y coordinate seems to be always 0.
adrientd
But you can rotate through the gizmo anyway, so maybe it's not a big deal
pegperegogaucho
To be honest I believe the drag and drop is overkill, having swap buttons is fine and easy to implement
adrientd
Ok, no problem
pegperegogaucho
If you have a BIG squad with more than 20 enemies, having the ability to rotate them all at once is essential!
pegperegogaucho
Also, not really important but maybe useful, presets? Like circles? For the arenas in CC I made an option to quickly make a circle (or half circle, ...) with a given radius because making circles is hard in the editor :Obelul: Then if they needed to be offset I could also move all the spots at once
adrientd
Yeah, I get it, maybe we can have some sort of Shape Choreokey generator, which a list of shapes you can use (random, box, circle, star, ...)
adrientd
also line, column, triangle, ...
adrientd
filled or outline
adrientd
Good thing I already did something similar: https://github.com/AdrienTD/wkbre2/blob/75752de1b77280814fa4c660b3719ad3b2ed1580/wkbre2/FormationController.cpp#L10-L43
pegperegogaucho
Gooid idea!
pegperegogaucho
Maybe a way to also import/export the choreokeys would be approciated as well :)
adrientd
I guess I could also import/export an entire choreography instead?
pegperegogaucho
In addition to the key sure!
pegperegogaucho
Maybe the choreography references the keys which are separate files