Raised This Month: $ Target: $400
 0% 

Solved L4D2 STRIPPER - Create door


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AsphyxiaJLSA
Member
Join Date: Oct 2021
Location: Lima,Perú
Old 10-11-2021 , 17:06   L4D2 STRIPPER - Create door
Reply With Quote #1

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.

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


Last edited by AsphyxiaJLSA; 10-11-2021 at 18:49.
AsphyxiaJLSA is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 10-11-2021 , 17:20   Re: L4D2 STRIPPER - Create door
Reply With Quote #2

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"


Last edited by Marttt; 10-11-2021 at 17:21.
Marttt is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:58.


Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Theme made by Freecode