CSTUNTS

A realistic vehicle simulator (truck & car)  by Simon Hasur, with buildings and
stunt-tubes around. Initial stage of a modernized remake of the STUNTS[1990]
classic with some original elements too... sort of mixture of Terep2[1996] and
STUNTS[1990] heightmap and its coloration can be changed with any good
graphical editor.

Homepage: nerdofalgorithms.altervista.org

YouTube: simhgamedev (channel's title: Art of Making Videogames)

SourceForge.net space: sourceforge.net/u/ctrucker/profile/


== COMPILATION, GNU/LINUX == :

cd src
./comp
./cstunts

SDL-1.2 is required:

https://sourceforge.net/projects/libsdl/files/SDL/1.2.15/


== KEY REFERENCE == :

Control keys ( anyway there's a quick reference that appears in-game ):

'w' - accelerate forward.
'z' - accelerate backwards.
'a' - steer left  ( tyre inclination +15° left  ).
'd' - steer right ( tyre inclination +15° right ).

'c' - rotate camera left.
'v' - rotate camera right.

'r' - move camera up .
'f' - move camera down.

',' - tilt camera left.
'-' - tilt camera right.

'1' - move camera forward.
'2' - move camera backward.

'3' - internal cam right/
'4' -   " "        left

'o' - change camera (point of view: external is standard ). ( WORK IN PROGRESS
TO FIX INTERNAL VIEW ).

'm' - chage graphical visualisation style, textured, polygonal.

't' - zoom; change focal distance of virtual camera watching the game-world
(you know... grandangle, smallangle, zoom-like, try it out... pressing int more
times it sweeps a reasonable interval of 'decent' focal distances, choose the
best one).

'l' - reattach or leave trailer (deactivate joint-force keeping car and trailer
together as a double pendulum ).

'u' - pull up car...( good to put car back on feet when it turns upside down).

'0' - restore car's original shape (to do after heavy deformations).


Have lots of fun,
Simon Hasur

last update: 2012 (+ a few modifications made in 2023 by Matei Petrescu)
first release: 2010


--> N.B. NEVER DELETE THE *.txt FILES found in the same folder, otherwise the
game can't run!! These *.txt files are vertex and triangulation definitions.
Do not either attempt to modify them except if you know what you are doing!
Instead modify according to taste the hmap100x100... keep in mind that it is a
heightmap definition, it's a 100x100 matrix of non-integer numbers. keep in
range 0.0-10.0 or at worst 0.0-20.0 . Avoid too abrubt changes of height for
obvious reasons: in principle it works the same as the map file in the old
classic Terep2.
