The codes in sequences are mostly guesswork, but I am basically looking for the right code to implement all parts of the structure. I also want to add the TD Sam Site with the closed bay-door and I'm guessing that building will have a similar code.
abcdefg30 wrote: ↑I hope I didn't forget anything and could help.
Ah well, I just noticed that you also might want to add a "damaged-idle" and "damaged-build-top" sequence. You can duplicate those (copy and paste the ones without "damage-").
Went to play with your code this evening. Got the building to appear in game, without crashing, but I had to add in the TD palette. I also had to do some fine-tuning on the idle and damaged idle, but that's looking good now.
So now the building is there, but it's not taking on the players color. Also the icon needs to take on the (td) palette, is that possible?
I've been working on this in a map; Calitz_Dorp, which I attached, incase you'd like to see what happens..
Based on your advice I've been playing around with PlayerColorPalette but with no luck at all. I either get an error that CalitzMulti0.pal is missing or all my buildings are drawn on the Calitz palette (the TD Temperat palette.)
I also looked at the post you referred to and been through most of the GitHub wiki. I've looked at the custom ConYardWars map (awesome map btw) but also with no luck.
Think what I really need is a template for a custom unit and a custom building with sequences and husks, so that I can see what I'm missing when I'm adding some TD units.