Obsidian General.
BlyTwo
Polygon
Posts: 26 Joined: Thu Oct 07, 2010 9:54 am
Location: Afterlife
Contact:
Post
by BlyTwo » Thu Oct 07, 2010 9:58 am
I've been looking around, but I can't find a script that creates a damaging explosion directly on the crosshair any insight anyone?
Datastream
Donator
Posts: 870 Joined: Thu Dec 24, 2009 1:24 pm
Post
by Datastream » Thu Oct 07, 2010 2:43 pm
I assume you're talking about ent_fire !picker?
At least I think it was !picker. maybe ent_fire !picker explode?
I'm no magician on this but I do know ent_fire !picker kill
BlyTwo
Polygon
Posts: 26 Joined: Thu Oct 07, 2010 9:54 am
Location: Afterlife
Contact:
Post
by BlyTwo » Fri Oct 08, 2010 3:08 am
ya I am referring to the ent_fire command , the explode command works when using a combine-ball but it does no damage, just an effect
I want to spawn a barrel or gascan or somrthing and trigger it to blast, then I can double up the spawn and explode in one bind and you won't even see the prop, just an explosion
pretty much I just need to spawn something (anything) that'll respond to some sort of method of instant and console controlled detonation
if anyone has any ideas, let me know and I'll experiment
Gary
npc_advisor
Posts: 1125 Joined: Sun Nov 09, 2008 7:21 am
Location: USA, FL
Contact:
Post
by Gary » Fri Oct 08, 2010 6:08 am
Never used ent_fire to create anything, ent_create can make stuff, but I never use it.
If you just want to kill stuff, "ent_fire !picker sethealth 0" always works for me. Breaks most props and kills pretty much any NPC.
BlyTwo
Polygon
Posts: 26 Joined: Thu Oct 07, 2010 9:54 am
Location: Afterlife
Contact:
Post
by BlyTwo » Fri Oct 08, 2010 11:02 am
I knwo that, but I need a prop that will explode with a command (explode and do damage)
Gary
npc_advisor
Posts: 1125 Joined: Sun Nov 09, 2008 7:21 am
Location: USA, FL
Contact:
Post
by Gary » Fri Oct 08, 2010 11:24 am
Okay, I did a little playing around with Source for you.
"ent_create rpg_missile" will spawn a rpg rocket at your crosshair, if you use it while looking at the ground, it will fire an unguided missile along the floor.l
"Ent_create npc_grenade_frag; ent_fire !picker settimer 0" will spawn a grenade at your crosshair and set it's timer to 0, causing it to explode.
Have fun.
BlyTwo
Polygon
Posts: 26 Joined: Thu Oct 07, 2010 9:54 am
Location: Afterlife
Contact:
Post
by BlyTwo » Fri Oct 08, 2010 2:19 pm
thanks much, this'll be fun, I knew about the grenade (zombine grenade) but it didn't do crap all (what a let-down) lol
Mr. Someguy
npc_hunter
Posts: 512 Joined: Fri Dec 22, 2006 11:40 pm
Location: Pennsylvania
Post
by Mr. Someguy » Fri Oct 08, 2010 10:47 pm
The npc_grenade has been there pre-zombine.I remember playing with it in Gmod9.
Gary
npc_advisor
Posts: 1125 Joined: Sun Nov 09, 2008 7:21 am
Location: USA, FL
Contact:
Post
by Gary » Fri Oct 08, 2010 11:22 pm
npc_grenade_frag is the entity spawned when ever an grenade is thrown.
BlyTwo
Polygon
Posts: 26 Joined: Thu Oct 07, 2010 9:54 am
Location: Afterlife
Contact:
Post
by BlyTwo » Sat Oct 09, 2010 12:54 am
haha the grenade is a dud if you spawn it when your crosshair is on a prop
Gary
npc_advisor
Posts: 1125 Joined: Sun Nov 09, 2008 7:21 am
Location: USA, FL
Contact:
Post
by Gary » Sat Oct 09, 2010 5:28 am
Heh, not surprised, it was a pretty crappy idea to begin with.
Hopefully the rpg rocket spawning works better for your needs.
BlyTwo
Polygon
Posts: 26 Joined: Thu Oct 07, 2010 9:54 am
Location: Afterlife
Contact:
Post
by BlyTwo » Mon Oct 11, 2010 7:09 pm
the rocket spawns nice, but it doesn't detonate manually, and it always travels in one direction, no matter where I spawn
Gary
npc_advisor
Posts: 1125 Joined: Sun Nov 09, 2008 7:21 am
Location: USA, FL
Contact:
Post
by Gary » Mon Oct 11, 2010 10:15 pm
try "ent_create grenade_ar2"
BlyTwo
Polygon
Posts: 26 Joined: Thu Oct 07, 2010 9:54 am
Location: Afterlife
Contact:
Post
by BlyTwo » Wed Oct 13, 2010 5:49 am
that works great, thanks
the next hard thing I am trying to do is to fire a sawblade without the gravgun and even better if I can make it invisible, been poking around a hell of a lot, can't seem to find a way, any insight?
Gary
npc_advisor
Posts: 1125 Joined: Sun Nov 09, 2008 7:21 am
Location: USA, FL
Contact:
Post
by Gary » Wed Oct 13, 2010 6:12 am
Um... I have to look into that for you. Never tried something like that before.