UnReal World forums

UnReal World => Modding => Mod Releases => Topic started by: Galgana on July 24, 2020, 05:55:23 AM

Title: Cethegus sledwagon reborn
Post by: Galgana on July 24, 2020, 05:55:23 AM
Hauling logs around is such a pain when you're building a cabin. I put together a retooled version of Cethegus's sledwagon from the old forum (https://www.tapatalk.com/groups/urwforum/use-cooking-armor-repair-proposition-brainfarts-t4838.html), so now it uses a loading mechanism inspired by Privateer's quiver mod (https://www.unrealworld.fi/forums/index.php?topic=5499.0).

Due to the nature of single-product crafting recipes, unloading cargo would destroy the sledwagon in the original mod. Privateer's quiver mod temporarily turns arrows into fish so they can be put into a container. Normally, items placed in a container cannot be recovered from the inventory, so another crafting recipe is needed to produce items by weight from the container's contents.

I applied the same concept to the sledwagon, effectively making it a glorified tub instead of a boat. Its standalone weight is 25 lbs (which seems to be the maximum property for the base object). Since logs are generally too heavy to lift, the recipe for loading cargo converts logs into a token 5% of the original weight (from 400 to 20 lbs). I've set the sledwagon's carrying capacity to 240 lbs which should be enough to return 2 walls' worth of logs. If your bull is capable of carrying a 500-pound tree trunk, this mod will let you load it up with cargo worth at least 24 logs at a time, which is ridiculously overpowered but convenient when you're committed to clearcutting a map tile for a farm. Be kind to your beasts of burden and spread the load if you can. Also, feel free to adjust the weights to your liking.

Unloading has a 1-minute preparation time to put logs on the ground. You must be able to lift the sledwagon in order to unload logs. I recommend reducing the container capacity and maximum batch/patch count if your character has a low encumbrance threshold.

I've provided alternate sprites for the sledwagon you can use depending on the season: skis for winter and wheels for summer. Changing the TILEGFX parameter from sledge to sledge1 will make stacking look a bit wonky since they'll be considered distinct enough to separate, so I recommend simply swapping the file name in your truetile folder.

Copy to DIY file:
Code: [Select]
[SUBMENU_START:transport]
.Sledwagon. "Wooden tub" *TIMBERCRAFT* /1h/ [effort:3] [phys:arms,stance] [assist:3] |-2| [noquality]
{Board} (8) [remove] [ground] '+for frame and skis'
{Block of wood} (4) [remove] [ground] [optional] '+for summertime wheels'
{Axe} <Carving axe> '+for shaping'
{Rope} =150= [remove] +'for securing loads'
[WEIGHT:25]
[CONT_CAPACITY:240]
[TILEGFX:sledge]

.Load cargo. "Roach" *COMMON* /10/ [patch:12] [effort:3] [phys:arms,stance] [assist:3] [noquality]
{Sledwagon*} [ground] 'stand near sledwagon'
{Log} [remove] [ground] [patchwise] [name:%s cargo] [naming:original]
[TILEGFX:log]
[MATERIAL:wood]
[SPOILAGE_DAYS:0]
[WEIGHT:20]

.Unload logs. "Log" *COMMON* /5/ \1\ [patch:12] [effort:3] [phys:arms,stance] [assist:3] [noquality]
{Sledwagon of log cargo} #20# [remove] [patchwise]
[NAME:Log]

[SUBMENU_END:transport]
Title: Re: Cethegus sledwagon reborn
Post by: BlankPaper on July 24, 2020, 07:04:54 AM
Fantastic mod, I'll definitely try it out! I've often wondered why we didn't have sleds or travois to facilitate hauling stuff around.
Title: Re: Cethegus sledwagon reborn
Post by: Privateer on July 24, 2020, 07:40:58 AM
 I'll be sure to try this out, but in the mean time, It seems like you gave a good deal of thought to making this work realistically/properly in game
and I applause that on it's own. Looks great!
And much better than the gamey minus weight implementation I settled on when I made a cart.
Title: Re: Cethegus sledwagon reborn
Post by: Wolvgar on November 03, 2020, 05:17:26 PM
how do you move the wagon?
push/ride/pull/ attach to animal?
Title: Re: Cethegus sledwagon reborn
Post by: Galgana on November 03, 2020, 09:36:06 PM
As with any container item, you can:
The game currently does not support riding or animal-powered pulling.

A pack animal is convenient for carrying a loaded wagon container, but not 100% necessary. Also not 100% necessary is putting cargo tokens immediately into the wagon container. The "unloading" mechanism works by having a filled wagon in your inventory, but you're allowed to pack cargo items by themselves onto an animal. However, it would look more immersive to have the wagon on the ground beside the animal for the loading activity.
Title: Re: Cethegus sledwagon reborn
Post by: Dungeon Smash on November 06, 2020, 12:00:47 AM
Wow!!! This is awesome!  Now I can finally make my dreams of a sled-dog team a reality... or rather, an UnReality... :P
Title: Re: Cethegus sledwagon reborn
Post by: Brygun on November 08, 2020, 12:52:12 AM
I think this is a great help. One of the tedious parts of replaying after so many times is the logging for a new stead and house.

For BAC users this is exactly the sort of thing you can put into the few remaining letter slots. Objects once created are stable so after doing all the logging you could free up the diy if you really needed to. This is meant as a support for this mod.

Title: Re: Cethegus sledwagon reborn
Post by: Ezezaguna on December 04, 2020, 02:28:09 PM
This is great  :D
Title: Re: Cethegus sledwagon reborn
Post by: Brygun on December 10, 2020, 10:19:01 AM
I have space in the BAC to add this under utility.

If you wish to have this removed let me know.

>>>>

Im tweaking the loaded token slightly so let me know if this might cause errors.

= Base object from "roach" (a food) to "hunting horn". The horn is used a lot as a safe base object.

= Removed spoilage entry as its no longer food

= Set to category tool to avoid accidental selection as a burnable without unmaking the token

= Added to unload having the sled wagon nearby, so people dont just run off with logs in their pocket and will actually move the sled

Title: Re: Cethegus sledwagon reborn
Post by: Brygun on December 10, 2020, 11:08:52 AM
This is the variant for the BAC that went under utility. Note renaming of graphic for gg-sledge. Also the special naming code for the loaded logs was removed my wording is a little different. Tested this is Novrus went ok.

// Galgana's Cethegus sledwagon reborn
//
// from https://www.unrealworld.fi/forums/index.php?topic=5673.0
// adapted to BAC with minor edits, wheels now madatory
// Sled build time longer from 1h to 2h

.Sledwagon. "Wooden tub"   *TIMBERCRAFT*   /2h/ [effort:3] [phys:arms,stance] [assist:3] |-2| [noquality]
{Board}      (8)   [remove] [ground] '+for frame and skis'
{Block of wood}   (4)   [remove] [ground] '+for summertime wheels'
{Axe} <Carving axe>   '+for shaping'
{Rope}   =150=      [remove] +'for securing loads'
[WEIGHT:25]
[CONT_CAPACITY:240]
[TILEGFX:gg-sledge]

.Load sled. "Hunting Horn"   *COMMON*   /10/ [patch:12] [effort:3] [phys:arms,stance] [assist:3] [noquality]
{Sledwagon*}   [ground] '+ stand near sledwagon'
{Log}      [remove] [ground] [patchwise]
[NAME:Sledwagon of log cargo]
[TILEGFX:log]
[MATERIAL:wood]
[TYPE:tool]
[WEIGHT:20]

.Unload sled. "Log"   *COMMON*   /5/ \1\ [patch:12] [effort:3] [phys:arms,stance] [assist:3] [noquality]
{Sledwagon*}   [ground] '+ stand near sledwagon'
{Sledwagon of log cargo}   #20#   [remove] [patchwise]
[NAME:Log]
Title: Re: Cethegus sledwagon reborn
Post by: Privateer on December 11, 2020, 12:31:54 AM
Im tweaking the loaded token slightly so let me know if this might cause errors.

= Base object from "roach" (a food) to "hunting horn". The horn is used a lot as a safe base object.

= Removed spoilage entry as its no longer food

= Set to category tool to avoid accidental selection as a burnable without unmaking the token

= Added to unload having the sled wagon nearby, so people dont just run off with logs in their pocket and will actually move the sled

 The changes you have made fundamentally changes what is actually happening in this mod. In my perspective this breaks his sledwagon where objects are loaded though game mechanic (a)pply, (p)our or put something it, and loading "solid objects" be they arrows or logs.
Title: Re: Cethegus sledwagon reborn
Post by: Brygun on December 11, 2020, 01:18:19 AM
So the use or "Roach" as a base object was to fit into the container?

Title: Re: Cethegus sledwagon reborn
Post by: Privateer on December 11, 2020, 02:29:52 AM
So the use or "Roach" as a base object was to fit into the container?

Yes any 'food' item can be put into containers. By controlling the weight of the item you can then make a mod to pull out only the actual amount (without inadvertently consuming part of the container). One issue is that pulling out IS a task and thus item quality is set on pull out. For arrows I used the vanilla arrow recipe so that the player gets the arrows they can make.
 With logs since all quality should be decent the quality issue doesn't exist like it would if you put in other non-vanilla craftable items like axes.
Title: Re: Cethegus sledwagon reborn (BAC edition)
Post by: Galgana on December 11, 2020, 02:33:01 AM
I'm reminded of the phrase "putting the cart before the horse" and would like to make suggestions for how to improve the sledwagon's integration with BAC:

Pulling harness added to adjust the work order for loading as part of replacing the food-container mechanics that were featured in the thread:

Code: [Select]
[SUBMENU_START:tying equipment]

// Order of loading:
// select pack animal(s)
// attach harness (Shift+P to push onto animal)
// set sledwagon on ground
// load cargo
// push sledwagon onto lead pack animal
// travel and profit
//
// NOTE: pigs and sheep are not ideal pack animals.

.Pulling harness. "Leather rope" *HIDEWORKING* /30/ [effort:1] [phys:arms,hands] [assist:2] |-2|
{Leather rope} =30= [remove] [LENGTH:30] [name:dog harness] '+to fit dog'
{Leather rope} =15= [remove] [optional] [LENGTH:45] [name:reindeer harness] 'more rope to fit reindeer'
{Leather rope} =60= [remove] [optional] [LENGTH:90] [name:ox harness] 'more rope to fit oxen'
// 30 ft for dogs
// 45 ft for reindeer
// 90 ft for cattle

[SUBMENU_END:tying equipment]

Base item of sledwagon changed to punt, weight adjusted to 15 lbs (explained in notes);
Added slender tree trunk cargo to represent felled young trees plus small trees such as rowan or alder:

Code: [Select]
// Sledwagon has been promoted to [TYPE:vehicle] for BAC edition
// as loading no longer relies on food-container mechanics based on Privateer's quiver mod:
// https://www.unrealworld.fi/forums/index.php?topic=5499.0
//
// Standard for BULL pulling power takes into account the fact
// that maximum load for owned animals equals body weight.
// A 500-pound BULL is capable of unassisted carrying: 1 trunk = 500 lbs;
// weight reductions for loaded material considered accordingly:
//
// CALCULATING LOGS
// 5% log = 400 reduced to 20 lbs;
// 24 units log cargo = haul worth 9600 lbs in real weight.
//
// CALCULATING SLENDER TREE TRUNKS (small or young trees)
// 9600 lbs of real weight = 192 slender trunks
// approximately worth 48 young/small trees
// (yielding between 3-5 slender trunks per chop);
// young trees evidently weigh 150-250 lbs
// THEREFORE
// 20% slender trunk = reduced 50 to 10 lbs
//
// Vehicle status allows water transportation as an unintended side-effect;
// until flotation mechanics are implemented (should be [FLOTATION:0]),
// sledwagon at [WEIGHT:15] can ferry loads weighing below 3000 lbs (7 logs).
// As a watercraft, the sledwagon can bear up to 149 units of log cargo
// at a nominal 2980 lbs, representative of 59600 lbs in real weight);
// 144 logs is enough to build 24 walls and leftover logs may be cut into boards
// (5 logs = 100 boards = 16 units of wood building interior + shutters for 2 walls).
//
// Floating logs on a sledwagon is not recommended.
//
// Range of carrying capacity (pull power) for individual/lead beasts of burden
// with sledwagon (15 lbs), harness (between 2-6 lbs) and units of log cargo:
//
// 750-lbs large BULL 36 logs
// 500-lbs BULL 23 logs
// 450-lbs small BULL 21 logs
// 280-lbs small COW 12 logs
// 350-lbs large REINDEER 16 logs
// 160-lbs small REINDEER 7 logs
// 260-lbs large PIG 12 logs
// 150-lbs small PIG 6 logs
// 100-lbs large DOG 4 logs
// 60-lbs small DOG 2 logs
//
// some animal weight classes may carry +1 unit of log cargo
// as part of baggage train rather than the lead packer (carrying sledwagon)


.Sledwagon. "Punt" *CARPENTRY* /2h/ [effort:3] [phys:arms,stance] [assist:3] |-2| [noquality]
{Board} (8) [remove] [ground] '+for frame and skis'
{Block of wood} (2) [remove] [ground] '+to split for summertime wheels'
{Axe} <Carving axe> '+for shaping'
{Rope} =150= [remove] '+for securing loads'
{Leather tarp} [remove] '+to cover loads from weather'
[WEIGHT:15]
//[FLOTATION:0]
[TILEGFX:gg-sledge]

.Load logs. "Hunting horn" *COMMON* /10/ [patch:12] [effort:3] [phys:arms,stance] [assist:3] |-2| [noquality]
{Sledwagon} [ground] 'stand near sledwagon'
{Log} [remove] [ground] [patchwise]
[NAME:log cargo]
[WEIGHT:20]
[TILEGFX:log]

.Load slender trunks. "Hunting horn" *COMMON* /5/ [patch:24] [effort:3] [phys:arms,stance] [assist:3] |-2| [noquality]
{Sledwagon} [ground] 'stand near sledwagon'
{Slender trunk} [remove] [ground] [patchwise]
[NAME:slender trunk cargo]
[WEIGHT:10]
[TILEGFX:sltrunk]

.Unload logs. "Log" *COMMON* /5/ \1\ [patch:12] [effort:3] [phys:arms,stance] [assist:3] |-2| [noquality]
{Sledwagon} [ground] 'stand near sledwagon'
{log cargo} (1) [remove] [patchwise]
[NAME:Log]

.Unload slender trunks. "Slender tree trunk" *COMMON* /2/ \1\ [patch:24] [effort:3] [phys:arms,stance] [assist:3] |-2| [noquality]
{Sledwagon} [ground] 'stand near sledwagon'
{slender trunk cargo} (1) [remove] [patchwise]
[NAME:Slender tree trunk]
Title: Re: Cethegus sledwagon reborn
Post by: Brygun on December 11, 2020, 03:01:17 AM
Also thanks for allowing, discussion and correcting my not-roach error.



>>>

Discussion:

Base object Punt is no longer a container so doesn't fit the put it inside the container idea.

Not sure if we need to tweak the harness lengths. There is already a huge amount of rope being used.
Could just make the sledge recipe have to calls for rope, one for a generic harness, and then some lengths for tying down. Total maybe under the current 150 ft.

I like the idea of having the different things being possible.

Actually... the tree trunks are really needed. Logs are after trimming. That would make

tree turnks
logs
slender trunks

something you might collect in the sledge

Each of those takes 2 recipes, one to load and one to off load.

BAC integration is restricted by the limited menu space. I definitely like having tree trunks and logs. Maybe the slender logs.

I think keeping the put-in-container idea is better. Many players won't be reading the notes as to how much to put on a bull. Saying limit to container is much easier to "enforce".

Title: Re: Cethegus sledwagon reborn
Post by: Brygun on December 11, 2020, 03:09:14 AM
On Flotation

Currently we can't provide a flotation rating though it is my hope we one day wood.

I think the sled being a box shape is actually a floating shape so at least floating its own weight.

The trees and logs on it would be weird except that they themselves float.

I'm also considering using the sled on the Clinkered punt as that gives it a way to be towed overland.
Title: Re: Cethegus sledwagon reborn
Post by: Brygun on December 11, 2020, 03:40:44 AM
This is my next version for BAC. It uses the "Roach" for filling the container. I figured out the code to allow tree trunks and slender tree trunks as well as the original logs.


>>>>>

Code: [Select]
// Sledwagon
// Integration of Galgana's Cethegus sledwagon reborn
// Itself drawing on ideas from Privatter's quiver mod
//
// from https://www.unrealworld.fi/forums/index.php?topic=5673.0
// adapted to BAC with minor edits, wheels now madatory
// Sled build time longer from 1h to 2h
// Load efficiency is 1:20 original.
//

.Sledwagon. "Wooden tub" *TIMBERCRAFT* /2h/ [effort:3] [phys:arms,stance] [assist:3] |-2| [noquality]
{Board} (8) [remove] [ground] '+ for frame and skis'
{Block of wood} (4) [remove] [ground] '+ for summertime wheels'
{Axe} <Carving axe> '+ for shaping'
{Rope} =40= [remove] '+ for pulling harness'
{Rope} =60= [remove] '+ for securing loads'
[WEIGHT:25]
[CONT_CAPACITY:240]
[TILEGFX:gg-sledge]


.Load tree trunk. "Roach" *COMMON* /10/ [patch:9] [effort:3] [phys:arms,stance] [assist:3] [noquality]
{Sledwagon*} [ground] '+ stand near sledwagon'
{Tree trunk} [remove] [ground] [patchwise]
[NAME:Tree trunk on sled]
[TILEGFX:Trunk]
[MATERIAL:wood]
[WEIGHT:25]

.Offload tree trunk. "Tree trunk" *COMMON* /5/ \1\ [patch:12] [effort:3] [phys:arms,stance] [assist:3] [noquality]
{Sledwagon*} [ground] '+ stand near sledwagon'
{Tree trunk on sled} #25# [remove] [patchwise]
[NAME:tree trunk]


.Load log. "Roach" *COMMON* /10/ [patch:12] [effort:3] [phys:arms,stance] [assist:3] [noquality]
{Sledwagon*} [ground] '+ stand near sledwagon'
{Log} [remove] [ground] [patchwise]
[NAME:Log on sled]
[TILEGFX:log]
[MATERIAL:wood]
[WEIGHT:20]

.Offload log. "Log" *COMMON* /5/ \1\ [patch:12] [effort:3] [phys:arms,stance] [assist:3] [noquality]
{Sledwagon*} [ground] '+ stand near sledwagon'
{Log on sled} #20# [remove] [patchwise]
[NAME:Log]

.Load slender trunk. "Roach" *COMMON* /10/ [patch:12] [effort:3] [phys:arms,stance] [assist:3] [noquality]
{Sledwagon*} [ground] '+ stand near sledwagon'
{Slender trunk} [remove] [ground] [patchwise]
[NAME:Slender trunk on sled]
[TILEGFX:sltrunk]
[MATERIAL:wood]
[WEIGHT:2.5]

.Offload slender tree trunk. "Slender tree trunk" *COMMON* /5/ \1\ [patch:12] [effort:3] [phys:arms,stance] [assist:3] [noquality]
{Sledwagon*} [ground] '+ stand near sledwagon'
{Slender trunk on sled} #2.5# [remove] [patchwise]
[NAME:Slender tree trunk]
Title: Re: Cethegus sledwagon reborn
Post by: Brygun on December 11, 2020, 04:15:46 AM
Also tested a clinkered punt load, offload then go boating.

Oddly as a food item when dropped it needs one clock tick to go from "being prepared" to being available.

I think was a good thing you guys did. 

Now with the tree trunks you can have woodsman NPCs come do mass loggings with you and get them back to the stead. This means leaving scenic woods around your stead or using the trees from the farms a few tiles away. The punt is just a bonus.

Title: Re: Cethegus sledwagon reborn
Post by: Galgana on December 13, 2020, 01:22:31 AM
Oddly as a food item when dropped it needs one clock tick to go from "being prepared" to being available.

Unloading has a 1-minute preparation time to put logs on the ground.

Perhaps I should have elaborated on the \1\ minute prep time in the original post. My intent is to have objects automatically placed on the ground when offloaded rather than making the player become encumbered by upwards several thousand pounds, seeing that crafted objects (trunks, logs, etc. in this case) are typically returned to the inventory. So auto-drop should save a few keystrokes.
Title: Re: Cethegus sledwagon reborn
Post by: Brygun on December 25, 2020, 08:11:34 AM
Feedback on the expanded with slender trunks

Without putting the tokens in the container as intended there is still a load limit on what the character can carry. Im using carry rather than drag the sled, not sure if that is as intended. In this way Tuukka was moving a mixed load of tree trunks and slenders. He was limited by how much he could actually carry which tended to be around 4-5 big trees and a handful of slenders if he was thick winter clothing and gear.

>>>>

Also...

Wow does this make cabins so much more manageable. Thank you for this!
Title: Re: Cethegus sledwagon reborn
Post by: Brygun on January 02, 2021, 10:46:11 PM
"stale tree trunk on sleds"  :o

Tuukka brought a big reindeer with him to work a larger load back. I saw this in the reindeer inventory onto the second day of distant logging.

One wonders if the tree trunks go spoiled will the game code block them being offloaded.



Title: Re: Cethegus sledwagon reborn
Post by: Galgana on January 02, 2021, 11:21:03 PM
"stale tree trunk on sleds"  :o

Tuukka brought a big reindeer with him to work a larger load back. I saw this in the reindeer inventory onto the second day of distant logging.

One wonders if the tree trunks go spoiled will the game code block them being offloaded.

You better use the [SPOILAGE_DAYS:0] tag while handling cargo in the version with fish as the base item.
Title: Re: Cethegus sledwagon reborn
Post by: Brygun on January 05, 2021, 05:35:00 AM
Thanks again for the mod.

Tuukka is able to plan large scale moves with it. Because of how it no longer needs the haul mode you can use the wilderness map. That means the player doesnt have run 100s of keystrokes to come from a short away forest. Instead its 3 keys of movement. This makes the whole "over there" logging plausible to play.