update doc

This commit is contained in:
in0finite 2019-07-09 14:59:26 +02:00
parent da999023e9
commit c2c45aaaef

View file

@ -8,13 +8,7 @@
- order of buttons in main menu
- adapt states:
- send button input events to server:
- add ability for client to request: ;
- fix connection timeout bug
- add ability for client to request:
- create weapon prefab ; add it to spawnable prefabs list ;
@ -34,60 +28,12 @@
# Potential problems
# Notes
- server will have multiple Cell focus points - the game can lag too much, so server has to run on a dedicated machine
# Scripts that need to be synced across network
## Ped
variables:
- id
- transform
- is walking / running / sprinting
- heading
- is aiming
- is firing
- current weapon
- current vehicle - not needed - synced in Vehicle
- aim direction
events:
- fire
- enter/exit vehicle
- jump
- dedicated server doesn't need to load textures
## Vehicle
variables:
- id
- transform
- car colors
- linear velocity
- angular velocity
- steering angle
- acceleration
- brake
- peds which occupy seats
## Weapon
variables:
- id
- ammo in clip
- ammo outside of clip
- ped owner