generated from CFC-Servers/cfc_repo_template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from CFC-Servers/relocate-parachutes
Relocate parachutes
- Loading branch information
Showing
67 changed files
with
1,734 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,27 @@ | ||
# Name of the Addon | ||
Brief Description / Intro | ||
# cfc_parachutes | ||
|
||
## Usage | ||
## Server Convars | ||
|
||
Show off how to use the addon, what it does, etc. | ||
| Convar | Description | Default | | ||
| :---: | :---: | :---: | | ||
| cfc_parachute_fall_speed | Target fall speed while in a parachute. | 200 | | ||
| cfc_parachute_fall_lerp | How quickly a parachute will reach its target fall speed. Higher values are faster. | 2 | | ||
| cfc_parachute_horizontal_speed | How quickly you move in a parachute. | 80 | | ||
| cfc_parachute_horizontal_speed_limit | Max horizontal speed of a parachute. | 700 | | ||
| cfc_parachute_sprint_boost | How much of a horizontal boost you get in a parachute while sprinting. | 1.25 | | ||
| cfc_parachute_handling | Improves parachute handling by making it easier to brake or chagne directions. 1 gives no handling boost, 0-1 reduces handling. | 4 | | ||
| cfc_parachute_expiration_delay | How long until a parachute will delete itself after being closed. | 5 | | ||
| cfc_parachute_viewpunch_strength | Strength of the viewpunch players receive when opening a parachute. Scales with falling speed. | 2 | | ||
| cfc_parachute_lfs_eject_height | The minimum height above the ground a player must be for LFS eject events to trigger (e.g. auto-parachute and rendezook launch). | 500 | | ||
| cfc_parachute_lfs_eject_launch_force | The upwards force applied to players when they launch out of an LFS plane. | 1100 | | ||
| cfc_parachute_space_equip_speed | The minimum falling speed required for a player to space-equip a parachute. | 300 | | ||
|
||
## Features | ||
## Client Convars | ||
|
||
Details about each feature | ||
| Convar | Description | Default | | ||
| :---: | :---: | :---: | | ||
| cfc_parachute_design | Your selected parachute design. | 1 | | ||
| cfc_parachute_lfs_eject | Whether or not exiting mid-air LFS planes will eject you with a parachute. | 1 | | ||
| cfc_parachute_space_equip | Press spacebar while falling to quickly equip a parachute. | 1 | | ||
| cfc_parachute_space_equip_double | Double tap spacebar to equip parachutes, instead of a single press. | 0 | | ||
| cfc_parachute_quick_close_advanced | Changes the key combo for closing parachutes from walk to crouch + walk. | 0 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
resource.AddWorkshop( "3143596223" ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
AddCSLuaFile( "cfc_parachutes/shared/sh_parachute_convars.lua" ) | ||
AddCSLuaFile( "cfc_parachutes/client/cl_parachute.lua" ) | ||
AddCSLuaFile( "cfc_parachutes/client/cl_parachute_lfs.lua" ) | ||
|
||
include( "cfc_parachutes/shared/sh_parachute_convars.lua" ) | ||
|
||
if SERVER then | ||
include( "cfc_parachutes/server/sv_parachute_convars.lua" ) | ||
include( "cfc_parachutes/server/sv_parachute.lua" ) | ||
include( "cfc_parachutes/server/sv_parachute_lfs.lua" ) | ||
else | ||
include( "cfc_parachutes/client/cl_parachute.lua" ) | ||
include( "cfc_parachutes/client/cl_parachute_lfs.lua" ) | ||
end |
Oops, something went wrong.