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
Another benefit of this approach is that you can easily edit conditionals (lights) which are very confusing to edit currently as they span across several sequences
adrientd
Yeah, but I think if you make new levels and want to add simple events like a switch opening a door, or even simple fight locks, the way it already is in the editor is already good enough imo.
adrientd
Something I might have to do is change the event node selector to display the name instead of an ID number.
pegperegogaucho
Not false, but the interface severely limits the possibilities right now as you can make some really crazy stuff with complex event sequences
pegperegogaucho
But maybe there is an easier way to display event sequences and their targets 🤷‍♂️
adrientd
I don't expect many people already start making complex sequences.
adrientd
My current goal is to let people do complete new levels at basic level.
pegperegogaucho
Alright, no problem
pegperegogaucho
But at the very least the display of enabling/disabling of triggers needs to be changed
pegperegogaucho
like instead of 1721 -> SrvDetector it would be Enable D #33
pegperegogaucho
and a way to select it
pegperegogaucho
And of course adding names to the events 😉
adrientd
Yeah sure, but it doesn't sound simple to implement.
adrientd
Because you have a lot of different cases: - some events does one thing for one class, for another class it does something different - there are events with parameters (17xx etc. to enable triggers), others don't - some start with xx00, some start with xx21 or I don't remember what it was...
adrientd
We would have to: - find out all possible events (per class) - store information in some sort of JSON file, where for every class we have a list of possible events (or range of events)
pegperegogaucho
What comes to my mind right now is a map which uses the full id as a key and another map for its value, which then in turn uses the event number as the key and the event name as the value I guess the detector and some other objects would need to be special cases :FrogThinking:
pegperegogaucho
Sounds good!
adrientd
Also we might also need a JSON file to store possible actions for CKMsgAction
pegperegogaucho
True, you can define custom ones
adrientd
storing for the action not only the name but also the number and types of parameters needed