Skip to content

Tornamic/CoopAndreas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CoopAndreas

Videos, pictures, news, suggestions, and communication can be found here:

Discord X YouTube Telegram VK

Disclaimer

This mod is an unofficial modification for Grand Theft Auto: San Andreas and requires a legitimate copy of the game to function. No original game files or assets from Rockstar Games are included in this repository, and all content provided is independently developed. The project is not affiliated with Rockstar Games or Take-Two Interactive. All rights to the original game, its assets, and intellectual property belong to Rockstar Games and Take-Two Interactive. This mod is created solely for educational and non-commercial purposes. Users must comply with the terms of service and license agreements of Rockstar Games.

Building

  1. Verify that you have the C++ and C# packages installed in Visual Studio 2022.

  2. Download MY FORK of the plugin-sdk and install it using THIS INSTRUCTION. Set up your GTA-SA and plugin-sdk folders.

  3. Install the enet library using the following instructions:

# Open PowerShell:

# Install vcpkg if you don't have it
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.bat

# Install enet
./vcpkg install enet
./vcpkg integrate install
./vcpkg install enet:x86-windows
./vcpkg integrate install
  1. Open project_files/CoopAndreas.sln in Visual Studio 2022 and build every project (Ctrl+Shift+B).

Donate

https://send.monobank.ua/jar/8wPrs73MBa

If you need another way to donate, please dm me on discord: @tornamic

Contact information is current as of November 2024

TODO list:

Already Done βœ“

  • setup C/C++ project
  • client - server connection
  • On foot sync -- in progress
    • Walk/Run
    • Jump
    • Climb
    • Crouch - (Fix Crouch Desync)
    • Hit/Fight
  • Weapon sync
    • Hold weapon
    • Aim sync
    • Lag shot sync - using keys, bad accuracy
    • Shot sync - every bullet will be synced
  • Players info
    • Health bar
    • Armour bar
    • Nickname
    • weapon icon
  • define which player is the host
  • explosion sync
  • fix interior enter exit crash (fix CPlayerPed dctor)
  • players AI is activated when you pause in a vehicle
  • vehicle sync
    • spawn/delete
    • enter/exit
    • color(1/2) sync
    • paintjob sync
    • tuning sync
    • hydra thrusters
    • plane wheels
    • turret aim/shot
    • horn
    • keys (provides steer angles, brake, etc.)
    • pos, speed, quat
    • health
    • damage status
    • doors
      • locked state
    • engine state
  • chat
  • time
  • weather
  • proper key sync
  • rendering
    • text rendering (dx)
    • sprite/txd rendering

Current Tasks

  • separate ped sync
  • stream in/out players, peds, vehicles, etc.
  • use original main.scm
  • fix weapon selection
  • force crouch sync using CTask
  • refactor packet system (make abstract, more oop, etc.)
  • vehicle sync
    • force hydraulics sync
    • trailer sync
  • passenger sync
    • gamepad support
    • proper seat sync
    • radio sync
    • drive by shooting
  • fixes
    • mouse
    • widescreen
    • fast load
      • disable logos
      • disable intro
  • Fix models loading (green polygon) --- related to stream it/out
  • Players map sync
    • Areas aka GangZones
    • Mission icons
    • Player map pin
      • fix proportion
    • Player mark (waypoint)
  • smooth interpolation
    • move
    • rotation
  • wanted level
  • stats sync
    • fat
    • muscle
    • weapon skills
    • fight styles
    • sync money
    • breath level bar
    • stamina sync
    • max hp sync
  • style
    • tatoo
    • clothes
    • haircut
  • npc sync
    • pos, rot, speed
    • weapons
    • aim
    • shots
    • task sync (good luck, warrior!)
    • radar icon?
    • speech sync (if not synced by tasks)
  • fire sync
  • cutscenes
    • objects
    • effects
    • peds
    • camera
  • fix weapon desync
    • fix grenade throw distance
    • fix rpg aim state
  • cheat code sync
  • pickups
    • graffities, horseshoes, snapshots, oysters
    • static weapons, armours
    • static bribes
    • drop
      • money
      • weapons
  • jetpack sync
    • flight
    • pickup (related to task above)
  • anim sync
    • sprunk drinking
    • fast food eating
    • idle anims
    • funny TAB+NUM4 (or NUM6) anim sync (did you know about this?)
  • gang groups sync
  • player voice commands
  • chat reactions (see LD_CHAT.txd)
  • activities
    • pool
    • basketball
    • casino sync (betting between players)
      • slot machines
      • roulette
      • horse betting
    • gym
      • exercises
      • fighting between players
    • dancing at parties
  • gand wars sync
  • parachute jump sync
  • co-op vigilante sub-mission completing

Minor tasks and ideas

  • chat gamepad support with on-screen keyboard
  • Sync laser sniper rifle red dot with all players
  • Sync moon sniper rifle shot changing size easter egg with all players
  • hot coffee implementation 😏

TODO Launcher:

Already Done βœ“

  • setup project and create forms
  • inject all dll in the game (don't need ASI Loader anymore)
  • send params (nickname, ip/port) to client dll
  • implement translation

Current Tasks

  • start/control server directly from launcher
  • save configs