<!--quoteo(post=222244:date=Nov 19 2007, 02:47 PM:name=Pieter Boelen)--><div class='quotetop'>QUOTE(Pieter Boelen @ Nov 19 2007, 02:47 PM) [snapback]222244[/snapback]</div><div class='quotemain'><!--quotec--><!--quoteo(post=222138:date=Nov 18 2007, 08:55 PM:name=CouchcaptainCharles)--><div class='quotetop'>QUOTE(CouchcaptainCharles @ Nov 18 2007, 08:55 PM) [snapback]222138[/snapback]</div><div class='quotemain'><!--quotec-->These commands in the location\init files set the locatorradius in meters:
Locations[n].locators_radius.reload.sea_1_back = 2.0;<!--QuoteEnd--></div><!--QuoteEEnd-->Thanks a lot! That works brilliantly! <img src="style_emoticons/<#EMO_DIR#>/w00t.gif" style="vertical-align:middle" emoid="" border="0" alt="w00t.gif" />
<!--QuoteEnd--></div><!--QuoteEEnd-->
Nice! <img src="style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid="" border="0" alt="me.gif" />
However, to place the individual ship correctly to the pier, we need to know its width. Either an if-statement for every single shiptype in the piercode is necessary, or a new data field is required for each ship (width=xx) in ships_init.c.
(The latter would probably mess up every other instance that is looking up in the ships_init.c...)
Locations[n].locators_radius.reload.sea_1_back = 2.0;<!--QuoteEnd--></div><!--QuoteEEnd-->Thanks a lot! That works brilliantly! <img src="style_emoticons/<#EMO_DIR#>/w00t.gif" style="vertical-align:middle" emoid="" border="0" alt="w00t.gif" />
<!--QuoteEnd--></div><!--QuoteEEnd-->
Nice! <img src="style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid="" border="0" alt="me.gif" />
However, to place the individual ship correctly to the pier, we need to know its width. Either an if-statement for every single shiptype in the piercode is necessary, or a new data field is required for each ship (width=xx) in ships_init.c.
(The latter would probably mess up every other instance that is looking up in the ships_init.c...)