to understand how presentations work you should create your own. Trust me, it really helps. What you are trying to modify is a complete, connected and working system, being a novice it's hard to even get how does it work, let alone change the way it works. Start with something smaller, learn what an overlay is, why it is always a global variable, read the text at the top of module_presentations, download a header_operations pinned in this channel and see the presentation part in it. Practice makes perfect, there is no ultimate guide on how to achieve the thing you want via MS
I only want that menu to spawn items like a musket or pistol, because i cant find custom commands in the forums to spawn it.Like Dalion wrote at the Modding Discord:
For presentations there don't exist any real tutorials which explain the basics. Most of it is trial and error, so you need to dig into the presentations which are already around and change them a bit to get slowly a feeling for how they work.
You can find some crude basics explained here:
Here you find a tutorial of how to create a new unit section to NW multiplayer:
MP - Tutorial - Presentation - [NW] Creating a new unit section
[Tutorial] Creating a new unit section I've been toying around a bit with the unit menu of NW the past hours. With some sweet results. (For someone who barely touches presentations etc) Considering I haven't really seen this in any mod currently I thought that I mind as well create a quick...forums.taleworlds.com
I already found the sourcecode of napoleinic wars but I still don't know how to change the items of the admin tricksI would have been surprise if it would have worked since it has been developed before NW has been released
There is no easy solution which you can just put on your mod and it works fine and perfect. I gave you all the informations which are available, doing presentations is challenging, even for experienced modders. The rest is now trial and error which requires work from your side.
I only want a simple thing to spawn items. Like a command, menu or something but with the posibility to spawn somes items.Menus in modding world mean single-player game menus (like in villages or battles), the thing shown above is what is called presentations.
Making such presentation work like on Tropical Paradise server would be quite tough for you if you have just started scripting Warband. Like really, really tough. Creating a standalone presentation would be quite easy, but making client/ server events would be very hard to do. You may look at Minisiege's source code or some Caesim's scripts that handle item selection server-side to learn a thing or two (the scripts, however, are not the same with the above shown by you). Just go to FSE forum and take a look around its modding resources section.
Does it have to be triggered by an admin or by any player on the server?I only want a simple thing to spawn items. Like a command, menu or something but with the posibility to spawn somes items.
I only want to spawn items for my NW serverAbove you have the source code linked for a simple spawning of items, you only need to implement it into your mod. The better question would be if you already managed to set up the module system for your mod and managed to compile it succesfully. Is that the case?
The above presentation seems to be triggered by players. Anyway, if it has to be triggered by admins, that is a lot better for you because there are already many admin scripts for that.by an admin
As I said, that is the place to go.Just go to FSE forum and take a look around its modding resources section.
Yeah, in this case, @Kaiser_SG has to rely on what has already been done.So you actually don't want to mod but have some finished product
So you actually don't want to mod but have some finished product. Perhaps try this here, just found it at the FSE forum:
Admin Tools for Napoleonic Wars?
Admin Tools for Napoleonic Wars? - Modifications - Flying Squirrel Entertainmentwww.fsegames.eu
guys i try with all the admin tools but its impossibleThe above presentation seems to be triggered by players. Anyway, if it has to be triggered by admins, that is a lot better for you because there are already many admin scripts for that.
The best admin tools are found in Adimi Tools, check them out but you will have to port them to NW: https://forums.taleworlds.com/index.php?threads/adimi-tools-v1-52-for-1-174.275440/.
As I said, that is the place to go.
Yeah, in this case, @Kaiser_SG has to rely on what has already been done.
Agree, one can either try out existing tools, leave them alone and be content with not having them or learn how to mod.If none of the current admin tools is working fine for you, you have two options:
1) Start learning how to mod yourself and implement it by yourself. Starting point is:
2) Accept the fact that you won't have it like you want it and continue playing as is.The Ultimate Introduction to Modding | Starting out? Read this!
First of all, I decided to do this because of the large amount of new recruits that appeared on the forums recently, some of them who started posting tutorials which contained unclear, misinforming, or even plainly wrong information. Please read on below. I will do my best to thoroughly and...forums.taleworlds.com