<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mygamingtalk.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mateos</id>
	<title>MyGamingTalk - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://mygamingtalk.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mateos"/>
	<link rel="alternate" type="text/html" href="https://mygamingtalk.com/wiki/Special:Contributions/Mateos"/>
	<updated>2026-04-21T13:52:50Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://mygamingtalk.com/wiki/index.php?title=WEAPON&amp;diff=1709</id>
		<title>WEAPON</title>
		<link rel="alternate" type="text/html" href="https://mygamingtalk.com/wiki/index.php?title=WEAPON&amp;diff=1709"/>
		<updated>2024-05-09T14:42:53Z</updated>

		<summary type="html">&lt;p&gt;Mateos: Precise that WEAPON.CARBINE is the Allied Engineer M1 Garand&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{process header&lt;br /&gt;
 | title    = WEAPON Constant&lt;br /&gt;
 | section  =&lt;br /&gt;
 | previous = [[Omni-bot_Script_Reference | Script Reference]]&lt;br /&gt;
 | next     = &lt;br /&gt;
 | shortcut =&lt;br /&gt;
 | notes    =&lt;br /&gt;
}}&lt;br /&gt;
[[Category:Constants]]&lt;br /&gt;
== Doom 3 Weapons ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 WEAPON.BFG&lt;br /&gt;
 WEAPON.CHAINGUN&lt;br /&gt;
 WEAPON.CHAINSAW&lt;br /&gt;
 WEAPON.FISTS&lt;br /&gt;
 WEAPON.FLASHLIGHT&lt;br /&gt;
 WEAPON.GRABBER&lt;br /&gt;
 WEAPON.HANDGRENADE&lt;br /&gt;
 WEAPON.MACHINEGUN&lt;br /&gt;
 WEAPON.PLASMAGUN&lt;br /&gt;
 WEAPON.PISTOL&lt;br /&gt;
 WEAPON.ROCKETLAUNCHER&lt;br /&gt;
 WEAPON.SHOTGUN&lt;br /&gt;
 WEAPON.SHOTGUN_DBL&lt;br /&gt;
 WEAPON.SOULCUBE&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Enemy Territory Weapons == &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 WEAPON.ADRENALINE&lt;br /&gt;
 WEAPON.ALLY_GRENADE&lt;br /&gt;
 WEAPON.AMMO_PACK&lt;br /&gt;
 WEAPON.AXIS_GRENADE&lt;br /&gt;
 WEAPON.BINOCULARS&lt;br /&gt;
 WEAPON.CARBINE (Allied Engineer M1 Garand)&lt;br /&gt;
 WEAPON.COLT&lt;br /&gt;
 WEAPON.COLT_AKIMBO&lt;br /&gt;
 WEAPON.COLT_AKIMBO_SILENCED&lt;br /&gt;
 WEAPON.COLT_SILENCED&lt;br /&gt;
 WEAPON.DYNAMITE&lt;br /&gt;
 WEAPON.FG42&lt;br /&gt;
 WEAPON.FG42_SCOPE&lt;br /&gt;
 WEAPON.FLAMETHROWER&lt;br /&gt;
 WEAPON.GARAND&lt;br /&gt;
 WEAPON.GARAND_SCOPE&lt;br /&gt;
 WEAPON.GPG40&lt;br /&gt;
 WEAPON.KAR98&lt;br /&gt;
 WEAPON.K43&lt;br /&gt;
 WEAPON.K43_SCOPE&lt;br /&gt;
 WEAPON.KNIFE&lt;br /&gt;
 WEAPON.LANDMINE&lt;br /&gt;
 WEAPON.LUGER&lt;br /&gt;
 WEAPON.LUGER_AKIMBO&lt;br /&gt;
 WEAPON.LUGER_AKIMBO_SILENCED&lt;br /&gt;
 WEAPON.LUGER_SILENCED&lt;br /&gt;
 WEAPON.M7&lt;br /&gt;
 WEAPON.MEDKIT&lt;br /&gt;
 WEAPON.MORTAR&lt;br /&gt;
 WEAPON.MORTAR_SET&lt;br /&gt;
 WEAPON.MOBILE_MG42&lt;br /&gt;
 WEAPON.MOBILE_MG42_SET&lt;br /&gt;
 WEAPON.MOUNTABLE_MG42&lt;br /&gt;
 WEAPON.MP40&lt;br /&gt;
 WEAPON.PANZERFAUST&lt;br /&gt;
 WEAPON.PLIERS&lt;br /&gt;
 WEAPON.SATCHEL&lt;br /&gt;
 WEAPON.SATCHEL_DET	&lt;br /&gt;
 WEAPON.SMOKE_GRENADE&lt;br /&gt;
 WEAPON.SMOKE_MARKER&lt;br /&gt;
 WEAPON.STEN&lt;br /&gt;
 WEAPON.SYRINGE&lt;br /&gt;
 WEAPON.THOMPSON&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== NoQuarter Weapons ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 WEAPON.SHOTGUN&lt;br /&gt;
 WEAPON.BAZOOKA&lt;br /&gt;
 WEAPON.STG44&lt;br /&gt;
 WEAPON.BAR&lt;br /&gt;
 WEAPON.MP34&lt;br /&gt;
 WEAPON.VENOM&lt;br /&gt;
 WEAPON.POISONSYRINGE&lt;br /&gt;
 WEAPON.FOOTKICK&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Jaymod Weapons ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 WEAPON.M97&lt;br /&gt;
 WEAPON.POISONSYRINGE&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== silEnT Weapons ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 WEAPON.PPSH&lt;br /&gt;
 WEAPON.TRIPMINE&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== ETnam Weapons ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 WEAPON.LAW&lt;br /&gt;
 WEAPON.M79&lt;br /&gt;
 WEAPON.ITHACA&lt;br /&gt;
 WEAPON.RPD&lt;br /&gt;
 WEAPON.M3A1&lt;br /&gt;
 WEAPON.SAK47&lt;br /&gt;
 WEAPON.REVOLVER&lt;br /&gt;
 WEAPON.AKIMBO_MAC10&lt;br /&gt;
 ...&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Bastardmod Weapons ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 WEAPON.BASTARD_FG42&lt;br /&gt;
 WEAPON.MINIGUN&lt;br /&gt;
 WEAPON.MP28&lt;br /&gt;
 WEAPON.MADSEN&lt;br /&gt;
 WEAPON.SCROOGE&lt;br /&gt;
 WEAPON.TOKAREV&lt;br /&gt;
 WEAPON.BAT&lt;br /&gt;
 WEAPON.BTAIL&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== ETBlight Weapons ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 WEAPON.DESTROYER&lt;br /&gt;
 WEAPON.SAW&lt;br /&gt;
 WEAPON.MADSEN&lt;br /&gt;
 WEAPON.BSMG2&lt;br /&gt;
 WEAPON.MP40SS&lt;br /&gt;
 WEAPON.MP41&lt;br /&gt;
 WEAPON.PPSH41&lt;br /&gt;
 WEAPON.PROTO&lt;br /&gt;
 WEAPON.Q3X1&lt;br /&gt;
 WEAPON.MINI_BROWNING&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fortress Forever Weapons ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 WEAPON.ASSAULTCANNON&lt;br /&gt;
 WEAPON.AUTORIFLE&lt;br /&gt;
 WEAPON.CROWBAR&lt;br /&gt;
 WEAPON.FLAMETHROWER&lt;br /&gt;
 WEAPON.GRENADE&lt;br /&gt;
 WEAPON.GRENADELAUNCHER&lt;br /&gt;
 WEAPON.KNIFE&lt;br /&gt;
 WEAPON.MEDKIT&lt;br /&gt;
 WEAPON.NAILGUN&lt;br /&gt;
 WEAPON.NAPALMCANNON&lt;br /&gt;
 WEAPON.PIPELAUNCHER&lt;br /&gt;
 WEAPON.SHOTGUN&lt;br /&gt;
 WEAPON.SPANNER&lt;br /&gt;
 WEAPON.SUPERSHOTGUN&lt;br /&gt;
 WEAPON.RAILGUN&lt;br /&gt;
 WEAPON.RPG&lt;br /&gt;
 WEAPON.SNIPERRIFLE&lt;br /&gt;
 WEAPON.SUPERNAILGUN&lt;br /&gt;
 WEAPON.TRANQGUN&lt;br /&gt;
 WEAPON.UMBRELLA&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Quake 4 Weapons ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 WEAPON.BLASTER&lt;br /&gt;
 WEAPON.DARKMATTERGUN&lt;br /&gt;
 WEAPON.GAUNTLET&lt;br /&gt;
 WEAPON.GRENADELAUNCHER&lt;br /&gt;
 WEAPON.HYPERBLASTER&lt;br /&gt;
 WEAPON.LIGHTNINGGUN&lt;br /&gt;
 WEAPON.MACHINEGUN&lt;br /&gt;
 WEAPON.NAILGUN&lt;br /&gt;
 WEAPON.NAPALMGUN&lt;br /&gt;
 WEAPON.RAILGUN&lt;br /&gt;
 WEAPON.RPG&lt;br /&gt;
 WEAPON.SHOTGUN&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Return to Castle Wolfenstein Weapons == &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 WEAPON.ALLY_GRENADE&lt;br /&gt;
 WEAPON.AMMO_PACK&lt;br /&gt;
 WEAPON.AXIS_GRENADE&lt;br /&gt;
 WEAPON.BINOCULARS&lt;br /&gt;
 WEAPON.COLT&lt;br /&gt;
 WEAPON.DYNAMITE&lt;br /&gt;
 WEAPON.FLAMETHROWER&lt;br /&gt;
 WEAPON.KNIFE&lt;br /&gt;
 WEAPON.MAUSER&lt;br /&gt;
 WEAPON.MEDKIT&lt;br /&gt;
 WEAPON.MP40&lt;br /&gt;
 WEAPON.PANZERFAUST&lt;br /&gt;
 WEAPON.PLIERS	&lt;br /&gt;
 WEAPON.SMOKE_GRENADE&lt;br /&gt;
 WEAPON.STEN&lt;br /&gt;
 WEAPON.SYRINGE&lt;br /&gt;
 WEAPON.THOMPSON&lt;br /&gt;
 WEAPON.VENOM&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See also: [[Utility_Functions#WeaponTable.SetWeaponAvailability|WeaponTable.SetWeaponAvailability]], [[Bot#GetCurrentWeapon|GetCurrentWeapon]], [[Bot#GetWeapon|GetWeapon]], [[Bot#HasAnyWeapon|HasAnyWeapon]], [[Bot#HasWeapon|HasWeapon]], [[ScriptGoal#AddWeaponRequest|AddWeaponRequest]], [[ScriptGoal#BlockForWeaponChange|BlockForWeaponChange]]&lt;/div&gt;</summary>
		<author><name>Mateos</name></author>
	</entry>
	<entry>
		<id>https://mygamingtalk.com/wiki/index.php?title=Compile&amp;diff=1708</id>
		<title>Compile</title>
		<link rel="alternate" type="text/html" href="https://mygamingtalk.com/wiki/index.php?title=Compile&amp;diff=1708"/>
		<updated>2024-05-09T13:08:19Z</updated>

		<summary type="html">&lt;p&gt;Mateos: Newer boost lib no more has bjam executable but only b2, and the SLN file name changed recently&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
You can get Omni-bot C++ source code from GitHub:  https://github.com/jswigart/omni-bot&lt;br /&gt;
&lt;br /&gt;
Latest Omni-bot version for Enemy Territory and Return to Castle Wolfenstein is in the &#039;&#039;&#039;stable&#039;&#039;&#039; branch !!!&lt;br /&gt;
&lt;br /&gt;
Use the Download ZIP button or install Git and then clone the repository.&lt;br /&gt;
&lt;br /&gt;
You also need submodule GameMonkey: https://github.com/jswigart/gmscriptex&lt;br /&gt;
&lt;br /&gt;
Omni-bot depends on the Boost libraries which can be downloaded from https://sourceforge.net/projects/boost/&lt;br /&gt;
&lt;br /&gt;
= Linux =&lt;br /&gt;
&lt;br /&gt;
== Compile Boost ==&lt;br /&gt;
&lt;br /&gt;
If your Linux distribution contains boost packages, you can just install the packages and skip this step.&lt;br /&gt;
&lt;br /&gt;
Run shell as root. Change current directory to boost.&lt;br /&gt;
&lt;br /&gt;
 ./bootstrap.sh --with-libraries=date_time,filesystem,regex,system&lt;br /&gt;
 ./bjam address-model=32 link=static install&lt;br /&gt;
&lt;br /&gt;
Header files will be copied into /usr/local/include/boost. Libraries will be copied into /usr/local/lib&lt;br /&gt;
&lt;br /&gt;
It&#039;s possible to install boost to another folder which does not require root privileges. See boost documentation.&lt;br /&gt;
&lt;br /&gt;
== Compile Omni-bot ==&lt;br /&gt;
&lt;br /&gt;
If you want to compile Omni-bot for other games than Enemy Territory, open the file Omnibot\Jamfile in a text editor and uncomment build-project commands (they are at the end of Jamfile).&lt;br /&gt;
&lt;br /&gt;
Open script Omnibot\linux\buildbot.sh in a text editor and change paths. The BOOST_SUFFIX variable should be empty in current Boost version. Then run the script.&lt;br /&gt;
&lt;br /&gt;
If you are lucky and compilation is successful, you will have file omnibot_et.so or omnibot_rtcw.so somewhere in Omnibot\build folder.&lt;br /&gt;
&lt;br /&gt;
== Compile Mods ==&lt;br /&gt;
&lt;br /&gt;
Run script buildet.sh or buildrtcw.sh.&lt;br /&gt;
&lt;br /&gt;
Files cgame.mp.i386.so and ui.mp.i386.so must be compressed into archive omnibot_et.pk3 or omnibot_rtcw.pk3.&lt;br /&gt;
&lt;br /&gt;
== 64-bit ==&lt;br /&gt;
&lt;br /&gt;
If you use 64-bit ET:Legacy and legacy mod, you must compile 64-bit Omni-bot.&lt;br /&gt;
&lt;br /&gt;
Add parameters address-model=64 cflags=-fPIC when you compile Boost.&lt;br /&gt;
&lt;br /&gt;
Add parameter address-model=64 to bjam command when you compile Omni-bot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Windows =&lt;br /&gt;
&lt;br /&gt;
Project files are for Microsoft Visual Studio 2017 or newer. You can use free Community edition.&lt;br /&gt;
&lt;br /&gt;
== Compile Boost ==&lt;br /&gt;
Start &amp;quot;x86 Native Tools Command Prompt for VS&amp;quot; from the Start menu.&lt;br /&gt;
Change current directory to boost root.&lt;br /&gt;
&lt;br /&gt;
 bootstrap.bat&lt;br /&gt;
 .\b2 --with-date_time --with-filesystem --with-regex --with-system link=static runtime-link=static variant=release&lt;br /&gt;
&lt;br /&gt;
Change variant parameter to debug if you want to compile Omni-bot with debugging info.&lt;br /&gt;
&lt;br /&gt;
Change runtime-link parameter to shared if you want to use Code Generation / Runtime Library - Multi-threaded DLL (/MD)&lt;br /&gt;
&lt;br /&gt;
== Compile Omni-bot ==&lt;br /&gt;
&lt;br /&gt;
Open file Omnibot\projects\msvc12\PropertySheets\Paths.props in a text editor and change BOOST path.&lt;br /&gt;
&lt;br /&gt;
Open solution Omnibot\projects\msvc12\Omni-bot.sln&lt;br /&gt;
&lt;br /&gt;
The solution contains projects for all supported and unsupported games. You probably only need to compile projects Common, gm_ex and MOD_ET or MOD_RTCW.&lt;br /&gt;
&lt;br /&gt;
Select Release or Debug configuration on toolbar and compile.&lt;br /&gt;
There is a Post-Build Event defined to copy output file to installation folder. You can modify it if you want another folder.&lt;br /&gt;
If you are lucky and compilation is successful, you will have file omnibot_et.dll or omnibot_rtcw.dll.&lt;br /&gt;
&lt;br /&gt;
== Compile Mods ==&lt;br /&gt;
&lt;br /&gt;
Enemy Territory mod solution:  GameInterfaces\ET\src\wolf_2013.sln &lt;br /&gt;
&lt;br /&gt;
Return to Castle Wolfenstein solution:  GameInterfaces\RTCW\src\RTCW2010.sln&lt;br /&gt;
&lt;br /&gt;
There are 3 projects in the solution: cgame, game, ui. &lt;br /&gt;
Projects cgame and ui have Post-Build Event defined to compress cgame_mp_x86.dll and ui_mp_x86.dll into omnibot_et.pk3 or omnibot_rtcw.pk3.&lt;/div&gt;</summary>
		<author><name>Mateos</name></author>
	</entry>
</feed>