[Resolved] New types?

Discussion in 'Database Modifications' started by SilentSentinel, Jul 9, 2012.

  1. SilentSentinel

    SilentSentinel New Member

    Joined:
    Apr 2, 2011
    Messages:
    5
    Likes Received:
    0
    Title says it all. I just want to know if adding a type is possible, and if so, how might I accomplish this?
     
    Last edited: Jul 9, 2012
  2. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    lol new types

    You can change a type name, and its type effectiveness. You can change the color/image with themes.

    So yea... as crazy as it sounds, you can add a type. You need to edit db/types/types.txt, db/types/typestable.txt, and if you want your type to be usable in gen 1 etc you need db/types/category.txt and typestable_gen1.txt

    Basically for db/types/types.txt, you can just add the lines for the types you want to add (no need to copy the first parst of the files with the current types). But for the typestable, you need to redo each line since every type appear in every line as effective, not effective or neutral. And you need to add the proper colors/pictures in your Theme/types/ folder.

    @SockPuppet, this forum is specifically for mods, so he's asking the right things.
     
  3. SilentSentinel

    SilentSentinel New Member

    Joined:
    Apr 2, 2011
    Messages:
    5
    Likes Received:
    0
    Hmm, that doesn't seem all that difficult. Thank you very much! I know a forum or two that will be very happy with this news.
     
  4. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Oh hey! I just did did this. I added three types to the game. Don't forget also to edit the type table. That's important if you want the type to actually have practicality. (Btw, Notepad++ does make it a lot easier). I advise making your own type chart graphically and then "transcribing" it over. Just my opinion.
     
  5. eric the espeon

    eric the espeon is an espeon.

    Joined:
    Apr 21, 2010
    Messages:
    854
    Likes Received:
    1
    Selecting new types as hidden power in teambuilder causes a crash though :(.
     
  6. SilentSentinel

    SilentSentinel New Member

    Joined:
    Apr 2, 2011
    Messages:
    5
    Likes Received:
    0
    Just make sure people know not to pick it. If you really want that Hidden Power to be selectable, just make a move called Hidden Power "type" and give it to everything. Not the most convenient solution, but it would work okay.
     
  7. MysteryMan

    MysteryMan Member

    Joined:
    Jul 8, 2012
    Messages:
    105
    Likes Received:
    0
    Actually, what you have to do is make a new type17_hp.txt (or whatever number you're on) that lists the numbers to get that Hidden Power. When I added new types, I had that same problem. I didn't want Hidden Power to use the new types, so I made the above txts use a bunch of 0's. That way, no one actually wants to use it, but at the same time it won't crash your system.
     
  8. eric the espeon

    eric the espeon is an espeon.

    Joined:
    Apr 21, 2010
    Messages:
    854
    Likes Received:
    1
    I was using your mod when I got the crash?
     
  9. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Just redownload, you won't be able to select hidden power for any new type
     
  10. [OneX]DarkBlaziken

    [OneX]DarkBlaziken My Hell Fire is the best.

    Joined:
    Jul 28, 2012
    Messages:
    5
    Likes Received:
    0
    Hey Coyotte508 i was thinking of something new like a Rock/Dragon. Name: Groteaon (Gro-Tay-On). Weight: 496.11 Height: 15.06 Ft Ability: Sheer Pressure(NEW) What this ability does?: This ability decreases your opponents Attack and Sp.Atk.
    Discription: A lendgendary dragon who has slept undergroud for tens of thousands of years it is said when it is to rise it is to battle its ledgendary foe Kyurem.
     
  11. Arceus

    Arceus Member

    Joined:
    May 20, 2010
    Messages:
    238
    Likes Received:
    0
    You can't just create an entirely new ability without modifying the source. While there is an ability_effects_5G.txt file, the various numbers after the ability number in that file are defined within PO's source. You'd be able to make a new Intimidate that still lowers Attack and is called something else because the effect already exists.