Improvement Orientation?

LPlate2

Warlord
Joined
Dec 27, 2018
Messages
299
Hi,

Is there a simple way to set the orientation of an improvement on creation?

e.g. If I create a unique improvement, which is to be a continental bridge linking two adjacent landmasses, I want the bridge to run in the direction from one continent to the other.

Is there a quick coding way to make that happen?

If all else fails, would it work to have 7 additional dummy (bgraphical = 1) versions of the unique improvement, with the only difference being that the associated graphic is rotated by 45 degrees more with each one and then use python to select the improvement with the correct orientation when the improvement is built?
 
I really don't know but I am curious how you have been able to put in a bridge!
Anyway if you ever do please show me how or make it a mod because it sounds extremely awesome to have bridges!
 
I really don't know but I am curious how you have been able to put in a bridge!
Anyway if you ever do please show me how or make it a mod because it sounds extremely awesome to have bridges!

Orion Veteran did something similar:

https://forums.civfanatics.com/resources/sea-bridge-mod-ver-1-0.18822/

I downloaded this a while back, but still haven't tried it out.
I don't know if this uses 4 different models, or if he was able to just rotate a single model like you are wanting to do.

Thanks. He used four improvements with four bridge nif. In my original post I'd overlooked that E-W is the same as W-E graphically. Does exactly what I was thinking of.

It does involve DLL edits but I'm planning on allowing for a city to be in the sea so I already had allowing land units to enter ocean plots, if its a friendly city, on my to do list. I'll check the detail of his approach.
 
Last edited:
Back
Top Bottom