Gw Temp

Menu

Tutorial - 'Shooter Game' by Bourne

An item about RPGMaker 2000 posted on

Blurb

How to create a shooter style game in Rm2k

Body

First-Person Shooter (FPS)
Tutorial

Knowledge Used: Labels, Switches, and Variables.

Okay we’re just going to skip the introduction
and get straight to the point.

First of all, you’d wanna make a event asking you
if you wanna play, or it can be a actual event. Then,

you’d want to make a map for the mini-game site.

I’ll just show you what I did, open up the blank event
that asks if you want to play or not.
---------------------------------------------------------------------------------------------------------------------------------
< >Messg: Play Counter-Pike?
< >Show Choice: Yes/No
: [Yes] Case
< >Set Screen Tone:[R000,G000,B000,S000],1.0sec(W)
< >Change Hero’s Walk Graphic : (Hero)->(Crosshair Charset)
< >Teleport: 0002:Mini-Game Site (009,008) (It can be where ever you want, I made mine in center)
< >Change Switch : [0007:Gun Animation]-ON Set (This will be used later.)
< >
: [No] Case
< >Messg: Okay, come again soon!
< >
:END Case
< >
---------------------------------------------------------------------------------------------------------------------------------

Okay, now that’s done, let’s make the common events. First off make a common event, I named mine “Mini-Game Settings 1” (Since there’s going to be two in all).
---------------------------------------------------------------------------------------------------------------------------------
Mini-Game Settings 1

< >Disable Save: Diasble
< >Set Message Options:Trnsp,Bot,Fix, Enable Event Mov
< >Enter Password: [0002:Blast!] (Check Cancel and Wait Until Key Hit.)
< >LABEL: 1No
< >Show Choice: Leave Mini-Game/Nevermind/Kills
: [Leave Mini-Game] Case
< >Set Screen Tone:[R000,G000,B000,S000],1.0sec(W)
< >Change Hero’s Walk Graphic: (Hero)-> (Hero’s Charset)
< >Set Message Options:Norml,Bot,Auto, Disable Event Mv
< >Teleport: 0001:House (009,012) (Or whatever you made ;) )
< >Enter Password: [0004:Leave Mini-Game]
< >
: [Nevermind] Case
< >
: [Kills] Case
< >Messg: You have killed \C[3]\v[3]\C[0] monsters(s).
< >GOTOLabel: 1No
< >
:END Case
< >
---------------------------------------------------------------------------------------------------------------------------------
Now the second one is optional actually, but I suggest you use it to make it more detailed, so first, make a battle animation, however you want the shots to look. Okay when you’re done with the battle animation make another common event, I named mine “Mini-Game Settings 2”.
---------------------------------------------------------------------------------------------------------------------------------
Mini-Game Settings 2 before you start, make it Parallel Process and Appearance Conditions Switch [ X ] [0007:Gun Battle Animation] On

< >Enter Password: [0005:Blammo] (Check Decision and Wait Until Key Hit.)
< >Show Battle Anim, (Name of the battle animation you’ve made)
< >
---------------------------------------------------------------------------------------------------------------------------------

Ok now that’s done make a map for the Mini-Game to take place. After you’ve done that make all the terrain O, everything O. So the crosshair can move anywhere. Now after you’ve done that, you can make instructions but that’s going to be another story, anyways make a event that’s parallel process and do the following:

< >Set Screen Tone:[R100,G100,B100,S100],1.0sec
< >Call Event: Mini-Game Settings 1
< >
---------------------------------------------------------------------------------------------------------------------------------

Now since everything Is O make some blank events with the Allow Event Overlap checked and put it at the locations where the monsters can’t move to. After that make a event (the monster) and make this Event Start Condition: Push Key,and after that make the position below hero. I suggest you make it roam around. Now for the coding.

< >Play SE: (Sound of gun when fired)
< >Play SE: Monster1 (Sound of monster when it dies)
< >Variable Ch:[0003]:Kills] + , 1 (This is to add to the value of kills you have.)
< >Change Switch : [0006:Monster1]-ON Set (Next page make the monster’s corpse or make it blank)
< >

If you want to make it more interesting than just the monster disappearing after he dies, look below.
---------------------------------------------------------------------------------------------------------------------------------
(OPTIONAL) Okay, after that click on [ P ] New Page, and inside that page make the Event Start Condition Parallel Process, and position below hero with a blank selected graphic. Now to the functions of the event.

< >Wait 5.0s. (Or whatever you want.)
< >Flash Character : this Event , 1.0s.(W)
< >Play SE: Rebirth3
< >Change Switch : [0006:Monstah 1]-OFF Set
< >
---------------------------------------------------------------------------------------------------------------------------------

Awesome’s Note: If you want the enemy to appear in random locations each time, add this on to the start of the 2nd page.



<>Variable Change[LocationX]Set, Random(0-[map's horizontal width])

<>Variable Change[LocationY]Set, Random(0-[map's vertical height])

<>Set event's Place: this event, (Xcoord=[LocationX], Ycoord=[LocationY]



What this does, is randomize 2 variables and then teleport you to their values. Its important you don’t make randomize it beyond your maps width/height.



You may use this in your RPG if you wish. If you have any questions e-mail ShadowH2O@hotmail.com Thank you for reading my tutorial! J Enjoy!