Recent content by Kelthin

  1. Kelthin

    Documentation Coding Community Modding Documentation

    That's a good question actually. I'm assuming you have linked all the DLL files, I'd imagine they would be buried in some kind of xml file somewhere which I "believe" is read by these DLLs? Is that fair to assume that?

    Also, in the documentation, Step 4: Setup an override for the OnSubModuleLoad() inherited method.
    Now, I'm not too cluey with code, and I'm doing my darndest to learn on the fly (Inheriting the MBSubModuleBase was I'm assuming the base class for the MySubModule class, so I.E class MySubModule : MBSubModuleBase), but I'm stuck on the next step, 4. Is the Override function being written straight into the MySubModule class as a public override method? What is it's return type and what method are we actually overriding?

    Or is OnSubModuleLoad() the method the actual method in our class we are overriding? And from what? Man I feel like a complete dunce sometimes with coding.

    This is what I've got so far but I'm getting an error saying: The modifier 'override' is not valid for this item and that the method must have a return type. This is my code:

    using TaleWorlds.Core;
    using TaleWorlds.Localization;
    using TaleWorlds.MountAndBlade;

    namespace MyMod
    {
    class MySubModule : MBSubModuleBase
    {
    public override OnSubModuleLoad()
    {
    Module.CurrentModule.AddInitialStateOption(new InitialStateOption("Message",
    new TextObject("Message", null),
    9990,
    () => { InformationManager.DisplayMessage(new InformationMessage("Hello World")); },
    false));
    }
    }
    }

    OnSubModuleLoad is not a public method, its a protected method, thus it would be "protected override void OnSubModuleLoad()"


    You want to watch this video from GlorifiedPig where he explains this :


    Appreciate it!
  2. Kelthin

    Documentation Coding Community Modding Documentation

    I've got the basis of whats going on down, but am unable to figure out how to look at the taleworlds code itself and not sure if its possible (im sure it is). For example, if i wanted to edit say, the skills system, I would need to know what classes, methods, and variables they use for me to then override and edit, however when I go through the references and object browser in visual studio it wont show me the actual code. I come from UE4 and they have their own documentation so I never had to worry about that.
  3. Kelthin

    [WPL2] Congratulations, acknowledgements, and final thoughts!

    Although i wasnt in it, congrats to everyone who was. This tournament was just one big step. Can't wait to see what else can come.
  4. Kelthin

    [WMT 2] The Predictor game

    Prince Apollo said:
    Match & Score: Enigma 10 - 5 Defenders of Faith 

    ty friend apollo
  5. Kelthin

    [NASL] Server Bookings

    Team you are from?: Unlucky
    Teams involved?: Unlucky Vs Wenfire
    Official Match?: Yes
    Server Location: SL_NY_3
    Date & Time: 9/3, 7:30 EST
  6. Kelthin

    [NASL] Quarter Finals Round 2 - Deadline 09/06

    Wenfire vs Unlucky

    -Bans-
    Guacc: Ruins
    Luck: Castellum
    Guacc: Tannenberg
    Luck: Verloran
    -Picks-
    Guacc: Frosthaven
    Luck: Fort Of Honor

    Sorry for not having logs, we did it with in-game chat since steam was offline
    c17632a1c1a477ad7b8fd5cc1ca295f2.png
  7. Kelthin

    [NASL] Quarter Finals - Deadline 08/30

    Unlucky 12-2 Hunters

    53c7848cf9.jpg
    F5628BB4EDE59C768E44CEF779559A512B10621D
    FF5B608B26488AE4E0218A3700EDB8C2703A0751
    1C1EEBABFD4D1D40ACB1D89CE8D667DCAD3B6D36
  8. Kelthin

    Bikini Bottom Warriors - New [VoG]

    ummmmmmmidk said:
    u guys r just scrimming other pw rp clans right plz?  gl tho XD LMa0

    https://www.youtube.com/watch?v=I71cY9Ysy5U
  9. Kelthin

    [NASL] Server Bookings

    Team you are from?: Unlucky
    Teams involved?: Hunters
    Official Match?: Yes
    Server Location: NY SL 3
    Date & Time: Sunday 8/28 at 7EST
  10. Kelthin

    SM ~ SPAGHETTI MONSTERS~~~

    GL guys :grin:, ignore the tards who refuse to open the community to those who didnt join as early as them
  11. Kelthin

    [NASL] Statistics

    I made a top 15 kill %, and the top 3 kill % for each team:

    https://www.dropbox.com/s/csod28ltmph14lf/kill%25.txt?dl=0

    put this in the stats rob :3

    P.S. if i did any math mistake, point it out and ill fix it.
  12. Kelthin

    Fearless - ECL Champions

    Congrats Fearless :smile:
  13. Kelthin

    {lit}Literally Average (New Thread)

    klan isnt disbanding, just not joining wpl2 ;-;
  14. Kelthin

    [NASL] Server Bookings

    Team you are from?: Unlucky
    Teams involved?: ascension
    Official Match?: Yes
    Server Location: Any EST server
    Date & Time: 8/22/16 7est
Back
Top Bottom