Added EpicBobRoss' searchlight

This commit is contained in:
juanjp600
2018-03-07 23:30:38 -03:00
parent 82dcbc3ae8
commit 3a2224392a
5 changed files with 46 additions and 0 deletions
@@ -223,6 +223,15 @@
<Content Include="$(MSBuildThisFileDirectory)Content\Items\Diving\DivingSuitLight.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="$(MSBuildThisFileDirectory)Content\Items\SearchLight\SearchLight.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="$(MSBuildThisFileDirectory)Content\Items\SearchLight\searchlight.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="$(MSBuildThisFileDirectory)Content\Items\SearchLight\SearchLightBase.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="$(MSBuildThisFileDirectory)Content\Texts.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8" ?>
<Items>
<Item
name="Searchlight"
category="Machine"
focusonselected="true"
offsetonselected="350"
linkable="false">
<Sprite texture="Content/Items/SearchLight/SearchLightBase.png" depth="0.01" sourcerect="0,0,128,128"/>
<Turret barrelsprite="Content/Items/SearchLight/SearchLight.png" canbeselected="true" linkable="false" origin="0.5, 0.55" barrelpos="64,64" reload="999999999"
rotationlimits="180,360"
powerconsumption="10000.0"
showchargeindicator="false"
showprojectileindicator="false"
hudtint="0.4,0.6,0.7,0.05">
<LightComponent LightColor="1.0,1.0,1.0,1.0" Flicker="0.0" range="2500" IsOn="true">
<LightTexture texture="Content/Lights/lightcone.png" origin="0.0, 0.5" size="2.0,1.0"/>
</LightComponent>
</Turret>
<ConnectionPanel selectkey="Action" canbeselected = "true" msg="Rewire [Screwdriver]">
<requireditem name="Screwdriver,Wire" type="Equipped"/>
<input name="toggle"/>
<input name="power_in"/>
<input name="position_in"/>
<input name="trigger_in"/>
</ConnectionPanel>
</Item>
</Items>
@@ -24,6 +24,7 @@
<Item file="Content/Items/MiniMap/item.xml" />
<Item file="Content/Items/OxygenGenerator/oxygengenerator.xml" />
<Item file="Content/Items/Pump/pump.xml" />
<Item file="Content/Items/SearchLight/searchlight.xml" />
<Item file="Content/Items/Reactor/reactor.xml" />
<Item file="Content/Items/Tools/tools.xml" />
<Item file="Content/Items/Weapons/depthcharge.xml" />