
pakar45
Joined: Sep 21, 2008
Hi
|
Posted: Jun 28, 2009 06:58 PM
Msg. 1 of 11
I was wondering.. how would I make a device that dispensed.. ammo or weapons ect? Like when you hold E to touch device, a visible weapon/equipment/ammo pack came out? can someone please tell me how to make one of these, and how to make it so you can activate it more than once.
|
|
|

Advancebo
Joined: Jan 14, 2008
|
Posted: Jun 28, 2009 07:09 PM
Msg. 2 of 11
Just replace the healthpack equipment in the effect with something else.
|
|
|

pakar45
Joined: Sep 21, 2008
Hi
|
Posted: Jun 28, 2009 07:10 PM
Msg. 3 of 11
Okay thanks.
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Jun 28, 2009 07:13 PM
Msg. 4 of 11
At the bottom of the device_control tag under 'DEVICE', you'll see a bunch of tag references next to drop-down boxes that by default say 'effect'. These either create effects or sounds based on certain actions of the control.
The ones you're looking for are the ones that say 'opened' and 'closed'. These are for when the control is toggled on or off. Since you want to be able to re-use it, you want to use both so that every time you hit 'E' the dispenser will work.
So, what you need to do is make an effect tag that spawns as many equipment or weapon tags as you want, and then refer to that effect tag in the 'opened' and 'closed' fields.
Although, I'm not sure if the 'opened' and 'closed' effects are spawned only when the control has finished opening or closing, or if they're spawned continuously as long as the control is opened or closed...
|
|
|

pakar45
Joined: Sep 21, 2008
Hi
|
Posted: Jun 28, 2009 07:15 PM
Msg. 5 of 11
Thanks again, that will help me a lot now.
|
|
|

malard
Joined: Apr 12, 2009
|
Posted: Jun 28, 2009 10:07 PM
Msg. 6 of 11
on the map err tbcl bloodislands or somthing like that it has a plasma pistol that shoots out heath packs
|
|
|

pakar45
Joined: Sep 21, 2008
Hi
|
Posted: Jun 28, 2009 10:13 PM
Msg. 7 of 11
uh... that is just basically a really simple effect edit/dependency swap...
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jun 28, 2009 10:16 PM
Msg. 8 of 11
Isn't what you want also a simple effect edit? You're changing the invisible health pack dispensed with another one that you want.
|
|
|

Geared
Joined: Mar 6, 2009
EPI Creator
|
Posted: Jun 29, 2009 05:49 PM
Msg. 9 of 11
lol i have a twist on that, a while back i made a stupid mod that replaced the grenades that i had made overpowered with the helath pack models....(dont ask i was bored), it was funny with ppl going for them(the ones that had my maps), is there a way to make it so that when person "touches" or "pickups" said item, it goes boom? or kills em?
|
|
|

DarkHalo003
Joined: Mar 10, 2008
All ARs Need Green Little Buttons.
|
Posted: Jun 29, 2009 05:52 PM
Msg. 10 of 11
Make it spawn a nuke.
|
|
|

Geared
Joined: Mar 6, 2009
EPI Creator
|
Posted: Jun 29, 2009 05:56 PM
Msg. 11 of 11
but what i eman is how can i amke it so i can trow a medkit(say using a gun or w./e) that will stay there until someone comes along and picks it up? would setigns something for its health giving powers to a - number kill them?
|
|
|