Hello,
I have started looking into modding a bit and I am stuck with the following problem: I want to change blueprints such that the skirt of size-1 buildings like a wall or tech1-pointDefense are aligned with the "default" grid of size-2 buildings. E.g. a wall cannot be placed directly adjacent next to a MEX or a tech2-PD, it is always .5 off. I would like to be able to place 2 size-1 buildings touching the side of a size-2 building, e.g. 2 mini-mass-storages on one side of a MEX.
I tried changing SkirtSize, SkirtOffset and Footprint.Size but to no success.
When I aligned the skirt correctly (e.g. skirt =1, offset=-.5) the building itself was not centered in the skirt anymore.
Any ideas? What am I missing? Thanks!
And some nooby dev questions:
Can i also changed blueprints live in game using the console? How?
Is there a way to "debug" LUA scripts? E.g. when i have an error in my mod script (e.g. nil reference, ...) the game just crashes, but i dont get told the line number or even the file (myfile) that caused the problem...