Skip to content

Commit f1f85c5

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/master' into engine_sdk2013
2 parents 9d24217 + 3817074 commit f1f85c5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+17187
-655
lines changed

addons/source-python/data/source-python/entities/csgo/CCSPlayer.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ srv_check = False
5656
[instance_attribute]
5757

5858
[[mvps]]
59-
offset_windows = 9708
60-
offset_linux = 9732
59+
offset_windows = 9740
60+
offset_linux = 9764
6161
type = INT
6262

6363
[[clan_tag]]
64-
offset_windows = 8552
65-
offset_linux = 8576
64+
offset_windows = 8576
65+
offset_linux = 8600
6666
type = STRING_ARRAY
6767

6868

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
11
[input]
22

33
fire_win_condition = FireWinCondition
4+
5+
6+
[keyvalue]
7+
8+
bot_max_vision_distance = botmaxvisiondistance
9+
disable_auto_generated_dm_spawns = disableautogenerateddmspawns
10+
hostage_count = hostagecount
11+
pet_population = petpopulation
12+
use_normal_spawns_for_dm = usenormalspawnsfordm
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[input]
2+
3+
set_timer = SetTimer
4+
5+
6+
[property]
7+
8+
glow_trail = m_pGlowTrail
9+
main_glow = m_pMainGlow
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[input]
2+
3+
explode = Explode
4+
fade_and_respawn = FadeAndRespawn
5+
socketed = Socketed
6+
7+
8+
[property]
9+
10+
bounce_die = m_bBounceDie
11+
capture_in_progress = m_bCaptureInProgress
12+
emit = m_bEmit
13+
fired_grabbed_output = m_bFiredGrabbedOutput
14+
forward = m_bForward
15+
held = m_bHeld
16+
launched = m_bLaunched
17+
struck_entity = m_bStruckEntity
18+
weapon_launched = m_bWeaponLaunched
19+
last_bounce_time = m_flLastBounceTime
20+
last_capture_time = m_flLastCaptureTime
21+
next_damage_time = m_flNextDamageTime
22+
radius = m_flRadius
23+
speed = m_flSpeed
24+
spawner = m_hSpawner
25+
bounce_count = m_nBounceCount
26+
max_bounces = m_nMaxBounces
27+
state = m_nState
28+
glow_trail = m_pGlowTrail
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
Building
2+
========
3+
4+
On this page you will learn on how to build the Source.Python binaries
5+
(``source-python.so``, ``source-python.dll``, ``core.so`` and ``core.dll``) on
6+
your own. This allows you to do tests or contribute to the C++ side of
7+
Source.Python by applying fixes, making improvements or exposing useful stuff
8+
to the Python side.
9+
10+
11+
Linux
12+
-----
13+
14+
To build Source.Python on Linux, you need the following requirements:
15+
16+
* `CMake 2.8 or later <https://cmake.org/download/>`_
17+
* `Git <https://git-scm.com/downloads>`_
18+
* `GCC (our buildbot uses 4.8) <https://gcc.gnu.org/>`_
19+
20+
Once you have installed the requirements, follow these steps to build Source.Python:
21+
22+
1. Create a clone of the `Source.Python repository <https://github.com/Source-Python-Dev-Team/Source.Python/>`_.
23+
2. Navigate to the ``src`` directory.
24+
3. Start the ``Build.sh`` script.
25+
4. Choose the game for which you want to build Source.Python.
26+
27+
.. note::
28+
29+
By default only one CPU core is used to build the binaries. If you wish to
30+
use more, set the variable ``NUM_CORES`` to the number of core you would
31+
like to use. This will speed up the build process, but also requires more
32+
ressoures.
33+
34+
You can shorten these steps by simply passing the game's name to the script
35+
e.g. ``./Build.sh css``.
36+
37+
If the build finished successfully, it will say something like this:
38+
``[100%] Built target core``.
39+
40+
The compiled binaries are stored in ``src/Builds/Linux/<game>/Release``.
41+
42+
43+
Windows
44+
-------
45+
46+
To build Source.Python on Windows, you need the following requirements:
47+
48+
* `CMake 2.8 or later <https://cmake.org/download/>`_
49+
* `Git <https://git-scm.com/downloads>`_
50+
* `Visual C++ 2010 <http://download.microsoft.com/download/1/E/5/1E5F1C0A-0D5B-426A-A603-1798B951DDAE/VS2010Express1.iso>`_
51+
* `Microsoft Build Tools (optional, to build directly via Build.bat) <https://www.microsoft.com/en-us/download/details.aspx?id=48159>`_
52+
53+
Once you have installed the requirements, follow these steps to build Source.Python:
54+
55+
1. Create a clone of the `Source.Python repository <https://github.com/Source-Python-Dev-Team/Source.Python/>`_.
56+
2. Navigate to the ``src`` directory.
57+
3. Start the ``Build.bat`` script.
58+
4. Choose the game for which you want to build Source.Python.
59+
5. Go to ``src/Builds/Windows/<game>``.
60+
6. Open ``source-python.sln``.
61+
7. Switch the build mode to ``Release``.
62+
8. Hit ``F7`` to start the build.
63+
64+
If the build finished successfully, it will say something like that:
65+
``========== Build: 3 succeeded, 0 failed, 0 up-to-date, 1 skipped ========== ``.
66+
67+
You can shorten these steps if you have installed the Microsoft Build Tools.
68+
In that case you can simply start the script and pass the game's name e.g.
69+
``Build.bat css``.
70+
71+
However, in both cases the compiled binaries are stored in ``src/Builds/Windows/<game>/Release``.

0 commit comments

Comments
 (0)