Added new movement related cvars, update Building documentation for Fedora (thanks @dhalucario), updated readme with some cool people

This commit is contained in:
Xylemon 2023-02-23 15:23:32 -08:00
parent 5ad3931241
commit ac72c16bb2
3 changed files with 70 additions and 3 deletions

View file

@ -196,5 +196,59 @@ zypper in ffmpeg-4-libavformat-devel ffmpeg-4-libswscale-devel
#### Worldspawn #### Worldspawn
``` ```
zypper in cmake gtkglext-devel libxml2-devel libjpeg8-devel minizip-devel zypper in make gtkglext-devel libxml2-devel libjpeg8-devel minizip-devel
``` ```
### Fedora
#### FTE
```
dnf install make gcc gcc-c++ mesa-libGL-devel gnutls-devel
```
#### SDL2
```
dnf install SDL2-devel
```
#### GLX / X11 (part of libsdl2-dev)
```
dnf install libX11-devel libXcursor-devel libXrender-devel
```
#### Plugin: ODE
```
dnf install autoconf automake libtool
```
#### Plugin: FFMPEG
*Note:* You will have to manually build this plugin due to FFMPEG breaking ABI between releases as well as install a custom repository since Fedora ships only latest versions of FFMPEG.
First, you will need to install the RPM Fusion if you don't have it. We recommend reading their official guide: https://rpmfusion.org/Configuration
Then, you can install the required version of FFMPEG:
```
dnf install compat-ffmpeg4-devel
```
Now to build:
1) Edit build.cfg and change `FFMPEG=YES` to `NO`
2) Browse to src/engine/engine
3) Run this command:
`make plugins-rel NATIVE_PLUGINS="ffmpeg" AV_BASE=/usr/include/compat-ffmpeg4 AV_LDFLAGS="-l:libavcodec.so.58 -l:libavformat.so.58 -l:libavutil.so.56 -l:libswscale.so.5"`
4) Copy over `fteplug_ffmpeg.so` to the `bin` folder where nuclide and the build scripts are.
#### Worldspawn
```
dnf install make pkgconf gtkglext-devel libxml2-devel libjpeg-turbo-devel minizip-devel
```

View file

@ -1,3 +1,7 @@
// common
seta com_showFPS 0 // Draws the Frames Per Second counter. Has two values: 1 - Simple 2 - Detailed
// client game console variables // client game console variables
seta cg_chatEnabled 1 // Enable/disable the chat message window during gameplay. seta cg_chatEnabled 1 // Enable/disable the chat message window during gameplay.
seta cg_hudAspect 0 // Control for overriding the aspect ratio/canvas of HUD elements. seta cg_hudAspect 0 // Control for overriding the aspect ratio/canvas of HUD elements.
@ -22,6 +26,7 @@ seta pm_maxspeed 270 // Maximum desired player speed.
seta pm_stairSmoothing 1 // Smooth the client's camera on the Z axis when climbing stairs. seta pm_stairSmoothing 1 // Smooth the client's camera on the Z axis when climbing stairs.
seta pm_thirdPerson 0 // Enable/disable third-person view mode. seta pm_thirdPerson 0 // Enable/disable third-person view mode.
seta pm_crouchToggle 0 // Enable/disable sticky crouch, ducking behaviour. seta pm_crouchToggle 0 // Enable/disable sticky crouch, ducking behaviour.
seta pm_autojump 0 // Enable/disable automatically jumping when holding down the jump key.
// network variables // network variables
seta net_showUpdates 0 // Enable/disable console prints about entity updates. seta net_showUpdates 0 // Enable/disable console prints about entity updates.
@ -34,11 +39,15 @@ seta g_mapCycle "mapcycle.txt" // Map cycle file for multiplayer games.
seta in_zoomSensitivity 1.0 // Mouse sensitivity multiplier for when we're using the +zoomin command. seta in_zoomSensitivity 1.0 // Mouse sensitivity multiplier for when we're using the +zoomin command.
// aliases for the older commands (may be removed some day) // aliases for the older commands (may be removed some day)
alias cl_autojump pm_autojump
alias cl_showfps com_showFPS
alias pm_autoJump "setinfo autojump $*"
alias cl_chat_enabled cg_chatEnabled alias cl_chat_enabled cg_chatEnabled
alias cl_crouch_toggle pm_crouchToggle alias cl_crouch_toggle pm_crouchToggle
alias cl_hudaspect cg_hudAspect alias cl_hudaspect cg_hudAspect
alias cl_smoothstairs pm_stairSmoothing alias cl_smoothstairs pm_stairSmoothing
alias cl_thirdperson pm_thirdPerson alias cl_thirdperson pm_thirdPerson
alias com_showFPS "show_fps $*"
alias r_viewmodelfov cg_viewmodelFov alias r_viewmodelfov cg_viewmodelFov
alias r_viewmodelpass cg_viewmodelPass alias r_viewmodelpass cg_viewmodelPass
alias v_gunofs cg_viewmodelOffset alias v_gunofs cg_viewmodelOffset

View file

@ -1,7 +1,7 @@
Nuclide Nuclide
Beta Version Beta Version
Readme File Readme File
14/07/2022 23/02/2023
***************************************************************** *****************************************************************
About This Document: About This Document:
@ -47,15 +47,19 @@ You can also join Nuclide's Matrix space here: https://matrix.to/#/#nuclide:matr
V. CONTRIBUTORS V. CONTRIBUTORS
dqus - Misc code fixes and help
cyber-bridge - Misc weapon and item fixes cyber-bridge - Misc weapon and item fixes
Matthew Nguyen - Early Readme formatting
BartoCH - Some shell script corrections, misc stuff BartoCH - Some shell script corrections, misc stuff
dhalucario - Fedora build help
Matthew Nguyen - Early Readme formatting
Cloudwalk - Suggestions, Feedback, and fellow Quaker (as in the game)
VI. SPECIAL THANKS VI. SPECIAL THANKS
Spike Spike
Xylemon Xylemon
theuaredead theuaredead
preston22
twhl.info twhl.info
Little Caesars Little Caesars
all the other UNIX hackers that dl my wares all the other UNIX hackers that dl my wares