Author Topic: Adding features to Existing software.  (Read 2933 times)

0 Members and 1 Guest are viewing this topic.

February 25, 2016, 07:53:39 PM
Read 2933 times

SaltyPotato

  • *
  • Information
  • Member
  • Posts: 47
    • View Profile
Hi, thank you for taking time to help! :)

Im creating my first mod and i got some ideas,
what i want is i want to add features to the Antivirus,
But the thing is on the wiki i dont really understand what they are trying to say.
It would remove any already existing features, wich i dont want.
Also its very unclear what to start with, do i start with <SoftwareType>, like you would do to add software?
Could someone please give me a little example :)


Thanks in advance,
SaltyPotato
Take a look at my Software Expansion mod!
http://softwareinc.coredumping.com/forum/index.php?topic=545.0

Its currently in WIP, and will have more than 14 software types added, and it also will be translated to other languages!

February 25, 2016, 09:22:04 PM
Reply #1

cray935

  • *
  • Information
  • Member
  • Posts: 36
    • View Profile
Hi, thank you for taking time to help! :)

Im creating my first mod and i got some ideas,
what i want is i want to add features to the Antivirus,
But the thing is on the wiki i dont really understand what they are trying to say.
It would remove any already existing features, wich i dont want.
Also its very unclear what to start with, do i start with <SoftwareType>, like you would do to add software?
Could someone please give me a little example :)


Thanks in advance,
SaltyPotato

According to the wiki you add features to existing software types by define the software type with it's name. Don't use the override tag. Then only define those tags you want to add in, in this case it's the features tag. Just add the features in there.

If this completly overwrites the software type or the game cannot load your mod this might be a bug with the modloader.
This is what I did understand from the wiki, but I never tested it. Maybe someone got experience with it. There are some mod (the bigger ones) which add features to existing software, maybe you can look into there source..?

February 25, 2016, 10:11:34 PM
Reply #2

pokmon987

  • *
  • Information
  • Member
  • Posts: 105
  • Misk Creator and "Lead" for The Hybrid Project
    • View Profile
Yes, you start with <SoftwareType> and yes you actually do use Override="True". Once you override it, it still keeps all of it's previous features.
Here's a little layout:
Code: [Select]
<SoftwareType Override="True">
       <Name>Software you want to add to</Name>
       <Needs></Needs>
       <Features>
              <Feature>
                      (Features details)
              </Feature>
I trust that you know how to use features, so I didn't put any details about that. If you want t check out an actual mod, you can check out DevBot which can be found here--> http://softwareinc.coredumping.com/forum/index.php?topic=519.0
Hope it helped(This time) ;)

February 26, 2016, 04:04:28 PM
Reply #3

SaltyPotato

  • *
  • Information
  • Member
  • Posts: 47
    • View Profile
Yes, you start with <SoftwareType> and yes you actually do use Override="True". Once you override it, it still keeps all of it's previous features.
Here's a little layout:
Code: [Select]
<SoftwareType Override="True">
       <Name>Software you want to add to</Name>
       <Needs></Needs>
       <Features>
              <Feature>
                      (Features details)
              </Feature>
I trust that you know how to use features, so I didn't put any details about that. If you want t check out an actual mod, you can check out DevBot which can be found here--> http://softwareinc.coredumping.com/forum/index.php?topic=519.0
Hope it helped(This time) ;)

Thanks! :)
Take a look at my Software Expansion mod!
http://softwareinc.coredumping.com/forum/index.php?topic=545.0

Its currently in WIP, and will have more than 14 software types added, and it also will be translated to other languages!