Is there a plugin out there or a function that could remove puzzle doors from radtowns?
Remove doors from rad town puzzles?
Not that I know off, but adding keycards and fuses to your shop/kits would help players alot so they dont have to grind the same boring "puzzle" over and over again.
I had a guy create a working plugin that removed rad town doors.
If not, you can always try what Wulf suggested here in this thread a few months back.
Or just use PuzzleByPass. Only need to hold the correct color keycard, press E on teh door and you're in!
Yeah Component Blocker is not removing any monument doors.
P4R4NORM4L
Yeah Component Blocker is not removing any monument doors.
Are you sure you put right shortnames?
assets/bundled/prefabs/static/door.hinged.security.blue.prefab
assets/bundled/prefabs/static/door.hinged.security.green.prefab
assets/bundled/prefabs/static/door.hinged.security.red.prefab Yes I am!
Merged post
I can remove them with ent kill but I don't want to have to do that. I even tried to remove them by restarting the server
Merged post
I can remove them with ent kill but I don't want to have to do that. I even tried to remove them by restarting the server
Here's a command to find all the security doors. I never tried to .Kill() them. You could make a plugin do this when the OnServerInitialized() hook gets called.
[ConsoleCommand("doors")]
private void DoorsConsole()
{
int count = 0;
foreach (GameObject go in UnityEngine.Object.FindObjectsOfType<GameObject>().Where(x => x.name.Contains("door.hinged.security")))
{
Puts("Found object at " + go.transform.position.ToString() );
count++;
// go.Kill(); // or something like that...
}
Puts("Found " + count + " objects.");
} Oh boy! That's out of my C# capabilities... I'm just starting to learn it :-|. But if someone could do this for me I would greatly appreciate it.
ZugzwangHere's a command to find all the security doors. I never tried to .Kill() them. You could make a plugin do this when the OnServerInitialized() hook gets called.[ConsoleCommand("doors")] private void DoorsConsole() { int count = 0; foreach (GameObject go in UnityEngine.Object.FindObjectsOfType<GameObject>().Where(x => x.name.Contains("door.hinged.security"))) { Puts("Found object at " + go.transform.position.ToString() ); count++; // go.Kill(); // or something like that... } Puts("Found " + count + " objects."); }
Instead of gameobjects, you should search by door class (Door)
Orange
Instead of gameobjects, you should search by door class (Door)
True. What I pasted is super generic so it's going to loop through a huge amount of objects that it's not interested in.
Ok, How much time woudl it take for someone to develop this ?
I'll send you a PM with the code. You'll just have to save it to a .cs file and upload it to your server, then run the console command to kill the doors. If you do this, I'm not sure if the doors will come back after a server restart, or if they are gone forever. Use at your own risk.
My server is still in Dev so i don't care what happens