Presentation is loading. Please wait.

Presentation is loading. Please wait.

TotallySweet Team: John Emerson, Daniel Villa, Matthew Fiebig, Kyong Yu.

Similar presentations


Presentation on theme: "TotallySweet Team: John Emerson, Daniel Villa, Matthew Fiebig, Kyong Yu."— Presentation transcript:

1 TotallySweet Team: John Emerson, Daniel Villa, Matthew Fiebig, Kyong Yu

2  Attach players to cars.  Build races tracks.  Changing end conditions (laps/load next level)  Third person camera.  Custom weapons/models.

3  Single in_camera.cpp controls all camera movement Modified the CAM_Think() method to accomplish:  Third person camera  Hiding player model

4  Classes which a player entity is derived player.cpp  This class is extends c_baseplayer.cpp.  c_baseplayer.cpp contains definitions for the player entity, which baseplayer_shared.cpp extends and overrides needed functions  In order to properly modify player entity properties, correct modifications must be made between all 3 classes.

5  Modified default player weapons to be useable within the vehicle Default setting disabled player weapons in vehicle, found vehicle’s weapon ineffective  Modified function in baseplayer_shared.cpp to enable default player weapons when in a vehicle  Modified origin position for weapon fire Required so that bullets and frags do not hit inside the vehicle frame  A new vector was defined and replaced the default vector

6  Spawn function immediately spawns a player in a vehicle Required modification of the spawn function in player.cpp  Spawn function sets a flag making the player invulnerable “m_takedamage = DAMAGE_NO;”

7

8  Classes requiring modification for our vehicle vehicle_jeep.cpp  This class extends vehicle_base.cpp. Jeep properties are defined in vehicle_jeep.cpp  Vehicle scripts requiring modification beetle_test.txt  Script responsible for defining physics of the vehicle

9  Modified vehicle_jeep property to disable default vehicle weapons Allowed usage of player default weapons without conflict  Modified beetle_test.txt per our needs Modified the vehicle to flip back over upon flipping upside-down Modified uphill acceleration and traversal functions Added vehicle sounds

10  The Half-Life 2 Hammer Editor was used for all map building.

11  Needed to give the game a “Racing Game”  Provided a way for players to have laps and lap checkpoints.  Laided on the map by the Hammer Editor  ts_trippers.cpp provides two trigger types: ts_check_point[0-8] and ts_finish_line


Download ppt "TotallySweet Team: John Emerson, Daniel Villa, Matthew Fiebig, Kyong Yu."

Similar presentations


Ads by Google