.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > SDK Programming discussions > Half-Life 1 SDK
Half-Life 1 SDK For developments focused around Half-Life (and its mods) Half-Life

Reply
 
Thread Tools
making a model-based door
Old
  (#1)
tschumann
Moderator
 
tschumann's Avatar
 
Status: Offline
Posts: 277
Join Date: Apr 2011
Location: Australia
Default making a model-based door - 18-07-2012

I'm trying to make a model-based door for a mod I'm working on.
What I'm doing is rotating the bounding/collision box so that it aligns with the model (so that doors can be at different orientations, not because I'm making a rotating door).
The problem is that if the door is oriented at an angle either >90 and <180 degrees or >270 and <360 degrees the bounding box is invalid because one of the mins will be greater than one of the maxs.
Anyone know any way around this?
  
Reply With Quote
Re: making a model-based door
Old
  (#2)
sixcentgeorgefr
Member
 
sixcentgeorgefr's Avatar
 
Status: Offline
Posts: 44
Join Date: Aug 2009
Default Re: making a model-based door - 01-12-2020

i am not sure.. what means your door rotation ...you should try to post an image or two of your idea .. or a link to an other map of a mod ..
for my giant mod.. i played a lot of maps.. with differents dlls[engine]
a trick i saw in decay [ the map you start with a plane outside that later drops grunts ] and in residual point : is the use of two doors so they only open from one side..[or so ]
the trick is invisible when you use the mod's dlls but it becomes visible when you change de dll[engine]
same with the very good "echoes" mod.. made with a very old spirit of half life ..[ that sadly does not have the Tor as enemy .. instead of the Alien_Grunt_maxi strong..] if you play his maps with the sweet hl dlls.. then there are no more cars or trucks in the parking .. i also played the residual point maps with the echoes dlls .. and then found two "bugs" in two maps [ one at the begining when you take the ride "a la half life" visiting the complex ] [ the other is at the first end .. when player finish teleported and then captured ][ the train does not get above the rails ]
i posted few image of this : https://postimg.cc/gallery/DLXmLNy
console writes something about a deadpoint.. problem should come from spirit of hl .. i do not know how is coded residual point dlls engine .. valve is not having a dev wiki.. with codes listed by "fgd entities" for a reuse .. in others dlls ..
  
Reply With Quote
Re: making a model-based door
Old
  (#3)
tschumann
Moderator
 
tschumann's Avatar
 
Status: Offline
Posts: 277
Join Date: Apr 2011
Location: Australia
Default Re: making a model-based door - 02-12-2020

This was a long time ago now but I think I did get it working.
I'm sure I have the code... somewhere, but it was for a mod I was helping someone else with.
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com