Mount & Blade: With Fire and Sword
Administrator Mod v1.0
for WFAS 1.143
Administrator Mod v1.0
for WFAS 1.143
Here is my WFAS Administrator mod - Client and Server compiled files.
Client side mod includes most of my own interface changes. You don't need to play on specific server to see those changes, so basically everyone can use client side files. Even if you are not admin, you will see interface differences with those files !
I will not release source files of this mod, so don't send me PMs about that !
Known problems:
- Spawned metal items often has blunt, wooden hit sound. Can't do anything about that, since it's internal spawn_item command bug, and need to be fixed by developers. So it's always better to use Equip Item instead of Spawn. Of course this bug don't matter if you spawn horses, muskets and blunt hit sound weapons.
- Teleport Up feature sometimes don't want to work, and I had no time to think about other ways to write it (since I didn't use this function in game anyway). So it's more like unfinished idea, which sometimes don't want to teleport you up. However it should always teleport you down (inside textures), if you are standing eg. on the roof.
NOTE: Every admin needs to modify his client files to see/use new functions.
To add full admin rights, you need to write player's unique ID inside scripts.txt file (check readme.txt file for more info).
Use this mod on your own risk ! Don't blame me for any problems. I spend over 2 months to write this mod, it has over 20.000 additional lines of code. I lost a lot of my time and some money to make this mod as good as I could. If you can't respect that, don't use this mod !
If you have any questions about mod functions or mod itself, please write them in this topic.
Adding new map is very simple - you just need to follow few steps.
To show everything right, i'll give here my Small Arena map, which is good for melee events and duel game type.
1. Firstly, you need map file and map terrain code. You can ask some map makers can you use their work or make map by yourself.
HERE you can download my Small Arena map. You are allowed to use this map on your server and modify it if you want.
2. Rename map SCO file from scn_mp_pl_small_arena.sco to scn_custom_map_1.sco. Put this file to dedicated SERVER's "\Modules\Ogniem i Mieczem\SceneObj" folder. You can put it to your game client SceneObj folder as well (so you won't have to download this file from your server).
3. Edit terrain code for map. Open dedicated server's scenes.txt file and find (ctrl+f) "scn_custom_map_1" entry. There you have long string "0x00000003200005000004711e0000549300005a8700000a3e" which is map terrain code - you need to replace it by new map terrain code. Only in this case, codes are same, because I used terrain code of this map as default code for those entries. But in any other case you need to replace this entry to look like inside terrain.txt file. Copy this file to your game client \Module\Ogniem i Mieczem folder.
4. Change map name. Open dedicated server's strings.txt file and find "scn_custom_map_1" entry. The line will be: "str_scn_custom_map_1 custom_map_1". First part is map indicator (it's not used in game anyway, just leave it as it is), second part is map name. Change this line to: "str_scn_custom_map_1 Small_Arena". Copy this file to your game client \Module\Ogniem i Mieczem folder. You need to give strings.txt file to every person with admin rights, so he can see new map name in game.
After editing any server file or changing map file, you have to restart the server !
That's all - as you see, it's not that hard .
To show everything right, i'll give here my Small Arena map, which is good for melee events and duel game type.
1. Firstly, you need map file and map terrain code. You can ask some map makers can you use their work or make map by yourself.
HERE you can download my Small Arena map. You are allowed to use this map on your server and modify it if you want.
2. Rename map SCO file from scn_mp_pl_small_arena.sco to scn_custom_map_1.sco. Put this file to dedicated SERVER's "\Modules\Ogniem i Mieczem\SceneObj" folder. You can put it to your game client SceneObj folder as well (so you won't have to download this file from your server).
3. Edit terrain code for map. Open dedicated server's scenes.txt file and find (ctrl+f) "scn_custom_map_1" entry. There you have long string "0x00000003200005000004711e0000549300005a8700000a3e" which is map terrain code - you need to replace it by new map terrain code. Only in this case, codes are same, because I used terrain code of this map as default code for those entries. But in any other case you need to replace this entry to look like inside terrain.txt file. Copy this file to your game client \Module\Ogniem i Mieczem folder.
4. Change map name. Open dedicated server's strings.txt file and find "scn_custom_map_1" entry. The line will be: "str_scn_custom_map_1 custom_map_1". First part is map indicator (it's not used in game anyway, just leave it as it is), second part is map name. Change this line to: "str_scn_custom_map_1 Small_Arena". Copy this file to your game client \Module\Ogniem i Mieczem folder. You need to give strings.txt file to every person with admin rights, so he can see new map name in game.
After editing any server file or changing map file, you have to restart the server !
That's all - as you see, it's not that hard .
PS: English isn't my native language so sorry for any language mistakes.