Ludeon Forums

RimWorld => Mods => Unfinished => Topic started by: Rimrue on April 22, 2017, 03:15:07 AM

Title: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Rimrue on April 22, 2017, 03:15:07 AM
I am a complete noob at this, having only started trying to make my own mods in the last couple of weeks, but my goal is to add some new tribal items to the game.

So far I have succeeded in creating a new board game joy item called Three Stones Game. It works exactly like the chess game, but has a tribal theme.

I've also added a joy object called Tribal Lore Fire. It's a place for tribals to gather and share stories with each other. It also gives a small Social skill boost. It's not quite what I had in mind when I started making the mod, but my skills just aren't that good yet. Lol

I'm still in the process of attempting to create a joy item called hoop and arrows which will work exactly like the horseshoe game, but, again, with a tribal flavour. If I can figure out how to get into the DLL files to find the horseshoe game code, I should have this done fairly shortly. Or if someone wants to take pity on me and do it for me, I'd be forever appreciative. Lol

I don't think there are any bugs with it, but if you spot any, please let me know so I can fix them.

(https://steamuserimages-a.akamaihd.net/ugc/799796132127957636/CCA4A26DFE95622BF01B5587CB4AF228A861DFA6/?interpolation=lanczos-none&output-format=jpeg&output-quality=95&fit=inside%7C637:358&composite-to%3D%2A%2C%2A%7C637%3A358&background-color=black) (https://steamuserimages-a.akamaihd.net/ugc/799796405599465737/5F961AD2D30FC5CC846F2F110D7991C7912D33E0/?interpolation=lanczos-none&output-format=jpeg&output-quality=95&fit=inside%7C637:358&composite-to%3D%2A%2C%2A%7C637%3A358&background-color=black)

I've also created a set of blanket beds (single and double). Made from fabric or hides, they're a step up from sleeping on the ground.

Again, I don't think there are any bugs with it, but if you spot any, please let me know so I can fix them.

(https://steamuserimages-a.akamaihd.net/ugc/799796132130163396/59A9DDDDE78D21F66980C6D643A24C43CCA29497/?interpolation=lanczos-none&output-format=jpeg&output-quality=95&fit=inside%7C637:358&composite-to%3D%2A%2C%2A%7C637%3A358&background-color=black) (https://steamuserimages-a.akamaihd.net/ugc/799796132130163686/9306B69713854DAD64E5C2F353CB7AE54889D517/?interpolation=lanczos-none&output-format=jpeg&output-quality=95&fit=inside%7C637:358&composite-to%3D%2A%2C%2A%7C637%3A358&background-color=black)

Just added a new mod called Tribal Production. It adds new crafting spots for art, brewing, butchering, and stonecutting. It also adds some new tribal artwork (totems and rugs) and a crafting basket which boosts productivity.

Tailoring spot now added. You can now make woven hats and cloaks made of grass or softened bark. :)

There are no major bugs that I could find, but there does seem to be a glitch with the stonecutting where types of blocks are counted together instead of individually in the "do until you have" bill. I hope to sort that out soon.

Also it overwrites the hay defs so it may conflict with other mods.

(https://steamuserimages-a.akamaihd.net/ugc/799796254102385431/2BEDFBCFEC2CA257F43A48DB34F5029F3429F335/?interpolation=lanczos-none&output-format=jpeg&output-quality=95&fit=inside%7C637:358&composite-to%3D%2A%2C%2A%7C637%3A358&background-color=black) (https://steamuserimages-a.akamaihd.net/ugc/799796405599778471/70510A530E49BED253EEB10A6BA72ABDF3D4382E/?interpolation=lanczos-none&output-format=jpeg&output-quality=95&fit=inside%7C637:358&composite-to%3D%2A%2C%2A%7C637%3A358&background-color=black)

Tribal Joy V16.1.1 on Steam:
http://steamcommunity.com/sharedfiles/filedetails/?id=910594028 (http://steamcommunity.com/sharedfiles/filedetails/?id=910594028)

Tribal Joy V16.1.1 on Dropbox:
https://www.dropbox.com/s/9evckj8wmyfmyqd/Tribal_Joy.zip?dl=0 (https://www.dropbox.com/s/9evckj8wmyfmyqd/Tribal_Joy.zip?dl=0)

Tribal Beds V16.1.0 on Steam:
http://steamcommunity.com/sharedfiles/filedetails/?id=911999206 (http://steamcommunity.com/sharedfiles/filedetails/?id=911999206)

Tribal beds V16.1.0 on Dropbox:
https://www.dropbox.com/s/bvsi91xzxj8eczm/TribalBeds.zip?dl=0 (https://www.dropbox.com/s/bvsi91xzxj8eczm/TribalBeds.zip?dl=0)

Tribal Production V16.1.3 on Steam:
http://steamcommunity.com/sharedfiles/filedetails/?id=912820972 (http://steamcommunity.com/sharedfiles/filedetails/?id=912820972)

Tribal Production V16.1.3 on Dropbox:
https://www.dropbox.com/s/tyd8fpm9omymih1/Tribal_Production.zip?dl=0 (https://www.dropbox.com/s/tyd8fpm9omymih1/Tribal_Production.zip?dl=0)

If you want to use any of these in a modpack, feel free, just please credit me. :)

Also, I am in the process of creating my own modpack using these plus some others that work well for tribals. Watch for it soon! :)

Thanks and enjoy!
Title: Re: [A16][WIP] Tribal Joy Items
Post by: AngleWyrm on April 22, 2017, 04:04:18 AM

(https://s-media-cache-ak0.pinimg.com/originals/7d/18/8b/7d188b9945c0d6863b376815f7f2c34d.jpg)Got a picture of that tribal flavor?

And maybe a not-steam download link?
Title: Re: [A16][WIP] Tribal Joy Items
Post by: Rimrue on April 22, 2017, 04:47:04 AM
Hi, yes, here's a picture.

(https://steamuserimages-a.akamaihd.net/ugc/799796029605922236/6A5C90CD2CEA23B43EA22538AFDC0AF65C9A6079/?interpolation=lanczos-none&output-format=jpeg&output-quality=95&fit=inside%7C637:358&composite-to%3D%2A%2C%2A%7C637%3A358&background-color=black)

Unfortunately, until I delete some things from my Dropbox account, I won't have another download link. Lol

Thanks!
Title: Re: [A16][WIP] Tribal Joy Items
Post by: SpaceDorf on April 22, 2017, 12:09:15 PM
Take a look into github.

It's code security, versioning system and release platform in one :)
And one of the few platforms I never had download problems with.

Title: Re: [A16][WIP] Tribal Joy Items
Post by: Rimrue on April 22, 2017, 01:02:50 PM
Thanks! I will look into github! :)
Title: Re: [A16][WIP] Tribal Joy Items
Post by: SpaceDorf on April 23, 2017, 07:00:45 AM
QuoteThen I'm going to really challenge myself and try to create a storytelling spot that will work something like the marriage and party spots. But I have really no idea what I am doing, so that may or may not happen. Lol

The Colony Leadership and Teaching (https://ludeon.com/forums/index.php?topic=29847.0) Mod has a teaching Table with a settable schedule and could be a nice inspirational source.


If you could add some tribal Artwork in there this would be great too ..
( Totempole, Painted Hide ) and a Torture Stake as Joy Item  ;D
Title: Re: [A16][WIP] Tribal Joy Items
Post by: Rimrue on April 23, 2017, 03:30:46 PM
Thanks, yes, I was thinking we needed some Tribal art. Love the idea of totems. :) I'm also thinking of also trying to add weavable objects as well as the carvable ones. Probably rugs or carpets that add beauty.

Thanks!
Title: Re: [A16][WIP] Tribal Joy Items
Post by: AngleWyrm on April 23, 2017, 04:44:53 PM

(https://s-media-cache-ak0.pinimg.com/736x/8e/96/27/8e9627de10415624b53142f3ea1d9b91.jpg)How about wicker baskets that hold more than a default stack size, for storage and travel?

Something that significantly reduces the amount of tile spaces occupied by stuff, so that storage rooms gain the quality of an efficient space when compared to just dumping things on the floor.
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Rimrue on April 23, 2017, 05:20:45 PM
I have an idea for a basket, but not sure I've got the coding skills to start modding storage. I'll look into it, though. :)

Thanks!
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Rimrue on April 25, 2017, 12:40:12 AM
Just added another tribal mod. Totems, check. Baskets, check.  8)

Still trying to figure out how to mod the dll files to create the hoop and arrows and storytelling spots. I downloaded Visual Studio, but can't seem to open the files.  :-\ If anyone wants to help, please let me know!

Thanks!
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Rimrue on April 26, 2017, 12:30:38 PM
Added Tribal Lore Fire to Tribal Joy and added Rug Weaving to Tribal Production. :)
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Tammabanana on April 29, 2017, 09:44:12 AM
Beautiful!
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: The-Eroks on April 29, 2017, 10:22:36 AM
This is really great! ;D This was something that I always thought was missing from RimWorld. Did you design the graphics yourself?

I'm working on a fantasy themed total conversion (https://ludeon.com/forums/index.php?topic=31476.0)... I'll definetly include your work as part of the project.
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Tammabanana on April 29, 2017, 10:46:45 AM
Quote from: Rimrue on April 25, 2017, 12:40:12 AM
Just added another tribal mod. Totems, check. Baskets, check.  8)

Still trying to figure out how to mod the dll files to create the hoop and arrows and storytelling spots. I downloaded Visual Studio, but can't seem to open the files.  :-\ If anyone wants to help, please let me know!

Thanks!

I don't know how to do any C# or Visual Studios! But a lot of RW modders use Zhentar's fork of ILSpy to peek into the Rimworld code, and I am pretty sure it works on Rimworld mods as well.

https://github.com/Zhentar/ILSpy/releases

(I think)
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Rimrue on April 29, 2017, 12:45:52 PM
Quote from: The-Eroks on April 29, 2017, 10:22:36 AM
This is really great! ;D This was something that I always thought was missing from RimWorld. Did you design the graphics yourself?

I'm working on a fantasy themed total conversion (https://ludeon.com/forums/index.php?topic=31476.0)... I'll definetly include your work as part of the project.

Cool! I drew the beds and the board game. The other graphics (rugs, totems, basket, etc.) are purchased stock art images.

Thanks!
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Rimrue on April 29, 2017, 12:49:28 PM
Quote from: Tammabanana on April 29, 2017, 10:46:45 AM
Quote from: Rimrue on April 25, 2017, 12:40:12 AM
Just added another tribal mod. Totems, check. Baskets, check.  8)

Still trying to figure out how to mod the dll files to create the hoop and arrows and storytelling spots. I downloaded Visual Studio, but can't seem to open the files.  :-\ If anyone wants to help, please let me know!

Thanks!

I don't know how to do any C# or Visual Studios! But a lot of RW modders use Zhentar's fork of ILSpy to peek into the Rimworld code, and I am pretty sure it works on Rimworld mods as well.

https://github.com/Zhentar/ILSpy/releases

(I think)

Thanks! I figured out how to get into them and found the files that need tweaking. Just have no idea how to create a dll now. Lol

Thanks!
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Hydromancerx on April 29, 2017, 01:17:54 PM
Awesome Tikis!
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Tammabanana on April 30, 2017, 09:21:54 AM
Quote from: Rimrue on April 29, 2017, 12:49:28 PM
Thanks! I figured out how to get into them and found the files that need tweaking. Just have no idea how to create a dll now. Lol

Thanks!

Maybe some info here?

http://rimworldwiki.com/wiki/Modding_Tutorials

I think... Merthsoft? made a video tutorial on the topic? I'll see if I can find it. I mean, I didn't fully understand it, so it might not be the thing relevant to what you're doing, but I remember it was like Visual Studio finding a thing to tweak, tweaking it, and then compiling it or something?

Edit to add: Might be the youtube in this thread? https://ludeon.com/forums/index.php?topic=26784.msg270989#msg270989
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Rimrue on April 30, 2017, 07:12:01 PM
Ooooh! Thanks, I should've thought to check the wiki. Lol I'll dig into that. The code I want to create is pretty simple, so I should be able to figure it out soon. :)

BTW, since I'm asking, can someone help me figure out how to get graphics to randomize? I'd like to include more totems without creating a recipe for each one.

Thanks!
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Tammabanana on May 02, 2017, 02:20:25 PM
Quote from: Rimrue on April 30, 2017, 07:12:01 PM
BTW, since I'm asking, can someone help me figure out how to get graphics to randomize? I'd like to include more totems without creating a recipe for each one.

Thanks!

I can, a little!

Core Art files: https://ludeon.com/forums/index.php?topic=2325.msg295603#msg295603

Download the file from Skully's link. Those are most of the artz for Rimworld. There's a naming convention for randomized ones; look at the Sculptureblahblahblah files for an example. They're basically all named the same thing, except with an A or B or C suffix.

In the Core Mod: Defs\ThingDefs_Buildings\Buildings_Art.xml

Have a look at the Sculpture buildings. It's this part that randomizes the graphics:


<graphicData>
      <graphicClass>Graphic_Random</graphicClass>
      <texPath>Things/Building/Art/SculptureSmall</texPath>
    </graphicData>


It's entirely possible that I'm missing some other necessary aspect, because I haven't ever tried this myself - but that's a start. And anything I'm missing ought to also be somewhere in the Sculpture examples. I think!
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Rimrue on May 02, 2017, 04:34:41 PM
Thanks! I thought I had copied the naming conventions properly, but maybe not.

Guess I will just have to keep fiddling until I figure it out. Lol
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Shinzy on May 02, 2017, 04:53:28 PM
Ooh! Tamma is half-right!
the name on the texture doesn't matter however. When you randomize something the path you specify for the graphic refers to an entire folder

so in the case of the sculpture
<texPath>Things/Building/Art/SculptureSmall</texPath>
the SculptureSmall is the name of the folder where all the random textures are held

I believe you'll be unable to use rotatable objects or things that use masks when using randomised graphic class (although I could be wrong in this)
Edit: incase I don't make any sense, just ax me to rephrase everything
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Rimrue on May 02, 2017, 05:25:38 PM
Thanks! That makes total sense. I will give that a go. Yay. More totems. Lol
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Rimrue on May 02, 2017, 06:45:22 PM
It didn't work. :(
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Tammabanana on May 02, 2017, 08:21:03 PM
D'oh!
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Rimrue on May 02, 2017, 10:26:02 PM
I figured it out! I had forgotten to delete the single image files from the folder so the game was finding them and throwing an error. But the random graphics work now! Yay!

Thanks!
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Rimrue on May 03, 2017, 07:15:42 AM
New tailoring spot and researching spot added. Plus hats! And more totems! :)
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Rimrue on May 03, 2017, 07:24:58 PM
Added woven cloaks now to Tribal Production. :)

There was a problem with old graphics throwing errors on the Steam version. Can anyone let me know if this is still a problem?

Thanks!
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: AngleWyrm on May 03, 2017, 07:53:43 PM

(https://s-media-cache-ak0.pinimg.com/564x/07/57/2d/07572dec8380cfc799ae179446b43594.jpg)Grats on chasing down that bug. It's fun when you finally catch them, isn't it?

A suggestion for the first post:
Group all the download links together in one spot
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Rimrue on May 03, 2017, 09:41:55 PM
Not sure if fun is the right word, but definitely a relief. Lol

I can move the links to the bottom of the post if that makes it easier. :)

Thanks!
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Napple on May 04, 2017, 12:11:12 AM
Is this compatible with Nandonalt's camping spot mod since it already has a butchering spot.
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Rimrue on May 04, 2017, 12:46:30 AM
Yes it is. :)
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: AngleWyrm on May 14, 2017, 03:04:27 AM

(https://s6.postimg.org/lokzixuj5/shit_Creek.jpg)The tribal lore fire pit graphic isn't in the v1.1 download (dropbox), and puts a magenta no-graphic in the GUI and on the map.

Can I please get an update?
Pweeeeeeze?

Thanks with sugar and spice and everything nice
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Rimrue on May 14, 2017, 02:47:32 PM
Sorry about that! I will fix! :-[
Title: Re: [A16][WIP] Tribal Items (Joy, Beds, Art, etc.)
Post by: Rimrue on May 14, 2017, 04:49:19 PM
Uploaded a new file to Dropbox with the Tribal Lore Fire texture. Let me know if there is still an issue!

Thanks!