From 9da4deaed5fdbdb29dd638ba11e07f6b22253986 Mon Sep 17 00:00:00 2001 From: ClasticM Date: Fri, 18 May 2018 19:58:09 -0500 Subject: [PATCH 1/2] Rear Railgun Controller/Additional Railgun Loaders Tested code for new Railgun items * "Rear Railgun Controller" - Rearward facing Railgun controller * "Railgun Single Loader" - Vertical loader with 1 shell capacity * "Forward Railgun Loader" - Forward facing loader with 1 shell capacity * "Rear Railgun Loader" - Rearward facing loader with 1 shell capacity Gives sub makers more variety and different ways to arm subs. Can also be used to make a challenging balance with the weapons that requires more teamwork to operate. Also useful for simulating torpedo's tubes Sprite example: https://imgur.com/muAIF9P All items tested and implemented. --- .../Content/Items/Weapons/railgun.xml | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/Barotrauma/BarotraumaShared/Content/Items/Weapons/railgun.xml b/Barotrauma/BarotraumaShared/Content/Items/Weapons/railgun.xml index 6991a3b6c..be56bd24e 100644 --- a/Barotrauma/BarotraumaShared/Content/Items/Weapons/railgun.xml +++ b/Barotrauma/BarotraumaShared/Content/Items/Weapons/railgun.xml @@ -47,6 +47,31 @@ + + + + + + + + + + + + + + + + + + + @@ -69,6 +94,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Date: Fri, 18 May 2018 20:13:12 -0500 Subject: [PATCH 2/2] Railgun Shell Rack Adds a rack capable of holding 3 Railgun shells, so players / sub makers won't have to store shells on the floor anymore. Also helps the crew keep track of how many Railgun shells they sub have. Because the racks take up space, it also would help with balancing subs for PvP and so on. texture located in "content/items/weapons/railgunetc2.png", which it shares with the new loaders and rear facing controller. https://imgur.com/muAIF9P This feature has been requested a lot lol, so I hope this will make a lot of people really happy --- .../Content/Items/Containers/containers.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Barotrauma/BarotraumaShared/Content/Items/Containers/containers.xml b/Barotrauma/BarotraumaShared/Content/Items/Containers/containers.xml index 0025f3810..2a0482ae3 100644 --- a/Barotrauma/BarotraumaShared/Content/Items/Containers/containers.xml +++ b/Barotrauma/BarotraumaShared/Content/Items/Containers/containers.xml @@ -11,6 +11,18 @@ + + + + + + + + + +