.:: 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 ::. > Enhancement Workshop > Metamod and metamod plugins
Metamod and metamod plugins Plugins and improvements for the metamod server-side mod

Reply
 
Thread Tools
Stripper2 woes: game_zone_player and bounding boxes
Old
  (#1)
Varinger
Member
 
Status: Offline
Posts: 2
Join Date: Apr 2005
Default Stripper2 woes: game_zone_player and bounding boxes - 15-04-2005

I've been trying all day to get stripper2 to add in a game_zone_player that doesn't crash my HL when I load the map.

I'm basically copy/pasting the entities from the .ent file ripent exports from the map sgsd (shotgun squaredance) to add king of the hill style play to another map. I've made appropriate modifications, like using slashes to separate keys/values instead of having them in quotes.

Everything works, except that bbox_min and bbox_max apparently don't. Beyond that, the attempted bounding box seems to be the cause of the crashes, as when I remove those keys and add in "model/*32" instead, the map runs fine, but I have no duplicate brush that I can see (it may be that it's invisible, I'll check later), and it's not really useful for defining a "hill" for king of the hill play, anyway - all I can do with that is have the level give out negative points to everyone everywhere (so the entities themselves work, at least).

I'd probably just have scrapped the idea by now except that game_zone_player isn't any different from a trigger_teleport, from what I can tell. They're both entities that require a brush (bounding box), and botman's example .cfg for crossfire has a teleport in it, using a bounding box, not a model/*## entry. I just tested crossfire, and the teleport does work, so now I'm stuck wondering what's different about the game_zone_player entity?

Both brushes only define an area for use by the trigger... neither's supposed to be solid... I can't imagine why the bounding box wouldn't work.

If anyone knows how to circumvent/deal with this (or if it simply isn't possible), your help would be much appreciated.
  
Reply With Quote
Re: Stripper2 woes: game_zone_player and bounding boxes
Old
  (#2)
Austin
Moderator
 
Austin's Avatar
 
Status: Offline
Posts: 403
Join Date: Nov 2003
Default Re: Stripper2 woes: game_zone_player and bounding boxes - 27-04-2005

If you do som emapping maybe looking at the example maps from here might help.

http://collective.valve-erc.com/inde...me_zone_player
  
Reply With Quote
Re: Stripper2 woes: game_zone_player and bounding boxes
Old
  (#3)
ConfusedAdmin
Member
 
Status: Offline
Posts: 6
Join Date: Apr 2005
Default Re: Stripper2 woes: game_zone_player and bounding boxes - 28-04-2005

First off, I appologize if I put this question in the wrong place. This is actually the first time I've ever registered to a forum. You guys seem to know a good ammount about stripper2. My question is this...
The stripper2 readme says that you can load hl deathmatch entities into almost any mod...
I have had a great success in spawning TFC weapons in my TFC server. But when it comes to trying to spawn HL Deathmatch weapons, nothing shows..
So.. Is there a way to load other entities and/or weapons from other mods into TFC?
I know there has got to be a way.. I see plugins all the time that make use of entities from other mods...
Thanks for your help..
If I posted this in the wrong place, just let me know and I will post it in the proper thread!
  
Reply With Quote
Re: Stripper2 woes: game_zone_player and bounding boxes
Old
  (#4)
Austin
Moderator
 
Austin's Avatar
 
Status: Offline
Posts: 403
Join Date: Nov 2003
Default Re: Stripper2 woes: game_zone_player and bounding boxes - 28-04-2005

I don't know about tfc. I have only worked with cs and cz.
  
Reply With Quote
Re: Stripper2 woes: game_zone_player and bounding boxes
Old
  (#5)
ConfusedAdmin
Member
 
Status: Offline
Posts: 6
Join Date: Apr 2005
Default Re: Stripper2 woes: game_zone_player and bounding boxes - 28-04-2005

Hmmm...

Well the coding doesn't present a problem for me..
Do you know anything about how to load entities into CS that weren't originally part of CS?
Thanks for replying!
  
Reply With Quote
Re: Stripper2 woes: game_zone_player and bounding boxes
Old
  (#6)
ConfusedAdmin
Member
 
Status: Offline
Posts: 6
Join Date: Apr 2005
Default Re: Stripper2 woes: game_zone_player and bounding boxes - 28-04-2005

That didn't come out right, What I meant was do you know how to make entities available to load that werent originally part of CS?
  
Reply With Quote
Re: Stripper2 woes: game_zone_player and bounding boxes
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: Stripper2 woes: game_zone_player and bounding boxes - 28-04-2005

It's doable, although rather complicated... Have a look at botman's monster plugin to see how things should be done.



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: Stripper2 woes: game_zone_player and bounding boxes
Old
  (#8)
ConfusedAdmin
Member
 
Status: Offline
Posts: 6
Join Date: Apr 2005
Default Re: Stripper2 woes: game_zone_player and bounding boxes - 29-04-2005

Thanks for the info!
I will check it out and see if I can find my answer there.
  
Reply With Quote
Re: Stripper2 woes: game_zone_player and bounding boxes
Old
  (#9)
ConfusedAdmin
Member
 
Status: Offline
Posts: 6
Join Date: Apr 2005
Default Re: Stripper2 woes: game_zone_player and bounding boxes - 29-04-2005

I've been looking at the source for Monster mod and can't seem to find the code that makes entities available from the half life mod. Could you possibly point out which file might contain the clue?
  
Reply With Quote
Re: Stripper2 woes: game_zone_player and bounding boxes
Old
  (#10)
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: Stripper2 woes: game_zone_player and bounding boxes - 29-04-2005

Basically, you don't "make entities available from another game DLL", what you have to do is to code them yourself. That is, implement all the spawn/touch/think/etc. functions in your plugin, as well as the class export (LINK_ENTITY_TO_CLASS). That's what botman did. That's also what the guy who wrote HookMod (a plugin that adds a grapple hook like the one in Opposing Force to any mod).

When I say it's complicated...



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
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