搜索结果: *

  1. Start online battle from code

    Hi, Is it possible to start a battle from code that would load a battle scene for you and a friend? I saw a video of a mod called Bannerlord Online that showcases two players running around on the map, and then participating in the same battle. They entered the battle and could see each other...
  2. Documentation Coding Community Modding Documentation

    I assume it's possible to edit the maps (main map, combat maps, and settlements) ? I haven't been able to find any information on this for some reason.

    They will provide software to customize the campaign map as far I've read.
  3. TaleWorlds Modding Q&A

    Multiplayer/Server-Client

    F2. Can a server provide players with necessary files/code modifications upon joining/after asking for permission?

    F3. Will we have full control of all data which is sent between server and clients? (Pretty useful for optimization purposes, e.g. reducing network traffic in order to maximize the possible player count)

    F4. Is it possible to send data from client to client directly (P2P)? (Could be useful to reduce the server's traffic as well)

    F5. What is the native admin system like? What type of moderation and admin tools will come natively with servers (MP)?

    F6. Is the custom smithing feature available for multiplayer? If not, is it possible to port it?

    F7. Will we be able to send http requests; post and get?

    F8. Will it theoretically be possible to implement an in-game voice-chat?

    F9. When a player is on a server can you connect/move him to another server if he performs a particular action?

    F10. Will a MP server be able to query a database directly instead of using a website as a proxy?

    F11. What network commands will exist to update both client and server? (Spawn item network command was added to allow armor to be updated on clients as well as server in warband)


    F12. What configuration options will exist on the server? (Custom factions using existing assets, for example)

    F13. Will there be a way to remotely control a server through something like a web API or webhooks?

    F14. In multiplayer, how can you customize player stats? Can I have access to the same stats as in single-player mod like strength, agility, or maybe lower level stats like health, speed?

    What exactly are these questions referring to? Have they said anything about us being able to host our own servers with campaign? Question F11, F6 and F14 seems to be talking about campaign specific behaviours. The current multiplayer modes are just one team versus another, right? So how are these questions relevant to simple battles online.
  4. TaleWorlds Modding Q&A

    Will we be able to start online battles through code? Essentially just hosting it on the machine that started the battle.
  5. BL Coding How to suppress/disable spawning of mobileparties

    Hi, Is there any way to add a listener for creation of a MobileParty? I haven't found any in the CampaignEvents nor elsewhere. Parties are being spawned lots of places in the native code, which makes patching a bit tedious. Alternatively one patch for MBObjectManager.Create<T>() could work as...
  6. BL Coding Question on removing all parties

    New findings;
    As I mentioned before simply calling RemoveParty() on each party instance would result in a null reference as soon as you unpause the time. I did however find the class DestroyPartyAction with the static method Apply(xParty,yParty) that will clean up a party properly as well as call the RemoveParty() when appropriate.
    To achieve my goal simply grab all the mobileparties from MobileParty.All.GetEnumarator() and loop through them all and call Apply() method on each instance, thus deleting and removing everyone.

    Many parties will respawn again, such as villages and looters as to what I've observed so far. I'm not sure on lords, caravans and so on.
  7. BL Coding Question on removing all parties

    Hi, Does anyone know if it's possible to remove all MobileParties found on the campaign? I know about MobileParty.All.GetEnumarator() to get a handle to all the parties, and thus call the MobileParty.RemoveParty() on each and everyone. They do get deleted, but as soon as I click anywhere on the...
  8. [Research] Listen to MobileParty goto point and engage party

    Using Harmony to patch all the movement methods, and grabbing a handle to the instance of MobileParty through nameconvention seems to be the way to go for now. More documentation for that can be found here; https://github.com/pardeike/Harmony/wiki/Patching
  9. [Research] Listen to MobileParty goto point and engage party

    Hi, I've been trying to find an event to subscribe to whenever a MobileParty is given a new goto order. This includes the methods: SetMoveGoToPoint(), SetMoveGoToSettlement(), SetMoveGoAroundParty(), SetMoveEscortParty(), SetMovePatrolAroundPoint(), SetMovePatrolAroundSettlement()...
后退
顶部 底部