Drawbridges

How to make them stay open or closed

User avatar
tonius11
MM2X Occasional User
MM2X Occasional User
Posts: 297
Registered for: 14 years
Location: Netherlands

Drawbridges

Postby tonius11 » Fri Jan 28, 2011 4:48 pm

Hey all, I have found out something cool about the pathset file that places drawbridges in a city.

In the PATHS Editor in MM2CT, when you type "open:" before the object name of a bridge, the bridge will stay open in-game, like in the Megamod! And if you type "inactive:" before the object name, the bridge will stay closed.

I don't know if this also works for the other pathset files, but I just wanted to share this cool little thing. :wink:
[url=https://www.mm2x.com/page.php?name=Downloads&d_op=viewdownloaddetails&cid=65&lid=923&ttitle=Default_Cars_Traffic_Mod#dldetails][img]https://dl.dropbox.com/u/4604962/GetTrafficMod.jpg[/img][/url]

User avatar
sajmon14
MM2X VIP Member
MM2X VIP Member
Posts: 5321
Registered for: 16 years 2 months
Location: Poland
Contact:
Poland

Postby sajmon14 » Fri Jan 28, 2011 4:52 pm

Wow, that's great, I may try use it in one of my maps

User avatar
Franch88
MM2X Admin
MM2X Admin
Posts: 15758
Registered for: 16 years 10 months
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Fri Jan 28, 2011 7:53 pm

Interesting, so is possible decide if the objects that works like bascule bridges have to stay always opened or always closed. But, if you want to make a such thing in an your city, just add an INST or PROP object that looks like an opened or a closed bridge.
The bridges used by the game are PKG objects, they can be added in an your city in these different ways.
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|

User avatar
tonius11
MM2X Occasional User
MM2X Occasional User
Posts: 297
Registered for: 14 years
Location: Netherlands

Postby tonius11 » Fri Jan 28, 2011 8:27 pm

With PROPS or INST, you cannot change the angle of a standard bridge object in a way that it looks like an open bridge. That's when the bridge pathset file is useful.
[url=https://www.mm2x.com/page.php?name=Downloads&d_op=viewdownloaddetails&cid=65&lid=923&ttitle=Default_Cars_Traffic_Mod#dldetails][img]https://dl.dropbox.com/u/4604962/GetTrafficMod.jpg[/img][/url]

User avatar
Franch88
MM2X Admin
MM2X Admin
Posts: 15758
Registered for: 16 years 10 months
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Fri Jan 28, 2011 9:28 pm

Yeah, that's right, but is good do what I've said in case the bridge object is made by yourself. If you want to use the default game ones, that looks closed by default, to have it opened, so rotated in a certain angle, instead to edit them and make them new objects of your city, use the way suggested by you. It's a pretty particular occasion, anyway.
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|