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 - Jay425

#1
Help / Def mistakes?
November 13, 2021, 05:48:40 AM
Does anyone see any mistakes here? I cant seem to get it to appear in game

ThingDef ParentName="BaseWeaponNeolithic">
    <defName>Bow_Ginga</defName>
    <label>ginga pachinko</label>
    <description>A simple short slingshot.</description>
    <graphicData>
      <texPath>Things/Item/Equipment/WeaponRanged/GingaPachinko</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <costList>
      <WoodLog>30</WoodLog>
    </costList>
    <uiIconScale>1.5</uiIconScale>
    <statBases>
      <WorkToMake>2400</WorkToMake>
      <Mass>0.8</Mass>
      <AccuracyTouch>0.75</AccuracyTouch>
      <AccuracyShort>0.65</AccuracyShort>
      <AccuracyMedium>0.45</AccuracyMedium>
      <AccuracyLong>0.25</AccuracyLong>
      <RangedWeapon_Cooldown>1.65</RangedWeapon_Cooldown>
    </statBases>
    <weaponTags>
      <li>NeolithicRangedBasic</li>
    </weaponTags>
    <weaponClasses>
      <li>Ranged</li>
      <li>RangedLight</li>
    </weaponClasses>
    <recipeMaker>
      <recipeUsers>
        <li>CraftingSpot</li>
      </recipeUsers>
      <skillRequirements>
        <Crafting>2</Crafting>
      </skillRequirements>
    </recipeMaker>
    <verbs>
      <li>
        <verbClass>Verb_Shoot</verbClass>
        <hasStandardCommand>true</hasStandardCommand>
        <defaultProjectile>Arrow_Short</defaultProjectile>
        <warmupTime>1.35</warmupTime>
        <range>22.9</range>
      </li>
    </verbs>
    <tools>
      <li>
        <label>limb</label>
        <capacities>
          <li>Blunt</li>
          <li>Poke</li>
        </capacities>
        <power>9</power>
        <cooldownTime>2</cooldownTime>
      </li>
    </tools>
  </ThingDef>
 
  <ThingDef ParentName="BaseProjectileNeolithic">
    <defName>Pellet_Ginga</defName>
    <label>slingshot pellet</label>
    <graphicData>
      <texPath>Things/Projectile/Pellet</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <projectile>
      <damageDef>Blunt</damageDef>
      <damageAmountBase>11</damageAmountBase>
      <speed>44</speed>
    </projectile>
#2
Help / New ability xml?
September 19, 2021, 01:20:30 PM
Can some one look over this and tell me if they see any mistakes and also i plan on putting fire damage for fist here or would i have to put the flame damage def in another def file?

<AbilityDef ParentName="PsycastBase">
    <defName>Firefist</defName>
    <label>Firefist</label>
    <description>A fire punch from the Mera Mera no Mi.</description>
    <level>1</level>
    <iconPath>UI/Abilities/FireFist</iconPath>
    <hotKey>Misc1</hotKey>
    <statBases>
      <Ability_EntropyGain>8</Ability_EntropyGain>
      <Ability_PsyfocusCost>0.02</Ability_PsyfocusCost>
      <Ability_Duration>120</Ability_Duration>
    </statBases>
    <verbProperties>
      <warmupTime>0.25</warmupTime>
      <range>2</range>
      <targetParams>
        <canTargetSelf>False</canTargetSelf>
        <canTargetAnimals>True</canTargetAnimals>
      </targetParams>
    </verbProperties>
    <comps>
      <li Class = "CompProperties_AbilityGiveHediff">
        <compClass>CompAbilityEffect_GiveHediff</compClass>
        <hediffDef>FireFist</hediffDef>
        <durationMultiplier>PsychicSensitivity</durationMultiplier>
        <psychic>True</psychic>
        <applicableToMechs>False</applicableToMechs>
      </li>
      <li Class="CompProperties_AbilityFleckOnTarget">
      </li>
    </comps>
  </AbilityDef>
#3
Help / A tutorial on ability making?
September 11, 2021, 12:43:43 AM
Can some one point me in the direction of a guide that shoes how to make abilities. Im trying to do something like how the Rimworld Of Magic is set up UI wise. I need help with how to set this type of mod up