Author Topic: grenade spot  (Read 1759 times)

taz-the-devil

  • PGP
  • Posts: 15
grenade spot
« on: May 25, 2007, 08:46:12 AM »
helllo,

i'm trying to build a small, 6 v 6 map in a real paintball (sub air) style, but now i'm trying to make a spot specialy for grenades. this wil be a small box where you can sit in and there wil be like 10 grenades in it. so jou can throw 10 grenades very fast so you can defend your base:D (in theory)

this map wil not be placed on the web with this grenade thing, but i will only use it on lan matches with friends.

now i have the question, how can i make a spot where those grenades wil come?
there that thing where you can make spots where it wil make guns and stuff, but if i use it to make grenades it wont plant the grenades on that spot.

any1 knows how i can make this work?
thank you.

gr

Chef-Killer

  • Moderator
  • Autococker
  • Posts: 1312
Re: grenade spot
« Reply #1 on: May 25, 2007, 09:22:25 AM »
>type "e"
>search "item_pballgrenade"
>click "make entity"
>click "+"
>add "type" "smoke/paint" (just one)
>click "ok"
>click "+"
>add "count" "1"
>click "ok"

For more details click the "?". You can copy the grenade now.
The grenades spawn with the begin of the round.

PS: Why you want the map just for lans?

taz-the-devil

  • PGP
  • Posts: 15
Re: grenade spot
« Reply #2 on: May 25, 2007, 09:38:00 AM »
ok thanx:D

i want this map just for lans because its a pritty noob map, (just a box, with boxes planted in it and 2 bird towers foor snipers on it. and i don't think its very fun to play this map if you havn't got a well trained team, that can work very good in teams.

but the map wil be posted on the site, but only withouth the grenade spot.

gr

taz-the-devil

  • PGP
  • Posts: 15
Re: grenade spot
« Reply #3 on: May 25, 2007, 09:51:47 AM »
but what if i do count 10, wil it plant 10 grenades?

gr

Chef-Killer

  • Moderator
  • Autococker
  • Posts: 1312
Re: grenade spot
« Reply #4 on: May 25, 2007, 10:41:26 AM »
In the help of this entity you could find this:

"count" "1"
always spawns grenades there in addition
to the number of grenades set by the server


But you can do also 10 grens with "count" "1". Just copy the entity.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: grenade spot
« Reply #5 on: May 25, 2007, 11:30:55 AM »
If you don't put the "count" "1" there, it will take the grenades that randomly spawn around the base and put them in your item_pballgrenade spawn.

Also, you want to be careful about spawning too many grenades, as multiple grenades going off at once can create too many entities and crash the server.

Chef-Killer

  • Moderator
  • Autococker
  • Posts: 1312
Re: grenade spot
« Reply #6 on: May 25, 2007, 11:57:35 AM »
Does light-entities count to the entity-limit?
I wondered, because sometimes i had lots of light-entities, then i added 2 other entities and i reached the limit. But i could add light-entities.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: grenade spot
« Reply #7 on: May 25, 2007, 12:44:48 PM »
I believe light entities are stripped out during the compile.  I could be wrong, though.  I pretty much always use surface and sun lighting.