• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Immune to radiation, broken leg, Sprained Leg, Stun, bleeding and Infection.

If you mean immune to the radiation out on the edge of the world, you can't. It'll kill you.

You have to edit the biomes.xml file to remove that.

The rest, look in the buffs.xml file and start reading.

 
There are two ways you can go about doing this, the first way I will show you now and you can test it and see if it works, failing that I will provide you with an alternative means.

in this file entityclasses.xml under <entity_class name="playerMale"> you will see a line of code commented out <!-- <property name="Immunity" value="ArmorUp"/> Does not work to block a type of buff on blocks or from eating -->

change that to this

entityclasses.xml

Code:
<property name="Immunity" value="sickness;disease;bleeding;speedmodifier"/>
the full code will look like this

Code:
<entity_class name="playerMale">
<property name="EntityType" value="Player"/>
<property name="ModelType" value="UMA"/>
<property name="Class" value="EntityPlayer"/>
<property name="Prefab" value="Player"/>
<property name="Mesh" value="Player/Male/player_maleRagdoll"/>
<property name="PhysicsBody" value="Player"/>
<property name="HasDeathAnim" value="true"/>
<property name="HasRagdoll" value="true"/>
<property name="RagdollOnDeathChance" value="0"/>
<property name="AvatarController" value="AvatarUMAController"/>
<property name="LocalAvatarController" value="AvatarLocalPlayerController"/>
<property name="Parent" value="Players"/>
<property name="CrouchYOffsetFP" value="-0.65"/>
<property name="IsMale" value="true"/>
<property name="TimeStayAfterDeath" value="10"/>

<property name="SurfaceCategory" value="organic"/>
<property name="PushFactor" value="5"/>
<property name="Weight" value="70"/>
[color="#FFFF00"]<property name="Immunity" value="sickness;disease;bleeding;speedmodifier"/>[/color]
<property name="ParticleOnDeath" value="blood_death"/>
<property name="SoundHurt" value="Player_Male/player1painlg"/>
<property name="SoundHurtSmall" value="Player_Male/player1painsm"/>
<property name="SoundDeath" value="Player_Male/player1death"/>
<property name="SoundStamina" value="Player_Male/player1stamina"/>
<property name="SoundDrownPain" value="Player_Male/player1drownpain"/>
<property name="SoundWaterSurface" value="Player_Male/player1drownsurface"/>
<property name="SoundDrownDeath" value="Player_Male/player1drowndeath"/>
<property name="SoundJump" value="Player_Male/player1Jump"/>
<property name="SoundLandSoft" value="Player_Male/player1LandSoft"/>
<property name="SoundLandHard" value="Player_Male/player1LandHard"/>
<property name="SoundPlayerLandThump" value="PlayerLandThump"/>
<property name="MapIcon" value="ui_game_symbol_map_player_arrow"/>
<property name="IsEnemyEntity" value="false"/>
<property name="DropInventoryBlock" value="cntBackpackDropped"/>
<property name="ItemsOnEnterGame.GameModeSurvivalSP" value="bottledWater,canChili,firstAidBandage,torch,keystoneBlock"/>
<property name="ItemsOnEnterGame.GameModeSurvivalMP" value="bottledWater,canChili,firstAidBandage,torch,keystoneBlock"/>
<property name="ExperienceGain" value="173"/>
<property name="LegsExplosionDamageMultiplier" value="1"/>
<property name="ArmsExplosionDamageMultiplier" value="1"/>
<property name="HeadExplosionDamageMultiplier" value="1"/>
</entity_class>
This will not protect you from radiation but that should not be a concern anyways since the radiation zone is a hard cap on distance that you are allowed to travel from the center of the map 0,0 the game can not handle too far of distances.

I can show you how to remove the radiation effect if it really bothers you.

in biomes.xml

change this

Code:
<biome name="radiated" biomemapcolor="#FF0000" radiationlevel="10">
to this

Code:
<biome name="radiated" biomemapcolor="#FF0000">
 
Last edited by a moderator:
Back
Top