GithubHelp home page GithubHelp logo

jac95501 / ns Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ensl/ns

0.0 0.0 0.0 618.29 MB

Natural Selection mod for Half-life

Home Page: http://www.unknownworlds.com/ns

License: GNU General Public License v3.0

Perl 0.09% Inno Setup 0.02% HTML 11.75% Batchfile 0.02% PostScript 0.28% C++ 51.34% C 30.98% Pascal 1.17% Makefile 0.48% Shell 0.10% CMake 0.23% Roff 3.05% Awk 0.27% Module Management System 0.01% ReScript 0.22%

ns's Introduction

Natural Selection v3.3

An updated build of the game Natural Selection for Windows and Linux focused on quality of life improvements and bug fixes.

Downloads

The Natural Selection Launcher (Windows) can install, update, or repair the game.

Manual installation (Windows / Linux)

As the game is a Half-Life mod, Steam and Half-Life installations are required to play the game.

A fresh install of NS comes with updated config files containing everything you need to get playing on the standard settings most players prefer. Customization options are also built in like the Nine Legends competitve UI option as well as team and weapon specific config files that can be edited.

Game not working? Troubleshooting tips.

If the game doesn't load, check the following:

  1. Make sure you have verified Half-Life's integrity. Click here for detailed instructions.
  2. Make sure you have a clean install. Go to the half-life directory (eg. c:\Program Files\Steam\steamapps\common\Half-Life) and remove or rename the ns folder.
  3. Check if Half-Life works for you.
  4. Make sure you don't have any additional command line options for NS.
  5. For more help, ask on #help in our discord

For Linux:

  • Remove or rename the libstdc++so.6 provided by steam or steamcmd so the linux distro's can be used instead. The one steam provides is outdated.
  • 32 bit C libraries might need to be installed. Try apt-get install libc6-i386 if on debian or ubuntu.

Changes

Updates include:

  • Natural Selection Launcher for installing and updating the game

  • Widescreen support (now expands FOV up to 16:9 aspect instead of cutting it off)

  • AI upscaled model textures can be turned on with the "Use High Definition models" video option

  • Many FPS dependencies fixed, including jetpack acceleration, so the game can now be fairly played at 200+ FPS

  • Quake style queued jumping to make bunnyhopping more accessible (server adjustable via sv_jumpmode)

  • Shotgun and grenade launcher have been reworked to fix reload bugs

  • Weapon reloads are now predicted on the client

  • New minimal HUD and the Nine Legends HUD can be selected through advanced options or hud_style and hud_mapstyle

  • New crosshair system that can be adjusted through the advanced options and cl_cross commands (Thanks OpenAG)

  • Ambient sounds can be changed in advanced options or via cl_ambientsound

  • Marine HUD now tracks research progress

  • Raw input and sensitivity scaling options now available

  • Numerous bug fixes

Compiling

For Windows, compilation should be working if you have VS2019 installed.

For Linux:

First you need some libraries. On Ubuntu it is:

apt-get install build-essential git gdb gcc-multilib g++-multilib libc6-i386 mesa-common-dev

Then you will need to get the files:

git clone https://github.com/fmoraw/NS.git

Then cd to the linux directory:

cd NS/main/source/linux

Then build

make

or make ns to build the server binary and make cl_dll for the client binary. make clean to clean.

If you get the this error when running the app: Fatal Error - could not load library (client.so), With a high chance it is because of some UNDEFINED SYMBOLS in the shared library. But you can check this with this command:

ldd -r -d client.so

Make sure you have vgui.so copied to the cl_dll folder too on Linux.

Debugging

Windows debug builds are currently broken.

If you want to debug:

LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH" gdb ./hl_linux r -game ns -dev -steam

Due to the new engine and the nature of Linux I had to make a lot of changes! You can find them with grep -Ril @Linux.

For MacOS & lldb:

DYLD_LIBRARY_PATH=".:$DYLD_LIBRARY_PATH" /Applications/Xcode.app/Contents/Developer/usr/bin/lldb -- ./hl_osx r -game ns -dev -steam -windowed

Have to use XCode's lldb to get around https://stackoverflow.com/a/33589760 (Lack of environment variables). -windowed as windowed mode makes it easier to deal with crashes on MacOS.

Hosting a server

Since servers are really rare at this point in time here is a tutorial how to set up an Natural Selection server with hlds.

  1. Follow these steps: https://developer.valvesoftware.com/wiki/SteamCMD
  2. Copy the Natural Selection directory to steamcmd/servers/
  3. Run the game :
./hlds_run -game ns -autoupdate +map ns_eclipse + sv_secure 1 + port 27015 + ip 127.0.0.1 +hostname "Natural Selection" +maxplayers 32

If you are behind a NAT(Router) make sure to open at least those ports:

  • 27015 UDP (game transmission, pings)
  • 26900 UDP (VAC service) -- automatically increments if used in case of additional server processes

Under no circumstances expose your host to the internet!!! For more information follow this link.

In order to check if you server is connected to the steam servers copy the following url in your browser and replace <your IP address> with your external ip: http://api.steampowered.com/ISteamApps/GetServersAtAddress/v0001?addr=<your IP address>&format=json

There is an updated version of metamod called metamodp. Since players are also pretty rare you might want to install rcbot and therefore you have to download those files:

Usefull links

Many thanks to GiGaBiTe.

Half Life 1 SDK LICENSE

https://github.com/ValveSoftware/halflife/blob/master/README.md

You may, free of charge, download and use the SDK to develop a modified Valve game running on the Half-Life engine. You may distribute your modified Valve game in source and object code form, but only for free. Terms of use for Valve games are found in the Steam Subscriber Agreement located here: http://store.steampowered.com/subscriber_agreement/

You may copy, modify, and distribute the SDK and any modifications you make to the SDK in source and object code form, but only for free. Any distribution of this SDK must include this license.txt and third_party_licenses.txt.

DISCLAIMER OF WARRANTIES. THE SOURCE SDK AND ANY OTHER MATERIAL DOWNLOADED BY LICENSEE IS PROVIDED “AS IS”. VALVE AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES WITH RESPECT TO THE SDK, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, TITLE AND FITNESS FOR A PARTICULAR PURPOSE.

LIMITATION OF LIABILITY. IN NO EVENT SHALL VALVE OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR INABILITY TO USE THE ENGINE AND/OR THE SDK, EVEN IF VALVE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Natural Selection copyright and trademarks

All artwork, sounds, audio, screenshots, text and code in Natural Selection, Zen of Sudoku, Spark engine and Natural Selection 2 are Copyright © 2014 Unknown Worlds Entertainment, Inc (http://www.unknownworlds.com).

The mark Natural Selection was first represented in association with video-game software in June of 2001, and was first used in commerce around January, 2002. Natural Selection is Registered with the U.S. Patent and Trademark Office (No. 4,179,393).

Natural Selection license

See COPYING.txt for the GNU GENERAL PUBLIC LICENSE

EXCLUDED CODE: The code described below and contained in the Natural Selection Source Code release is not part of the Program covered by the GPL and is expressly excluded from its terms. You are solely responsible for obtaining from the copyright holder a license for such code and complying with the applicable license terms.

EXCLUDED CODE AND LIBRARIES

Original code and design by Charlie Cleveland ([email protected], @flayra).

Many contributions from Karl Patrick ([email protected]), Petter Rønningen [email protected], Harry Walsh [email protected], and probably lots of people I forgot.

ns's People

Contributors

pierow avatar jonnypower avatar jirikivaari avatar bacsu avatar fmoraw avatar animelol avatar jac95501 avatar puzl avatar brcaswell avatar panyachu avatar mailaender avatar mittorn avatar asmodev avatar tankefugl avatar stuartpb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.