Recent Posts

Pages: 1 ... 8 9 [10]
91
Ideas and suggestions / Re: Why are there so many things that are useless?
« Last post by Yakumozero on June 06, 2019, 06:53:55 pm »
First of all, I think your friend said that you are very lucky.
My friend satirizes this so-called earth technology,and by the way laughed at this alien setting.It can be said that all the technologies in the skills are the technologies owned by the earth.
Have you tried to tell your friend that this is an adventure on the earth outside?
Except for the scorpion, these are monsters and creatures that can be seen on Earth.
Maybe I should tell my friends that you didn't learn about Defense 4 and Energy Weapons 1. Is there anything that can be called an alien adventure?
So you think how do I recommend this game to friends who have played Subnautica and Oxygen Not Included?
He would say, "This is an adventure on an alien called Earth."
92
Ideas and suggestions / Re: Why are there so many things that are useless?
« Last post by Rokhan on June 06, 2019, 12:06:41 pm »
I find the game to be much more engaging than others BECAUSE of the tech tree and skills. Character growth is an important element for me to stay engaged!

As far as resources, I have commented MANY times to my friends in game... Cryofall does a better job than any survival game so far in ensuring that resources do not become useless over time.

It seems like you wanted a different kind of game than what Cryofall is
93
Ideas and suggestions / Why are there so many things that are useless?
« Last post by Yakumozero on June 06, 2019, 11:06:07 am »
I am Chinese, I am not good at English.
Even if I use mechanical translation, I still have to say
Why are there so many things that are useless?
leather,wire,we don't need so many.
so why we just dismantling or decomposition useless things?
Guys,You really need to look "RUST"、"7DAYS TO DIES". :'(
and last one.
How many people are willing to spend their time on improving technology and skills?
just think about.Are you willing to see someone just to improve a certain skill in the server AFK?
If this is the way you let the players stay and play,i got say,Pathetic.
94
Modding info / Re: Q&A Useful to other modders
« Last post by ai_enabled on June 06, 2019, 09:39:49 am »
Hello!

Quote
- How do i see if the item is equipped (as im unsure as to how to do this yet)
Every item has a Container property, every container property has an Owner property.
If there is a character owner, you can get its equipment container and compare it with the item's Container property value.
You need to keep in mind than offline players usually expect that items will not use any energy.
For example: (server update method in the item class)
Code: [Select]
protected override void ServerUpdate(ServerUpdateData data)
{
    base.ServerUpdate(data);

    var item = data.GameObject;
    var owner = item.Container.OwnerAsCharacter;
    if (owner == null
        || !owner.IsOnline)
    {
        // not owned by player character or player is offline
        return;
    }

    if (owner.SharedGetPlayerContainerEquipment() != item.Container)
    {
        // not in the owner character's equipment
        return;
    }

    var energyUsePerSecond = 1.0;
    CharacterEnergySystem.ServerDeductEnergyCharge(owner,
                                                   requiredEnergyAmount: energyUsePerSecond * data.DeltaTime);
}

Quote
- How do i have the item able to see how much energy is on the equipped player
Please see public static methods of this class — CharacterEnergySystem.

Quote
- How do i attach lighting onto the suit that doesnt revolve around the LightedHelmet Script (is it just the skeleton rig code, or is there more needed)
Every equipable item has a method ClientSetupSkeleton which allows you to add extra components to the character skeleton. You can use it to add light source based on whether the item is in active state or not. Please see ProtoItemEquipmentHeadWithLig ht class, ClientSetupSkeleton method.

Quote
- Is PrepareEffects run every interval, or should i apply the defence and movement changes under ServerUpdate, and if i should use ServerUpdate is there any specific way i should do this (This is a 2 state system using the Added Boolean for if suit power is on or off).
Prepare effects method is invoked only once per item type (during the game initialization) and it allows you to fill the "effects cache" of the item (a single array with all the effects predefined). Whether the effects apply or not, depends on the virtual method SharedCanApplyEffects. For example, you could override it this way for your power armor:
Code: [Select]
public override bool SharedCanApplyEffects(IItem item, IItemsContainer containerEquipment)
{       
    // determine whether the item is in active state or whether player has enough energy
    if (...)
    {
         // apply all effects
         return true;
    }

    // don't apply any effects
    return false;
}
Please note that when you will activate/deactivate the item on the server side you need to mark the final cache for recalculation (as disabled item should not apply any effects, but activated item should apply them). To do so, you need to call the extension method for the character instance:
Code: [Select]
character.SharedSetFinalStatsCacheDirty();
Quote
-  How would i have the suit give a warning to the player that there energy is low.
I would suggest overriding ViewModelHUDEnergyChargeIndic ator implementation and putting a check "if current energy value is lower than previous energy value and the current energy value is below X" to display a notification there via NotificationSystem.

Quote
- What is the best method (in coding terms) to apply the energy drain within ServerUpdate, and is this the correct application for 1 second intervals:
public override double ServerUpdateIntervalSeconds => 1;
Please see the first code snippet in my post where I'm calling CharacterEnergySystem.ServerD eductEnergyCharge method.

Regards!
95
Modding info / Q&A Useful to other modders
« Last post by Formifer on June 05, 2019, 02:14:00 pm »
First Q
-----------------------

Alright a summary of what i want to do for the power armor - Determine how much energy is currently in the equipped player, and have a indicator if energy is running low, have lights on the suit that are directly determined by if the suit is powered or not (I have so far setup a powered Boolean for this), the suit will also need to update its Protection depending on if its on or not.

questions below on this

- How do i see if the item is equipped (as im unsure as to how to do this yet)

- How do i have the item able to see how much energy is on the equipped player

- How do i attach lighting onto the suit that doesnt revolve around the LightedHelmet Script (is it just the skeleton rig code, or is there more needed)

- Is PrepareEffects run every interval, or should i apply the defence and movement changes under ServerUpdate, and if i should use ServerUpdate is there any specific way i should do this (This is a 2 state system using the Added Boolean for if suit power is on or off).

-  How would i have the suit give a warning to the player that there energy is low.

- What is the best method (in coding terms) to apply the energy drain within ServerUpdate, and is this the correct application for 1 second intervals:
                     public override double ServerUpdateIntervalSeconds => 1;

(AI_Enabled, will reply on this first Q when he gets the time to do so, any modder intrested in these current Q's should keep this thread marked as intrested - if thats possible on this forum)
96
Game discussion / Why are some of you guys so greedy?
« Last post by softwarelove on June 05, 2019, 07:21:51 am »
Some guys collected all of my crops I planted outside of my base.

Although I grew them, those crops were not supposed to be mine exclusively.

Everybody that passes by my base is welcome to gather them.

But at least you should have left a few of them, so that I could make seeds to maintain sustainable planting.

Now, no crops any more and farmplots will decay fast.

Greed ruins everything, including that of yours.
97
Game discussion / Re: game error!
« Last post by softwarelove on June 04, 2019, 08:20:39 pm »
I reinstalled the whole OS , steam, and cryofall.
It works again now.
98
Game discussion / Re: game error!
« Last post by ai_enabled on June 04, 2019, 03:58:01 am »
Hello!

Please try restarting the game or Windows. Usually it's enough to resolve the issue.
If it still happens please add the game executables to the whitelist of Windows Defender as recommend in this error dialog.

Regards!
99
Game discussion / game error!
« Last post by softwarelove on June 04, 2019, 03:35:06 am »
Cannot access the user data folders to store the game settings.

Please ensure that the game executables are added into the Windows Defender
or antivirus whitelist:
<game installation folder>\Binaries\Client\CryoFall_Client.exe
<game installation folder>\Binaries\Shared\Compiler\CryoFall_Compiler.exe

If you have further issues, please contact the tech support
— we're ready to help!

______
NO antivirus softwarelove installed on my PC.
I donot why and how to fix it.
100
Ideas and suggestions / Re: Raids And Dungeons
« Last post by 4letr on June 03, 2019, 11:54:40 pm »
But you do have a mansion in the post apocalyptic world.  ;D
Pages: 1 ... 8 9 [10]