Coder Social home page Coder Social logo

bernta / tfo-code Goto Github PK

View Code? Open in Web Editor NEW
11.0 6.0 5.0 178.4 MB

The Forgotten Ones Source Code

Home Page: https://store.steampowered.com/app/314280/The_Forgotten_Ones/

License: MIT License

C++ 95.52% C 3.93% Shell 0.01% Batchfile 0.03% Perl 0.01% Makefile 0.09% Assembly 0.01% Objective-C++ 0.01% GLSL 0.41%
steam horror game source cplusplus hl2 mod standalone sdk2013 valve

tfo-code's Introduction

The Forgotten Ones Source Code

About

This was initially a total conversion mod for Half-Life 2, when Greenlight came around I decided to give it a try. Eventually The Forgotten Ones got greenlit and I was probably as surprised as you reading this right now. It was a major achievement for me, so here I'm years later releasing the source code of this long project.

The game takes place in Germany during the 60's, you play as a detective whose name is Grobuskna Vladinov. His family suffered deep tragedies during the holocaust and he has been on the hunt for the person(s) responsible ever since.

Current State

The game has been on Steam for over a year now, the code is quite stable. However unused stuff such as the Custom Story code might be a bit unpolished. I have also compiled this on Linux Ubuntu and Mac OSx Yosemite without any issues.

Navigating

All the game code is under:

  • game/client/
  • game/server/
  • game/shared/

For only The Forgotten Ones stuff:

  • game/client/tfo/
  • game/server/tfo/
  • game/shared/tfo/

I've edited most of the original SDK 2013 files so there's edits pretty much everywhere. You'll find the most advanced features in the tfo folders tho. Like the inventory stuff.

Third-Party Libraries

I'm using the FMOD API to allow music during level transitions and in the main menu and an updated version of Steam API.

Contributing

You're free to make pull requests for bug fixes.

Features

  • A custom GameUI and VGUI structure
  • Loading Music
  • Custom HUD
  • Inventory System + 3D rendered items which you can inspect
  • Dialogue System
  • Bleeding System
  • Custom loading screen which reports the actual loading progress
  • Custom NPCs
  • Custom Weapons
  • Blood rendering on viewmodel when taking damage or if blood splats on you
  • Note System
  • Achievement & Stat handler
  • New VGUI Controls
  • Custom Console
  • Slot Saving System
  • Boss Health Bar
  • Thirdperson animations and thirdperson support in general
  • The player can be rendered in mirrors while in firstperson
  • Radius based glow outline effect which helps the player find important items
  • Film Grain
  • Dynamic Scope Support
  • Ironsights
  • Improved vehicles
  • Scriptable NPCs
  • High Modding Support (including the unused Custom Story code which was removed in V2.9)
  • Cross-Platform friendly code
  • And much more...

Documentation

Most of the documentation provided is examples on how to link the scripts with the Hammer World Editor & GUI, for example if you want to add a new inventory item.

Crediting

I'd appreciate if you'd credit me if you want to use my work.

Disclaimer

This project started in 2011, I was a rookie at the time so there might be some untidy code here and there.

For V2.9 I refactored and went through all of my code to polish it as good as I could, some parts are still a bit hard coded but it'll do for now.

tfo-code's People

Contributors

bernta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.