code

  1. Randomized Uniform Color Saturation?

    Hi everyone! I recently noticed that the uniform secondary color is randomized. This wasn't in the earlier versions. Does anyone know in what module/file this feature lives? Or what it is even called? I'd like to disable it. Thanks!
  2. Resolved Diplomacy mod won't start on e1.8.0

    Summary: How to Reproduce: Have you used cheats and if so which: Scene Name (if related): Media (Screenshots & Video): Computer Specs: OS: Windows 10 GPU: NVIDIA Geforce GTX 1050 Ti GPU Driver Version: 31.0.15.1659 CPU: Intel(R) Core(TM) i3-9100F CPU @ 3.60GHz RAM:8 GB Motherboard: DEXP Atlas...
  3. FBVortex

    Beta access code

    Running on steam, and need an access code to launch the 1.8.0 beta. How does one go about getting a code? Or are they not letting anyone else join the test? Thanks
  4. Cokjan

    SP Tutorial Module System Simple Gunshot Sounds Based on Distance w/o WSE

    Setting up the sounds (optional, you can use whatever sounds you want) 1. Download and extract the sound files from this link. (It is OSP as far as I'm aware of, check page 2) 2. Add the following line to module_sounds.py somewhere. Setting up item triggers 1. Add the following line to your...
  5. Sultan Berkuk

    WB Coding How to do dynamic renaming?

    [/spoiler] Hi guys. I'm working on an advanced headquarters system. I want to change the name of the headquarters whenever I want. But I don't know how to do it. In some modes, we can change the city/fortress names by changing the "Rename Kingdom" codes in our game. I tried to do this but...
  6. Ishapar

    SP Tutorial Module System Creating New Hidden Chests

    Hidden chests are a great way to add content to your mod. The chests can be used to create possible story elements in role playing mods or used to encourage and reward exploration for the casual game. Originally coming with the Strange Armor set, these chests can be used to hoard a number of...
  7. A question about spculture.xml

    Hello, Recently I am researching the game xmls, in "spculture" I notice someting interesting, A line called "town_edge_number", for every culture except khuzait, the Value for that line is "16" and for Khuzait is "4". looks strange, could anyone tell me the function of that line? which part of...
  8. Peanut_Brother

    Suggestion General Please consider storing the 'Reason' behind a Relation change

    There are many reasons relation may change between two entities in BL and being able to access the reasons behind a given relation would enable modders to bring more life to NPCs in the game, through differing interactions based on what actually happened between two individuals. As an example...
  9. Wüstenkrieger

    BL Coding Playing an agent animation via code

    Hi, I have a function which gets called by a hotkey, that unequips an item and equips a different one. In between I would like the agent to do a custom animation. The animation is already added via the modding kit, but I cant find any code to carry out an animation by string. Has anyone any...
  10. Yagababa

    WFaS Coding Health Bars

    Hey guys, sorry to double post. I found this code for a health bar presentation code, but for some reason they aren't appearing in-game. ("multiplayer_agent_hp_bar", prsntf_read_only, 0, [ (ti_on_presentation_load, [...
  11. Pitch

    Monitor for any changes in your code and automatically compile module system.

    Monitor for any changes in your code and automatically compile module system with nodemon. Perfect for development Nodemon is a development dependency that monitors for any changes in your project and automatically re-compiles your code, saving time and tedious work. Nodemon does not require...
  12. AlbertFaubrein

    WB Coding Presentation's slider not working

    Hello, I have a problem with my presentation, I create a range of image_buttons but only 3 of them are working and like the title say my presentation's slide is not working. Thanks for your help.
  13. Campaign Map Speed

    Hello Everyone! I often find myself in looking for x8 button when moving around the map and it just really frustrates me that it is not there. I know that I can go to cheat menu and type "campaign.multiply_campaign_speed 20 " and that does the trick for me, but I don't want to do that every...
  14. BL Coding AddPlayerLine() AddDialogLine() there are no selection lines in the secondary action? C#

    Hi! Construction: AddPlayerLine("Question1", "lord_talk_ask_something", "Question2","Text1"...) 1. presses "lord_talk_ask_something". a dialog appears with the button "Text1" AddDialogLine("Question2", "Question2", "Question3", "Text2"...) 2. The NPC responds to "Text2"...
  15. BL Coding Determine the current state of the game (character) С#

    Is it possible to track the state of the game at the moment when the event occurs.? For example - on the global map or conversation or inventory menu. let's finish so I can output the message once at the event OnGameStart protected override void OnGameStart(Game game, IGameStarter...
  16. BL Coding unable to convert from "bool" to "System.Func<(bool, TaleWorlds.Localization.TextObject)>"

    Мy first experience. I do it according to the tutorial and i have problem. Module.CurrentModule.AddInitialStateOption(new InitialStateOption("Message", new TextObject("Message", null), 9990, () => { InformationManager.DisplayMessage(new InformationMessage("Hello World!")); }...
  17. Alzey

    Help for make mod, Mod yapmak için yardım.

    Muhterem Okuyucular, büyük ve güzel bir mod yapmak istiyorum ancak texture,langue gibi dosyaların nerede bulunduğunu anlayadım dosyaları nereden bulabileceğimi bilen varsa beni bilgilendirmeleri rica olunur. Bu konudaki cahilliğimi mazur görün. Büyük bir mod yapmak istiyorum ancak bilgim çok az...
  18. NW Coding How to activate the royale mode in the NW?

    I checked the source code of NW and I find a new game type call royale. I change the header_common and let this mode shows on the Admin panel. But it seems that don't have any trigger on this mode.(Like press C to battle cry and P to surrender). So it seems that I fail to activate that mode...
  19. Notealot

    About why lance/spear cavalry so weak in SandBox

    There is a thread discussed about this issue before: https://forums.taleworlds.com/index.php?threads/fix-cavalry-charge.442262/ As we know, developers changed reorganizing range of cavalry in Beta e1.5.10, but it affects few. Every reason you can found in codes. For example, the Mount Charge...
  20. Tharos_PT

    BL Coding Help with Custom NameMarkers

    Hi there, I was trying to make my own Name markers, similar to what you can see below but with my own text. I was trying to follow the code on MissionGauntletNameMarker (SandBox.GauntletUI.MissionGauntletNameMarker), where it looks that is initialized. It creates a new MissionNameMarkerVM...
Top Bottom