Project: NPC/Player Arena

H

Half-Lucas 2

Guest
Hia all! Thanx for taking your time to read this:


I recently came up with an idea, which included making a Arena like map, where you could stage NPC's and/or Players against each other. :cheers:

Of course, there would be things like protected balconies for viewers, flexible and morphing battlegrounds ect ect.

My basic idea, is that you have four gates (opposite from each other) leading to the arena grounds, a neutral player, (admin mabye or not..) could then spawn NPC's behind each gate.
With a push of a button, the neutral player could open all four gates, and let the battle begin.

Of course the map would work best with Garry's Mod 9, because it allows NPC's to be spawned by players.

The problem is, that I'm a N00b when it comes to scripting...:frown:

---> Therefore I would appreciate any help and support in this project


Here's some problems I've stumbled upon:
How do i make objects move? (Relates to: The 4 Gates I've planned in map, and the morphing battleterrain)
How does the scripting for buttons work? (Pushing a button in order to get those things do move)


Note: Please...please post only if it is helpful in any way, or if it is feedback about my idea.
 
Sounds like a great idea for someone who can map and knows LUA.
 
vegeta897 said:
Sounds like a great idea for someone who can map and knows LUA.



LUA?? What's that? If it is scripting, then I suck at it.... :sniper:

Im good at mapping, but scripting...no clue.
 
Half-Lucas 2 said:
LUA?? What's that? If it is scripting, then I suck at it.... :sniper:

Im good at mapping, but scripting...no clue.
Well then, you probably don't have much chance for getting this idea off the ground.
 
So why is this in the site (i.e. hl2.net) feedback forum?
 
Murray_H said:
So why is this in the site (i.e. hl2.net) feedback forum?

I just wanted a good spot, where there are no potential posts, which could simply swarm over mine...did you check out how many new posts there are in the other forums?? This is a relative quiet and peacuful corner...:p
 
Half-Lucas 2 said:
I just wanted a good spot, where there are no potential posts, which could simply swarm over mine...did you check out how many new posts there are in the other forums?? This is a relative quiet and peacuful corner...:p

Yes but it's like putting a letter for 30 main road in the letterbox for number 38 because 38 didn't have as much mail that day.

The sections are there for a reason......
 
Half-Lucas 2 said:
I just wanted a good spot, where there are no potential posts, which could simply swarm over mine...did you check out how many new posts there are in the other forums?? This is a relative quiet and peacuful corner...:p
lol, I like the way you think. The rules just say don't post your thread in the wrong forum to get lots of replies, but you are doing the exact opposite :D
 
OK, the posts has been moved by a nice admin! THnx ^^

One more question, how do i create a working blast door?? (You know, the ones that slide.)
 
use a func_door and set its slide direction, speed, distance, etc. by default itll open on touch, you can set tags to be by using it or by trigger only.
 
great, thats what hammer told me too, but i can't find the func_door.

Anyways, i decided to replace the sliding doors with the combine vehicle gates. they look a lot better...can you explain to me how they work instead. If you don't know which model im talking about, it is located in the models folder (in no subfolde)
 
yeah have 8 buttons 4 of them control for doors. the other four control a npc_maker entity which spawns an npc liek a combine. how about chaning the stunbaton and crowbar for a sword too ?
 
lol why does it have to be for Garrys Mod? Other mos can spawn NPC's, sounds to me like this would be more suited to Sven Coop when thats finally released.

anywayz, doesn't even sound like it'll need much scripting on it, to get npc's in an arena based enviroment :) best bet thou is to actually make the map, post some screens of it, and that will encourage people to do all the scripting stuff for you/... providing it's a good map of course :D
 
umm...yes it does...for example, i need a script, which opens the four gates at the same time (and let the battle begin!)

As for the screenshots...I'll post some today mabey.

One more thing...how the hell do ladders work?? I use the func_ladder, but i don't see any ladder...and cant find a model either!

FYI: TO EVERYONE: I read the tutorial, and the help page, and it rarely shows me the results I seek...I somehow prefer Human minds over FAQs
 
I would recommend you spend a good ammount of time looking through tutorials and help websites first.
 
Ahh...it only allows url pictures!


FYI: The tutorial doesn't help at all! I prefer experts, who can actually answer my questions
 
umm...yes it does...for example, i need a script, which opens the four gates at the same time (and let the battle begin!)

um not it doesnt you just need to do that in hammer. this is a pretty simple idea why not make it into a mod. have melee weapons swords etc

id certainly be interested in working on a project liek that. if your interested give me a pm i can also explain how to do doors triggers etc if you want.
 
Yeah, but if i'd make it a mod, i'd have to create a whole lot more maps
 
so...? plus people wuld be able to make custom maps for it. and its not hard to find additional mappers.
 
True...but first i'll finish the map


OMFG...Hammer help is messed up...it tells me to create a func_button...but that doesn't exist!
 
Do you know how to make basic entities? Cause that's what a func_button is. And it does, or should, exist.

Cause if you don't know how to make entities at all, then you've got to learn how to use those.

And you've also got to learn how to use the Input and Output things (Input and Output? Or was it like...Cause and Effect? They're the entity settings...I've forgotten what they're called already.)

And from what I've seen so far, I think this could simply be a custom map for HL2:DM, just with a bunch of entities.

As for having the metapmorphing terrain...I have no idea how that would work.

Oh, right. Entities are usually not refered to as "Scripting" or "Coding," which explains why someone said that no scripting or coding is needed.

The entities are based in Hammer...

Sorry if this was an incomprehensible post. Heh.
 
Not at all, thanx a lot!

I know how I/O work, after all, I have a knowledge of C++, but I just can't find func_door!
I check the list, but i never find it!
All there is with func_ in front of it are func_usableladder and func_ladderendpoint

I figured out how the combine vehicle gates works, and they are now my four standard gates. They look pretty cool!
I created a Geocities website, and will post all my screenshots there. I'll still post the link today.

Can anyone explain me how to find func_button??
And: can anyone tell me how to post pictures for my computer? That would make things simpler, than uploading the on a free webpage...
 
you need to make a brush give it a no draw texture. then press ctrl + t . now choose func button. do the same for the door then trigger the button to open all the doors on pressing. alternatively you could just trigger the doors to open at the start of the level.
 
crackhead said:
you need to make a brush give it a no draw texture. then press ctrl + t . now choose func button. do the same for the door then trigger the button to open all the doors on pressing. alternatively you could just trigger the doors to open at the start of the level.


Thanx man! I'm gonna try it out when i get home...my idea is, that all starting players get stripped off their weapons.

They then choose to watch above, or jump down the hole and land in one of the four chambers adjacent to the arena. There they get weapons and goodies. The admin then spawns NPC's in the remaining empty chambers and then opens the four gates

LET the battle begin.
 
nice. i made a weapon for some insperation.

sword.JPG

only took about 5 minites btw. :D
 
crackhead said:
you need to make a brush give it a no draw texture. then press ctrl + t . now choose func button. do the same for the door then trigger the button to open all the doors on pressing. alternatively you could just trigger the doors to open at the start of the level.


WTF? How do i make a brush and give it no draw textures??


Sry for double posting!
 
make a new brush. go to the textures thingy and type nodraw on the keyword box and double click on that then press the apply texture button. so what kind of weapons are you thinking of then?
 
crackhead said:
make a new brush. go to the textures thingy and type nodraw on the keyword box and double click on that then press the apply texture button. so what kind of weapons are you thinking of then?

To what do I apply it?? To the object??? After all, I want the object to open...
I looked up nodraw and it said it is invisible, but solid...

Well, acctually HL2 weapons will do.
 
listen to make a button. make a brush and assign it the nodraw texture. you can then put it infront of a model of a button. then select the brush that has been assigned the nodraw texture and press ctrl t to make it into a func_button.
 
crackhead said:
listen to make a button. make a brush and assign it the nodraw texture. you can then put it infront of a model of a button. then select the brush that has been assigned the nodraw texture and press ctrl t to make it into a func_button.


OK...thnx!

But how do i have it controll the four gates?
I know how door function works...but these gates seem to be an exception...any advice??

The model is located in the models folder and is called: combine_gate_vehicle
Please check it out before you post reply...then you see how akwardly that "door" opens..........if you can even call it a door.
 
if i were you, i'd seriously try to learn how to map basic features like a button or a door, since it's so simple, especially stuff like adding nodraw textures.

There are plenty of tutorials out there that explain basic features like this and for an expert to explain stuff to you is a waste of their time, especially if you refuse to read stuff that helps you lol.

google > hl2 mapping tutorials

try it sometime :D

also try the mapping forum for gaining help and people answering specific questiosn for you, you'll find much much more help there than you would in a Help Wanted section, which is for like job positions. A help wanted section rarely refers to a question and answer session.
 
ok...I'll take your advice...

Looks like this is going to be a solo map project after all....:hmph:

Here's a screenshot of my roughdraft Arena Map:
dm_arena0001.jpg
 
yo usaid you knew how to use the i/o system. you need to go on the buttons outputs make a new one that links to the door. and and happens when you press the button and opens the door. remember to give the door a name. and youll probbly need to go to the doors propeties and go to flags and select something liek wait for trigger. so that it will only open when the button is pressed.
 
Yeah, but the combine gates (see picture above) are no ordinary door.
I used the door func with them, but they seem to be sliding instead of opening in their special way.

I suspect I need a function which enables their open animation...what do you think??
 
Back
Top