Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 INI Customisation and Help » Bobby Ray's homepage online
Bobby Ray's homepage online[message #357548] Sat, 15 June 2019 16:24 Go to next message
Avenger

 
Messages:10
Registered:June 2019
Hello everyone,

I'd like to change the moment when Bobby Ray's homepage comes online. I'm not sure whether this is after liberating the first city or the first one with an airport by default.

Does anyone know how and where to change this setting?
Re: Bobby Ray's homepage online[message #357549 is a reply to message #357548] Sat, 15 June 2019 16:46 Go to previous messageGo to next message
silversurfer

 
Messages:2632
Registered:May 2009
Bobby Ray becomes available when you liberate the first shipping sector. In default 1.13 this can be Drassen or Meduna airport but you can mod other destinations. For example you can add sector A9 as shipping destination and have BR enabled as soon as you land there and win the initial battle.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Re: Bobby Ray's homepage online[message #357550 is a reply to message #357549] Sat, 15 June 2019 18:55 Go to previous messageGo to next message
Avenger

 
Messages:10
Registered:June 2019
It worked! I definded a crate in A10 as a shipping destination and as soon as I enter this sector after the inital battle, I can have orders shipped there.

Very nice, thanks for the tip!
Re: Bobby Ray's homepage online[message #358802 is a reply to message #357550] Thu, 16 January 2020 08:52 Go to previous messageGo to next message
ZedJA2

 
Messages:205
Registered:January 2018
Very cool question and answer. Thanks to both.

Do you have to actually have a crate on the map already placed to use this method, or does defining the location already place the crate once BR does its shipment drop?

In other words, do I have to use the Map Editor first and place a crate, or otherwise choose a map location with a crate pre-placed to use a sector as the new shipment location for BR.
Re: Bobby Ray's homepage online[message #358805 is a reply to message #358802] Thu, 16 January 2020 13:56 Go to previous message
Kitty

 
Messages:129
Registered:October 2017
Location: Germany
@ZedJA2

The most prominent example for changed availability of Bobby Ray being online might be Arulco Revistited (AR) by JAsmine and Beka.


AR mod_settings.ini

[Airport]
;1st Airport. Used for leaving equipment on merc dismissal, dropped air raid feature & squad insertion gridno from heli
AIRPORT_X = 6
AIRPORT_Y = 8
HELI_SQUAD_DROPOFF_GRIDNO = 9699

;2nd Airport. Not used, referenced for dropped air raid feature
AIRPORT2_X = 3
AIRPORT2_Y = 14

[Bobby Ray]
;Bobby Ray stuff. ShippingDestinations.xml values also has to be set
BOBBYR_SHIPPING_DEST_SECTOR_X = 6
BOBBYR_SHIPPING_DEST_SECTOR_Y = 8
BOBBYR_SHIPPING_DEST_SECTOR_Z = 0
BOBBYR_SHIPPING_DEST_GRIDNO = 11609
PABLOS_STOLEN_DEST_GRIDNO = 1
LOST_SHIPMENT_GRIDNO = 2

------------

Sector Y = 8 is H
Sector X = 6 is 6

therefore this is refering to Mapsector H6 which, on AR maps, is Estoni Airport.
For the AR maps this will result in Bobby Ray available after liberating Estoni Airport (this is added by AR maps and is not the Junkyard)

BOBBYR_SHIPPING_DEST_GRIDNO = 11609

When you open the AR-map H6 with map-editor you can find a crate at GridNo 11609 (when hovering your mouse over grids in the bottom left of map-editor the number is shown)

---------------

Beside mod-settings.ini you also have to change TableData\Map\ShippingDestinations.xml and TableData\Map\DeliveryMethods.xml


AR Shipping Destination.xml


<DESTINATION>
<uiIndex>2</uiIndex>
<name>Estoni</name>
<ubMapX>6</ubMapX>
<ubMapY>8</ubMapY>
<ubMapZ>0</ubMapZ>
<sGridNo>11609</sGridNo>

As you can see, same GridNo here

In Shipping Destination you define where stuff will be delivered to and which cities show up in scroll-down menu of destination
at Bobby ray websites order-form.

Delivery Methods define how much you have to pay for shipment to towns and the differences in payment for overnight express, 2 day
or standard delivery (therefore each city has to have entries in all three categories, take a look)

-----------------

A very good example for what needs to be done is S&F Minimod by goc man, look here:

http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=332944&

--------------

You can do both, place a new crate or use on existing one, what matters is that the gridNo is defined
in mod_settings.ini (for Bobby Ray) and ShippingDestinations.xml (for Bobby Ray and also for anywhere else you want
stuff to be delivered to). There has to be a crate at the defined GridNo otherwise you will have no place to pick it up.

[Updated on: Thu, 16 January 2020 14:09]




I need more details.

(Didi Hallervorden)
Previous Topic: Queen's Reinforcement pool
Next Topic: Disable or lower the rate of counterattacks and reinforcments
Goto Forum:
  


Current Time: Thu Feb 27 22:58:10 EET 2020

Total time taken to generate the page: 0.01326 seconds