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

#editor

pegperegogaucho
probably better to have it in the code
pegperegogaucho
But dropdowns for choreographies and MsgAction states would be nice, you could then use their name for the dropdown
pegperegogaucho
I wonder how action 3 (send event to enemies) should be handled?
pegperegogaucho
For now maybe a hexadecimal display would do the job
adrientd
Yeah
adrientd
for the events maybe we should wait until we have named events :LUL:
pegperegogaucho
Definitely
pegperegogaucho
The game only uses it for the centurion animations, but it is also possible to send any event, like the "death" event to the enemies, so all enemies die on the spot :LUL:
adrientd
Most useful feature ever :LUL:
adrientd
It's unimaginable how many things you can do with squads and MsgAction
adrientd
I'm still thinking about how to handle event names
adrientd
here's some example of a JSON file that could look like for events: ```{ "classes": [ { "name": "CKThing", "category": 12, "id": 69, "events": [ { "id": "12AB", "name": "Do something", "paramType": "int", "paramName": "Input" } ] } ] }```
adrientd
Here I would list every class, and for every class list all events that can be sent to it.
adrientd
So when you would use a combobox it would only show the events that can be applied for that class
pegperegogaucho
Looks good, but how would you handle event sequences that have a "parameter" in the event (for example, to play a cutscene you would send 05XX to CKSrvCinematic where XX is the cinematic index?)
adrientd
Oh yeah, I forgot :LUL:
adrientd
I was thinking of "ranges": instead of defining a single event you define a range of events
pegperegogaucho
That could be possible, but maybe you can divide it even further: an array for the event category which holds the possible "sub events", like ```json { "classes": [ { "name": "CKThing", "category": 12, "id": 69, "events": [ { "category": "12", "subevents" : [ { "num" : "AB", "name": "Do something" } ] } ] } ] } ```
pegperegogaucho
I'm pretty sure this is also how the game goes forward when determining what to do for each event
adrientd
Yeah, that might be possible, but not sure if it's really necessary.