Ludeon Forums

RimWorld => Mods => Releases => Topic started by: EntityFramework on January 06, 2019, 02:11:40 PM

Title: [1.1] WeaponsAndOutfits 2019-1-6 for Rimworld [1.0]
Post by: EntityFramework on January 06, 2019, 02:11:40 PM
EDIT: Kind of forgot to mention that some months ago I had revamped this mod into WeaponOfChoice - Beta.
This mod variation allows you customize weapons as an independent system, not as part of the outfit's.
Make sure to use only one or the other, not both mods. And, as always, back up your game!


https://github.com/ErnestUTN/WeaponsOfChoice/releases




Version 1.1 Released!

Weapons And Outfits

(https://github.com/ErnestUTN/Rimworld_WeaponsAndOutfits/blob/master/About/preview.png?raw=true)

Description of the mod:
Minimal Vanilla Outfit modification:
Just like the apparel filter you have in the outfit's dialog menu, you will have one for weapons (equipment).Quality and hitpoints percentage filters works for this too . The idea is to just pick a few from the filter so that you can switch weapons quickly when raided (like hunter outfit -> Battle outfit) etc.

The pawn then will check if he is equipping that weapon. If true he will do nothing, otherwise he will look for the first weapon in his filter list available to pick up from storages. He will just go to the weapon, throw the one he is equipping, equip the desired one, and opportunistically will haul the weapon to the correct storage ( benefits from Pick Up And Haul mod )

Compatibility:

It works in existing savegames, and with existing custom outfits too.

I have tested it quite a while with this modlist and had no problems:


Core
HugsLib
BetterPawnControl
PathAvoid
While You are Up
PickUpAndHaul
P-Music
HeatMap
MedicalTab
AvoidFriendlyFire
Pharmacist
RimworldSearchAgency
AreaUnlocker
Miscellaneous_TrainingFacility
PriorityClean
MoreHarvestDesignators
kNumbers
Blueprints
GearUpAndGo
SnapOut


It greatly benefits from BetterPawnControl as you can imagine.

Incompatibility:
It might not be compatible with Outfitted or mods that modify the outfit dialog menu (not sure if also mods that modify outfits per se )

Known Issues:
1- Minor bug with workaround: Scroll Sliders won't appear for both filters if the weapon filter is not fully expanded. i.e : If you don't see sliders for the apparel filter when it should, try fully expanding the weapon filter too

Credits
Rimworld's Discord Mod Development channel for all the help regarding modding the game :)

Harmony's Discord Channel for the additional "patching process" help

NotFood's Outfitted code as the spiritual guide :P

Download Links

Github: https://github.com/ErnestUTN/Rimworld_WeaponsAndOutfits
Title: Re: [1.0] WeaponsAndOutfits 2018-1-6
Post by: Ashnal on January 06, 2019, 05:44:33 PM
Super happy to see this.

Unfortunately I can't use it because I used Infused and Outfitted. I'd love to see compatibility, and I notified Charlotte (NotFood) on the Outfitted mod page of it. Also, any chance for supporting Simple Sidearms? I'd love to see another selection window for sidearms as a part of outfits, with the stat priorities from outfitted. That's the dream.
Title: Re: [1.0] WeaponsAndOutfits 2018-1-6
Post by: EntityFramework on January 06, 2019, 06:27:56 PM
Glad you liked it !

Ikr. I also suggested him about it. It will likely be possible. Not sure about SideArms, since I don't know it that much though. I'll see it during the week :)
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: falconne on January 21, 2019, 04:07:49 AM
I was thinking, wouldn't it be better to separate this into a new weapons template and expand the Assign Tab to include that? I prefer to assign specific weapons to colonists based on their skill and my needs, so I'd want melee-pierce, melee-bash, ranged-precision, ranged-spray&pray, etc. However many of them would use the same apparel. A combined apparel and weapons template requires a lot more duplication and maintenance.
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: EntityFramework on January 21, 2019, 07:03:06 PM
Quote from: falconne on January 21, 2019, 04:07:49 AM
I was thinking, wouldn't it be better to separate this into a new weapons template and expand the Assign Tab to include that? I prefer to assign specific weapons to colonists based on their skill and my needs, so I'd want melee-pierce, melee-bash, ranged-precision, ranged-spray&pray, etc. However many of them would use the same apparel. A combined apparel and weapons template requires a lot more duplication and maintenance.

Is surely might be better since it would also give more freedom on code choices. I would have to change better pawn control to include it too..

I'll consider it this week
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: EntityFramework on January 27, 2019, 06:28:59 PM
Quote from: falconne on January 21, 2019, 04:07:49 AM
I was thinking, wouldn't it be better to separate this into a new weapons template and expand the Assign Tab to include that? I prefer to assign specific weapons to colonists based on their skill and my needs, so I'd want melee-pierce, melee-bash, ranged-precision, ranged-spray&pray, etc. However many of them would use the same apparel. A combined apparel and weapons template requires a lot more duplication and maintenance.

Right now, the revamping is getting tough.. But I don't think the combined apparel and weapons template list would be that long

I basically just separate into two groups:

1- All non combat pawns don't use Flak, Power armor, etc.. and the weapon choice is just trivial
2- All combat pawns use flak, power armor, etc and I create an outfit with the same apparel (flak, power armor, etc) and different weapons based on their skills

So I have:

- Heavy-Machine Gunner  (Pawns uses Flak, power armor and Heavy MG)
- Melee Slayer (Pawns uses Power armor and A LongBlade)
- Melee Basher (idem above but uses a non piercing melee)
- EMP grenadier, Frag Grenadier and so on
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: dragonfly3 on February 07, 2019, 11:11:18 AM
Just wanted to tell you that I tried this mod out yesterday, and so far I really like it. Having my pawns automatically equip weapons is such a timesaver, and it's nice to not have to micromanage that any more.

Thanks for making this mod!
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: EntityFramework on February 10, 2019, 04:50:28 PM
Quote from: dragonfly3 on February 07, 2019, 11:11:18 AM
Just wanted to tell you that I tried this mod out yesterday, and so far I really like it. Having my pawns automatically equip weapons is such a timesaver, and it's nice to not have to micromanage that any more.

Thanks for making this mod!

(//)


I'm really glad to hear that pal!, and that it has been working nice and easy so far.
As a sidenote, I'm pleased to tell you that a revamped version is almost finished in which weapon setups are aside from outfits (a different column in the assign table.
:D

[attachment deleted due to age]
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: Other_Olly on February 12, 2019, 02:12:05 PM
Man.  I have been wishing for this feature for ages.  Thanks so much.
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: mcduff on February 13, 2019, 10:14:58 AM
Great looking mod. For your next trick - make it work with Simple Sidearms!
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: Other_Olly on February 13, 2019, 03:12:08 PM
Simple Sidearms integration would indeed be pretty great.  I imagine it would be difficult, though.
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: falconne on February 13, 2019, 04:25:58 PM
Quote from: EntityFramework on February 10, 2019, 04:50:28 PM
I'm pleased to tell you that a revamped version is almost finished in which weapon setups are aside from outfits (a different column in the assign table.

That's awesome
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: EntityFramework on February 13, 2019, 06:59:06 PM
Thank you all for the comments :). Before the end of the week, I will try to release the beta of the revamped version. It should be compatible with the same mods as WeaponAndOutfits, but will try to integrate it onto other mods

Quote from: Other_Olly on February 13, 2019, 03:12:08 PM
Simple Sidearms integration would indeed be pretty great.  I imagine it would be difficult, though.

I wouldn't know it, since I haven't played with that mod. But the idea is to team up with the author of that mod and merge both mods.
I will make it compatible with Better Pawn Control, though.
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: Other_Olly on February 14, 2019, 04:18:26 PM
I'm having an issue where (nonviolent) pawns who have no weapon equipped will not automatically put on apparel from their assigned outfit.  Nor will they discard worn out items.  Whether they have a weapon equipped does seem to be the important variable.  Allowing them weapons that I don't have in stock doesn't solve the problem, but allowing weapons I do have causes them to pick up a weapon, and then start filling their apparel slots.  No errors seem to be generated by this issue.
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: falconne on February 17, 2019, 02:10:43 PM
Are you planning to put this in the Steam Workshop
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: EntityFramework on February 17, 2019, 05:00:34 PM
Quote from: Other_Olly on February 14, 2019, 04:18:26 PM
I'm having an issue where (nonviolent) pawns who have no weapon equipped will not automatically put on apparel from their assigned outfit.  Nor will they discard worn out items.  Whether they have a weapon equipped does seem to be the important variable.  Allowing them weapons that I don't have in stock doesn't solve the problem, but allowing weapons I do have causes them to pick up a weapon, and then start filling their apparel slots.  No errors seem to be generated by this issue.

Ahh Thanks for reporting that. Might be that the mod didn't take into account nonviolent pawns. I could try to fix that.. or you could try the new Beta Revamped version of this mod that I released just now here. :

Github page: https://github.com/ErnestUTN/WeaponsOfChoice/releases
Lurdeon Forums: https://ludeon.com/forums/index.php?topic=48068.0

You should not have issues disabling WeaponsAndOutfits and enabling this other.

Quote from: falconne on February 17, 2019, 02:10:43 PM
Are you planning to put this in the Steam Workshop

Not likely for two reasons:
1- I have the game drm-free So Can't post mods in steam
2- This mod will likely to be discontinued since the new revamped version might be better.. Check this:

Ludeon forums: https://ludeon.com/forums/index.php?topic=48068.0
Github Page: https://github.com/ErnestUTN/WeaponsOfChoice/releases

Make sure to disable weaponsAndOutfits.

Btw falconne, your heatmap mod is a super handy tool :), avoid friendly fire too!
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: tehchanman on February 18, 2019, 11:13:48 AM
just curious, would this be compatible with dual wield? would be amazing.
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: EntityFramework on February 18, 2019, 05:49:24 PM
Quote from: tehchanman on February 18, 2019, 11:13:48 AM
just curious, would this be compatible with dual wield? would be amazing.

I'm curious too, lol . I should see what are the changes in that mod. if it touches the outfit system it might not.
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: Other_Olly on May 01, 2019, 05:00:14 PM
Cool.  I'll try out the beta.  I think giving weapons their own assign section was a good idea.  It keeps one from having to create a lot of nearly identical outfits.
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: Rex705 on May 03, 2019, 06:52:16 AM
I would love to be able to choose what other factions can wear and equip. When you have a bunch of clothing and weapon mods factions can come out wearing a mix of everything and look stupid. So it would be nice to customize the factions to wear and equip the proper stuff.
Title: Re: [1.1] WeaponsAndOutfits 2018-1-6 for Rimworld [1.0]
Post by: EntityFramework on May 08, 2019, 07:13:00 PM
Quote from: Rex705 on May 03, 2019, 06:52:16 AM
I would love to be able to choose what other factions can wear and equip. When you have a bunch of clothing and weapon mods factions can come out wearing a mix of everything and look stupid. So it would be nice to customize the factions to wear and equip the proper stuff.

Ohh, I get it. Yeah.
Probably it wouldn't be a feature of this mod since this is only for the player, but i guess a similar gui to this could be used... somehow
Title: Re: [1.1] WeaponsAndOutfits 2019-1-6 for Rimworld [1.0]
Post by: account13123 on May 21, 2019, 11:47:45 AM
I'm doing some testing to see what the best trait/bionic combinations are and this involves making over a dozen pawns swap weapons over a dozen times. I'm NOT doing that manually lmao.

It's absolutely silly that this isn't a stock feature, thanks for making this.
Title: Re: [1.1] WeaponsAndOutfits 2019-1-6 for Rimworld [1.0]
Post by: EntityFramework on May 24, 2019, 07:36:52 PM
Quote from: account13123 on May 21, 2019, 11:47:45 AM
I'm doing some testing to see what the best trait/bionic combinations are and this involves making over a dozen pawns swap weapons over a dozen times. I'm NOT doing that manually lmao.

It's absolutely silly that this isn't a stock feature, thanks for making this.

I know, really!
Btw, I had  revamped this version so as to separate outfits from weapons. it's weapon of choice.
Last time I checked this worked fine but it's been like 4 or 5 months since I last played RimWorld.