Jump to content

Prefab Broken / Players take no Damage

Not a Bug 1.0.7

Hi,

the prefab is broken (Hunger-Games-revised-27-5-21). I followed the instructions and imported height map and everything, but most buildings are missing, loot crates floating in the air, holes in the ground.

Also, when I start a new game, all players take no damage at all.

Also - after elevator has risen to top floor, there is a short time when you can use the buttons to lower it. It'll go down a meter or so and then controls don't work anymore. If you're able to hide in there for a few more seconds, the elevator goes down to the lobby where you can wait the game out.

Please advise

Edited by Flenser
added elevator problem

Share this comment


Link to comment
3 hours ago, Flenser said:

Hi,

the prefab is broken (Hunger-Games-revised-27-5-21). I followed the instructions and imported height map and everything, but most buildings are missing, loot crates floating in the air, holes in the ground.

Also, when I start a new game, all players take no damage at all.

Also - after elevator has risen to top floor, there is a short time when you can use the buttons to lower it. It'll go down a meter or so and then controls don't work anymore. If you're able to hide in there for a few more seconds, the elevator goes down to the lobby where you can wait the game out.

Please advise

That's odd. No one else has had this issue, and I just tested the latest release to be sure - worked fine.

If the terrain isn't snapping into place & the buildings are disappearing, it might be worth a reinstall of your rustEdit and a reload of the prefab into your folder. It can do some weird shit sometimes (had to reload mine recently).

The loot crates floating in the air would be to do with the terrain being the wrong height, and the holes in the ground would be to do with the alpha. I recommend painting the alpha yourself (rather than generating it), as the resolution that HG was created in might not match the resolution of your map. Alpha is only needed under the elevators, as shown in the video.

 

Now for the plugin side.

If all players aren't taking damage at all, it means you have some sort of PVE plugin loaded. What plugin is this?

The elevators have a hook on them that prevents them from being used (OnElevatorButtonPress). If this is happening, either the plugin hasn't been able to acquire the buttons (due to the prefab not importing correctly - it uses a pookie bear as a reference entitiy), or there is another plugin on your server that is returning true for all elevator use and conflicting with the hook. This should appear in your server console as a confliction if it's happening.

The afk slaying function starts up after the circle is initiated (the big dome that spawns). This is responsible for killing any player that resides in the lobby after the elevators have returned. 

 

I recommend: installing a fresh version of RustEdit in a new folder, putting the HG prefab in the custom prefabs folder in the new directory, and loading up the new version of rust edit. Alternatively, delete your existing rustEdit (back up your data first), and install a new one in its stead, then follow my tutorial for importing it into the map.

 

This should hopefully eliminate a lot of the plugin errors for HG acquiring the pookiebear/buttons/elevators/lobby locations etc. As for preventing damage, let me know what PVE plugin you use and I will see if there are any hooks that can be used to allow damage, like I have with TruePVE.

Share this comment


Link to comment
9 hours ago, imthenewguy said:

That's odd. No one else has had this issue, and I just tested the latest release to be sure - worked fine.

If the terrain isn't snapping into place & the buildings are disappearing, it might be worth a reinstall of your rustEdit and a reload of the prefab into your folder. It can do some weird shit sometimes (had to reload mine recently).

The loot crates floating in the air would be to do with the terrain being the wrong height, and the holes in the ground would be to do with the alpha. I recommend painting the alpha yourself (rather than generating it), as the resolution that HG was created in might not match the resolution of your map. Alpha is only needed under the elevators, as shown in the video.

 

Okay, will reinstall Rustedit. No other prefab has this problem though. I will customize the map anyway, so that's not a too big issue. The underground lobby is fine and works.

9 hours ago, imthenewguy said:

Now for the plugin side.

If all players aren't taking damage at all, it means you have some sort of PVE plugin loaded. What plugin is this?

I have TruePVE but it's not active (default set to false in config). I have also unloaded it without change. I use other minigames on the server but they all work without any problems - and players get damage as regular.

9 hours ago, imthenewguy said:

The elevators have a hook on them that prevents them from being used (OnElevatorButtonPress). If this is happening, either the plugin hasn't been able to acquire the buttons (due to the prefab not importing correctly - it uses a pookie bear as a reference entitiy), or there is another plugin on your server that is returning true for all elevator use and conflicting with the hook. This should appear in your server console as a confliction if it's happening.

It seems to work but for a few seconds before/after the doors open. I have a plugin which gives all electric entities power, so you don't have to hook them up. Might have something to do with it.

9 hours ago, imthenewguy said:

The afk slaying function starts up after the circle is initiated (the big dome that spawns). This is responsible for killing any player that resides in the lobby after the elevators have returned. 

Didn't trigger. Could have something to do with players not taking any damage.

 

 

9 hours ago, imthenewguy said:

I recommend: installing a fresh version of RustEdit in a new folder, putting the HG prefab in the custom prefabs folder in the new directory, and loading up the new version of rust edit. Alternatively, delete your existing rustEdit (back up your data first), and install a new one in its stead, then follow my tutorial for importing it into the map.

 

This should hopefully eliminate a lot of the plugin errors for HG acquiring the pookiebear/buttons/elevators/lobby locations etc. As for preventing damage, let me know what PVE plugin you use and I will see if there are any hooks that can be used to allow damage, like I have with TruePVE.

Thanks for the swift reply. Will keep you on the loop.

Share this comment


Link to comment
1 hour ago, Flenser said:

 

Okay, will reinstall Rustedit. No other prefab has this problem though. I will customize the map anyway, so that's not a too big issue. The underground lobby is fine and works.

I have TruePVE but it's not active (default set to false in config). I have also unloaded it without change. I use other minigames on the server but they all work without any problems - and players get damage as regular.

It seems to work but for a few seconds before/after the doors open. I have a plugin which gives all electric entities power, so you don't have to hook them up. Might have something to do with it.

Didn't trigger. Could have something to do with players not taking any damage.

 

 

Thanks for the swift reply. Will keep you on the loop.

The TruePVE hook in the plugin returns true if the player is enrolled. There has to be a plugin loaded that is preventing the damage, or TruePVE is behaving weirdly.

As part of your testing, it might be worth unloading TruePVE and seeing what happens.

 

Share this comment


Link to comment
On 7/9/2021 at 8:14 PM, Flenser said:

 

Okay, will reinstall Rustedit. No other prefab has this problem though. I will customize the map anyway, so that's not a too big issue. The underground lobby is fine and works.

I have TruePVE but it's not active (default set to false in config). I have also unloaded it without change. I use other minigames on the server but they all work without any problems - and players get damage as regular.

It seems to work but for a few seconds before/after the doors open. I have a plugin which gives all electric entities power, so you don't have to hook them up. Might have something to do with it.

Didn't trigger. Could have something to do with players not taking any damage.

 

 

Thanks for the swift reply. Will keep you on the loop.

Hey mate, how did you go with this?

Share this comment


Link to comment
348.2k

Downloads

Total number of downloads.

1.8k

Customers

Total customers served.

23.8k

Files Sold

Total number of files sold.

369.5k

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.