.:Xash3D Engine:.

Custom Gold Source Engine build from a scratch



Developers:
Unkle Mike (aka G-Cont, aka Дядя Миша) - main developer
HLFX.ru & CS-Mapping.com.ua forum members - help, support, testing

CortexReaver, nemyax - English translation

Xash3D Engine has been tested for compatibility with many of Gold Source games and MODs. At this moment it should provide you an ability to successfully complete almost any existing singleplayer Half-Life mod without compatibility problems. Some mods can be not totally compatible, if they are too hardly modified or using some very specific or unstable features of Gold Source engine. Also multiplayer part of Xash3D engine is not fully completed yet because of lack of some important information and hidden source codes of Gold Source engine. So in most cases multiplayer mods should work good in a local or a LAN game, but some features can not work or work not exactly as under Gold Source engine. Check a detailed list of tested mods and a list of tested maps in "Features" section. A full list of Xash3D Engine features is also there, plus a guide on how to get work Half-Life and its' mods under Xash3D (in English and in Russian).


#######################################


Since Xash3D is a Half-Life compatible engine, then all the innovations below will be given in comparsion with GoldSrc engine.


Basic limits.

Xash3D limits are not just higher than Half-Life ones, they also can be tuned in gameinfo.txt file.
- MAX_EDICTS is 600 - 4096 (versus 900 in Half-Life).
- MAX_TEMPENTS is 300 - 2048 (vs. 500).
- MAX_PARTICLES is 1024 - 8192 (vs. 4096).
- MAX_BEAMS is 64 - 512 (vs. 64)
Careful limits reduction can save RAM in mods which don't need many edicts. Also MAX_EDICTS parameter is broadcasted from server during a multiplayer session, it adjusts clients to new conditions automatically.


Other limits.

These limits are engine-hardcoded and can not be tuned by user.
- MAX_VISIBLE_PACKET is 512 entities (256 in Half-Life).
- MAX_MODELS is 2048 unique models (including sprites and bmodels)
- MAX_SOUNDS is 2048
- MAX_SENTENCES is 2048 (1534 in Half-Life)
- MAX_USER_MESSAGES is 191 (128 in WON Half-Life)
- MAX_TEXTURES is 4096 (2048 of them can be used for VGUI)
- MAX_MESSAGES is 2048 (1024 in Half-Life) (quantity of messages in titles.txt)
- Maximum size for indexed textures is 4096х4096 (vs. 512х512 in Half-Life)
- Maximum size for true-color textures is 4096x4096.


Limits for bsp-models.

- MAX_MAP_MODELS 1024 (256 in half-life)
- MAX_MAP_LEAFS 32767 (8192 in half-life)
Note: other BSP-model limits are specified by compiler tools and don't depend on the engine.


Realisitic lighting values on server.

Xash3D allows to get more accurate value of current lighting level, because it considers lightstyles and their current values. The player's lighting is taken directly from renderer and considers all lighting types, including entity light and dynamic light.


Improved decal save.

Half-Life supports decal save only on world surfaces and very rare on doors, elevators and other moving models. Xash3D saves decals on every brush model. Decal transition between levels is also maintained (implemented in Half-Life, but doesn't really work).


Entity patch technology support.

This technology allows to load entities from external .ent script file. This script can be produced by the external ripent.exe application or by engine's facilities by typing the entpatch command. If the command is entered when a map is loaded, a new entity patch will be created.


Various map formats support.

Xash3D supports following BSP-map formats: Quake 1, Half-Life, Half-Life Blue Shift. Besides, Quake 1 external bmodels are supported (medikit and ammo models). Note: it is recommended to play Quake 1 maps in Deathmatch Classic mod to prevent stuckness of player because of the difference between hull's sizes of Half-Life and Quake.


Hot resource precaching support.

Xash3D allows to precache models "on the fly" that helps to avoid nasty PF_PRECACHE_ERROR. Also Xash3D doesn't crash if a model or sound wasn't found.


Reliable changelevel.

Before switching to a next map Xash3D will analyze its state (without unloading the current map) and decides whether correct changelevel procedure is possible. In case of any error in a next map the engine will signal about it in the developer's console, and the changelevel will be aborted. The error message also contains troubleshoot tips that can make level designer's life easier, because such errors are most difficult to diagnose and fix.


Built-in credits.

To display credits and exit the game after, run the pfnEndSection command with oem_end_credits argument. The credits code is placed in menu.dll and can be changed by user at his discretion.


MOVETYPE_PUSH physics is more stable.

Xash3D entities behave more stable on moving platforms and don't shift away on sharp turns.


New MOVETYPE_COMPOUND physics type.

It allows to tie one entity to another, taking into account movement and rotation of the former entity. You can see an example in SDK - a crossbow bolt that correctly attaches itself to func_pushable, func_rotating, func_tracktrain and other brush models.


Console autocomplete support.

Xash3D has a powerful console autocomplete system that allows not just print command lists, but also describe all of them during the search. For more comfort you can type "makehelp" in the console, and the engine will generate help.txt that contains the list of all commands and variables with short descriptions. Map, movie, background track, cfg script, save, weapon (give command), sound (play command), game directory names input is also assisted by the autocomplete feature.


No parent directory restriction.

Most Quake engines are restricted to the parent directory with specific name, which doesn't matter when you make mod, but very uncomfortable when you make total game conversion and therefore replace the parent directory. Xash3D doesn't restricted to specific folder, and the parent directory is defined by the launcher. This way you can make your own game that doesn't depend on Half-Life.


Dedicated server has the autocomplete feature now, your command history can be saved.

Dedicated server has the autocomplete feature now, your command history can be saved.


Background maps support.

Background map is a map to be displayed as a menu background. You could see them in Half-Life 2. Xash has a simplier background map system - it doesn't depend on unlocked chapters (because original Half-Life has no chapters system) and it chooses the background map from the list. This list file must be named as chapterbackgrounds.txt and placed in scripts directory (if you don't have such directory, then just make it). Every list's entry is separated by new line. You can use any playable map as the background, but better don't use maps where player starts in a moving train, because it won't look good.


Lightstyle interpolation.

Turned off by default. Doesn't work with short sequences like switching on and off the light. It smooths light animation very well on long slow sequences like SlowStrobe or SlowPulse. Note: FPS rate may suffer from this option.


luma glowing textures support (Quake-style).

You can see such textures in original quake maps as glowing fields on a texture. Because this feature is caused by the Quake pallet's special features, the engine enables it for textures that have Quake or Quake2 pallet. This pallet is saved well after the simple conversion of wad2 files to wad3.


Improved model and sprite lighting.

Improved model lighting includes per-bone lighting from static and dynamic light sources, and it also includes correct model lighting on every stage of long sequence execution, when model goes far enough from its real location. The best example is forklift.mdl Sprite lighting is a correct lighting of all sprites that is rendered in additive mode and had "alphtest" during the compilation. For example, blood decals uses the world lighting and doesn't glow in darkness. Both sprites and models don't just use the world lighting, but also consider lighting of the closest brush model if there is one.


Player model display in the menu.

Instead of a usual player image you can see his 3D model in the menu and track all changes right on-the-spot.

Image RSS Feed Latest Screens
XashXT: custom build. Parallax & Water shot 2. XashXT: custom build. Parallax & Water shot 1. XashXT: custom build. Grass test. Shot 3
Blog RSS Feed Report abuse Latest News: XashNT in development

About Xash3D Engine with 9 comments by Qwertyus on Sep 6th, 2014

Hi, all. There are some new information about the project. Currently all official (by Unkle Mike) work at development of Xash3D/XashXT has been stopped for an indeterminate time, for the reason that another work has been started. Unkle Mike decide to switch his efforts on development of the new engine, XashNT. This engine will be a further continuation of Xash3D/XashXT, with a support of most usual modmaking tools, but now it will be much more farther from GoldSrc even before. It will be totally independent engine, intended exclusively for creating of new games. It will not support any of already existing Half-Life mods. Its' code will be totally rewritten.

The code of a rendering system will be based on GLSL (OpenGL Shading Language), this will make the new engine faster. New renderer will support all popular modern graphics enhancemets, as bump, parallax, water effects, daytime changes etc. Client/server part of code will be revised for better optimization. Also, with a refusal from support of GoldSrc now it will be possible to implement a fully working multiplayer system. Other planned features are: new map format (with a support of huge spaces, env_cubemaps and other things), new game physics (probably now without using of PhysX), extending of GoldSrc model format (old models will be supported too, but new models will also have some advanced features, as ragdoll etc.). Entity system for a first time will be the same as in XashXT.

When a pilot version of XashNT will be ready (possibly in this October), a closed beta-testing will start. Members for CBT will be chosen personally by Unkle Mike (probably most of them will be only active game/mod developers, who already have appropriate projects and ready to move on the new engine, or skilled enough to experiment with it). If you have any ideas for the new engine, you are welcome to tell about them in the following thread (the forum is on russian, but you can use english easily):
Cs-mapping.com.ua

Update from December 13, 2014:

Xash3D Engine has been updated to the build 2867, which is available now in Downloads section! By the way, you can call this build "The anniversary edition", because already 10 years have been passed from the moment of the developing of Xash3D! Also dont' forget about XashXT which is ready for your pleasure too!

Xash3D Engine v0.96, build 2867 (with extras)
Xash3D Engine v0.96, build 2867 (with extras)

XashXT v0.65 rev.1 (Xash3D mod & toolkit)
XashXT v0.65 (Xash3D mod & toolkit)


If you a new with Xash3D, please, check this manual about proper installing of the engine. XashXT should be installed in a same folder with the engine, as addon/mod for it (with its' own executable - xash.exe).

P. S. Useful information about compatibility of Xash3D and different singleplayer Half-Life mods and maps is in The list of tested Half-Life mods and in The list of tested Half-Life maps.

Media RSS Feed Latest Video
Games
Secret Operation: Winter Ops

Secret Operation: Winter Ops Secret Operation: Winter Ops

Updated 3 days ago TBD Single Player First Person Shooter

The development of an entirely new Secret Operation. With the new engine, and a new approach. This project is a large scale, compared with the previous...

Paranoia 2: Savior

Paranoia 2: Savior Paranoia 2: Savior

Updated 5 days ago Coming Feb 2015 Single Player First Person Shooter

Paranoia 2 Savior — first-person shooter in the style of survival horror, which is unfolding in a secret underground laboratory facility somewhere in...

Cotra

Cotra Cotra

Updated 2 weeks ago Released Dec 5, 2014 Single Player Arcade

Добрый-Бобрый, лол. С вами балабер, а это КОТРА: Зубодробительный экшн где вы играете за кота-спецназовца (а можете и другими котами поиграть, даже банкой...

BOOM: Anatoly in Time

BOOM: Anatoly in Time BOOM: Anatoly in Time

Updated 2 months ago Released Aug 5, 2014 Single Player First Person Shooter

BOOM is returned :) Play this game and you узнаете, what is the PAIN! You play the BOOM when Boom plays YOU!

IONIZATION

IONIZATION IONIZATION

Updated 4 months ago TBD Single Player First Person Shooter

You will know a chilling story about misterious incident, which was happened in the middle Russia in 1994. Closed city Sverdlovsk-900 was abandoned and...

Post comment Comments  (40 - 50 of 320)
Sinrivales
Sinrivales Jul 20 2014, 12:47am says:

as I get water reflections in my new maps?

+2 votes     reply to comment
Qwertyus Creator
Qwertyus Jul 20 2014, 1:08am replied:

Any reflections will cost you perfomance, you know. Also it's possible to use reflection only for still water (without normal waves). Easiest way to make a reflection surface is use texture called "reflect1" or "reflect". Just place it over the water apply to it some transparency. This is described in Xash3D documentation, make sure you've read it first.

+2 votes   reply to comment
Sinrivales
Sinrivales Jul 20 2014, 2:33pm replied:

I have problems with the textures of the maps are in black color.

+2 votes     reply to comment
Qwertyus Creator
Qwertyus Aug 3 2014, 12:34pm replied:

Latest information about this issue - you should use only original bumprad from Paranoia SDK when you want to compile maps for Paranoia. Trying to use bumprad from XashXT tools will cause this effect of black textures, because Paranoia rendering system can't process XashXT lightmaps properly.

+2 votes   reply to comment
Qwertyus Creator
Qwertyus Jul 21 2014, 9:16am replied:

If you have an integrated videocard by Intel and use Paranoia's modified dlls, then you can have some glitches like this (or a red-colored lighting zone around the player). This is a hardware/driver problem and it's not solved yet.

+2 votes   reply to comment
Sinrivales
Sinrivales Jul 20 2014, 1:24pm replied:

would be good for creating tutorial videos giant maps more reflections in the water and the various improvements to be created mods-

+2 votes     reply to comment
Qwertyus Creator
Qwertyus Jul 21 2014, 3:44am replied:

If you are too lazy to read some manuals, I'm afraid that the HL mapping is not for you ;)

+2 votes   reply to comment
Sinrivales
Sinrivales Jul 21 2014, 11:17am replied:

I know use hammer editor to perfection. I did not find that you talk about the manual. My native language is Spanish

+2 votes     reply to comment
Qwertyus Creator
Qwertyus Jul 21 2014, 12:38pm replied:

I'm talking about xash_extras.7z\docs & XashXT_065_rev.1.7z\xash\devkit\docs. You are also welcome to ask questions at official Xash3D forum (you can use english there, same as here). What about learning videos, I don't know people who will agree to make them, unfortunately.

+2 votes   reply to comment
Sinrivales
Sinrivales Jul 21 2014, 3:52pm replied:

thanks friend. Not now I have my video card. This repair. MY pc: Amd 6 Core, 6gb ram, 1tb hard drive, 2GB DDR5 Ati radeon (repair)

When I have my video card try again create maps and I will show progress :D

+2 votes     reply to comment
Justus200
Justus200 Jul 14 2014, 4:59am says:

Hi, after several weeks of coding, I noticed the latest XashXT release seems to not include the latest SDK version. The change log under "docs" lists only version 0.65, but not 0.65 rev1.
Is it possible Uncle Mike accidently forgot to update the dev kit to the latest version? Just want to be sure I am using the latest dev kit.

+2 votes     reply to comment
Guest
Guest Jul 14 2014, 8:11pm replied:

I just checked this up and can say now that XashXT 0.65 rev.1 devkit was updated with latest sources, so it's OK.

+1 vote     reply to comment
Justus200
Justus200 Jul 15 2014, 7:43am replied:

Thank you. I only thought better ask now than later.

+2 votes     reply to comment
Ryuq
Ryuq Jun 25 2014, 9:54am says:

How can i replace graphics from menu? I mean "New Game", background etc. Anytime i edit background and save it i get purple black error, so is it possible to replace it with bigger, PNG image?

+2 votes     reply to comment
Qwertyus Creator
Qwertyus Jun 25 2014, 3:55pm replied:

Background image for menu - gfx\shell\splash.bmp. I don't know what program and parameters do you use for editing, but any properly saved BMP-file should work perfectly. I used even big sized (1920x1200) full-color (24-bit) BMPs without any problems, for example. Menu buttons are in gfx\shell\btns_main.bmp & head_***.bmp. They should have specific size (156x5538 & 460x80) and indexed color palette (256 colors). Palette can be local (adaptive, selective, perceptual). Black color is transparent. Also there is gfx\shell\gamma.bmp - sample image for video options menu. As splash.bmp, it doesn't have any specific requirements too. Standard resolution for all images - 72x72 DPI.

+2 votes   reply to comment
ciba43
ciba43 Jul 1 2014, 8:39am replied:

For btns_main.bmp you can even delete that file and use XashXT built in fonts (looks a lot better), but you would need to edit sources for menu.dll to change text.

+2 votes     reply to comment
Ryuq
Ryuq Jul 1 2014, 9:13am replied:

wow thanks :D It's really looks good :D

+2 votes     reply to comment
Ryuq
Ryuq Jul 1 2014, 9:29am replied:

I messed up with Gimp, and still cant save this background.

PS: When using map in menu, the gamestartup.mp3 wont play :(

+2 votes     reply to comment
Qwertyus Creator
Qwertyus Jul 3 2014, 9:53am replied:

Hmm, I found, that for some background maps gamestartup.mp3 still able to play. If you have an option "CD track to play" (or "sounds" in SmartEdit mode) enabled ("1") in the properties of your map, then background track will not play. But if this option is inactive ("0"), background track will play! P. S. This can also be done by editing of entpatch for the map.

+2 votes   reply to comment
Qwertyus Creator
Qwertyus Jul 2 2014, 5:37am replied:

Save your image with Gimp in another format, for example TGA, and then use Paint.NET to save it into BMP. Maybe this will work... Or try to resave it with IrfanView, XnView or something. Backround music for background map can be integrated directly in that map (you can replace any Half-Life track with your own MP3 and set to play this track in the map, something like that, for example).

+2 votes   reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Platform
Windows
Company
Xash XT Group
Contact
Send Message
Official Page
Cs-mapping.com.ua
Licence
GPL
Release Date
Released Apr 23, 2011
Engine Watch
Track this engine
Share
Community Rating

Average

9.5

83 votes submitted.

You Say

-

Ratings closed.

Highest Rated (2 agree) 10/10

Very good work,Uncle Mike.

Jun 19 2011, 7:14am by red-bear

Embed Buttons

Promote Xash3D Engine on your homepage or blog by selecting a button and using the embed code provided (more).

Xash3D Engine Xash3D Engine
Xash3D Engine
Statistics
Rank
13 of 678
Last Update
1 week ago
Watchers
186 members
Games
6
Files
24
News
10
Features
7
Reviews
28