.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Metamod and metamod plugins (http://forums.bots-united.com/forumdisplay.php?f=15)
-   -   Stripper2 woes: game_zone_player and bounding boxes (http://forums.bots-united.com/showthread.php?t=3855)

Varinger 15-04-2005 05:54

Stripper2 woes: game_zone_player and bounding boxes
 
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.

Austin 27-04-2005 01:47

Re: Stripper2 woes: game_zone_player and bounding boxes
 
If you do som emapping maybe looking at the example maps from here might help.

http://collective.valve-erc.com/inde...me_zone_player

ConfusedAdmin 28-04-2005 02:59

Re: Stripper2 woes: game_zone_player and bounding boxes
 
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!

Austin 28-04-2005 04:32

Re: Stripper2 woes: game_zone_player and bounding boxes
 
I don't know about tfc. I have only worked with cs and cz.

ConfusedAdmin 28-04-2005 05:12

Re: Stripper2 woes: game_zone_player and bounding boxes
 
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!:D

ConfusedAdmin 28-04-2005 05:13

Re: Stripper2 woes: game_zone_player and bounding boxes
 
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?

Pierre-Marie Baty 28-04-2005 09:52

Re: Stripper2 woes: game_zone_player and bounding boxes
 
It's doable, although rather complicated... Have a look at botman's monster plugin to see how things should be done.

ConfusedAdmin 28-04-2005 23:03

Re: Stripper2 woes: game_zone_player and bounding boxes
 
Thanks for the info!
I will check it out and see if I can find my answer there.

ConfusedAdmin 29-04-2005 02:56

Re: Stripper2 woes: game_zone_player and bounding boxes
 
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?

Pierre-Marie Baty 29-04-2005 10:30

Re: Stripper2 woes: game_zone_player and bounding boxes
 
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... :)


All times are GMT +2. The time now is 19:00.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.