A fast and competitive game mode for alt:V.

Overview

Fuel Rats

Concept

All vehicles are spawned at the same time. A single canister and a goal are created during a round. During a round the canister must be taken to the goal. The canister can be stolen from the canister holder by bumping the front of your vehicle into the canister holder.

Upon bringing the canister to the goal a point is given to the player and a new round will begin.

Scope

- Select Car Color, Neon, etc.
- 1 Car Type Randomly Per Matchup
- Include Boost + Jumping
- Discord Auth through Ares
- All cars have no max speed, except ball holder
- Ball holder is always at least 10 speed units slower if not more
- Ball holder gets slower over time
- Hidden power up that changes goal position once per round
- Maximum Players - 24~

Folder Structure

πŸ“‚ src            # Where the code lives
β”œβ”€β”€ πŸ“‚ client         # Client-side
β”œβ”€β”€ πŸ“‚ configs        # Folders with 'resource.cfg'
β”œβ”€β”€ πŸ“‚ core           # Shared code (event names, etc)
β”œβ”€β”€ πŸ“‚ mods           # MLOs, Vehicles, etc.
β”œβ”€β”€ πŸ“‚ server         # Server-side
β”œβ”€β”€ πŸ“‚ webview        # UI / WebView
└── πŸ“‚ utility        # Scripts that assist with the build pipeline

Do not put anything in the resources folder. It will be overwritten.

Installation

npm install -g yarn
yarn install
yarn update

Configurations

First, never ever modidfy server.cfg. Changes will not be saved.

All configurations are under the config folder.

Modify each environment configuration accordingly.

Running

When running this repository it will automatically build on files based on repository.

Develop alone with yarn dev. Test with friends with yarn devtest. Deploy with yarn linux or yarn windows

OS Description Command
Linux WebView Build + Mods yarn linux
Windows WebView Build + Mods yarn windows
Windows WebView Build + Mods + Debug yarn devtest
Windows Mods + Debug yarn dev

Todo List

Spawn

  • Set Player into Vehicle
  • Disallow Player Leaving Vehicle
  • Disable Controls to Leave Vehicle

Demonstrates Spawning

Collision

  • Collision Detection
  • Zero Collision Near Round Spawn Point

Demonstrates Collision + Canister Behavior

Canister

  • Canister Create
  • Canister Pickup
  • Canister Drop
  • Canister Transfer
  • Canister Sync
  • Canister Blip Sync
  • Canister Object Sync
  • Marker Shown to Distant Players

Goals

  • Goal Create
  • Goal Blip Sync
  • Goal Whistle Noise
  • Marker Shown to Distant Players

Rounds

  • Start Round
    • Freeze Players Until Round Start
    • Release Controls After Starting Round
    • Create Countdown System for Starting Round
  • End Round (arg should be player who scored)
    • Reset Canister (Determine New Canister Location)
    • Reset Vehicle (Stack Vehicles on Round Spawn)
    • Add Score
    • Disable Controls for Everyone
  • Reset Scores (All Players)
  • Set Round Vehicle Type Randomly
  • Round Timer

Gameplay Mechanics

  • KeyBind Registration
  • Jumping Vehicles
    • Add Cooldown for Jump @ 10s
    • Bound to Left Control
    • Add Sound Alert for Off Cooldown
  • Speed Boost Vehicles
    • Add Cooldown for Boost @ 15s
    • Bound to Left Shift
    • Add Sound Alert for Off Cooldown
  • Lower Speed of Canister Holder Over Time

Demonstrates Power Up Behavior

WebView

  • Add Page Indexing
  • Add Page Swapping by Index

Authentication (WebView)

Index: 0

  • Ares Service for Authentication
  • Get Discord Info from Ares
  • Fix Debug / Info with Discord Info
  • Add Simple File Based Bans (Console Command)
  • Add Simple Admin System (Discord ID Based)
  • Register in Page Indexing

Customization (WebView)

Index: 1

  • Vehicle Colour
  • Vehicle Neon
  • Vehicle Horn
  • Register in Page Indexing

Chat (WebView)

Index: 2

  • Integrate Chat into WebView System
  • Add Basic Chat System with Commands
  • Add Admin System to Chat
  • Register in Page Indexing
  • Hide chat if score board key is pressed
  • Display along-side HUD

Score Board (WebView)

Index: 3

  • Add HotKey to See Score Board (TAB)
  • Only Register HotKey After Spawning
  • Register in Page Indexing

HUD (WebView)

Index: 4

  • Hide HUD if score board key is pressed
  • Register in Page Indexing
  • Display along-side chat
  • Speedometer
  • Timer
  • Power Ups
    • Jump
    • Boost
  • Current Top 3-5 Players in Mini Score Board
  • Show Current Score
  • Show Player Count
You might also like...

A drop in replacement for Hacker News with support for dark mode and more.

A drop in replacement for Hacker News with support for dark mode and more.

Worker News A drop in replacement for Hacker News with support for dark mode, quotes in comments, user identicons and submission favicons. What's cool

Dec 31, 2022

chakra-radix-colors provides radix-ui color palettes, automatic dark mode, and acessible colors to chakra-ui applications

chakra-radix-colors chakra-radix-colors provides radix-ui color palettes, automatic dark mode, and acessible colors to chakra-ui applications. About C

Dec 30, 2022

Stylesheet and scripts for implementing dark mode with Bootstrap 4

Bootstrap Darkmode This project provides a stylesheet and two scripts that allow you to implement a dark theme on your website. It is initially loaded

Nov 27, 2022

A plugin for obsidian to focus and highlight on a specific heading in Reading mode.

A plugin for obsidian to focus and highlight on a specific heading in Reading mode.

Focus and Highlight A plugin for obsidian to focus on a specific paragraph in Reading mode. Features Focus on a specific heading and its children when

Dec 21, 2022

Merge multiple JSON files - Vanilla JavaScript and HTML (graphic mode: browser+explorer)

JSON Merger Usage First, git clone project git clone https://github.com/mtacnet/json-merger.git Move to cloned repository and open generate.html with

Sep 18, 2022

A pretty cool org-mode - interactive blog post tool

Radish A kinda-cool org-mode - interactive blog post tool written with and for Clojure(script). Here are two example posts created with this tool: Ra

Dec 28, 2021

Este projeto acelara o desenvolvimento com express, gerando uma estrutura completa e opçáes de gerar controller mode e view pelo cmd.

fast-developer-express Este projeto acelara o desenvolvimento com express, gerando uma estrutura completa e opçáes de gerar controller mode e view pel

Dec 21, 2021

A TailwindCSS variant for class-based dark mode with CSS Modules.

A TailwindCSS variant for class-based dark mode with Svelte's scoped stylesheets and CSS modules. If you've ever tried to use TailwindCSS dark mode wi

Dec 1, 2022

Force dark mode for all web pages.

Dark Mode [WIP] Force dark mode for all web pages. Instalation Enable Epiphany extension. Optional if not done. Download the latest release from the .

Dec 2, 2022
Owner
Learn by solving problems you love.
null
Grupprojekt fΓΆr kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet fΓΆr kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide FΓΆr information om hur utv

Svante Jonsson IT-HΓΆgskolan 3 May 18, 2022
Hemsida fΓΆr personer i Sverige som kan och vill erbjuda boende till mΓ€nniskor pΓ₯ flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo fΓΆr kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
MDN-Dark-Mode - Simple extension to add a dark mode with different themes to the MDN Web Docs website

MDN-Dark-Mode Information Chrome and Firefox extension that adds a dark mode wit

Santiago GalΓ‘n Barlo 2 Mar 18, 2022
πŸŒ“ Add dark mode/night mode custom elements to your website.

dark-mode A custom element that allows you to easily put a Dark Mode ?? toggle. so you can initially adhere to your users' preferences according to pr

ε°εΌŸθ°ƒθ°ƒβ„’ 12 Oct 20, 2022
Browser Extension to deliver AI-generated alt-text for the Visually Impaired.

GenAlt - Generated Image Descriptions for BVI The Blind and Visually Impaired (BVI) rely on alt-text, image descriptions, to experience the trillions

Anish 11 Sep 10, 2022
A quick and easy to use security reconnaissance webapp tool, does OSINT, analysis and red-teaming in both passive and active mode. Written in nodeJS and Electron.

α΅”α΄₯α΅” RedJoust A quick and easy to use security reconnaissance webapp tool, does OSINT, analysis and red-teaming in both passive and active mode. Writte

Dave 17 Oct 31, 2022
DoMe is a ToDo App. you can add, delete and reorder elements of the todo list using drag and drop. You can also toggle between dark&light mode

DO ME Todo App Live Preview : DO ME Built With : - ReactJS - TailwindCSS Make sure you have: - Git - Nodejs version 14 or higher (we recommend using

Medjahdi Islem 5 Nov 18, 2022
Perfect SvelteKit dark mode in 2 lines of code. Support System preference and any other theme with no flashing

This library is a port of next-theme for SvelteKit. All credit goes to pacocoursey and all next-themes contributors While usable, this library is stil

null 42 Sep 30, 2022
ZaDark is an open source extension that helps you enable Dark Mode for Zalo on PC and Browser.

ZaDark – Zalo Dark Mode Table of Contents About Install Roadmap Contributing License Contact Awards Acknowledgments About ZaDark is an open source ext

Nguyα»…n ChΓ‘nh Đẑi 64 Dec 22, 2022