AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Solved L4D2 STRIPPER - Create door (https://forums.alliedmods.net/showthread.php?t=334662)

AsphyxiaJLSA 10-11-2021 17:06

L4D2 STRIPPER - Create door
 
someone know how to add a dynamic door i.e it can be opened and closed

I succeeded, but I don't know what to add so that the door becomes dynamic and I can open and close it.:cry::cry:

PHP Code:

add:
{
    
"solid" "6"
    "origin" "8251 12807 -934"
    "angles" "0 179 0"
    "model"     "name door.mdl"
    "classname"    "prop_dynamic"



Marttt 10-11-2021 17:20

Re: L4D2 STRIPPER - Create door
 
You are using the wrong entity, should use prop_door_rotating.

Example (this adds a door at c1m1_hotel):

PHP Code:

add:
{
    
"targetname" "mart_new_door_saferoom_start"
    "origin" "392 5608 2848"
    "opendir" "0"
    "angles" "0 0 0"
    "classname" "prop_door_rotating"
    "skin" "0"
    "disableshadows" "1"
    "distance" "90"
    "fademindist" "-1"
    "fadescale" "1"
    "hardware" "1"
    "model" "models/props_downtown/metal_door_112.mdl"
    "rendercolor" "122 151 158"
    "renderamt" "255"
    "returndelay" "-1"
    "spawnflags" "8192"
    "speed" "330"
    
;glow to check
    
"glowenabled" "1"
    "glowcolor" "0 255 0"
    "glowstate" "3"




All times are GMT -4. The time now is 08:03.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.