Skip to content

paultgibbons/TF2_Scoreboard

Repository files navigation

###Web development Fall 2014 final project###

Final video demo

We will be running a Team Fortress 2 game server that hooks into game events with a plugin that uses the modding framework SourceMod. This plugin will send data to our Node.js server which processes the data and pushes it out to clients.

Clients will connect to the Node server to receive live pushed events in a simple web interface.

Server dependencies:

  • Node.js (make sure to run npm install)

Plugin dependencies:

###Running the project### To run the project directly on a TF2 game server, start the Node server and follow the instructions in plugin/README.md.

For convenience, a testing interface that roughly mimics what the server would send has been provided in test-interface.html. Keep in mind that actions should follow the lifecycle diagram shown in docs/lifecycle.png, or unexpected results may occur.

Example testing flow:

  • bootstrap
  • connect
  • join team
  • respawn
  • kill
  • score update
  • disconnect
  • round over

Sample videos:

How to test
server info is sent to defined as base_url in testScript.js

Live from steam

In-game demonstration

Technologies used:

  • React
  • Flux
  • Sockets
  • SourceMod/SourcePawn
  • Steam API
  • javascript

Contributions:

  • Paul: Wrote web-testing interface; Made kill feed, hooked up components and sockets
  • Eric: wrote plugin that goes into the game server and sends requests to the node server; hosted servers; designed project
  • Michael: Found images on internet to represent classes
  • Josh: Wrote scoreboard (components, actions, constants, team store, etc)

Bhuwan: http://tf2.intense.io:8000/ hosts live site, but wont have anything if game server is not running.
From top level directory, npm install to get node_modules, and npm start to start test server
server at localhost:8000 , test interface at http://localhost:8000/test-interface.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •