]> git.xonotic.org Git - xonotic/xonotic.wiki.git/blobdiff - BaI-mod.md
Upload attachment Md3_textures.png
[xonotic/xonotic.wiki.git] / BaI-mod.md
index 74a74d671e9b1e023549ae2223e08c0b2aeffdf6..94d9b170836bab2138f22482b1a5550fc272ac8f 100644 (file)
@@ -2,7 +2,8 @@
 > 1. [Notes for developers](#notes-for-developers)
 > 2. [HUD configuration](#hud-configuration)
 > 3. [Chat sounds](#chat-sounds)
 > 1. [Notes for developers](#notes-for-developers)
 > 2. [HUD configuration](#hud-configuration)
 > 3. [Chat sounds](#chat-sounds)
-> 4. [References](#references)
+> 4. [Country flags](#country-flags)
+> 5. [References](#references)
 
 
 [**Mod**](https://gitlab.com/xonotic/xonotic-data.pk3dir/-/tree/z411/bai-server) developed by [**z411**](https://gitlab.com/z411) for the BaI Xonotic server. Most of these are features ported from Quake 3/Quake Live and some might be undesirable for some Xonotic players, here is the content in case Xonotic players want any of them in the main game.
 
 
 [**Mod**](https://gitlab.com/xonotic/xonotic-data.pk3dir/-/tree/z411/bai-server) developed by [**z411**](https://gitlab.com/z411) for the BaI Xonotic server. Most of these are features ported from Quake 3/Quake Live and some might be undesirable for some Xonotic players, here is the content in case Xonotic players want any of them in the main game.
@@ -37,7 +38,7 @@ The resources should be saved in `PATH/data`.
 
 - Chat sounds:
 
 
 - Chat sounds:
 
-[zzz-bai-jokes-v18.pk3](uploads/f16e2c669c122f62d8ae663f4df18823/zzz-bai-jokes-v18.pk3)
+[zzz-bai-jokes-v19.pk3](uploads/0f9c790bf32b98628b7eaf439cd72bc7/zzz-bai-jokes-v19.pk3)
 
 - Quickmenu:
 
 
 - Quickmenu:
 
@@ -55,13 +56,41 @@ LegendGuard has forked the mod and added some stuff in this branch: https://gitl
 
 Remember look the [**repository guide**](https://gitlab.com/xonotic/xonotic/-/wikis/Repository_Access) to use this code.
 
 
 Remember look the [**repository guide**](https://gitlab.com/xonotic/xonotic/-/wikis/Repository_Access) to use this code.
 
+#### List of source code files where mod was developed
+
+Client base:
+
+- [`qcsrc/server/client.qc`](https://gitlab.com/xonotic/xonotic-data.pk3dir/-/blob/z411/bai-server/qcsrc/server/client.qc)
+
+Scoreboard:
+
+- [`qcsrc/client/hud/panel/scoreboard.qc`](https://gitlab.com/xonotic/xonotic-data.pk3dir/-/blob/z411/bai-server/qcsrc/client/hud/panel/scoreboard.qc)
+
+- [`qcsrc/common/scores.qh`](https://gitlab.com/xonotic/xonotic-data.pk3dir/-/blob/z411/bai-server/qcsrc/common/scores.qh)
+
+Chat:
+
+- [`qcsrc/client/hud/panel/chat.qc`](https://gitlab.com/xonotic/xonotic-data.pk3dir/-/blob/z411/bai-server/qcsrc/client/hud/panel/chat.qc)
+
+Spectator HUD:
+
+- [`qcsrc/client/hud/panel/spect.qh`](https://gitlab.com/xonotic/xonotic-data.pk3dir/-/blob/z411/bai-server/qcsrc/client/hud/panel/spect.qh)
+
+- [`qcsrc/client/hud/panel/spect.qc`](https://gitlab.com/xonotic/xonotic-data.pk3dir/-/blob/z411/bai-server/qcsrc/client/hud/panel/spect.qc)
+
+Attacker text:
+
+- All files inside this folder:
+[`qcsrc/common/mutators/mutator/attackertext/`](https://gitlab.com/xonotic/xonotic-data.pk3dir/-/tree/z411/bai-server/qcsrc/common/mutators/mutator/attackertext)
+
+
 # HUD configuration
 
 Cvars: 
 
 # HUD configuration
 
 Cvars: 
 
-`hud_spectatorteamdisplay 1 //sets team spectator display HUD`
+`hud_panel_spect_scores 1 //sets team spectator display HUD scores`
 
 
-`hud_spectatorplayernamedisplay 1 //sets player name spectator display HUD`
+`hud_panel_spect_playername 1 //sets player name spectator display HUD`
 
 <img src="uploads/2dc395d83ac793aa20f502a1bfd5bb12/SpectatorHUD.jpg" alt="SpectatorHUD" width="500"/>
 
 
 <img src="uploads/2dc395d83ac793aa20f502a1bfd5bb12/SpectatorHUD.jpg" alt="SpectatorHUD" width="500"/>
 
@@ -71,7 +100,9 @@ Cvars:
 <img src="uploads/19d0104a69a9bf92aa0b65c111ab0488/attackername.jpg" alt="attackername" width="200"/>
 
 
 <img src="uploads/19d0104a69a9bf92aa0b65c111ab0488/attackername.jpg" alt="attackername" width="200"/>
 
 
-`hud_itempickupdisplay 1 //sets item pickup display HUD`
+`hud_panel_itempickup 1 //sets item pickup entire display HUD`
+
+`hud_panel_itempickup_timer 1 //sets item pickup timer display`
 
 <img src="uploads/3d3d116722312d471408c7d178595e6d/items.jpg" alt="items" width="200"/>
 
 
 <img src="uploads/3d3d116722312d471408c7d178595e6d/items.jpg" alt="items" width="200"/>
 
@@ -101,6 +132,16 @@ set sv_chat_sounds_list "200 abusadores alert andate antabaka apruebo arigato au
 
 You can write in the chat, the sound name to be played.
 
 
 You can write in the chat, the sound name to be played.
 
+# Country flags
+
+Keep in mind that country flags are saved inside zzz-bai-gfx-v8.pk3 file, each flag has its own number (0-249). Uses a bot to identify automatically player's IP and execute the following command:
+
+`setflag #player_id numberofflag`
+
+*Note* : this command can be tested on a server without this bot.
+
+<img src="uploads/c71d78429cae68236204f572a61ce1fc/scoreboardCountryflag.jpg" alt="scoreboardCountryflag" width="500"/>
+
 # References
 
 https://omaera.org/~z411/xonotic/
\ No newline at end of file
 # References
 
 https://omaera.org/~z411/xonotic/
\ No newline at end of file