Garry's Mod
Combine Door Creator - E2 function (Wiremod) / Dupe-able / Customizable
 Acest topic a fost fixat, deci probabil este important
LibertyForce  [dezvoltator] 17 aug. 2014 la 0:15
FAQs
How do I open / close the Combine gates or lock / unlock the normal doors?
The spawned doors behave exactly like map entities. In order to control them, you have to fire their inputs.
For combine gates: "setanimation" "open" / "setanimation" "close"
For rotating doors: "open" / "close" / "lock" / "unlock"
I strongly recommend you get my Entity:fire() function for Expression 2. Then you can control these doors via wire.
Other tools that can interact with doors: Sonic Screwdriver, Alyx EMP Swep, Extended Properties,...

Can you add Wire inputs / outputs to the doors?
Sorry, but no. If you want Wire inputs, you should get the Wire Doors STools from Wiremod's SVN. The purpose of this addons is to make the doors easily dupeable by recreating them each time via E2. You would have to renew the wires all the time which is not as comfortable as just firing the inputs.

Can I move the doors with the Physgun?
For the prop_dynamic doors: No, I disabled that, because it doesn't move the collision and f**** up the door. For the other doors: Yes, but do not rotate them, because if you do, they will no longer open correctly.

Can I use this in multiplayer?
If it's installed server-side, then yes. If you have a CPPI compatible Prop Protection addon, then the door's owner will register correctly to the player that spawned it. Otherwise it'll be owned by the world, which shouldn't be a problem, if you don't use Prop Protection.

Does this have any bugs / issues?
Yes, some small issues are there:
- The models spawn differently on the coordinates you provided. For example, the Combine gate no. 1 spawns 90° rotated, the gates 2 and 3 do not. Some spawn with their center at the position, others with their corners. I don't have the time to make spawning for each model individually. You will have to live with that.
- Most prop_dynamic doors don't have any sounds. I don't have the time to look for fitting sound files, but you can always play some sound using E2.
- If you spawn a rotating door where the E2 chip is (via entity():pos()), then you have to move or remove (put selfDestruct() in the code) the E2 chip or it'll block the door from closing again.

Please remember, that this was a personal project, that works fine for me and that I'm just sharing for those who might find it useful. If you can live with that, then please enjoy it.
< >
Se afișează 1-14 din 14 comentarii
how can you spawn the doors/gates? likely, where are they
LibertyForce  [dezvoltator] 14 sept. 2014 la 8:57 
Did you even try to read the description?!
Rileyy 19 oct. 2014 la 20:41 
Postat inițial de pootisman:
how can you spawn the doors/gates? likely, where are they
Rileyy 19 oct. 2014 la 20:42 
yeah i need help
THE ROCK 20 oct. 2014 la 20:12 
Well i cant understand too how to spawn doors , u should make it more easly .....
agreed like i dont type into the console
the only thing i type is kill
Xenthys 11 ian. 2015 la 14:26 
This isn't a console command, it's an Expression 2 function.
If you don't know what's the E2 : http://wiki.wiremod.com/wiki/Expression_2
Neuron 20 mart. 2016 la 8:57 
Why isnt there a Combine Security Door?
model 7 wont work for me :C
how can i spawn the door? i read the description, but i need a easily form
Sorry for the trouble, but can you make it still useable after load a save, because everytime after i load the save, the doors just disappear, if you can fix that, that well be really nice, thx
Sorry but wiki not working,someone can say how to use that doors ?
Barin 6 iul. 2020 la 17:13 
how to spawn doors
I can get the doors to spawn and open just fine but They Mining elevator and the Garage door don't seem to spawn down for me. I have hl2 episode two installed
< >
Se afișează 1-14 din 14 comentarii
Per pagină: 1530 50