.:: 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 ::. > Forge of Digital Worlds > Mapping > HL Engine Mapping
HL Engine Mapping Maps for the Half-Life engine Half-Life

Reply
 
Thread Tools
light-switch on cs_estate
Old
  (#1)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default light-switch on cs_estate - 16-07-2004

After getting to normal job button code with Podbot2.6mm we found one button (exactly light-switch) totally different than others. This is that general light-switch on cs_estate (see the first picture). All other buttons, light-switches return for the traceline "func_button" - so it's possible to use this part of code responsible to buttons. But only this one give us back after firing the traceline the "func_wall" (see the second picture). Can some of l33t mappers tell us what is this that switch? What other functions are possible to detect it - there is not only a wall - there is also light-switch? How is this switch working (when I push "use" - it's working - so there is some "pushable" area - I suppose)?
Attached Thumbnails
Click image for larger version

Name:	cs_estate.jpg
Views:	596
Size:	33.6 KB
ID:	389   Click image for larger version

Name:	cs_estate_traceline.jpg
Views:	553
Size:	37.7 KB
ID:	390  
  
Reply With Quote
Re: light-switch on cs_estate
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: light-switch on cs_estate - 16-07-2004

My opinion is that the light switch entity is BEHIND the 'func_wall', but just close enough for the player to use it. Or else it's invisible and noclipped. But there HAS to be a func_button or a func_pushable around. Use my PMTools to find out where it hides.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: light-switch on cs_estate
Old
  (#3)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: light-switch on cs_estate - 17-07-2004

Quote:
Originally Posted by Pierre-Marie Baty
But there HAS to be a func_button or a func_pushable around. Use my PMTools to find out where it hides.
At my second picture I tried it. I tried more up, more down, more left, more right. But maybe there is something in Your PMTools like ignore_walls - to let me shoot traceline (or something) to this hidden button throw this func_wall? Or maybe You meant rather about go to no-clip and than try once again? But - how to force bot to find it throw this func_wall? I'm confused...???
  
Reply With Quote
Re: light-switch on cs_estate
Old
  (#4)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: light-switch on cs_estate - 17-07-2004

he means use find entities in sphere
  
Reply With Quote
Re: light-switch on cs_estate
Old
  (#5)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: light-switch on cs_estate - 17-07-2004

OK . I made "asearch 40". There is found the "func_door". I'm surprised...And how to force bot to find it? Look at picture.
Attached Thumbnails
Click image for larger version

Name:	cs_estate_asearch.jpg
Views:	524
Size:	48.3 KB
ID:	393  
  
Reply With Quote
Re: light-switch on cs_estate
Old
  (#6)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: light-switch on cs_estate - 17-07-2004

as i said in a PM:

try to find this entity and a target on it. I know func_doors are used as buttons as well. When a func_door is using a target, it must be a button (because normally a door does not have a target!). Triggered doors are different, the doors 'targetname' is then set and not 'target'. The button that triggers the door (which can be also a func_door) has a 'target' that is the same as 'targetname' of the triggered door.

So in short, 'target' is the magic key; you just need to know which entities are used as 'buttons'.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: light-switch on cs_estate
Old
  (#7)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: light-switch on cs_estate - 17-07-2004

KWo, what you did was very useful. Now do a "printent 200" to print the variables of entity #200 (the func_door) and see what's its target.

If you want to log the output to a file, use the "logfile" command (ex: "logfile cs_log.txt").



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: light-switch on cs_estate
Old
  (#8)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: light-switch on cs_estate - 17-07-2004

OK. Here You have this dump. I don't know how to use the results of this.

BTW. I used condump, because when I tried this:
logfile : cs_log
printent 200

then CS crashed me. I tried at two computers. It's possible reproduce this. This ":" I found in the description (help) to this plugin. Probably need update this help for some working example to this "logfile" command usage (for n00bs like me)...
Attached Files
File Type: txt condump000.txt (10.1 KB, 486 views)
  
Reply With Quote
Re: light-switch on cs_estate
Old
  (#9)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: light-switch on cs_estate - 18-07-2004

there you go, it refers to a target 'upstairs'.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: light-switch on cs_estate
Old
  (#10)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: light-switch on cs_estate - 18-07-2004

Yeah. Thanks . sPlOrYgOn already made some dll for test for me and seems now is 75% OK. Sometimes bots try to reach this button even if they fall down from this cement block that raises up from the ground and then they got stuck. But normally now they can go there and use it. The problem currently I have is this. Without my calling "Taking fire - need assistance" they don't like go there, even I placed there one CT (blue) and one T (red) WP...
  
Reply With Quote
Reply


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

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