![]() ![]() ![]() Bringing with it tons of new maps (nearly 200!), it also has plenty of technical changes too. Pretty amazing to see it come back in such a huge way too, as this is not a small release. That is a long time for fans to wait for a new release. Going by their release history the 2020_11_29 edition is the first since early 2013. Good luck.Cube 2: Sauerbraten lives again it seems! The classic free and open source first-person shooter, which combines old school gameplay with in-game map editing returns. For newer players: this is not another game based on old open source id Software tech though, as the engine supporting it is original and open source under the ZLIB license. But I must warn you, if you don't have any programming skills yet, this may be a much bigger challenge than you probably expect. That's all right, you can learn by doing. It looks like the game is written in the C++ programming language, so a basic understanding of it or some similar programming language will probably be necessary to figure out the structure of the game code and do anything meaningful with it.īased on your question, you may not really know what you're doing. deb package in order to make your changes take effect in the actual game. After each successful rebuild, you will have to install your modified. Once you have verified all of this works, you can start making changes and rebuilding. But there would be no point in doing that, because your package should be essentially identical to the installed version (apart from missing the cryptographic signature of an Ubuntu maintainer). If successful, it should produce your own *.deb package of the game engine, which you could use to replace the currently-installed version. This will take a while and usually will produce a lot of messages. The simplest way to do it is probably to run debuild -b -uc -us in your work directory. Then, you should first try and build the game engine without any changes, just to verify that you have all the pieces in place to do it. You will also want to run sudo apt build-dep cube2 to install the tools and libraries needed to recompile the game engine from the source. There will be a sub-directory fpsgame, which will contain the game.h file. It should automatically download the source code of the game engine for you into that work directory. Then you can close the window, open a command prompt window, make yourself an empty work directory, cd into it, and run apt-get source cube2. You will have to enter your password to make any changes here. Go to "Ubuntu Software Center" -> Edit -> Software Sources, and make sure the "Source code" is selected on the "Ubuntu Software" tab. If you are serious about this, you will need to download the source code package for the game. So it looks like in order to increase your ammo counts, you'd need to somehow convince the server component that you've just picked up some ammo. picked up the item (in multiplayer someone may grab it before you). In src/fpsgame/entities.cpp there are functions addammo() and repammo(), and there is this comment near them: // these two functions are called when the server acknowledges that you really Although in a single-player mode both the client and server are on the same computer, they may still be separate entities within the game program. ![]() Since Sauerbraten has multiplayer functionality, it is split into client and server components. The same file also defines the struct fpsstate data structure, which includes the ammo counts for each gun, and the maximum ammo values are defined in static struct itemstat also in the same file. Look for static const struct guninfo starting at line #348. It looks like the properties of the guns are defined in the source code of the game and are not modifiable at runtime. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |