Ludeon Forums

Ludeon Forums

  • August 18, 2019, 09:30:40 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 ... 6

Author Topic: [1.0] Defensive Positions (1.8.0) Now multiplayer compatible  (Read 89742 times)

UnlimitedHugs

  • Super Modder
  • Colonist
  • ***
  • Posts: 584
    • View Profile
[1.0] Defensive Positions (1.8.0) Now multiplayer compatible
« on: September 02, 2016, 03:28:50 PM »


About
Raids are fun, but positioning your fleshy turrets for battle each single time gets old pretty fast.
Well, now there's an app a mod for that! With the push of a button you can send off your whole colony to man the defensive perimeter. Convenience!

Features
  • Each colonist can now be assigned a place to stand, activated on command.
  • Clean and simple- just a single button to work with.
  • Basic and advanced mode- easy to pick up, and more flexibility once your colony grows out.
  • Up to 4 positions can be assigned to each colonist- great for multiple entrances and fall-back lines of defense.
  • Colonists and buildings can be assigned to squads for quick selection. Up to 9 squads can be created.
  • Some useful hotkeys to make your life easier: send everyone to their defensive position, select everyone, undraft everyone.
  • Colonists will automatically man mortars and guns next to their defensive position.
  • Included translations: Spanish (by h771864, 53N4), Chinese (simplified by vednic, duduluu; traditional by duduluu), German (by Lauri7x3), Russian (by Havrus)
How to use

Basic mode



Every colonist now has an additional button next to his Draft command. Everything is done using this button.
First, the colonists need to be shown their assigned defensive position. To do that:
  • Draft your defenders and place them where you want them.
  • Select all defenders, hold Shift and click the Defensive position button (or press T).
  • Done. Next time you click the button (or press T) the selected colonists will be drafted and will run to the position you assigned them.
Once you feel like one saved position is no longer enough, you can switch to advanced mode by holding Alt and clicking the button.

Advanced mode



Advanced mode works exactly like Basic, but you have 4 positions to work with. Same deal- shift+click a slot to save a position, just click to send the selected pawns to the position they have been assigned under that number.
Pressing T is the same as clicking the first slot, pressing T multiple times in a row will activate the slot with that number.
You can return to Basic mode by Alt+clicking the button again.

Other stuff
  • The shortcut key for the button can be reassigned in the games options.
  • In advanced mode, the "defensive position" and the "send all" hotkeys can be pressed multiple times in quick succession to select the position to send your defenders to.
  • When assigning a position to a colonist, you can just order them to move there and save. That way you don't have to physically move your colonists just to assign them a new position.

Usage
  • The HugsLib library is required to run this mod. Download link below.
  • Extract both mods to your Rimworld/Mods folder.
  • Enable both mods in the Mods menu. HugsLib must be loaded first.
  • Enjoy!
Existing saves should work just fine.

Changelog
Code: [Select]
1.8.0: New features, multiplayer compatibility
- Added support for Zetrith's Multiplayer mod (requires Unofficial Multiplayer API)
- Added alternative Shift key mode for queuing move orders (see Mod Options)
- Added distinct look for button and slots that contain saved positions
- Added displaying of saved positions on the map when hovering over the button or slot
- Added context menu to Defensive positions button
- Updated Russian translation

1.7.0: Updated to Rimworld 1.0
- Updated Spanish translation

1.6.1: Updated to B19
- Cleared the conflicting 'beauty overlay' key binding (T)
- 'Select all' key will select more than 80 colonists
- Fixed conflict checker false positive
- Added ModSync config

1.6.0: Preliminary B19 update

1.5.2: Squads tweak, translation
- Colony buildings can now be assigned to squads
- Added Russian translation

1.5.1: Translation update
- Updated Chinese translations

1.5.0: Updated to A18
- Repeated hotkey presses will now select different slot in advanced mode
- Added setting for hotkey operation mode

1.4.2: Translation
- Updated Spanish translation

1.4.1: Translation
- Added German translation
- Updated HugsLibChecker

1.4.0: Updated to A17
- No further changes

1.3.4: Translation
- Updated both Chinese translations

1.3.3: Minor fix
- Restored missing "Allow firing" button

1.3.2: New translation
- Added Chinese (simplified) translation

1.3.1: Minor fix
- Fixed the "Select all" hotkey selecting animals instead of colonists

1.3.0: Updated to A16
- Extend ingame description with hotkeys info
- Squad hotkeys now switch to the map where squad is located
- Pressing the squad hotkey twice will focus the camera on that squad
- Trimmed down older update news text
- Fixed drafting sound being played multiple times when sending colonists to saved positions
- Fixed "Send all" hotkey sounds
- Changed "Undraft all" hotkey sound to undrafting sound

1.2.4: Minor fix
- Updated HugsLib (settings order fix)

1.2.3: Minor fix
- Fixed the message string for selecting an empty squad

1.2.2: Bug fix
- Fixed error when using "Send all" on pawns that have not been selected since load

1.2.1: Minor fixes
- Mental breaks can no longer be interrupted by using the "Send all" hotkey
- "Send all" will no longer cause an error when one colonist is carrying another

1.2.0: Hotkeys update
- Defensive Positions is now dependent on HugsLib, which comes included
- Added hotkeys for making colonist squads
- Added "Send all to positions" hotkey
- Added "Select all colonists" hotkey
- Added "Undraft all" hotkey
- Colonists will now automatically man guns at their defensive position
- Defensive positions can now be unset by holding Control
- Added in-game setting for hotkey mode
- Slightly reduced icon contrast

Pack policy
Feel free to use and include wherever. Credit is optional.

Source
Github

Download

Github releases: Latest, All releases

HugsLib library (required): Latest

Also available on the Steam Workshop.
« Last Edit: May 18, 2019, 03:32:03 AM by UnlimitedHugs »
Logged
HugsLib - AllowTool - Remote Tech - Map Reroll - Defensive Positions: Github, Steam

AtomicRavioli

  • Colonist
  • ***
  • Posts: 112
  • Ratboom
    • View Profile
Re: [A15] Defensive Positions (1.0) Assume the position!
« Reply #1 on: September 02, 2016, 03:30:48 PM »

This will really make managing raids with large colonies much easier :)
Logged

BaconBits

  • Colonist
  • ***
  • Posts: 234
    • View Profile
Re: [A15] Defensive Positions (1.0) Assume the position!
« Reply #2 on: September 02, 2016, 03:43:05 PM »

This is now my new MUST HAVE!    ;)  Fantastic job!   ;D

kaptain_kavern

  • Planetologist
  • ****
  • Posts: 2074
  • started 10 mods in one tick.
    • View Profile
    • RimWorldMod Slack - A place for live chatting about RimWorld modding
Re: [A15] Defensive Positions (1.0) Assume the position!
« Reply #3 on: September 02, 2016, 04:31:47 PM »

This one look quite interesting, i'm gonna try it ASAP. Seems well thinked and done

Thx

twoski

  • Colonist
  • ***
  • Posts: 264
    • View Profile
    • nuke.sexy
Re: [A15] Defensive Positions (1.0) Assume the position!
« Reply #4 on: September 02, 2016, 05:04:51 PM »

Put this on steam my dude
« Last Edit: September 02, 2016, 07:17:36 PM by twoski »
Logged

MisterVertigo

  • Colonist
  • ***
  • Posts: 530
  • Look into my eyes...
    • View Profile
    • MisterVertigo.NET
Re: [A15] Defensive Positions (1.0) Assume the position!
« Reply #5 on: September 02, 2016, 08:23:55 PM »

This looks amazing! Thank you!

I also would love to see this on Steam!
Logged
"In vertigo you will be..."

"Relax, people. It's a teeny indie game; don't kill it with love." - Bozobub

Deimos Rast

  • Colonist
  • ***
  • Posts: 232
  • Refugee
    • View Profile
Re: [A15] Defensive Positions (1.0) Assume the position!
« Reply #6 on: September 03, 2016, 01:19:45 AM »

I know I've seem similar things in the distant archives, but this looks even better.
Thanks.

Is this compat withhh Achtung?!
Logged
#StopPluginAbuse

Draconicrose

  • Colonist
  • ***
  • Posts: 108
  • Bionically Enhanced YouTuber
    • View Profile
    • Draconicrose's Gaming Channel
Re: [A15] Defensive Positions (1.0) Assume the position!
« Reply #7 on: September 03, 2016, 02:45:18 AM »

Definitely adding this to my game! Please put it on Steam, it makes distributing updates so much easier!
Logged
I have a Rimworld Let's Play for you -> Let's Play Rimworld Playlist

Pillow Fort

  • Drifter
  • **
  • Posts: 39
  • Refugee
    • View Profile
Re: [A15] Defensive Positions (1.0) Assume the position!
« Reply #8 on: September 03, 2016, 03:22:41 AM »

this functionality was actually in one of the a14 mods
not sure which tho

was really missing it since the update x.x
thanks!
« Last Edit: September 03, 2016, 03:24:41 AM by fishbones »
Logged

UnlimitedHugs

  • Super Modder
  • Colonist
  • ***
  • Posts: 584
    • View Profile
Re: [A15] Defensive Positions (1.0) Assume the position!
« Reply #9 on: September 03, 2016, 07:43:57 AM »

I also would love to see this on Steam!

I might put it up if I ever get the Steam copy of the game. But for now it's the good old download and extract for you, folks :)

Is this compat withhh Achtung?!

I see no reason why it wouldn't be. Do let me know if you encounter any issues.

this functionality was actually in one of the a14 mods

Could be, it's all good though. More variety = more better.
Logged
HugsLib - AllowTool - Remote Tech - Map Reroll - Defensive Positions: Github, Steam

SpaceDorf

  • Transcendent
  • *****
  • Posts: 4032
  • Secretly Captain Obvious
    • View Profile
Re: [A15] Defensive Positions (1.0) Assume the position!
« Reply #10 on: September 06, 2016, 03:23:59 PM »

Thank you, another one to scratch from the wishlist :)
Logged
Maxim 1   : Pillage, then burn
Maxim 37 : There is no overkill. There is only open fire and reload.
Rule 34 of Rimworld :There is a mod for that.
Avatar Made by Chickenplucker

UnlimitedHugs

  • Super Modder
  • Colonist
  • ***
  • Posts: 584
    • View Profile
Re: [A15] Defensive Positions (1.0) Assume the position!
« Reply #11 on: September 10, 2016, 11:31:16 AM »

Thanks to Vassteel's kind contribution this mod is now available on the Steam Workshop.
Logged
HugsLib - AllowTool - Remote Tech - Map Reroll - Defensive Positions: Github, Steam

orannj

  • Drifter
  • **
  • Posts: 76
  • Refugee
    • View Profile
Re: [A15] Defensive Positions (1.0) Assume the position!
« Reply #12 on: September 12, 2016, 10:36:43 PM »

Very nice! I was wondering how I could do something like this and my prayers to the god-emperor have been answered! :)
Logged

UnlimitedHugs

  • Super Modder
  • Colonist
  • ***
  • Posts: 584
    • View Profile
Re: [A15] Defensive Positions (1.0) Assume the position!
« Reply #13 on: September 12, 2016, 10:46:09 PM »

Very nice! I was wondering how I could do something like this and my prayers to the god-emperor have been answered! :)

Praise be :D
Only thing I'm considering is making and selecting colonist squads with the number keys- unless that's already a feature somewhere.
Logged
HugsLib - AllowTool - Remote Tech - Map Reroll - Defensive Positions: Github, Steam

orannj

  • Drifter
  • **
  • Posts: 76
  • Refugee
    • View Profile
Re: [A15] Defensive Positions (1.0) Assume the position!
« Reply #14 on: September 12, 2016, 10:57:10 PM »

I think it'd be pretty neat to be able to set up zones of defense. Setting a zone would let assigned colonists basically garrison the spot, and not leave it. This would be good for places like checkpoints and general muster areas. But it's great the way it is. :)
Logged
Pages: [1] 2 3 ... 6