ARK: Survival Evolved

ARK: Survival Evolved

573 ratings
Pet Res
   
Award
Favorite
Favorited
Unfavorite
Content Types: Mod
File Size
Posted
Updated
9.299 MB
Aug 10, 2016 @ 1:28pm
Dec 10, 2016 @ 12:22am
20 Change Notes ( view )

Subscribe to download
Pet Res

Description
-- I no longer have the time to maintain my mods. I may come back to them and do an update once the game goes out of Early Access and the code base stablilizes somewhat. The source code for all of my mods can be found at https://github.com/duncanas/arkmods . Any modder who wishes to update one of the mods can fee free to make a branch and deploy a new mod under there name. Credit would be appreciated.--

Keep your favorite pets alive with this mod. The soul and inventory of your pet are bound to a tombstone at the point of death. By crafting a life force crystal you can then use the tombstone to revive your pet back to life.

--- GENERAL INFORMATION ---

ADMINS TAKE NOTE: BY DEFAULT REVIVING PETS WILL BE FREE UNLESS YOU UPDATE YOUR CONFIGURATION


Installing this mod without setting any configuration will have the following behavior:
  • Crystals are not required to revive pets
  • Tombstones will decay after 5 hours
  • The dino will keep all inventory items


--- CONFIGURATION ---

The following properties can be included in the "GameUserSettings.ini" file to adjust the behavior of the tombstone.
Setting must go under a section heading of "[PetRes]".

Available properties:

  • Lifespan: A float value that specifies how many seconds before the tombstone decomposes and the pet is no longer able to be revived. Defaults to 5 hours if not specified. With value of -1 the tombstone will never decompose.

  • LoseInventory: If set to true the pet will be revived without its inventory.

  • KeepEquipped: If set to true equipped items such as a saddle will be kept.

  • ControllerRefresh: Number of seconds between sweeps of the server for new tamed pets. Defaults to 1 second. Increasing my help with performance on server but will expose dino's for up to that number of seconds after first being tamed.

  • RequiresCrystal: By default this is false and will allow players to resurect a dino without crafting a Lifesource Crystal. If set to true a Lifeforce crystal is required and will require 15 Crystal, 10 Stimulants, 5 Rare Flowers and 2 Rare Mushrooms to craft. To change the requirements see the advanced configuration below.

Example:
[PetRes]
Lifespan=3600
LoseInventory=true
KeepEquipment=true
ControllerRefresh=60
RequiresCrystal=true


The previous example will have the following behavior:
  • Tombstone decomposes after 1 hour
  • The dino will be revived with no inventory but will keep its equiped items such as saddles
  • The controller will refresh for new tamed dinos once per minute
  • The cost for crafting a life force crystal is 15 Crystal, 10 Stimulants, 5 Rare Flowers and 2 Rare Mushrooms.

--- ADVANCED ENGRAM CONFIGURATION ---

This configuration is more complex and will fail if not specified perfectly correctly but it does give complete flexibility to specify any resources in the game as a requirement for crafting a life force crystal and will also behave normally when crafting.

Note: To use this override you must set the RequiresCrystal property in "GameUserSettings.ini" to true.


ConfigOverrideItemCraftingCosts entries must be specified in the "Game.ini" file in your server or games configuration folder under the section [/script/shootergame.shootergamemode]. If the section doesn't exist you must create it.

The format for the configuration entry is as follows:

ConfigOverrideItemCraftingCosts=(ItemClassString="PrimalItem_LifeForceCrystal_C",BaseCraftingResourceRequirements=(RESOURCE_LIST))
The RESOURCE_LIST is a list of resource entries where each entry is enclosed in parentheses and separated by a comma.

For example the following will allow you to craft Lifeforce Crystals with 100 crystals, 10 Rare Mushrooms, 15 Rare Flowers, 20 Stimulants and 1 of any Artifact:

[/script/shootergame.shootergamemode]
ConfigOverrideItemCraftingCosts=(ItemClassString="PrimalItem_LifeForceCrystal_C",BaseCraftingResourceRequirements=((ResourceItemTypeString="PrimalItemResource_Crystal_C",BaseResourceRequirement=300.0,bCraftingRequireExactResourceType=false),(ResourceItemTypeString="PrimalItemResource_RareMushroom_C",BaseResourceRequirement=10.0,bCraftingRequireExactResourceType=false),(ResourceItemTypeString="PrimalItemResource_RareFlower_C",BaseResourceRequirement=15.0,bCraftingRequireExactResourceType=false),(ResourceItemTypeString="PrimalItemConsumable_Stimulant_C",BaseResourceRequirement=20.0,bCraftingRequireExactResourceType=false),(ResourceItemTypeString="PrimalItemArtifactGeneric_C",BaseResourceRequirement=1.0,bCraftingRequireExactResourceType=false)))

Be very carefull to get the correct number of parentheses or this will fail. Syntax errors will usually show up in the console log for your server.

*** VERY IMPORTANT: If you change the resources using the above method you MUST uninstall the mod and start your server or the single player game as appropriate. You can then reactivate the mod and the changes should work. If you do not do this Ark will cache some of the old values and you will end up with the resource description not matching the actual resource requirements.

--- ADDITIONAL INFORMATION ---

The cheat code for lifeforce crystal is: "Blueprint'/Game/Mods/PetResurector/Content/Crystals/PrimalItem_LifeForceCrystal.PrimalItem_LifeForceCrystal'"

The resource names for the classes can be found by looking at the spawn commands for items on the web page "http://ark.gamepedia.com/Item_IDs" and taking the last part of the string from the last PrimalItem text up to the apostrophe and adding "_C" to the end. For example Fiber has the entry
"Blueprint'/Game/PrimalEarth/CoreBlueprints/Resources/PrimalItemResource_Fibers.PrimalItemResource_Fibers'" which gives a class name of PrimalItemResource_Fibers_C .

It should be possible to use any item as a requirement for crafting including PrimalItems from other mods as long as you are able to determine the PrimalItem's class name.

Further documentation on server configuration can be found at the following web page:
Server Configuration[ark.gamepedia.com]


This mod is clean and stackable.

The mod id is: 741338580


Current Mods:
-------------
Personal Beacons
Pet Manager
StatBars
Pet Res
Salvage Station
Silent Generator

Donations Welcome:

[www.paypal.com]


This mod/code/work is protected by the Attribution-NonCommercial-NoDerivatives 4.0 International Creative Commons License.[creativecommons.org]
Popular Discussions View All (19)
59
Feb 5 @ 4:54am
Bugs and Issues
keeperofd34th
11
Oct 31, 2018 @ 6:46am
Servers Running This Mod.
DovahkiIT™
10
Oct 25, 2016 @ 7:03am
Engram Problem
Sweet Briana 💋™
580 Comments
Lee_Milla-Luna9899 Sep 17, 2023 @ 1:19pm 
ì tryed everything i losted with that mod my shadowcat the only one i could finded and my jebora got kiled to ived tryed everything 3days ago and not was revived but weirdly i was still able to ridding my shadowcat but if i unmounted it i was not finding it because it was sized to the tinyest scales possible and was praticaly not able to be seen . :steamsad:
Capitán Aug 30, 2023 @ 9:20am 
Anyone know of a way to kill one of your creatures without them being affected by this mod? Other than removing it…
JackGenesisX May 15, 2023 @ 8:23pm 
Will this mod receive an update at some point?
oranges Sep 21, 2022 @ 5:10pm 
Is there any way to remove gravestones? they glitch sometimes and I can't remove them and they block me from building
 OfficerΞeeb  Jun 23, 2022 @ 11:19am 
if it dies will its ragdoll be there
♡ 𝓛𝓲𝓵𝓵𝓮𝔂 ♡ Jun 20, 2022 @ 11:54pm 
only works half the time and now my favorite dino is dead.
gamehunter2059 Mar 11, 2022 @ 11:51am 
No this one is the one I have installed , it works great for me.
gamehunter2059 Mar 11, 2022 @ 11:50am 
Sorry I thought this was revive my dino.So I posted in wrong spot.
gamehunter2059 Mar 11, 2022 @ 11:47am 
Great mod, save's my dino's , and they save me because they protect me . lol. Still working great.
Thairoon Jul 4, 2021 @ 4:49am 
Hi, is this still being maintained?