mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-10 06:34:16 +00:00
update doc
This commit is contained in:
parent
da999023e9
commit
c2c45aaaef
1 changed files with 4 additions and 58 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue