Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Any one well well versed in C# or C++ want to give me a hand in a mod?

  1. Registered TeamPlayer SovietDooM's Avatar
    Join Date
    09-20-08
    Location
    Here
    Posts
    5,997
    Post Thanks / Like
    Stat Links

    Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod?
    Gamer IDs

    Steam ID: 76561197995394916 SovietDooM's Originid: SovetDooM1
    #1

    Any one well well versed in C# or C++ want to give me a hand in a mod?

    I've been screwing around with 7 Days to Die XML files. Simply put, there is a property code applied to an item that spawns an entity. I've explored the XML in detail, and there is something in a .dll files that tells the game to reference the items.xml back to the entityclasses.xml and generate a specific entity.
    Dispatch the DooM

  2. Registered TeamPlayer DJ Ms. White's Avatar
    Join Date
    11-13-07
    Location
    Plano, TX and Ruston, LA
    Posts
    32,364
    Post Thanks / Like
    Blog Entries
    43
    Stat Links

    Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod?
    Gamer IDs

    Steam ID: DJMrWhite
    #2

    Re: Any one well well versed in C# or C++ want to give me a hand in a mod?

    I think Kanati is pretty handy with C#. You can probably pay him in likes and/or games. I think Dex and Guyver are both ahead of him.
    enf-Jesus its been like 12 minutes and you're already worried about stats?! :-P
    Bigdog-
    Sweet home Alabama you are an idiot.

  3. Administrator Kanati's Avatar
    Join Date
    05-15-08
    Location
    Pekin, Illinois, United States
    Posts
    17,724
    Post Thanks / Like
    Stat Links

    Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod?
    #3

    Re: Any one well well versed in C# or C++ want to give me a hand in a mod?

    XML isn't C# or C++. It's a text file detailing data.
    Likes Phyrelight liked this post

    Krakkens and shit. stop tempting them.
    -- Bigdog

  4. Registered TeamPlayer DJ Ms. White's Avatar
    Join Date
    11-13-07
    Location
    Plano, TX and Ruston, LA
    Posts
    32,364
    Post Thanks / Like
    Blog Entries
    43
    Stat Links

    Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod?
    Gamer IDs

    Steam ID: DJMrWhite
    #4

    Re: Any one well well versed in C# or C++ want to give me a hand in a mod?

    Quote Originally Posted by Kanati View Post
    XML isn't C# or C++. It's a text file detailing data.
    Maybe he was meaning fiddling with a DLL to use an XML file or he wants to see the inside of one to better understand how to change an XML?
    enf-Jesus its been like 12 minutes and you're already worried about stats?! :-P
    Bigdog-
    Sweet home Alabama you are an idiot.

  5. Administrator Kanati's Avatar
    Join Date
    05-15-08
    Location
    Pekin, Illinois, United States
    Posts
    17,724
    Post Thanks / Like
    Stat Links

    Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod?
    #5

    Re: Any one well well versed in C# or C++ want to give me a hand in a mod?

    Yeah no idea... "Fiddling" with a DLL requires documentation of said dll and an XML file is just a text file so you can read that with notepad. Not sure what the purpose is so I can't give any advice.

    Krakkens and shit. stop tempting them.
    -- Bigdog

  6. Registered TeamPlayer SovietDooM's Avatar
    Join Date
    09-20-08
    Location
    Here
    Posts
    5,997
    Post Thanks / Like
    Stat Links

    Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod?
    Gamer IDs

    Steam ID: 76561197995394916 SovietDooM's Originid: SovetDooM1
    #6

    Re: Any one well well versed in C# or C++ want to give me a hand in a mod?

    I'm using dotpeek 1.4 to explore a dll file. Because in the XML file there code or "class" that tell the game what function and item can perform. Repair, placeasblock, and a very special new class "spawnminibike"

    So there is code written in the dll file that somehow tells the game to reference back to that specific entity.

    I can go into the xml file for entities and change what a minibike is, ie tell the game a minibike has all the properties, mesh files and AI of a deer, and the game will spawn a "minibike" that looks and acts like a deer. But there are a few errors with it that aren't relevant.

    So what I'm trying to learn is how the DLL file governs the process and only allows the game to search of the minibike entity to spawn.

    See what testing I did has all been try and error. Go into item xml, change class "spawnminibike" to "spawndeer". Doesn't work.
    Change class to "spawnminibikeZ" go into entity xml and change "minibike" to "minibikeZ" Doesn't work.
    "Spawnminibike" is its own unique class/action. It's not action "spawn" this "minibike". So what I did was something close to changing "repair" to reDERPERDOOpair, the game has no idea what the new class is.

    This is the first instance of an item the spawns an entity, the method is now there, I want to use it to spawn different entities.
    Dispatch the DooM

  7. Registered TeamPlayer SovietDooM's Avatar
    Join Date
    09-20-08
    Location
    Here
    Posts
    5,997
    Post Thanks / Like
    Stat Links

    Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod?
    Gamer IDs

    Steam ID: 76561197995394916 SovietDooM's Originid: SovetDooM1
    #7

    Re: Any one well well versed in C# or C++ want to give me a hand in a mod?

    And, Kanati, if you still have 7 Days to Die installed and updated, you already have the files involved.

    E:\Program Files for AMD FX-8\Steam\steamapps\common\7 Days To Die\7DaysToDie_Data\Managed

    "Assembly-CSharp" -> <Root NameSpace> -> ItemActionSpawnMinibike.cs
    Dispatch the DooM

  8. Registered TeamPlayer SovietDooM's Avatar
    Join Date
    09-20-08
    Location
    Here
    Posts
    5,997
    Post Thanks / Like
    Stat Links

    Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod?
    Gamer IDs

    Steam ID: 76561197995394916 SovietDooM's Originid: SovetDooM1
    #8

    Re: Any one well well versed in C# or C++ want to give me a hand in a mod?

    public override void ReadFrom(DynamicProperties _props)

    {

    base.ReadFrom(_props);

    this.entityToSpawn = XN.D(90996);

    using (Dictionary<int, EntityClass>.KeyCollection.Enumerator enumerator = EntityClass.list.Keys.GetEnumerator())

    {

    while (enumerator.MoveNext())

    {

    int current = enumerator.Current;

    if (UN.O(EntityClass.list[current].entityClassName, this.entityToSpawn))

    {
    Last edited by SovietDooM; 07-15-15 at 12:21 PM.
    Dispatch the DooM

  9. Registered TeamPlayer SovietDooM's Avatar
    Join Date
    09-20-08
    Location
    Here
    Posts
    5,997
    Post Thanks / Like
    Stat Links

    Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod?
    Gamer IDs

    Steam ID: 76561197995394916 SovietDooM's Originid: SovetDooM1
    #9

    Re: Any one well well versed in C# or C++ want to give me a hand in a mod?

    There's more to it but where is this telling the game to reference entity files?
    Dispatch the DooM

  10. Administrator Kanati's Avatar
    Join Date
    05-15-08
    Location
    Pekin, Illinois, United States
    Posts
    17,724
    Post Thanks / Like
    Stat Links

    Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod? Any one well well versed in C# or C++ want to give me a hand in a mod?
    #10

    Re: Any one well well versed in C# or C++ want to give me a hand in a mod?

    The objects themselves might reference the files. The "EntityClass" object might have methods that read the files. Or whatever the XN object is might be doing it.

    Or entityclass might be the memory-resident version of the xml file itself... Hard to tell.

    Krakkens and shit. stop tempting them.
    -- Bigdog

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Title