Hack and Slash
QUAKE
"You killed Quake, you
bastards!"
Third-person point-of-view hand to
hand combat with multiple player models
Yeah
Baby!
Camera: [ and ]
zoom the camera in and out
Attacking: press fire to slash
hold down H and press fire to hack
hold down S and press fire for a spinning 360 degree slash
hold down F and press fire to dash and let go of fire to strike
Changing Models: In single-player and coop games the weapon
switching keys will switch your player model. In deathmatch you
must touch a player model selector.
Jumping: you can't jump while attacking
Making levels:
player model selectors are called misc_multimodel_selector. They
are point entities like items and player starts. The selector
will select a model based on it's "style" attribute.
style 0 is player1.mdl, style 1 is player2.mdl, and so on. The
selector will look like the model it selects. The selector will
not appear if the it's style is greater than or equal to the
"registered" console variable.
Adding your own new player models:
the "registered" console variable is the number of
player models. To use 7 player models you would type
"registered 7" at the console, press <enter> and
start a new game.
The player models must be named "player1.mdl",
"player2.mdl", "player3.mdl" and so on up to
"player9.mdl". The code can only use up to 9 models
right now but that is easy to change.
New player models are easy to make:
6 run, 12 stand 5 pain, 15 death, and 8 attack frames
(damage happens in the 5th attack frame)