Jump to content

building a weed sprayer help needed


unholyterms

Recommended Posts

i beleve the problem part is on item 1507

i can change the Explosion.BlockDamage to 1 and radius to 5 and it would do it but i would like a 12+ radius and 1 dmg doesn't achieve what im looking for without doing decent dmg the the block. Is there a way to have the Explosion dmg and radius only effect plants and leaves

 

also it doesn't have a shoot animation look like your useing a melee tool and no reload animation

 

may anyone help

 

<item id="1506" name="weedbgonesprayer">
<property name="Meshfile" value="Items/Tools/nailgunPrefab"/>
<property name="Material" value="metal"/>
<property name="Degradation" value="500" param1="false" />
<property name="CustomIcon" value="nailgun" />
<property name="CustomIconTint" value="FFD900" />
<property name="RepairTools" value="forgedIron"/>
<property name="HoldType" value="47"/>
<property name="DegradationBreaksAfter" value="false"/>
<property name="SoundJammed" value="weapon_jam"/>
<property name="CrosshairOnAim" value="false"/> <!-- aimTest -->
<property name="CrosshairUpAfterShot" value="true"/> <!-- aimTest -->
<property name="Sound_Sight_In" value="launcher_sight_in"/>
<property name="Sound_Sight_Out" value="launcher_sight_out"/>
<property name="Auto_fire" value="true"/>
<property class="Action0"> <!-- AttackAction -->
	<property name="Class" value="Launcher"/>
	<property name="Delay" value="0.8"/>
	<property name="Crosshair_min_distance" value="29"/>
	<property name="Crosshair_max_distance" value="34"/>
	<!-- <property name="Range" value="200"/> -->
	<property name="Magazine_size" value="200"/>
	<property name="Magazine_items" value="weedbgone"/>
	<property name="Rays_spread" value="0.01"/>
	<property name="Reload_time" value="2"/>
	<property name="Bullet_icon" value="uzi"/>
	<property name="Sound_start" value="nailgun_fire"/>
	<property name="Particles_muzzle_fire" value="nailgunfire"/>
<!-- <property name="Particles_muzzle_smoke" value="nozzlesmoke"/> -->
	<property name="Sound_repeat" value=""/>
	<property name="Sound_end" value=""/>
	<property name="Sound_empty" value="weapon_empty"/>
	<property name="Sound_reload" value="nailgun_reload"/>
</property>
<property class="Action1"> <!-- UseAction -->
	<property name="Class" value="Zoom"/>
	<property name="Zoom_max_out" value="40"/>
	<property name="Zoom_max_in" value="40"/>
</property>
</item>

<item id="1507" name="weedbgone">
<property name="Meshfile" value="Items/Weapons/Ranged/Vomit/vomitBulbPrefab"/>
<property name="HandMeshfile" value="Items/Weapons/Ranged/Vomit/vomitBulbPrefab"/>
<property name="Material" value="organic"/>
<property name="CustomIcon" value="nail" />
<property name="CustomIconTint" value="FFD900" />
<property name="HoldType" value="3"/>
<property name="Stacknumber" value="2000"/> <!-- STK explosives -->
<property name="EconomicValue" value="588"/>
<property class="Attributes">
	<property name="GetQualityFromWeapon" value="true"/>
	<property name="leavesDamage" value="25"/>
	<property name="plantsDamage" value="25"/>
	<property name="EntityDamage" value="0"/>
	<property name="BlockDamage" value="0"/> <!-- this is not working yet, it uses damage from Action1 -->
</property>
<property class="Action1">
	<property name="Class" value="Projectile"/>
	<property name="Explosion.ParticleIndex" value="7"/> <!-- which Prefab/particle is used -->
	<property name="Explosion.RadiusBlocks" value="5"/> <!-- damage radius for blocks -->
	<property name="Explosion.BlockDamage" value="0"/> <!-- damage for blocks in the center of the explosion -->
	<property name="Explosion.RadiusEntities" value="5"/> <!-- damage radius for entities -->
	<property name="Explosion.EntityDamage" value="0"/> <!-- damage for entities in the center of the explosion. Zombies take 2x this damage. -->
	<property name="Explosion.Radiusleaves" value="15"/>
	<property name="Explosion.leavesDamage" value="25"/>
	<property name="Explosion.Radiusplants" value="15"/>
	<property name="Explosion.plantsDamage" value="25"/>
	<property name="DamageBonus.plants" value="25" />
	<property name="DamageBonus.leaves" value="25" />
	<property name="Velocity" value="50"/>
	<property name="FlyTime" value="1.2"/>
	<property name="LifeTime" value="8"/>
</property>
</item>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...