Hi all,
I have the sailing ship prop inside a Prop Manipulator Volume to set HP of the individual components/panels and resources when harvested. This is connected to a tracker which tracks damage events so that each time a player destroys a wooden panel it registers as 1 hp loss.
At 75% damage (25hp left) I wanted to use a HUD Message Device to give a low hp warning.
This works initially as the hp hits 25 or less the message appears on the UI and the audio lets me know but each hit after does the same thing. Also there are 2 ships (its a Red vs Blue) the same setup for the other ship gives me 2 messages - 1 for each blue and red ship even tho I am only hitting the blue (or red) ship.
When I test/tweak I try to make sure both pairs of devices (trackers/hud msg etc) are matching accordingly. But the error persists.
Another thing possibly related, is I wanted to spawn niagara smoke effect when the ship was at half then at low hp as well with a VFX spawner that is set off by the same tracker. I have 4 different particle systems - one for 50% hp and another at 75% hp for both ships. The problem here is that the particle systems spawn semi randomly. Similar to the HUD msg device where I will damage Ship A to 50% and it will start to smoke but also so will Ship B. Or another time I will get Ship A to 75% down (both smokes go off as expected) but.. smoke 50% goes off on Ship B.
I have deleted and replaced all device. I am sure I am missing something but just not sure what.
The HP system does work (at 0hp the red/blue winner is announced correctly based on which ship is sunk) its just these issues are blocking some of the nice to haves warning and smoke.
Does anyone have any advice please? Happy to answer any questions to make things clear if that will help.
Thank you for your time.
Hey @OddButAwesome how are you?
Hope you have solved this issue but if not, let me explain you how to do it!
First of all, as I cannot see how you have you manipulators setup on your island, the first thing I need to claridy is that you need to be sure that each manipulator should be touching only the props you want to affect with it. Checking your Zone sizes it looks huge! Be carefull with that and check both manipulators! They should not overlaping.
After that, let me show how I would config this:
- First of all, add all the devices needed for one of the ships to the Island, so it will be easier to connect them without any confusion. Those devices are (with the names I used):
- Round Settings
- Prop Manipulator - PropMan_Blue
- Tracker Master - TRK_Blue_Master
- Tracker 75% - TRK_Blue_75
- Tracker 50% - TRK_Blue_50
- HUD Message - HUD_Blue_LowHP
- (If you want to let the both teams know that 1 ship is low HP, you will need to add an extra HUD Message device for each team)
- VFX 75% - VFX_Blue_Smoke75
- VFX 50% - VFX_Blue_Smoke75
-
Now is time to configure the Tracker Master. You will need to configure it like this:
Keep in mind that your “target value” should be the total amount of props that can be destroyed. I used 12 for testing.
-
The next step is to config your 75% and 50% trackers (both uses the same config):
Off course, you need to set “target value” to 75%/50% of your total props to be destroyed (the number you put on the Master tracker)
-
Lets setup the HUD Message device now. Here I’m using two different HUD Messages for each team. Both messages are linked to the same ship, but one lets the owner team know their ship is about to sink, and the other one lets the opposite team know the enemy ship is about to sink. To achieve this, you need to use different layers for each device:
Both of them are triggered at the same time, but for different teams
-
The last part for the first team is to setup the VFX. I used different particles just for testing, you can configure that as you want. The important part is the “User Options - Functions”:
-
Once all that is done, you are ready to test Team 1 (Blue)! I highly recommend you to do that before going to the next step!
-
The last thing to do is to grab all the devices but the Round Settings and duplicate them for the Red team. I recommend you to choose all the devices and then hold “alt” key and drag to duplicate them already connected as you need. Then you can change the names and everything will be almost ready! The last thing you need to do is to change the Team Index for each devices to the opposite team index. I mean, if the device says “team index: 1” set it to “Team Index: 2” and so on.
Once finished, it should work like this:
As you can see, with this config, when you destroy parts of the red team it lets you know (center right). And when the blue team is about to be destroyed it lets you know as well (top center)
And that’s it! Let me know if you need anything else!