Ludeon Forums

Ludeon Forums

  • September 19, 2019, 04:48:51 PM
  • Welcome, Guest
Please login or register.

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

Author Topic: [B19] Set Up Camp - once again  (Read 9495 times)

Syrchalis

  • Colonist
  • ***
  • Posts: 427
  • Refugee
    • View Profile
[B19] Set Up Camp - once again
« on: August 08, 2018, 01:35:14 AM »


It's time to set up camp again. For all your caravan managing needs, you can now set up camp anywhere. Camp map size is customizable and map duration is unlimited.

GitHub
Steam

[1.1]New update - major features:
Random seed - you will get a different map every time you set up a camp on the same tile now.
Leave Timer - after 1-30 days you will be forced to leave the map, this can be configured in the settings, moving the slider to the far left OR right will turn this OFF!
Abandoned Camps - the tile will be blocked after leaving, similar to abandoned settlements, BUT this "abandoned camp" will vanish after 1-180 days, this can also be configured in the settings and also turned OFF by moving the sliders to the far left OR right.

Originally by Nandonalt
Re-coded and improved by Syrchalis
Assistance provided by spd, potatoclip

Note: I know the 1.0 unstable has been renamed to 0.19 - the about.xml reflects that, but I will keep it as title and version number for the future.
« Last Edit: August 28, 2018, 02:24:21 AM by Syrchalis »
Logged
Ever wondered what's inside that box? An arm? A leg? A heart? Wonder no more! Prosthetic icons

Syggin

  • Muffalo
  • *
  • Posts: 1
  • Refugee
    • View Profile
Re: [1.0] Set Up Camp - once again
« Reply #1 on: August 08, 2018, 02:05:13 AM »

Was totally missing it, thank you!
Logged

Syrchalis

  • Colonist
  • ***
  • Posts: 427
  • Refugee
    • View Profile
Re: [1.0] Set Up Camp - once again
« Reply #2 on: August 08, 2018, 02:31:33 AM »

Yeah, me too, that's why I spent the night coding this thing. I mean I lost a lot of playtime... once again, but in return I can play tomorrow... WITH CAMPS!
Logged
Ever wondered what's inside that box? An arm? A leg? A heart? Wonder no more! Prosthetic icons

Wanderer_joins

  • Colonist
  • ***
  • Posts: 373
  • Refugee
    • View Profile
Re: [1.0] Set Up Camp - once again
« Reply #3 on: August 08, 2018, 05:36:01 AM »

It would be great if you could include an option to have camps be the target of something, either caravan events or map events.
Logged

Syrchalis

  • Colonist
  • ***
  • Posts: 427
  • Refugee
    • View Profile
Re: [1.0] Set Up Camp - once again
« Reply #4 on: August 08, 2018, 08:28:46 AM »

It would be great if you could include an option to have camps be the target of something, either caravan events or map events.
Easy enough... just add
Code: [Select]
<IncidentTargetTag>
<li>Map_PlayerHome</li>
</IncidentTargetTag>
to the worldobjectdef.

I added that to the mod as a setting, also with caravan events alternatively.

Edit: New version is up.
« Last Edit: August 08, 2018, 09:15:59 AM by Syrchalis »
Logged
Ever wondered what's inside that box? An arm? A leg? A heart? Wonder no more! Prosthetic icons

MisterLock

  • Colonist
  • ***
  • Posts: 103
  • Raider
    • View Profile
Re: [1.0] Set Up Camp - once again
« Reply #5 on: August 08, 2018, 11:04:00 AM »

Oh my god I freaking love you, THANK YOU FOR THIS!
Logged
To each his own.

carnifex2005

  • Muffalo
  • *
  • Posts: 10
  • Refugee
    • View Profile
Re: [1.0] Set Up Camp - once again
« Reply #6 on: August 09, 2018, 01:49:44 AM »

Thanks for this update! Was totally missing this since in 1.0 caravaning improved so much that I actually starting going on the road more often.
Logged

DariusWolfe

  • Colonist
  • ***
  • Posts: 719
  • Refugee
    • View Profile
Re: [1.0] Set Up Camp - once again
« Reply #7 on: August 09, 2018, 05:09:33 AM »

Quote
Re-coded and improved by Syrchalis

What were the improvements?
Logged

Wanderer_joins

  • Colonist
  • ***
  • Posts: 373
  • Refugee
    • View Profile
Re: [1.0] Set Up Camp - once again
« Reply #8 on: August 09, 2018, 05:14:27 AM »

Thanks a lot for the update. I think caravan events could be on by default, in 1.0 (or 0.19) caravan events are much more forgiving than in previous versions.

Anyway, good stuff!
Logged

Syrchalis

  • Colonist
  • ***
  • Posts: 427
  • Refugee
    • View Profile
Re: [1.0] Set Up Camp - once again
« Reply #9 on: August 09, 2018, 06:35:20 AM »

Quote
Re-coded and improved by Syrchalis

What were the improvements?
Mostly stuff invisible to the user, but the original code was very outdated and had many redundant lines. It also did not use harmony to patch the method that added the button. So in other words: It's less likely to break now and less likely to be incompatible with other mods.

Then there is of course small improvements. For example the original code would not make the Camp disappear after you pressed "Abandon Camp" - because it didn't force a tick (aka unpausing the game for 1/60th of a second).

Further, the old mod had all text hard-coded, so translation was impossible. I made it so all text is translateable.
Logged
Ever wondered what's inside that box? An arm? A leg? A heart? Wonder no more! Prosthetic icons

Kiame

  • Planetologist
  • ****
  • Posts: 1245
  • Refugee
    • View Profile
Re: [1.0] Set Up Camp - once again
« Reply #10 on: August 09, 2018, 01:57:32 PM »

heh thanks for picking this up Syrchalis. I was planning to but my other mods are keeping me busy  :P
Logged

Proxyer

  • Drifter
  • **
  • Posts: 23
  • proxy agent
    • View Profile
Re: [1.0] Set Up Camp - once again
« Reply #11 on: August 09, 2018, 09:19:04 PM »

Hello, author.
I have created a Japanese translation. So I sent Pull request from GitHub. Please confirm and merge. Thank you.
Logged

déku

  • Muffalo
  • *
  • Posts: 2
  • Lost Soul
    • View Profile
Re: [1.0] Set Up Camp - once again
« Reply #12 on: August 11, 2018, 11:22:07 PM »

For me, enabling this mod disables all caravan controls on the world map. I don't know if this is a mod compatibility problem, or if other also experience this.
Logged

Canute

  • Transcendent
  • *****
  • Posts: 7640
  • Refugee
    • View Profile
Re: [1.0] Set Up Camp - once again
« Reply #13 on: August 12, 2018, 03:36:12 AM »

déku,
you should enable developer mode, check if there are any error's.
Special when you enter world view with a caravan.
When there are any error's you should post the full log either CTRL-F12 if you got hugslib or the output_log.txt
Logged

Syrchalis

  • Colonist
  • ***
  • Posts: 427
  • Refugee
    • View Profile
Re: [1.0] Set Up Camp - once again
« Reply #14 on: August 12, 2018, 07:17:39 AM »

New update [1.1] with major features. See original post for info.
Logged
Ever wondered what's inside that box? An arm? A leg? A heart? Wonder no more! Prosthetic icons
Pages: [1] 2 3