[A12d] Tools for haul. Animal will help us! V1.5d 22-10-2015

Started by BBream, April 17, 2015, 06:32:23 AM

Previous topic - Next topic

BBream

Tools for haul

Description:
Hello.

Hauling item(especially raider's corpse) make me annoy. So I have made mod for cart.
It can be interact with colonists and animal.

Also, I have made backpack for storing equipment, meal and shell. In combat, you may need consumable item like rocket or meal.

Change Log
  V1.5d
  - Finding items logic is changed.
  - JobDriver_HaulWithCart is improved.
  - DrawPos is adjusted for big animal.

  V1.5c
  - Now cart's maximum item become 4.
  - Backpack's maximum stack is 50 per item.
  - Bugs related to door are fixed.
  - Dismount Policy is changed: Home Area => Storage zone for cart or Cell near cart
  - Now cart is not used if Hauling item is less than 50 persent of maximum item capacity(Typically less than 2 items).
  - Cart wheel is rotated if cart is moving.

Cart
- Cart can be made on smith table. Cost is 80 steel
- Cart can be mounted. Colonist use it for colllecting 4 items or 400 stacks at once
Also, cart can be mounted on animal and animal can haul 4 items or 400 stacks per body size.
For example, muffalo has 2.0 body size and factor is 4.
- For hauling with animal, just mount cart on animal. But animal should be tamed and trained for 'Obeidence'.
- Cart can be stored in specific stockpile you setup.

Backpack
- Backpack can be made in Tailor. Cost is 50 Fiberic.
- Backpack is accessory so you cannot wear with personal shield.
- Backpack can hold 1~6 items or 50 stack per item. It is affected quality.
- Backpack can use for hauling item.
- Backpack has own gizmo UI.

Saddle
- Saddle can be mounted on animal and colonist can ride animal has saddle.
- You can give move command to rider by using 'Move' gizmo.

Author/Mod Team
BBream - Modder
Latta - Translating to korean language.

Thanks for sharing:
mrofa - Sharing cart texture
Shinzy - Sharing saddle texture
Haplo - JobGiver code in 'Miscellaneous w MAI' and 'Basic Dll tutorial'
Orion - Item_convertable in 'More Mechanoid'
Wastelander - ITab and JobGiver, JobDriver code in 'Prison Improvement'
Alistaire - Sharing download button


Download
Dropbox:
- [A12d]V1.5d

- [A12d]V1.5c   https://www.dropbox.com/s/sb11smwceuhvsrf/ToolsForHaul-V1.5c.zip?dl=0
- [A12d]V1.5b   https://www.dropbox.com/s/vxgrubp0upfrmz1/ToolsForHaul-V1.5b.zip?dl=0
- [A12d]V1.5a   https://www.dropbox.com/s/8hi2tgqo3yj8vjo/ToolsForHaul-V1.5a.zip?dl=0
- [A12d]V1.4b   https://www.dropbox.com/s/ksedy7zobr1w6ij/ToolsForHaul-V1.4b.zip?dl=0
- [A12d]V1.4a   https://www.dropbox.com/s/d2wp4yuiobir841/ToolsForHaul_V1.4a.zip?dl=0
- [A12d]V1.4     https://www.dropbox.com/s/syek5asz48xebfv/ToolsForHaul-V1.4.zip?dl=0
- [A11b]V1.3a    https://www.dropbox.com/s/y4c85klxqin803c/ToolsForHaulV1.3a.zip?dl=0

Github: https://github.com/BBream/ToolsForHaul

How to install:
- Unzip the contents and place them in your RimWorld/Mods folder.
- Activate the mod in the mod menu in the game.

Change Log


Known issue:
- Backpack has been covered if pawn wear apparel has shell layer(Ex duster, jacket...).
- Backpack's last item is roughly decided so colonist remain haulable in backpack.

Change Log:
V1.5b
  - Texture is changed. Thanks for sharing it, mrofa!
  - Critical Bug that make colonist idle is fixed.
  - Backpack bug is fixed but need to check it is fine in a lot of case.
  - Code is refined and separated from release mod. You can download code from github.

V1.5a
  - 5 bugs are fixed. See this. https://github.com/BBream/ToolsForHaul/issues?q=is%3Aissue+is%3Aclosed
  - Animals can haul item depending on their body size. For example, muffalo has 2.0 body size and factor is 4.
  So, muffalo can haul 8 items. You can see body size in information window.(Carring capacity)

V1.5
  - Cart can be mounted in animal's back. For this, Animal should be trained for 'Obeidence' and bigger than human.(baseBodySize >= 1.0)
  This is list of animal can mount cart:
    Warg, Husky, LabradorRetriever, Elk, Thrumbo, Boomalope, Muffalo, Rhinoceros, Dromedary, Elephant, Cow, Alpaca.
  - Cart has been nerfed. Maximum items humanlike can haul with cart is changed from 6 items or 600 stacks to 3 items or 300 stacks.
  [s]Instead, Maximum items animal can haul with cart is 6 items or 600 stacks.[/s]
  - Saddle is added. Saddle can be mounted in animal's back. Human can board on Animal has saddle like riding horse.
  Rider would attack if enemy is close enough.
  - 'Drop All' button is added in Cart's Gear inspector tab.
V1.4b
  - Backpack bug is fixed. After just starting game and picking up backpack, error is occured.
  - Backpack bug is fixed. Hauling with backpack has problem when backpack is empty.
  - Now Colonist will check temperature is safe enough(80'C below) to do hauling job.
  - Hauling with cart logic is changed. See https://ludeon.com/forums/index.php?topic=12282.msg175662#msg175662

V1.4a
  - Backpack gizmo's drop floating menu bug is fixed. It was made disappear equipment try to drop.
  - Backpack is now used for hauling. Priority of using tool is Backpack - Cart - Hand.
    Before they start hauling with backpack, they will remember backpack's item that already put in and won't drop it.
V1.4
  - Fixed for Alpha 12d
V1.3a
  - Cargo renamed 'Cart'
  - Fixed for Alpha 11b
V1.2a
  - Collecting and droping logic is changed. The colonist will collect and drop it while standing if it can reach in standing position.
  - Fixed bug that Cargo cannnot draw in while being carried by hand
  - Chunkslag may not print holder error message. If you see this error, please report me.

V1.2
  - Cargo is added new tab for filtering item. Cargo will be used just filtered item.
  - Cargo can be deconstructed by float menu button. It return 40 steels.
  - Korean language is available. Thanks Latta for translating.
  - Bug fix, memory optimization.

V1.1c
  - Save-load bug that try register new pawn if game is saved while hauling with cargo.

V1.1b
  - Memory lick removed.

V1.1a
  - Holder error message is not printed anymore.
  - Fixed backpack bug that cannot use and should reequip after loading game.

V1.1
  - Backpack UI is improved. UI provide basic inventory function and you can use medicine, meal, equipment by pusing icon.
  - Cargo now check storage priority.
  - Cargo 'Ignore Forbidden' Gizmo is removed.
  - Fixed critical bug that cannot haul item while game. If you have previous version(V1.0b), you should install new version and toggle all item for fixing it.

V1.0b
  - Cargo can store item in storage building.

V1.0a
  - Cargo collect not just 6 items but also 600 stacks. it can collect 600 potatos.
  - Holder error message is fixed but still rarely printed. But it has no problem.
  - Fixed bugs that colonist do not haul job even if haulable items exist.
  - Backpack has been small neff. it need to make 50 fiberic and move speed reduce 0.05c/s

V1.0
  - Inital release
  - Fix saving error and backpack malfunction.
V0.4
  - WorkType 'Driving' have merged 'Haul'.



Screenshot

Cart



Backpack



Saddle





License


This work is licensed under a Creative Commons Attribution 4.0 International License.
Exception of license:
Texture shared(Cart, Saddle)

Match

I've been tracking this in the WIP section. Can't wait to try it!

TrashMan


Riftmaster

Mad idea generated.

Vehicles, drive-able by colonists.  Unsure if possible.
First, muffalo-drawn cart/wagon.
Second, steam tractor pulling cart/wagon/trailers
Third, ethanol-powered tractor pulling cart/wagon/trailers (requires associated ethanol refining plant, and lots of corn)
Optional could be battery-powered, or even a "train" that runs along power conduit

Related events - vehicle crash.

I am full of crazy ideas, but I rarely do anything about them...

BBream

Quote from: Riftmaster on April 17, 2015, 01:18:03 PM
Mad idea generated.

Vehicles, drive-able by colonists.  Unsure if possible.
First, muffalo-drawn cart/wagon.
Second, steam tractor pulling cart/wagon/trailers
Third, ethanol-powered tractor pulling cart/wagon/trailers (requires associated ethanol refining plant, and lots of corn)
Optional could be battery-powered, or even a "train" that runs along power conduit

Related events - vehicle crash.

I am full of crazy ideas, but I rarely do anything about them...

You think about carriage, train and subtrain, don't you?

First idea is possible but muffalo has half speed of human. I think human-drawn cart needs nerf like reducing number of storage and speed. Or it can be added part of joy. The rides! ;D

Second, third, optional idea is possible. I need to make new pawn just follow rail. It will be quite heavy work. Texture for train, Deciding concept of train. Beer powered train? How could you think like mad idea? haha I feel smell steam of beer!

Incident is quite challenge for me. I have never tried incident coding. But I imagine block gate for train. In block gate, it could occur accident.

Wow! you have great idea. Actually, I don't have idea for improving mod. It will be funny. I'll remember this idea.

Killaim

awesome - its - awesome

now i just need colonists to not have the no haul trait and im super happy :D

but this here is perfect - thank you.

BBream

Wow! a tons of great ideas!
- Carriages.
- Vehicle with turret mobile artilery
- Scooter/ORV/or Segway-style vehicle, stretcher
- Other kinds of vehicle, backpack
- Survival Backpacks Exploring and Reasons
- Food Service Trolley.
- Automatic hauler.

Slywyn

Backpacks really should have been in the base game. Visitors and Pirates can carry stuff in their inventory, why can't colonists? This is great, thank you.



«Temple»

Hey, this mod doesn't work with EdB's Prepare carefully, I reinstalled multiple times but EdB's Prepare Carefully's interface doesn't show up, I already posted something on EdB's Prepare Carefully's page about this problem and I hope it gets resolved.

beany_for_ever


«Temple»

Thanks for posting a screenshot of it I don't know how to take in-game screenshots xD

«Temple»


EdB

Quote from: Hunter00064 on April 18, 2015, 10:47:03 PM
Quote from: beany_for_ever on April 18, 2015, 10:28:26 PM
Here is the error:
Do you mind posting this picture on EdB's prepare carefully aswell?

Please download version 1.8.2 of Prepare Carefully if you're running into this issue.  It has a fix.