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

#general

thalassus
hey, i'm trying to mod Alice in Wonderland for steam with the XXL editor. does anybody know why the game might crash when one character is swapped with another?
adrientd
Welcome! I haven't tested much with Alice, so a lot of stuff might not work. Can you tell me how do you swap the characters?
thalassus
@adrientd well, i tried adding a .dff to a map and it crashed when i got there
thalassus
someone i know tried to switch the .dffs for characters and his game crashed aswell
thalassus
@deathhound246
baku69
deathhound246
We've been trying for the last few days to swap character models around Started off with exporting the model as a dff (CAnimatedNode class), changing the model in blender, importing that back into xxl editor, savjng changes and replacing game files. The game then crashes when entering the changed level I found your wiki doc on it yesterday but the same effect still occurs
adrientd
To be fair I only made animated model swaps for XXL1. For other games (XXL2, OG) I did manage to import static models with success, but for animated models I don't remember. I will have to test.
deathhound246
I'd imagine it is something to do with the bones that's causing it to crash. It looks fine when imported back into the editor but the game doesn't like it
adrientd
Yeah, you just have to be sure that the new model has the same bone structure as the model you're replacing, otherwise the game will play bone animations that don't match the bone structure and that will crash the game.
deathhound246
Pretty sure Alice has all characters loaded at all times in the sector (maybe level?) even if they won't be used until later in the story, or after a cutscene or something, so it could be an idle anim crashing it when loading the level
adrientd
I just did a quick in OG, replacing Lovesix with Getafix, the game does not crash but the model is invisible
adrientd
so there's still some work to do...
thalassus
ohhhhh, i edited the armature LOL
thalassus
so if you replace a character it has to match the original's proportions then? :(
adrientd
Preferably yes
adrientd
You could do small modifications to the armature (like moving bones), but do not add/remove bones or change the hierarchy
adrientd
To be on the safe side, just don't modify it
adrientd
Another issue is that the editor will use incorrect material flags by default when you import a dff. The default values works for XXL1 (flags1=1, flags2=0), but they need to be changed for the other games:
adrientd
so after importing you need to change the flags values to what they were previously with the original model