1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

[?] Adding tents of different colors (Map question)

Discussion in 'Modding [KAG Classic]' started by Davichococat, Aug 1, 2012.

  1. Davichococat

    Davichococat Catapult Fodder

    Messages:
    14
    I've managed to add more than one team to the game, but unfortunately, I can't modify maps to get tents that are not blue or red.

    I am posting here to get some help with this. I don't want that bots of my modded teams spawn in mid of air.

    Thanks.

    EDIT: Messing through the sprites I found a file called "TeamPalette.png". What is it for?
     
  2. FlamingDragon96

    FlamingDragon96 Shark Slayer

    Messages:
    407
    There's only 1 knight sprite and it's blue, the team palette changes it into red. That cannot be done with tents, you would have to make your own texture.
     
    acridstone, Froghead48 and Saverous like this.
  3. ImAwesome

    ImAwesome Haxor

    Messages:
    496
    But you can use the team pallete to get different colored teams by changing the blue to shades of ___ and the red to shades of ___, then you will have different colored teams to the usual.
     
    Froghead48 likes this.
  4. Davichococat

    Davichococat Catapult Fodder

    Messages:
    14
    I don't see how that could let me add more than two tents of different colors to the map?

    Sorry if I didn't explain well.
     
  5. FlamingDragon96

    FlamingDragon96 Shark Slayer

    Messages:
    407
    You cannot add more than 2 tents of different colors to the map unless you make your own texture for the tent. If you want a yellow tent, green tent, or whatever other color you're gonna have to sprite it yourself.
     
  6. Davichococat

    Davichococat Catapult Fodder

    Messages:
    14
    What I mean is, I want three tents, each of a different color.

    Say, I need a red, blue and yellow tent at the same time at the map.
     
  7. goodyman8

    goodyman8 Bison Rider

    Messages:
    1,025
    Will this do?
    [​IMG]
    And.
    [​IMG]
     
  8. FlamingDragon96

    FlamingDragon96 Shark Slayer

    Messages:
    407
    That would work, but you need the gamemode to load those sprites for the 3rd team.
     
  9. Davichococat

    Davichococat Catapult Fodder

    Messages:
    14
    [​IMG]

    Look at this map. There's a blue dot on the left and a red dot on the right. The blue dot is a blue tent, the red dot is a red tent. What I have to do to the game interpret a violet dot as a violet tent?
     
  10. FlamingDragon96

    FlamingDragon96 Shark Slayer

    Messages:
    407
    Modding the game
     
  11. Davichococat

    Davichococat Catapult Fodder

    Messages:
    14
    [​IMG]

    I know that, but so, how should I do it?
     
  12. FlamingDragon96

    FlamingDragon96 Shark Slayer

    Messages:
    407
    I have no idea, go to a modding tutorial thread and ask the question.
     
  13. Davichococat

    Davichococat Catapult Fodder

    Messages:
    14
    Well, I already posted this thread, I don't see why to post in a modding thread.
     
  14. FlamingDragon96

    FlamingDragon96 Shark Slayer

    Messages:
    407
    Because most pro modders do not go around the forums looking for people with entire threads for 1 question, that's why they make theirs so modding question can get focused there and answered better.
     
  15. Davichococat

    Davichococat Catapult Fodder

    Messages:
    14
    Alright, but that kind of is against the point of a modding section.
     
  16. FlamingDragon96

    FlamingDragon96 Shark Slayer

    Messages:
    407
    I think the modding section is more for posting actual mods, questions should be posted in the Help section.
     
    acridstone likes this.
  17. ImAwesome

    ImAwesome Haxor

    Messages:
    496
    You can only add more blue and red tents, I believe.
    You probably could add yellow tents but that requires editing the exe, which is against the rules.
     
  18. UnnamedPlayer

    UnnamedPlayer Arsenist Administrator Global Moderator Tester
    1. MOLEing Over Large Estates - [MOLE]

    Messages:
    752
    In short words:
    You can't do it.

    Yeah, it sucks, it fucks up lots of possibilities and makes much harder to make maps for FFA or Roleplay. We all wish we could do something like that, but seems like we will have to wait until the scripting update.
     
  19. UltraMarine_Val

    UltraMarine_Val Bison Rider
    1. FUN Servers

    Messages:
    256
    yea, scripting upade when coming soon in 22 december 2012 xD
    25252525 Upade 25252525 Upade 25252525 Upade 25252525 Upade 25252525 Upade 25252525 Upade 25252525 Upade 25252525 Upade 25252525 Upade 25252525 Upade 25252525
    after it will not understand the new script?
     
  20. Mildophin

    Mildophin Explorer Naturalist Donator

    Messages:
    71
    You can't change the tent colors but you can change the colors of the players