.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Metamod and metamod plugins (http://forums.bots-united.com/forumdisplay.php?f=15)
-   -   Botmans Stripper2 Plugin and creating Barneys (http://forums.bots-united.com/showthread.php?t=2925)

Security 06-11-2004 16:30

Botmans Stripper2 Plugin and creating Barneys
 
Hi,
I've downloadet and installed Botmans Stripper2 Plugin successfully, and would like to add a full working Barney to a Map now. I tried the following:
I created a .cfg File for the Map in Map Folder and addet this Piece of Code i got from a Friend:

{
classname/monster_barney
rendercolor/0 0 0
origin/2368 1983 2047
}

the Coordinates should be the right ones - checked it with Botmans .bsp Viewer, so something must be wrong, cause it don't works, do i have to precache Files somehow? Isn't that the right Code?

Hope you can help me! ;)

sfx1999 06-11-2004 17:29

Re: Botmans Stripper2 Plugin and creating Barneys
 
What mod is this for? Most mods don't support monsters.

Security 06-11-2004 19:55

Re: Botmans Stripper2 Plugin and creating Barneys
 
It's Natural Selection - i tried Botmans Monsterplugins before, and it worked, so creating a Barney with Stripper2 shouldn't be a Problem, i think, is it?
I would use the Monster Plugin to spawn Barney, if he wasn't that agressive and shoots everyone instantly when spawned then. So i want the original friendly Halflife one. ;)

Pierre-Marie Baty 07-11-2004 14:27

Re: Botmans Stripper2 Plugin and creating Barneys
 
Aha, I see.

It worked with the monster plugin because the Barney code is embedded within the monster plugin (which is the principle that makes this plugin work with all mods).

But if the mod doesn't feature any Barney code natively, you won't be able to spawn one with Stripper.

Stripper can only spawn entities that the mod knows. Monster adds new entities to mods. That's the key difference.

Security 07-11-2004 16:12

Re: Botmans Stripper2 Plugin and creating Barneys
 
Oh, so the Code I entered is right, but Natural-Selection doesn't support Monsters? Okay, but can I get it to work somehow different?

Or even better: Could someone make the Monster Plugin's Barney friendly, for me, maybe? If you have the Time and feel nice or something, shouldn't be as big Changes, i just don't know anything about Metamod - tried to look at the Sourcecode, but didn't know what to Change - compilation for Linux failed too ;)

BAStumm 08-11-2004 21:43

Re: Botmans Stripper2 Plugin and creating Barneys
 
who do you want barney to target?

Security 09-11-2004 01:00

Re: Botmans Stripper2 Plugin and creating Barneys
 
I mostly want the Barney for decorative purpose, so it would be the best if he only draws his Weapon to defend himself, when he is attacked by someone ;)

BAStumm 09-11-2004 01:06

Re: Botmans Stripper2 Plugin and creating Barneys
 
you could spawn the barney model using stripper 2 for decoration but he wont move at all, no shooting, no walking, nothing.

I suppose it might be fun to make 3 versions of barney (and hgrunts, hassassins, etc) for use in team mods. IE Red Barney, Blue Barney and Neutral Barney. Nuetral barney would do nothing, cept maybe shoot when attacked (have to look into that, not sure I would know how to do it) and then have red and blue barney help out their corresponding teams (ie red or blue for tfc or axis/allies for dod but guess that would be red and green huh?) hmmm, maybe I'll look into that tonight. Might be fun.

Security 09-11-2004 01:12

Re: Botmans Stripper2 Plugin and creating Barneys
 
Hey, yes - sounds fun, would use it on my Server :)

Could you tell me how to spawn a Barney Model with Stripper2 nevertheless please?

BAStumm 09-11-2004 01:27

Re: Botmans Stripper2 Plugin and creating Barneys
 
just like anything else. Below is sample that would prolly work for tfc but you will need to find a valid classname for nsp or whatnot. also you may have to make a copy of barney.mdl from the valve models dir to the nsp side. also depening on what classname you use he might be not solid, ie you can walk through him...

Code:


 [strip]
 
 [add]
 PRECACHE_MODEL(models/barney.mdl)
 
 {
        netname/barney
        classname/item_tfgoal
        origin/-610 -2609 -685
        model/models/barney.mdl
        owned_by/0
        message/Hi I'm Barney!
 }

Here is some actual code I use to have beer cans strewn about in the map 2fort under TFC.

Code:

PRECACHE_MODEL(models/beer1.mdl)
 
 // BEER CANS BLUE BASEMENT
 {
        netname/stripper2
        classname/info_tfgoal
        origin/-590 -2550 -665
        model/models/beer1.mdl
        angle/180
 }



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

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