AtomicTorch Studio Forums

CryoFall => Mods => Topic started by: Mars on March 10, 2021, 09:13:27 pm

Title: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on March 10, 2021, 09:13:27 pm
Hardcore desert - Pragmium king

Thanks to Druffzilla, Salvick, J422 and Melody for art, code and ideas.

Thanks to ai_enabled, always available to your questions.  This Net5 code is awesome to learn new syntax.

Mod type: Client-Server mod.

Latest version: 1.57.3

Download latest version for R31: 1.57.3 changes (https://github.com/mars-x24/HardcoreDesert/releases/1.57.3)  MPK (https://github.com/mars-x24/HardcoreDesert/releases/download/1.57.3/HardcoreDesert.mpk) <-----

Download latest version for R30: 0.1.39 here (https://drive.google.com/file/d/1Rowzr9PE2UtseWZDRtZcYid67EksIldV/view?usp=sharing)

GitHub: https://github.com/mars-x24/HardcoreDesert

How to install mod:
Copy HardcoreDesert.mpk in "C:\Users[user]\Documents\AtomicTorchStudio\CryoFall\Mods"
Change file "ModsConfig.xml" in "C:\Users\[user]\Documents\AtomicTorchStudio\CryoFall"
Code: [Select]
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<mods>
  <mod>core_1.0.0</mod>
  <mod>HardcoreDesert</mod>
</mods>

New features :

Events :
Mutant Migration - Base raids : Enraged mobs attacking your land claim, consider upgrading your land claim only when necessary and build walls, you can be raided offline.  5 waves of mobs, if your land claim is level 3 to 5, there are enraged pragmium bears spawning, get ready or don't kill the mobs. SHIELD is a good option.

Mutant migration event circle bound to player (You can't see event circles on other land claims)

Spaceship crash site with Crimson Elite NPC - NPC by Salvick, art by druffzilla

Mutant Crawlers Infestation by Salvick

Random Meteors in meteorite drop event
Meteorites can drop on beach, moutains, meadows etc.
SMG NPC on Space debris - NPC by Salvick
PsiGrove always drops pragmium

Mobs :
Pragmium king, Desert Princess, Angry pangolin, Cold bear, Pragmium bear, Large pragmium bear

All mobs spawn with a random level 1 to 5.  Level 5 wolf has x5 HP and x5 Loot.
Some mob attack and retreat AI (adds some challenge!)
Zones for mob level restrictions - if you want to make a map, the zone names are ZoneMobLevel 1 to 5.  (I use level 5 on the border around the King)

Vehicles :
Crusher (Behemoth with less armor, but more speed and cargo, axe and pickaxe tool hardpoint) - art by druffzilla
Added a chance for wrecked hoverboard in garbage pile (Rate WreckedHoverboardChance)

Resources :
Giant pragmium source

Items :
Vehicle remote control (Teleport any of your vehicle near you) - art by druffzilla
Bags to store food items (Must be in the hotbar, alt-click to open)
Backpacks (Device to increase your inventory slots) -  art by druffzilla
Portable freezer (Basicly a bag with his own power source slot) - art by druffzilla
Herbal medicine - art by druffzilla
Enraged pragmium heart
Logistic robots

Medical cool down to 3 seconds in pve
Jelly Bush mod (corn recipes, butter, jelly fruit recipes) - druffzilla and Salvick

Weapons :
Steppen Hunter - druffzilla
Pistol and musket reskin - druffzilla
Vanguard T5 Energy weapons - Salvick/J422/Mars
Steel sword - Melody
Katana - Image by Melody

Piercing Energy Canon, Rapier and Steel sword
Don't recall drones when switching to a weapon

Structures :
Refrigerated trading stations
Huge grounded crate
Ender crate - All ender crates have the same inventory container, so you can access the same items from different bases

Waterfall on the king island - waterfall by druffzilla

Turrets in pve
You can have land claim storage in pve
SHIELD / Raid block in pve
PvE soil/distance requirement for oil and lithium extraction like in PvP
Escape stage 4 needs more item

Quests :
22 new quests like boss remains, new mobs, bags, collect more resources.


Screenshot:
(https://i.imgur.com/LQNQdoU.jpg) (https://cdn.discordapp.com/attachments/493118617534332929/819647129520963605/Capture.JPG)

(https://i.imgur.com/AsxJ6KO.jpg) (https://i.imgur.com/94XG003.png)

(https://i.imgur.com/I2XDqIE.png) (https://i.imgur.com/EVaegfk.png)


Available settings
AchievementsModdedServerEnabl ed : Achievement enabled in a modded server. Default to disabled like vanilla game.
ConstructionOverlayAlwaysVisi ble : Determines if you see the construction overlay when building or relocating structures, default to true like vanilla game
MigrationMutantAttackNumber: Number of base under attack for mutant migration event, default 3
MigrationMutantAttackNumberLo calServer: Number of base under attack for mutant migration event, default 1
MigrationMutantDurationWithou tDelay: Mutant migration duration in minutes without the 5 minutes delay, default 15
MigrationMutantWaveCount: Number of waves for mutant migration event, default 5
MigrationMutantMobCount: Number of mobs for each claims, default 1,4,8,13,20
MigrationMutantMobMaxLevelPer Wave: Max level of mobs for each wave, default 1,2,3,4,5
ServerGlobalStorageItemsSlots Capacity: How many global storage slots are allowed per base. The value should be within 0-128 range, default 64
WreckedHoverboardChance: A chance to get wrecked hoverboard in garbage pile (1 / RateValue ;  Default 30 ; Set 0 for none)
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on March 17, 2021, 10:25:08 pm
Change log:
0.1.3
Added Angry Pangolin
Added Pragmium King
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on March 22, 2021, 11:29:16 pm
Change log:
0.1.4
Added Mob levels (random 1 to 5)
Added Giant prag source
Added Cold Bear

Started a Modded Server with it.
Hardcore America (North) PvE
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on March 31, 2021, 07:22:05 am
Change log:
0.1.6
Added Prag bear (images by druffzilla)
Added Vehicle remote control
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on April 01, 2021, 10:53:25 pm
Change log:
0.1.7
Added new quests
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on April 06, 2021, 10:03:18 am
Change log:
0.1.8
Added bags and backpacks (backpack images by druffzilla)
Added new quests
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Khaos on April 07, 2021, 08:19:07 pm
just wondering how the small bag for food and medicine works?
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on April 08, 2021, 08:33:58 pm
Here

https://www.youtube.com/watch?v=Sh3bRuz7H5c

Change log:
0.1.9
Added pistol and musket reskin (images by druffzilla)
Added new gun : Steppen Hunter (images by druffzilla)
Added bag icons
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Khaos on April 09, 2021, 04:56:32 am
Thank-you. Great job on the mod!
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on April 10, 2021, 09:56:33 pm
Change log:
0.1.10
Added refrigerated trading station
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on April 14, 2021, 11:03:28 pm
0.1.11
Added portable freezer
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on April 15, 2021, 07:08:06 pm
Change log:
0.1.12
Forgot to add the portable freezer technode :)
Github
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Khaos on April 16, 2021, 11:39:04 am
I am using your mod on my server  (Forsaken Isle).. So far I am having no problems, Thank-you.
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on April 19, 2021, 07:52:04 pm
Change log:
0.1.13
A30.6.2 compatiblity
Can't put storage item in fridge.
You can now remove the backpack when there is a bag in the character inventory.
Fixed the storage interface when it is inside another chest.
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on May 22, 2021, 11:27:14 pm
Change log:
0.1.16
Powerbank durability was dropping to fast in portable fridge
Keinite and pragmium backpack rename
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on May 31, 2021, 05:48:56 pm
Change log:

0.1.18
Added Mech Crusher
You can sell backpack in refrigerated trading station

0.1.17
Enabled vehicle remote on pvp server
More Princess
Giant prag source in the barren
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on June 21, 2021, 07:41:12 am
Change log:
0.1.21
Fixed Mutant Migration mobs despawn when there is an offline player

0.1.20
Turrets in pve
Event Mutant Migration
PsiGrove always drops prag
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on June 25, 2021, 05:41:57 pm
Change log:
0.1.23
Updated Jelly Bush recipes and items

0.1.22
v1.30.7.3 compatibility
druffzilla#8949, Salvick#3333 Jelly Bush mod (corn recipes, butter, jelly fruit recipes)         
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on June 30, 2021, 08:24:42 pm
Change log:
0.1.25
Added land claim storage and SHIELD

0.1.24
Land claim and turret can be destroyed by enraged mob             
New vehicle remote control image by Druffzilla and Salvick
Enraged mobs won't attack themself

Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on July 01, 2021, 12:39:45 pm
fixed a bug in 1.25.0
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on July 03, 2021, 11:12:56 pm
0.1.26
Medical cool down to 3 seconds in pve
Added max level of minion based on the parent mob (Boss or Princess)
Added zone for mob level restrictions (if you want to make a map ZoneMobLevel1 to 5)
                   
Mutant migration :
First attempt for waves
One attack location on local server
Event set to each 1.0-1.5 hour
Added large pragmium bear on last wave if claim T3+
Added your land claim as a goal target for the mobs
Fixed heavy turret damage on enraged mob
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on July 05, 2021, 01:13:41 pm
Change log:
0.1.27
You need a free slot to remove the backpack (problem with shift-click if inventory is full)

Mutant migration :
Increased circle size for the event, mobs are not all spawning
Spawn the boss first on last waves
Added pragmium bear in last waves
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on July 06, 2021, 12:40:01 pm
Change log:
0.1.28
Fixed a problem when loading inventory with extra slots
Added herbal medicine
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on July 26, 2021, 08:57:12 pm
Change log:
0.1.29
Pragmium sensor should now works with Giant Pragmium Source
Added some mob AI
Added MigrantMutantConstants :
         "MigrationMutantDurationWithou tDelay", defaultValue: 15, "Mutant migration duration in minutes without the 5 minutes delay."
         "MigrationMutantWaveCount", defaultValue: 5, "Number of waves for mutant migration event."
         "MigrationMutantMobCount", defaultValue: "1,4,8,13,20", "Number of mobs for each claims (T1 to T5)."
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on July 28, 2021, 08:16:05 pm
Change log:
0.1.30
Mutant migration:
Fixed a bug with mutant migration waves after clearing first wave
Added destruction timeout on land claim
Added raid block
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on August 06, 2021, 01:31:45 pm
Change log:
0.1.32
Fixed a bug in path finding, thanks J422
Added Mutant Crawlers Infestation by Salvick
Added new quests for mutant migration event

0.1.31
Don't consider mobs in path finding
Fixed moving mobs when they are too far away
PvE soil/distance requirement for oil and lithium extraction like in PvP
Princess will spawn only remains on death, no prag spire
Added some random time for mobs spawn in Mutant migration
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on August 09, 2021, 06:30:12 pm
Change log:
0.1.33
Reduced number of mutant crawlers
Changes to reduce lag with Mutant migration.
Added a setting to change the number of base under attack "MigrationMutantAttackNumber".
Despawn mutant crawlers after 1 hour if not despawned correctly.
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on August 13, 2021, 08:40:40 pm
Change log:
0.1.34
Mobs will try to follow you on slopes
Mutant migration:
Mob won't attack a land claim with destruction timer
Mob spawn is now an async function
New setting "MigrationMutantMobMaxLevelPer Wave", default "1,2,3,4,5", set "5,5,5,5,5" for no restriction on levels
Boss will be max level for the wave
Try to not spawn mobs behind cliff
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on August 16, 2021, 12:09:08 pm
Change log:
0.1.35
Don't recall drones based on height
Follow target distance limit on path finding.
Mob won't target a spectator
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on August 23, 2021, 09:06:19 pm
Change log:
0.1.37
Bag must be equipped in hotbar
Added max number of items in bags
Fixed crawler won't spawn in land claims
Meteorites can drop on beach, moutains, meadows etc.
Added Vanguard weapons
Mutant migration event circle bound to player

0.1.36
Don't recall drones when switching to a weapon
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on August 29, 2021, 10:29:18 pm
Change log:
0.1.38
Fix for portable freezer not working
Added huge grounded crate
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on September 01, 2021, 10:05:35 pm
Change log:
0.1.39
Added Mass Driver (Shared crate between bases)
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on September 13, 2021, 12:25:38 pm
Change log:

Testing experimental

0.1.42
Added Enraged pragmium heart
Changed escape stage 4

0.1.41
R31.3.1 support

0.1.40
R31 support
Increased Vanguard weapon damage a bit
Renamed Mass Driver to Ender Crate until I work on the UI and images
Retreat AI
Less calculation in Enraged AI
SMG NPC on Space debris
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on September 22, 2021, 07:58:47 pm
Change log:

0.1.46
A bit less loot in the crash event
No boss in Mutant Migration event for T1-2 land claims
Boss in Mutant Migration will have a random level, not always maxed

0.1.45
R31.6.1 support
Using the map from Cryofall R31.6.1, added my Pragmium King and Giant Prag zones.
Added waterfall near the King

0.1.44
R31.5.2 support
Spaceship crash event
Random Meteors in meteorite drop event

0.1.43
R31.3.3 support
Piercing Energy Canon and Rapier
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on October 10, 2021, 07:45:24 pm
Change log:

0.1.47
Added Crimson Elite NPC to spaceship crash site
Spaceship will destroy when the event ends
You can loot the spaceship
Fixed max level for mobs in Mutant migration
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on October 13, 2021, 02:00:26 pm
Quote
0.1.48
Added a chance for wrecked hoverboard in garbage pile (Rate WreckedHoverboardChance)
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on October 14, 2021, 06:19:56 pm
0.1.49
Vechicles won't go in garage if the owner doesn't have the assembly bay unlocked
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on October 15, 2021, 09:13:27 am
0.1.50
Added a way to disable the construction overlay with ConstructionOverlayAlwaysVisi ble set to 0. You can still see it when holding ALT
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on October 16, 2021, 08:27:59 pm
0.1.52
R31.7.2 support
Mutant migration : Enraged mobs won't despawn before the event ends
Need to finish T2 before kill enraged pragmium bear quest
Timer to destroy spaceship in case it didn't despawn

0.1.51
New setting AchievementsModdedServerEnabl ed
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: adamkad1 on October 24, 2021, 11:48:04 am
Seems to be incompatible with Cosiek's crossbow mod, when I tried to load the game with them both, it told me it couldn't load and unloaded the mods
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Cosiek on October 24, 2021, 09:54:59 pm
Seems to be incompatible with Cosiek's crossbow mod, when I tried to load the game with them both, it told me it couldn't load and unloaded the mods

This file not responding
Scripts/Items/Weapons/Base/WeaponFireTracePresets.cs
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Melody on October 25, 2021, 04:38:49 am
Seems to be incompatible with Cosiek's crossbow mod

Hi. You can open the file ...\Mods\Crossbow.mpk\Scripts\Items\Weapons\Base\WeaponFireTracePresets.cs, scroll down to the end of file, then paste the code after drawHitSparksAsLight: true);

Don't remove these symbols! -->  } }

Code: [Select]
public static readonly WeaponFireTracePreset StunPlasma
            = new(traceTexturePath: "FX/WeaponTraces/TraceStunPlasma",
                  hitSparksPreset: WeaponHitSparksPresets.Plasma,
                  traceSpeed: 15,
                  traceSpriteWidthPixels: 162,
                  traceStartScaleSpeedExponent: 0.5,
                  traceStartOffsetPixels: -13,
                  useScreenBlending: false,
                  drawHitSparksAsLight: true);

(https://img-host.ru/2Lro8_p.png) (https://img-host.ru/2Lro8.png)
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on October 29, 2021, 12:46:04 am

1.54.2
Despawn wrecked hoverboard if the player doesn't have any land claim
Fixed crashed spaceship scope issue
Added Katana

0.1.53
R31.8.1 support
Logistic robots (work in progress)
Steel sword by Melody
Different spaceship colors for the crash event, thanks Salvick
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on November 05, 2021, 10:47:12 pm
1.55.0
Robots settings in the land claim
Added back the rate "Land claim safe storage capacity" for PvE, looks like it wasn't working in PvE anymore
Renamed the rate for S.H.I.E.L.D to "Base S.H.I.E.L.D. protection available" without PvP in it
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: mekutama on November 06, 2021, 06:53:33 am
I'm getting an error when I put this mod! it floods the console

Error: [SCRIPT] The server rate value is not yet received from the server: AtomicTorch.CBND.CoreMod.Rate s.RateConstructionOverlayAlwa ysVisible - will provide the fallback value: True
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on November 21, 2021, 01:00:01 am
1.56.2
Improved robots with oil refinery
Disposing the manufacturer icons when the robot interface is closed

1.56.1
Robots will fill input and fuel containers in manufacturer structures
Robots settings with alt-click
Gathered droplist items will go right into bags inside your hotbar
Allow fish in bags
Land claim destroy timer increased to 72h if destroyed by an enraged mob
Mutant Migration : No boss if claim owners are not online
Close the robot setting window when it starts the run
Robot structure load percent setting and time between runs
Robot load inactive structure only setting
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on November 27, 2021, 12:11:13 am
1.57.0
Hide mob level at night
Electricity T1 + S.H.I.E.L.D.
RateShieldProtectionDuration, default shield duration to 6 days
Completionist data for Pragmium King, Mutant infestation, Crash site, Mutant migration
Princess immune to pragmium explosion
Fixed robot not going to cracking plant empty canister input
Robot won't load an electricity consumer with power off
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: LinkesAuge on November 27, 2021, 05:13:03 am
Heya, wanted to give some feedback.

Firstly, awesome mod and appreciate the work you put into this.

Secondly, I had issues with the 1.56.2 and 1.57.0 versions in regards to Robots not working (they didn't do anything). I got the 1.56.2 robots to work by using the github files and repacking them but the mpk you provided for some reason didn't seem to work.
I have now the same issue in 1.57.0 with robots not working but using your github files didn't seem to do the trick this time. Maybe I'm overlooking something but might want to look into it, for now I'm going to use the 1.56.2 github version.
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on November 27, 2021, 08:16:09 pm
Hey, I just used the mpk from github and restarted my server with it and robots seem to work.  Did you try to change their run timers?   Robots still need some work though.

edit: I found a couple issues, I will make a fix
Title: Re: [Client+Server] Hardcore Desert - Pragmium King
Post by: Mars on November 27, 2021, 09:42:14 pm
1.57.1
Fixing robot not filling generators or furnace when power is off
Fixing robot not returning item in an almost full crate
Princess immune to meteor explostion