Whats the issue with adding ai?

  • ROHANman
    5th Dec 2014 Member 4 Permalink

    People seem to view ai suggestions as Satan himself on here. I cannot for the life of me figure out why. Sure TPT is a physics base simulator, and coding AI must be difficult, but all I see are benifits. I made a post some time ago in another accout asking for ai to be implimented.  Please read these Ideas before criticizing. I honestly think these should be implemented.

    Bee

    Color: 0xFFD2BE0B --> 0xFFB730A

    Classification: LIFE

    Id: BEE

    Elemental Properties:

    Bees: (BEE)Should be programed to be attracted to one another. The should fly around in a certain radius and seek out one another to form swarms. If a bee dectects GEL (honney) in it's radius, it will land on the GEL. The GEL MUST be more than 3-5 pixels in order for the be to land on it. Once one bee lands, all will try and land on the GEL to. When a player (STKM STK2) is near a 15-30 pixels of the bee, they will swarm on the player. Water, acid and anything above a heat of 50 deggres celcius will kill the bees and they will drop to the ground as DUST.

     

     

    Bird

    Color: 0xFF787A60 ---->0xFF979A79

    Classification: LIFE

    Id: BIRD

    Elemental Properties:

    (BIRD)Birds act like bees but they seek each other out over much greater distances 100-300 pixels and will fly around in herds. They are attracted to seeds and will land to consume the seeds (the pixels will disaper).

    1 bird is able to consume 3-6 pixels of seed before flying off. They are harmless and wont hurt the player.

    Contact with liquid will disable the flight abblities of the bird that touched the liquid. Temperatures above 50 will kill the birds and they will convert to DUST.

     

     

    Fish

    Color: 0xFF81C3BD -----> 0xFF5B8984

    Classification: LIFE

    Id: FISH

    Elemental Properties:

    Fish: (FISH) they would have the same mechanics of birds but underwater. Feeding on seeds, and living in groups, they can survive in both freshwater, saltwater, and distilled water. Any electric current would kill the fish as well as temperatures above 50. the freezing of water will not kill the fish, and when you reheat the water they will come back to life. Programed to stay in water at all costs. Once out of water. Fish has a halflife of (INSERT TIME HERE) before disapearing. Harmless to players, but players with the power to shoot seed would attract schools of fish.

     

     

     

    I actually see great potential in adding ai. The powder game has great ai's for fish, birds and ants and those are phenomenal. I know the powder toy dosen't share code with the poder game but I feel like TPT, being more polished, should include these ai creatures.  Please don't dissmiss them, I think they will be a great addition to the game. If I had any real knowledge in coding, I would code them myself, but sadly I do not. 

     

    Edited once by ROHANman. Last: 5th Dec 2014
  • jacob1
    5th Dec 2014 Developer 8 Permalink
    OK. I expect to see someone make a pull request with fully working AI without any bugs and all necessary features described here tomorrow at https://github.com/simtr/The-Powder-Toy

    While they are add it might as well add all the requested stickmen features like arms and guns.

    Also rename it to "The Stickmen Toy" or "Stickmen + Life Simulator"
    Edited once by jacob1. Last: 5th Dec 2014
  • ROHANman
    5th Dec 2014 Member 0 Permalink

    Umm... lol?

    I am having trouble detecting sarcasm XD.

     

    I honestly can't tell if you're serious, but you probably aren't. Why are AI particles so unattractive? 

  • jacob1
    5th Dec 2014 Developer 0 Permalink
    They just don't fit in with the particle simulation parts of TPT (arguably stickmen don't belong either but I guess we have them and they have their uses :P).

    Also coding AIs is hard. FIGH is extremely simple, it just takes the location of the stickmen (using variables storing their location we already have) and heads towards it constantly, even if walls and other things are in the way.
  • ROHANman
    5th Dec 2014 Member 0 Permalink

    Well it makes sense. It just makes me sad. 
    Thanks for the reply.

  • Sandwichlizard
    5th Dec 2014 Member 1 Permalink

    from a TPT perspective birds would be gas, fish is a liquid, ants are powder.  Each with a special behavior.  However, calling them AI is a GIANT stretch.  there behavior is no more AI than any particle in TPT.  each is just a single particle.   I used to love the ants in Powder Game.  just think.  we could fry ants with PHOT and GLAS lenses (sun and magnifier) XD

    Edited once by Sandwichlizard. Last: 5th Dec 2014
  • ROHANman
    5th Dec 2014 Member 0 Permalink

     

    @Sandwichlizard 

    Best case senario for AI would be just to copy and paste them from the powder game. They were amazing

  • Klus
    5th Dec 2014 Member 0 Permalink

    NOT THE BEES! NO NOT THE BEES!

  • ROHANman
    5th Dec 2014 Member 0 Permalink

    lol

  • Lolzattakke
    5th Dec 2014 Member 0 Permalink

    YES THE BEES! THE BEES!

Locked by jacob1: rejected, too complicated to code ):