Charas-Project
Game Creation => Requests => RPG Maker Programming => Topic started by: raikor350 on February 16, 2009, 07:35:10 PM
-
im making a gun battle game and i want to know how to make it to where you hold down the action button to keep shooting (for automatic guns like machine guns and sub machine guns
i also need help on coding the enemies health (its an ABS) ive tried once but it didnt work...
last question how do you set each number key to a different task (for example)
1=equip gun 1
2=equip gun 2
3=equip gun 3
4=equip melee weapon
5=use grenades/med kits
6=skill 1
7=skill 2
8=skill 3
9=skill 4
0=skill 5
(Order changeable in game play)
-
For the different weapons assigned to different keys, I think it needs conditional branches and key inputs.
For example:
Set up a Key Input Processing.
Uncheck everything but the numbers.
Make a variable called "Weapon" (or whatever you want)
Make a conditional branch.
If Variable:(name here) EQUAL to (key number) (0=10 9=19)
THEN
Put in the shooting code.
Sorry if that's kinda hard to understand.
-
google a game called Hellucination. Download it and you can base the guns and stuff from it on your game.
-
im making a gun battle game and i want to know how to make it to where you hold down the action button to keep shooting (for automatic guns like machine guns and sub machine guns
I'm trying to figure that one out too. Good luck.
-
The only solution I can find to this is to make a button that when you push it it turn on a switch but you have to push it again to turn the switch off. I cannot think of a way to check if you still pushing the button or have stopped pushing it. Heres some screens.
(http://i43.photobucket.com/albums/e354/hellroc/Chara%20Help/shoot1.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/Chara%20Help/shoot2.jpg)
Now burst rounds would seem like a pretty good option.