how make one to make a shooter motar or rocket and which must be actuated by a button
shooter mortar or rocket??????????????
easy:
- Make the shape of a button, select it, and rightclick inside the 2d window inside the brush and select “func --> func_button” . If you see func_button, skip step 2, if you don’t see func_button, continue with step 2…
- If you don’t see func_button, create another button shape around your other button shape and give it the “common/trigger” texture. Then repeat step 1 but select func_invisible_user.
- Make your rocket entity
- Deselect everything (ESC), then select the button / func_invisible_user FIRST, and then (without selecting anything else in between) select the shooter entity. Then press CTRL + K. A (red?) line with arrows should appear pointing from the button to the shooter.
- Done!
You can also set a “wait” time on the func_button (or a “delay” time on the func_invisible_user) to avoid shooting like a stream or rockets if you keep pressing
thank you infinitely flippy.i would just have still some questions:
- can one removed the panzerfaus when the shooter is started
* because in made I want to make a gun of nebelwerfer and a panzerfaust which leaves a cannon of nebelwerfer that do not do it too much
2) can one dependent a target_speaker or a noise when one appuye on the button
-
how one to make functioned the shooter mortar I make put one of them but nothing master key should it be made the tracemap so that that functions
-
can one spend a time of pause from approximately 1 to 2 minutes after having drawn 6 blow with the shooter?
-
I don’t know exactly what you mean here… do you mean that the panzer can only be fire once, then it’s destoryed or something so you can’t fire it anymore?
If yes, you can do this by setting a very large waittime that is bigger than your map time limit. Or you can delete it via the script. -
Just create a target_speaker and link it to the button the same way you link the shooter to the button
-
err…? Sorry i dont understand this
-
Not without a script. You can only do it with a script.
try looking at the map “Glider” (or glider_b1, dunno)
i thikn it has what you need
(a rocket shooter that can load up to 6 rockets, then fire them)
Can you give me the link of download of glider or glider_b1 or dunno pleaze thanks you
im a noob to scripts and i didnt have time to look at the glider script. its too long. can u tell me how i can make a delay (about 5 sec)between the press of the button and the rocket firing.
you can do that without the script, using a target_delay i think. Just link the button to the target_delay, and the target_delay to the shooter, and set the “wait” or “delay” key (can’t remember which one) in the target_delay to 5 (or 5000 if it’s in milliseconds)
if you want to use the script it would be something like:
[scriptname of button (func_invis_user)]
{
spawn
{
wait 300
accum 0 set 0
}
activate
{
accum 0 abort_if_not_equal 0
wait 5000
alertentity [targetname of shooter]
accum 0 set 1
}
}
thx. now it works.
i put some smoke too. it took me time to figure out how to make it stop after it had strarted. i put the smoke 2 delays. 1 for start(1sec) and another for the end(5sec). now im off to making some funmaps. but first ill finish the map of my school.
well i have a panzer that fires 6 times in a row(0.2 sec in between). then i have a delay on the button that is 1min. almost like what you asked.
i have a cheat in my map. a secret place. at the end is some construction boxes. you will make the whole world in water(almost). 
ok now it work but I did not arrive yet has to make functioned a shooter_mortar. somebody knows it surface a shooter_mortar which goes and how if to take at home nothing occurs
are you using a crappy translater?
sorry but i dont understand what you’re trying to say… your shooter_mortar doesn’t work?
whats your language…? maybe there are some other people from your country here that can help
What about a kind of airstrike??? can’t you make a button and if you shoot, like 10 mortars fire AFTER EACHOTHER??? (with like 0.5 sec in between???) just by pressing ONE button???