Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Kallvin

#1
Mods / [Client+Server] BasicNPC
September 18, 2020, 01:52:09 AM
Mod:  BasicNPC v0.1.4

Download:
https://drive.google.com/file/d/14s0v4apxRYFDWUfEtMgrw5vMmfkOEvht/view?usp=sharing

Description:

A collaborative effort with other fellow modders to generate a community based human mob that has a small chance to populate the world in all Zones/biomes.

This mod adds a single mob/NPC named Ned who will show up in your completion menu for hunting and LP.

Ned is armed with a ranged rifle and drops a range of goods with some steep percentage chances to drop anything of significant value.

Requirements:

This mod is used on both the client/server. Thus it does not work on official servers.

+ Clients and server must place the BasicNPC.mpk file in their local directories.

    1. Locate Steam's local mod folder (or your custom directory and ignore this): %userprofile%\documents\AtomicTorchStudio\CryoFall\CryoFall\Mods
    Alternatively for antivirus issues look for:  %LocalAppData%\AtomicTorchStudio\CryoFall\Mods

    2. Paste BasicNPC.mpk into \Mods folder.

+ Additionally you need to manually update the ModsConfig.xml (AtomicTorchStudio\CryoFall\CryoFall\ModConfig.xml, open with notepad or whatever.)

+ Note: This is a warning that this mod is still under active development, expect further balancing and changes in the future or the possibility of the mod becoming incompatible with the game due to a game update.

    <mod>BasicNPC</mod>
within the file ModConfig.XML file.

Example:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<mods>
  <mod>core_1.0.0</mod>
  <mod>BasicNPC</mod>
</mods>






#2
Hello, like the title states, I've created a very basic mod that spawns a new Mob into the world. It works fine but now my player UI seems to be bugged and I can no longer see my health, stamina, food, water levels. I am sure it is because of the mod because on public servers the health bar shows up fine. But as far as I am aware, I was not touching the UI or the player character... Any thoughts?

The status indicator bars show 1/1 when hovering over them and appear black/empty.

Update:

So it seems there is an error with casting to the Animal Skeleton when using a derivative of the ProtoCharacterMob. I am trying to use a human skeleton with the child class of ProtoCharacterMob, but I need to know:

How do I configure a MobCharacter  to use the human skeleton properly, or shall I write my own custom ProtoCharacterMob and or possibly override whatever is casting to the Animal Skeleton without the need to create a custom ProtoCharacterMob?

If I have to rewrite the ProtoCharacterMob how do I revert the current server I have now that errors out due to the missing BasicNPC.mpk references? (Seems the Zone definitions being modified has done something?) I've removed the .MPK and the version listing in the server config file, but I believe there were some other references leftover.