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

pegperegogaucho
Does anyone know why these animated characters break? It seems to happen to only a select few ones, like the eagle or the seagull :Obelul: So far the only reason I figured out is that when the animated node is visible while the character is inactive, so you're not in the right sector, it can sometimes corrupt
mr.rubinshtein
what a mess
mr.rubinshtein
looks interesting
adrientd
My best guess is it's because the character's pose (bone positions+rotations) is not initialized properly, so it's just random garbage.
adrientd
And only way to initialize it properly is to start an animation.
pegperegogaucho
Adrien, when duplicating hooks, why do you set the unk1 of the life to 0?
adrientd
¯\_(ツ)_/¯
adrientd
I don't remember :Obelul:
pegperegogaucho
Oh okay, I see
pegperegogaucho
Because I just found out it causes problems with saving. I had a pool with one enemy and as soon as the enemy despawned, it would set the "nextLife" of the duplicated life to itself, creating an infinite loop. Whenever you then wanted to save, the game would freeze because it loops through all the lifes. Setting it to 1 seemed to fix the issue thank god :PogelixOkay:
pegperegogaucho
What are the lives for anyways? So far they seem to be used to loop through all the enemies and call the update function? Because once I somehow messed up and created a situation where the life references were overlapping and the enemies were like on 2x speed :Obelul:
adrientd
Oh, yeah honestly didn't know that, looks like that bit is important.
adrientd
And yes, lives classes are very strange. It seems the devs wanted to separate the code that updates and "brings life" to the hook into a separate class. Maybe they planned something, but it turns out to be useless and overengineered as it could just be done in the hook and maybe there was no benefit.
adrientd
I guess they already found life classes to be useless as only a few use them, and in XXL2 and onwards they no longer exist.
deathhound246
another easter egg :D LVL070 triggers
pegperegogaucho
They left it in on purpose for the users of the XXL-Editor
adrientd
So I guess it is an invisible bridge?
wavynavy04
i was wondering if there was a way to export all models/assets or a quick way to find them all through the editor, for context Im trying to get the httyd wii game assets
deathhound246
You can export from the scene graph in one go. Main issue tho i think is it all exports as 1 object iirc Adrien would know better tho
deathhound246
There is an invis bridge in the level, using the mad hatters ability to fix it