Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: move equipment via assignment
New feature: move equipment via assignment[message #323880] Sun, 11 August 2013 18:40 Go to next message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
Move equipment via assignment

While it feels good to conquer liberate a huge town and then posess tons of loot, I am no stranger to the dread feeling of 'How the fuck do I move all this to my HQ?'. Especially with 'Drop All' turned on, the game produces lots of items, and moving them from city sector to city sector takes a long time: equip merc, move to other sector, drop all gear, send back, repeat... this becomes tedious (I have stopped some invasions because I didn't want to deal with that). :heavy: Militia equipment eases that somewhat, but the main problem remains.

For this reason, I created a new assignment: move items from A to B.

http://i44.tinypic.com/2nqth7k.jpg
As we dont want to send Laura and Meltdown to pick up stuff in the airport and move it to the mine manually, we assign them to MOVEITEM. We then select the sector from which they should move stuff to their current sector. Only sectors in the town we currently are in can be selected, and only if they are free of enemies.

http://i42.tinypic.com/15yivyf.jpg
On Meltdown's portrait, the sector she is taking stuff from is shown, and the symbol, well, shows that she's moving stuff.

http://i44.tinypic.com/2yll7qx.jpg
Perhaps we don't want to move abolutely everything. In this case, we want to leave weapons, ammo an armour for 4 militia. We can therefore mark items via TAB + CTRL + Leftclick. Marked items will not be moved by your mercs. You can toggle this display with the new button on top of the inventory.
This marking also works even if none of your mercs are in this sector.

http://i44.tinypic.com/2efkos7.jpg
At 8.00, the assignment was evaluated. The two mercs moved quite a lot of stuff, but not all (it was too much for one hour), and none of the marked items.
Your 'movers' will move up to
30 * number of movers * 6 / distance to sector
items, or up to
40 * number of movers * 6 / distance to sector
kilos of equipment. Depending on the weight they moved, they can also train strength and health a bit.

You might notice that moving stuff manually might be a bit more effective (ingame :whistle: ), as you can move a bit more with the right LBE gear. That is intentional. If you really want to move thousands upon thousands of items per hand, then by all means, do so. You will be more effective, but lose valuable time in real life. Which you could spend creating more loot in virtual life. Or whatever it is you do. This feature merely aims to save time for the player (moving the entire sector inventory instantly would have been a lot easier, but would break balance/immersion/traditionalists temper).

The current equipment, LBE gear, fatigue or health of the mercs doing the moving has no influence on this.

There are no options for this feature. If you don't want to use it, just don't.

This does not break savegame compatibility. However, you WILL need a GameDir revision >= 1723. The game will crash otherwise, as it won't find the new button and icon images.

This was committed to the trunk in r6280 and GameDir r1723.

Edit: r6282 greatly increases calculation speed on huge sectors (> 5k items).

Edit2: r6288 fixes inaccessible items and CTDs in certain circumstances.

[Updated on: Sun, 18 August 2013 21:27] by Moderator

Report message to a moderator

Captain

Re: New feature: move equipment via assignment[message #323886] Sun, 11 August 2013 19:50 Go to previous messageGo to next message
silversurfer

 
Messages:2791
Registered:May 2009
You are one busy man... Very Happy

Nice feature! I have a question. Do we have to prepare the mercs inventory in some way or do they move equipment in some virtual crate? I just want to make sure that they don't accidentally drop their own gear in the destination sector.

Report message to a moderator

Lieutenant
Re: New feature: move equipment via assignment[message #323887] Sun, 11 August 2013 20:02 Go to previous messageGo to next message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
Good question. No. Equipped items, LBE gear, fatigue, weight, and health all have no influence on this. The only thing influencing how much stuff gets moved is distance to the sector. Items are moved in the order they are stored internally, which is FIFO.

And, to be very precise: As we stop moving stuff only once max number of items or max weigth has been exceeded, it is possible to move a bit more... if we already moved 179 items and can move 180, we would still move a stack of 16 armours, as only then we are above our 180. Simply because I have no intention to split stacks.

Report message to a moderator

Captain

Re: New feature: move equipment via assignment[message #323888] Sun, 11 August 2013 20:07 Go to previous messageGo to next message
Sam Hotte

 
Messages:1965
Registered:March 2009
Location: Middle of Germany
:super:

Report message to a moderator

Sergeant Major
Re: New feature: move equipment via assignment[message #323890] Sun, 11 August 2013 20:19 Go to previous messageGo to next message
pheloncab is currently offline pheloncab

 
Messages:278
Registered:August 2004
Location: So. Cal. or texas
This is exactly the kinda feature that they needed to have added to like wildfire or even 1.12 to make the game friendlier, it would have boosted their sales..

you definitely earned a whole 6-pack on this one.

Report message to a moderator

Master Sergeant
Re: New feature: move equipment via assignment[message #323891] Sun, 11 August 2013 20:40 Go to previous messageGo to next message
deknegt is currently offline deknegt

 
Messages:140
Registered:June 2007
Location: Doetinchem, Netherlands
Flugente, it must be asked...

Are you a goverment created super computer capable of conquering the world and/or making awesome mods without breaking a sweat?

Because you are a fucking machine, this stuff is awesome. I ask for it 2 days ago and you create it like it's nothing, I wish I had your talents man. The day you stop modding for 1.13 we will all lose one of the best modders around.

Awesome, finally my MERC noobs have more to do than sit on their asses whilst my main team goes around shooting people in the face.

[Updated on: Sun, 11 August 2013 20:42] by Moderator

Report message to a moderator

Sergeant
Re: New feature: move equipment via assignment[message #323894] Sun, 11 August 2013 22:06 Go to previous messageGo to next message
Gorro der Grüne is currently offline Gorro der Grüne

 
Messages:1448
Registered:March 2009
Location: Broadwurschd-City
One question my dear Warzenente -yet annother name for Flug or Barberieducks-

If transportation is faster than doing it by hand, DOES it cost something?

It should.

Report message to a moderator

Sergeant Major
Re: New feature: move equipment via assignment[message #323898] Sun, 11 August 2013 22:55 Go to previous messageGo to next message
Uriens is currently offline Uriens

 
Messages:345
Registered:July 2006
Thank you very much for this. Love the feature.

Report message to a moderator

Master Sergeant
Re: New feature: move equipment via assignment[message #323901] Sun, 11 August 2013 23:16 Go to previous messageGo to next message
silversurfer

 
Messages:2791
Registered:May 2009
Gorro der Gr

Report message to a moderator

Lieutenant
Re: New feature: move equipment via assignment[message #323903] Sun, 11 August 2013 23:21 Go to previous messageGo to next message
Sam Hotte

 
Messages:1965
Registered:March 2009
Location: Middle of Germany
Gorro der Gr

[Updated on: Sun, 11 August 2013 23:22] by Moderator

Report message to a moderator

Sergeant Major
Re: New feature: move equipment via assignment[message #323906] Sun, 11 August 2013 23:26 Go to previous messageGo to next message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
With the proper equipment (TIMS and other LBE with a lot of bags, or even MOLLE) manually equipping empty mercs is more efficient. In a way, this also costs money, as you still need mercs to do the assignment.

I'll probably do an update soon, I'm not satisfied with speed in sectors with > 6K items.

As the question came up on IRC: This also does not work for underground sectors. The reason is that coding the menu entries for the assignment took me at least 8 times longer than the movement stuff itself. The UI is a horrible place. It would be hard to make it less useable. Some stuff is so awful that I think it was done on purpose. Like having 2 BOOLEANS called fShowAssignmentMenu and fShownAssignmentMenu in the same functions. Underground sectors would need another popup. The movement part is trivial.

Edit: Update in r6282 increases speed of calculation, reducing the 'hiccup' on full hour if the sector you move stuff to has many items.

[Updated on: Mon, 12 August 2013 00:33] by Moderator

Report message to a moderator

Captain

Re: New feature: move equipment via assignment[message #323909] Sun, 11 August 2013 23:37 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3653
Registered:July 2009
Sad
It's clearing cellars like (AIM)Orta that really sucks, not shoveling a quarter inv screen into a trunk with a few keystrokes. Thankfully, those cellars are rare.
Nice one nonetheless though.

Report message to a moderator

Captain

Re: New feature: move equipment via assignment[message #323914] Mon, 12 August 2013 02:00 Go to previous messageGo to next message
friendslayer is currently offline friendslayer

 
Messages:10
Registered:July 2005
Location: Aachen/Aix-la-Chapelle/Ak...
Flugente


(I have stopped some invasions because I didn't want to deal with that). :


I absolutely agree with this sentence. Atm i am not playing 1.13. But from time to time i take a look at the forum here. And this feature is perhaps small (dont know the mechanics), but it will save me a huge amount of not so liked management.

Thanks Ente!

ENTE, ENTE, ENTE, ENTE, ENTE, ENTE, ENTE, Wie gehts noch mal weiter???

Report message to a moderator

Private
Re: New feature: move equipment via assignment[message #323916] Mon, 12 August 2013 03:32 Go to previous messageGo to next message
Bambusar is currently offline Bambusar

 
Messages:63
Registered:July 2012
http://i.imgur.com/Qhl0r1U.jpg

No more tears!
Thx flug!

Report message to a moderator

Corporal
Re: New feature: move equipment via assignment[message #323918] Mon, 12 August 2013 07:55 Go to previous messageGo to next message
sidew is currently offline sidew

 
Messages:47
Registered:June 2012
OMG O_o

Where, where the latest SCI.....

Report message to a moderator

Corporal
Re: New feature: move equipment via assignment[message #323920] Mon, 12 August 2013 09:54 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3653
Registered:July 2009
...
Read my thread ... or at least the brightly colored second paragraph or so.

Report message to a moderator

Captain

Re: New feature: move equipment via assignment[message #323965] Wed, 14 August 2013 09:03 Go to previous messageGo to next message
teapot156 is currently offline teapot156

 
Messages:13
Registered:October 2012
Wow, ok thats really friggin useful. Thanks Flugente!

Report message to a moderator

Private
Re: New feature: move equipment via assignment[message #324007] Thu, 15 August 2013 14:21 Go to previous messageGo to next message
Elvis_A is currently offline Elvis_A

 
Messages:282
Registered:December 2012
Location: exUSSR
Well I have an idea:
- is it possible to move items from town to town with help from Skyrider? or increase range by 2-3 sectors around town when using hammer/ice cream truck?

What would happen with items transported by assigned merc if enemy are going to attack sector?

[Updated on: Thu, 15 August 2013 18:32] by Moderator

Report message to a moderator

Master Sergeant
Re: New feature: move equipment via assignment[message #324015] Thu, 15 August 2013 22:31 Go to previous messageGo to next message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
It is easily possible to expand this to any sector (underground is a bit more tricky). Theoretically, moving stuff from Meduna swamps to Drassen is as easy to do as moving inside Drassen - the code is in place, this would be a change of ~3lines.

However, I will not allow that and not even offer the option for this. This is simply there to save time when moving equipment, while still using roughly the same resources (=manpower) that manual moving of items would. For this reason, I won't allow item movement if the 'real' action it replaces it would take longer than one hour (the assignment update time), which movement outside town would. Especially as outside town you could get into fights etc., which this cannot simulate. Also, this would mean that the assignment also 'blocks' the heli or a car, which will be quite tricky with assignments.

Item movement can only happen if the merc used for it is conscious and had enough time for that assignment (just like all other assignemnt). If his sector and the sector he takes stuff from are yours and peaceful the moment the clock hits :00, items will be moved. Otherwise not.

For simplicity reasons, I do not check sectors in between. So you could move Drassen airport items to Drassen mine even if the Drassen middle sector is still ocupied by the enemy. Otherwise I would have to code full-blwon topology checks (in case some makes a 20-tile city just to make my life hard Wink ).

Report message to a moderator

Captain

Re: New feature: move equipment via assignment[message #324044] Fri, 16 August 2013 23:04 Go to previous messageGo to next message
LootFragg is currently offline LootFragg

 
Messages:349
Registered:August 2009
Location: Berlin, Germany
Wow. Thanks. Good idea.

Report message to a moderator

Master Sergeant
Re: New feature: move equipment via assignment[message #324236] Thu, 22 August 2013 18:41 Go to previous messageGo to next message
SmokinGun is currently offline SmokinGun

 
Messages:69
Registered:June 2007
Location: Land of New Rising Sun
Flugente
This was committed to the trunk in r6280 and GameDir r1723.

Edit: r6282 greatly increases calculation speed on huge sectors (> 5k items).

Edit2: r6288 fixes inaccessible items and CTDs in certain circumstances.


Curious as to where r6288 and GameDir r1723 can be downloaded from?

Also wondering what the difference is between the r6288 and the r1723 versions? Guessing r6288 is the latest game version, no clue what "GameDir 1723" is?

Seems the latest downloadable build I could find is 6279/1722. Looking for 6288/1723. Thanks.

Report message to a moderator

Corporal
Re: New feature: move equipment via assignment[message #324237] Thu, 22 August 2013 18:57 Go to previous messageGo to next message
Gambigobilla

 
Messages:693
Registered:July 2008
Those are SVN revisions of source code and data files. r6228 is for source code files required to compile game exe. r1723 is game data files (images, sounds, XMLs, pretty much everything other than exe).

For game data; https://ja2svn.no-ip.org/source/ja2_v1.13_data/GameDir
For source code; https://ja2svn.no-ip.org/source/ja2/trunk/GameSource/ja2_v1.13/Build

While you can reach these addresses with your web browser, it's not recommended. Here is a post made by Marlboro Man explaining how to use SVN, but that post is old and the adresses are wrong, use the addresses i posted instead.

Report message to a moderator

First Sergeant
Re: New feature: move equipment via assignment[message #324238] Thu, 22 August 2013 19:02 Go to previous messageGo to next message
Sam Hotte

 
Messages:1965
Registered:March 2009
Location: Middle of Germany
Place to download is Depri's thread as usual. just give him some time to compile and organize things.
Or use SVN to constantly keep up2date (but have to compile your own .exe then or still get it from Depri).
Those revision numbers are mainly for those using SVN to sort things out on their own; if you rely on Depri's SCIs then don't bother too much. Smile

[Updated on: Thu, 22 August 2013 19:03] by Moderator

Report message to a moderator

Sergeant Major
Re: New feature: move equipment via assignment[message #324240] Thu, 22 August 2013 20:03 Go to previous messageGo to next message
Uriens is currently offline Uriens

 
Messages:345
Registered:July 2006
Flugente
It is easily possible to expand this to any sector (underground is a bit more tricky). Theoretically, moving stuff from Meduna swamps to Drassen is as easy to do as moving inside Drassen - the code is in place, this would be a change of ~3lines.

However, I will not allow that and not even offer the option for this. This is simply there to save time when moving equipment, while still using roughly the same resources (=manpower) that manual moving of items would. For this reason, I won't allow item movement if the 'real' action it replaces it would take longer than one hour (the assignment update time), which movement outside town would. Especially as outside town you could get into fights etc., which this cannot simulate. Also, this would mean that the assignment also 'blocks' the heli or a car, which will be quite tricky with assignments.

Item movement can only happen if the merc used for it is conscious and had enough time for that assignment (just like all other assignemnt). If his sector and the sector he takes stuff from are yours and peaceful the moment the clock hits :00, items will be moved. Otherwise not.

For simplicity reasons, I do not check sectors in between. So you could move Drassen airport items to Drassen mine even if the Drassen middle sector is still ocupied by the enemy. Otherwise I would have to code full-blwon topology checks (in case some makes a 20-tile city just to make my life hard Wink ).


I just had an idea. While this feature is great and will help reduce micromanagement it would be so much better if it would indeed include moving items in between towns. This usually comes handy when you move your base from Drassen to Cambria or when you take some of the corner towns and want to ferry the loot back to base. I have a few ideas (or brainfarts, I'll leave decision to you :crazy:) that you may find handy:

1) Abstracting item movement and calling it for example - 'organizing supply convoy' where you assign a merc(s) to that task, charges you a sum of money (probably configurable by distance, total weight and ini settings) and takes some time (probably again set by distance. It would work only in between 2 cities you completely control.
2) Expanding on this, you may add a xml with sector list that have to be clear of enemy troops in order for convoy to be available. For example, some of the roadblocks in between Alma and Drassen should be clear before the convoy task becomes available for those 2 cities.
3) This one could be best IMHO; using facilities for town to town item transfer. Have a post office, or small airfield facilities to ferry stuff between them. If you say, have control of post office in Cambria and post office in Drassen, you could ferry stuff in between them. It would of course require mercs to be assigned to both facilities and it would cost money and take time. This way a modder or player can fully control what locations would be connected and how much it would require to operate them. Even set some hazards for them to make things even more risky, like all facilities can have.

Report message to a moderator

Master Sergeant
Re: New feature: move equipment via assignment[message #324250] Fri, 23 August 2013 04:41 Go to previous messageGo to next message
pheloncab is currently offline pheloncab

 
Messages:278
Registered:August 2004
Location: So. Cal. or texas
I Like it as option #3, a postal/courier service sounds like a way to go if it can be coded easy enough.. and thats much less abusable than xml or convoy.

Report message to a moderator

Master Sergeant
Re: New feature: move equipment via assignment[message #324253] Fri, 23 August 2013 10:23 Go to previous messageGo to next message
sidew is currently offline sidew

 
Messages:47
Registered:June 2012
I prefer the second option. Before you can move you must clean not only the two cities but also the road between cities.

I find more suitable for mod like Arulco Revisited, that they have some roadblock and guard post on theri road network.

Report message to a moderator

Corporal
Re: New feature: move equipment via assignment[message #324262] Fri, 23 August 2013 13:42 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3653
Registered:July 2009
Sam_Hotte
Place to download is Depri's thread as usual. just give him some time to compile and organize things.
Or use SVN to constantly keep up2date (but have to compile your own .exe then or still get it from Depri).
Those revision numbers are mainly for those using SVN to sort things out on their own; if you rely on Depri's SCIs then don't bother too much. Smile
Yes, and in particular read the note I left in my thread before you waste more time searching.

Report message to a moderator

Captain

Re: New feature: move equipment via assignment[message #324266] Fri, 23 August 2013 16:13 Go to previous messageGo to next message
Sam Hotte

 
Messages:1965
Registered:March 2009
Location: Middle of Germany
How dare you going on vacation ... Wink

SCNR.

Report message to a moderator

Sergeant Major
Re: New feature: move equipment via assignment[message #324809] Fri, 06 September 2013 07:13 Go to previous messageGo to next message
SmokinGun is currently offline SmokinGun

 
Messages:69
Registered:June 2007
Location: Land of New Rising Sun
Gambigobilla
For game data; https://ja2svn.no-ip.org/source/ja2_v1.13_data/GameDir
For source code; https://ja2svn.no-ip.org/source/ja2/trunk/GameSource/ja2_v1.13/Build

Here is a post made by Marlboro Man explaining how to use SVN, but that post is old and the adresses are wrong, use the addresses i posted instead.


Thanks. M.M. mentions using 'Game Dir'(game data) via SVN to update the already installed 1.13. Do I also need to update the 'Build' (source code) via SVN? Confusing.

Ex.- I've installed 1.13 6322/1738. Now there's a new version 6343/1746. If I want to update to the new version, can I use SVN using the 2 links you provided (1 for data/1 for source code)?

Report message to a moderator

Corporal
Re: New feature: move equipment via assignment[message #324812] Fri, 06 September 2013 10:51 Go to previous messageGo to next message
Gambigobilla

 
Messages:693
Registered:July 2008
Just right click and select "svn update", source code is for compiling exe if you can't compile your own exe or don't have time check out DepressivesBrot's thread for Unstable Builds (not the Unstable SCI) he does exe-only releases too.

On a side note using your svn folder as your JA2 game folder is kind of bad. It's not all bad but might have problems with it. Update your game in a separate folder then copy the contents excluding invisible .svn folder into your game folder. Also you might want to exclude some files (especially ini and xml files which you made changes if any)

Report message to a moderator

First Sergeant
Re: New feature: move equipment via assignment[message #324815] Fri, 06 September 2013 12:07 Go to previous messageGo to next message
silversurfer

 
Messages:2791
Registered:May 2009
Gambigobilla

On a side note using your svn folder as your JA2 game folder is kind of bad. It's not all bad but might have problems with it.


This is indeed a bad idea because the player will usually make changes to files in his Ja2 folder and when he runs the next SVN update he will have lots of conflicts. Better keep Ja2 game folder and SVN folder separate.


Gambigobilla

Update your game in a separate folder then copy the contents excluding invisible .svn folder into your game folder. Also you might want to exclude some files (especially ini and xml files which you made changes if any)


Instead of "copy" I would export the SVN GamDir to some other folder and copy from there. With this method you won't have to manually exclude the .svn folders.

TortoiseSVN -> Export... -> Choose Location

Report message to a moderator

Lieutenant
Re: New feature: move equipment via assignment[message #324816] Fri, 06 September 2013 12:13 Go to previous messageGo to next message
Faalagorn is currently offline Faalagorn

 
Messages:153
Registered:February 2012
Location: Poland
If you want to save space, however, you can use symbolic links for big files to keep multiple installation. You can also edit location of some files in the VSF files.

Report message to a moderator

Staff Sergeant
Re: New feature: move equipment via assignment[message #325872] Sat, 28 September 2013 23:16 Go to previous messageGo to next message
kmoi is currently offline kmoi

 
Messages:39
Registered:September 2013
Really no love

Report message to a moderator

Private 1st Class
Re: New feature: move equipment via assignment[message #325912] Sun, 29 September 2013 14:22 Go to previous messageGo to next message
Zombiehunter is currently offline Zombiehunter

 
Messages:182
Registered:March 2011
Location: Franconia, Germany
kmoi
Really no love

Then don't use it, it is an optional feature, nobody is forcing you to use it.

Really what is going on in this forum lately? Someone is introducing a new feature and somebody will start whining about it. Just yesterday some guy whined about the food system. Then people whine about BigMaps, how Big Maps are too big.
Well, I got news for you, you don't like it? Don't use it! Install Vanilla JA2 and play it, till hell freezes over. FFS

-Zombie

Report message to a moderator

Staff Sergeant
Re: New feature: move equipment via assignment[message #335772] Sun, 14 September 2014 17:13 Go to previous messageGo to next message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
r7517 has two improvements for this feature:
  • To prevent confusion, 'MOVE ITEM' has been renamed 'GET ITEM'. This feature is about moving stuff from another sector to your current sector, but move might be a bit ambigious - now its 'Get', which should be clearer.
  • If you play with equippable militia, then this assignment has the drawback of moving critical gear away from your militia, which was bad. There are now new assignment menu entries:

    http://i61.tinypic.com/of98oy.png
    Selecting a 'no militia gear' entry will cause the merc to not move any gear that the militia might use. Of course this only appears if you play with MILITIA_USE_SECTOR_EQUIPMENT = TRUE to begin with, and it evaluates the other ini settings of that feature as well. This way you can safely loot a sector without accidentally disarming your militia in the process Wink

Report message to a moderator

Captain

Re: New feature: move equipment via assignment[message #335774] Sun, 14 September 2014 19:12 Go to previous messageGo to next message
grim is currently offline grim

 
Messages:344
Registered:July 2006
Location: France
Very nice improvements, Flugente.

- 'MOVE ITEM' was a bit misleading, yes. I wish we could make longer sentences like 'retrieve items from', but 'GET ITEM' is already more clear.

- Concerning the 'NO MILITIA GEAR', may i ask how it works to select the gear not to be taken? The game checks what the active militia of the sector might take if we went into tactical and tags it not to be retrieved? So until we go tactical in that sector the items will still appear in the sector inventory?

Report message to a moderator

Master Sergeant
Re: New feature: move equipment via assignment[message #335775] Sun, 14 September 2014 19:17 Go to previous messageGo to next message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
The taboo tags are ignored here. I simply check the item type. If there is a gun, we use militia equipment and have to equip them with guns, then we won't move that gun.

Report message to a moderator

Captain

Re: New feature: move equipment via assignment[message #340958 is a reply to message #335775] Mon, 11 May 2015 20:27 Go to previous messageGo to next message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
As I will very soon sit upon the combined gear of 383 dead soldiers and 63 dead militiamen in Cambria SAM (epic battle!!!11elf!!!) and want that mountain of gear in my HQ without taking time off, I am altering this feature a bit:
As of r7857, this assignment now also works on sectors adjacent to town sectors. Travel time calculations would be somewhat tricky for reasons I won't list here, so we assume traveling to a sector next of a town takes 2 hours, this extra time is taken into account. As a result, only very few items will be moved per hour.
This allows us to, say, park Squad Vulture with this assignment in Cambria SAM for a day and have them move stuff silently without that constant clicking, (un-)packing and movement ordering.



I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.

Report message to a moderator

Captain

Re: New feature: move equipment via assignment[message #340961 is a reply to message #340958] Tue, 12 May 2015 08:31 Go to previous messageGo to next message
smeagol is currently offline smeagol

 
Messages:2705
Registered:June 2008
Location: Bremen, Germany
Is it possible that the game somehow only works on vanilla city sectors? My mercs are unable to get stuff from Chitzena B1 and A1 to B2, although both sectors are defined as part of Chitzena in Bigmaps.

How about retrieving stuff from Chitzena SAM? That sector isn't adjacent to the city... also, what if a sector appears to be adjacent on the overview map but there is in fact a groundbarrier between them (like between Cambria and the Cambria SAM site in Bigmaps..)?

Report message to a moderator

Lieutenant

Re: New feature: move equipment via assignment[message #340964 is a reply to message #340961] Tue, 12 May 2015 13:49 Go to previous messageGo to previous message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
What happens if you edit the 1.13 xml to include A1 and B1 and temporarily remove all other instances of that xml?

Chitzena SAM is not adjacent, so no. Cambria SAM is adjacent, so yes.
Calculating travel time for mercs that aren't in a GROUP is not possible atm, and coding it would either require code violations or recoding separate travel time calculations. Which is both a lot of work for a feature that has the goal of actually simplifying things. Due to that, I just assume travel takes 2 hours. Whether there is a road, grounbdbarrier or warp rift between the two sectors is simply irrelevant.



I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.

Report message to a moderator

Captain

Previous Topic: New ammo type: cryo ammo
Next Topic: Proof of concept: JA2 in 3D
Goto Forum:
  


Current Time: Mon Dec 02 10:06:48 GMT+2 2024

Total time taken to generate the page: 0.03265 seconds