Bounding a unit to a road/railroad?

Shiggs713

Immortal
Joined
Mar 11, 2007
Messages
2,361
Location
Indianapolis
Hello, I've been tinkering with some ideas for this civil war mod, and I wanted to create a unit (Train) that would be bound to railroads. Perhaps even further than that, in saying to enter a city it would have to have a railyard or station.... I would imagine its done in python, but just wondering if anything like this has been done, or how hard it would be?

thanks,

Shiggs
 
I'm pretty sure I saw this somewhere, probably in the modcomps forum ... maybe as a python snippet someone posted in the SDK/Python forum in the snippets thread
 
To be truly effective, it would need to move really fast on railroads and you'd have to be able to build railroads in enemy territory/use enemy railroads.

I'm assuming you're using the train as a transport.
 
I'm pretty sure I saw this somewhere, probably in the modcomps forum ... maybe as a python snippet someone posted in the SDK/Python forum in the snippets thread
I also think I've seen something like that lately (about 2-3 weeks ago), but I cannot find it again as well. IIRC, it was a small SDK component with a simple XML tag - and an archer as example (and yes, I also want to find it again).

Cheers, LT.
 
Back
Top Bottom