dupa

Author Topic: New current "new weather response ls" plug in i am working on!  (Read 9174 times)

lightspeed

  • Hero Member
  • *****
  • Posts: 6765
    • View Profile
New current "new weather response ls" plug in i am working on!
« on: October 29, 2012, 01:05:02 pm »
I got an idea this morning actually my wife gave me the idea when she got out of bed and said it was cold up, so i got up and wrote my idea down .
It is a "new weather response ls" plug in , what it will do is when a person says what degree's it is , hal will respond with 6 random responses!
Example :
i look at a weather gauge or on the internet and say : it's 100 degree's
My hal character will say six random things referring to this temperature!
I am doing it two script lines at a time and test and if okay do two more and overwrite others in hals directory .
  It's as you can imagine a very very big job as i am doing each degree starting from 100 and i'll probably go to 30 below zero. and on each degree is 6 random lines of script i am doing and yes i am making all individual new ones for every line!
  some has to be done that way as it has to correspond with the changing weather temperature, and i also want it all different in responses from the hal character!
It won't be done anytime soon as i said it's a "HUGE" job, but at least i have started on it!
:)
 

onthecuttingedge2005

  • Guest
Re: New current "new weather response ls" plug in i am working on!
« Reply #1 on: October 29, 2012, 06:58:17 pm »
Bill dewitt and I had already made a weather plug-in some 4 or 5 years ago light, does anyone still have the plug-in available out there?

lightspeed

  • Hero Member
  • *****
  • Posts: 6765
    • View Profile
Re: New current "new weather response ls" plug in i am working on!
« Reply #2 on: October 30, 2012, 08:19:00 am »
oncuttingedge2005 i may have that one i would have to look back over my old files, unless i am mistaken didn't it just open a web page to a weather temperature ?? (CORRECT ME IF I AM WRONG Please .)
   If so this wasn't what i wanted i wanted something that would say a reference back to the weather and or temperature, and as far as i know, no one had created that .
     I am hoping that others will once again get intererested in creating or re creating plug ins once again for the hal brain, many things can be done .


What my plug in does is bacicaly like the faux vision plug in i made.
This plug in has six random sayings for every degree from 100 to minus 20 degree's , This is my goal but i am thinking i will expand it to 115 degree's as the temperature in eastern states gets that's high sometimes!
« Last Edit: October 30, 2012, 08:23:14 am by lightspeed »
 

freddy888

  • Hero Member
  • *****
  • Posts: 1693
    • View Profile
    • AiDreams
Re: New current "new weather response ls" plug in i am working on!
« Reply #3 on: October 30, 2012, 09:00:12 am »
Why do you want a reply to every single degree LS ?

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3859
    • View Profile
Re: New current "new weather response ls" plug in i am working on!
« Reply #4 on: October 30, 2012, 09:28:23 am »
I think your plug-in would be better served if you narrowed the fields. For example:
Between 101 and 115 - Gee...It's a real scorcher today!
Between 91 to 100 - Wow! You could almost cook eggs on the sidewalk!
Between 81 to 90 - Be sure to put on some sunscreen if you go outside!
Between 71 to 80 - It's a nice and warm, sunny day!
Between 61 to 70 - Today's kind of a lukewarm day...not too cold and not too hot!
Between 51 to 60 - Seems a tad on the cooler side today. Maybe a light jacket.
Between 41 to 50 - It appears that winter must not be too far off based on the temperature.
Between 31 to 40 - Brrr...I wish it wasn't so chilly today! You're going to be cold!
Between 21 to 30 - Well...You should have your warm clothes on today.
Between 1 to 20 - You shouldn't even consider going out today!
In the world of AI it's the thought that counts!

- Art -

lightspeed

  • Hero Member
  • *****
  • Posts: 6765
    • View Profile
Re: New current "new weather response ls" plug in i am working on!
« Reply #5 on: October 30, 2012, 09:50:54 am »
Sometimes i do things the hard way lol, i just wanted all seperate response sayings for each degree and each 6 lines of response on each on , my preference.
As an added note "IF" that weather plug in works and just says the current temperature only and not open a web page , if someone could help on letting it do that and creating a pathway to then say my degree random line that would be great if both could work together! :)
 

lightspeed

  • Hero Member
  • *****
  • Posts: 6765
    • View Profile
Re: New current "new weather response ls" plug in i am working on!
« Reply #6 on: October 30, 2012, 09:56:51 am »
Art wrote: Between 41 to 50 - It appears that winter must not be too far off based on the temperature.

    Art first off i am not putting down your idea at all , as it would make it simpler , (alot) Some of this is tricky actually as depending on the weather time of year for instance if winter is getting over actually and it was previously only in the 20's but was warming up as winter was getting over , then you have a wrong statement saying winter must not be to far off .
      I have tried to keep many statements a more neutral in these area's .
 

freddy888

  • Hero Member
  • *****
  • Posts: 1693
    • View Profile
    • AiDreams
Re: New current "new weather response ls" plug in i am working on!
« Reply #7 on: October 30, 2012, 11:05:06 am »
Quote
Sometimes i do things the hard way lol,

lol fair enough  ;D

onthecuttingedge2005

  • Guest
Re: New current "new weather response ls" plug in i am working on!
« Reply #8 on: October 30, 2012, 01:39:12 pm »
Hi Hi.

no the weather plug-in we did does this.

User: what is the weather outlook today?

hal would ask first timers this:
HAL: What is your zip code?

User: 12345

Hal: the weather in you area is blah blah blah and give you a forcast in your area once the script recorded your zip code.

lightspeed

  • Hero Member
  • *****
  • Posts: 6765
    • View Profile
Re: New current "new weather response ls" plug in i am working on!
« Reply #9 on: October 30, 2012, 04:55:18 pm »
Basically what my weather response plug in does , is  acknowledge what you said say about the temperature and something back often referring to the temperature that you said earlier and also about the weather!
here is some examples:
This is for 93 degree's:


Select Case int(rnd()*6)
Case 1
GetResponse = "Yeah and it feels like it's 93 degree's to, as hot as it is!"
Case 2
GetResponse = "I'm not surprised, i knew it was getting hotter!"
Case 3
GetResponse = "I thought it must be around 90 or more, from the way it felt!"
Case 4
GetResponse = "Oh know why did you tell me it was 93 now i feel even hotter then i was, Ha!"
Case 5
GetResponse = "93, Yeah it's pretty hot today, that's for sure, how about i fix us both a nice cold soda with lots of ice in it?"
Case 6
GetResponse = "wow 93 degree's, is it really that hot?"

 ;)
I am as i said writing all different responses on every line, i do .
so everything will be different on every 6 lines of every degree script.  :)

It will be nice when i am done with it!
  The purpose of it is so if you mention the temperature and say "it's 70 degree's!" Hal will respond back like a person would , with one of six random sentences for any of the degree's that are in the file example between 115 degree's down to 20 below zero .

Me and my A.I. "JUST TRYING TO BE A LITTLE MORE HUMAN!" ;)
« Last Edit: October 30, 2012, 05:00:05 pm by lightspeed »
 

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3859
    • View Profile
Re: New current "new weather response ls" plug in i am working on!
« Reply #10 on: October 30, 2012, 05:34:21 pm »
I only offered them as an example, not for your final plugin.

Remember that the larger the plugin, the more Hal has to digest.
That's why I tried to use the KISS principle (whenever possible).
Just a matter of preference. You do your thing.... ;)

What's warm for you might also be cool for someone else so temperature
is more of a relative thing. (every time my mother-in-law used to visit, things
got rather cold pretty quickly! :o ;D
In the world of AI it's the thought that counts!

- Art -

sybershot

  • Hero Member
  • *****
  • Posts: 787
    • View Profile
Re: New current "new weather response ls" plug in i am working on!
« Reply #11 on: October 30, 2012, 08:48:55 pm »
Quote
Bill dewitt and I had already made a weather plug-in some 4 or 5 years ago light, does anyone still have the plug-in available out there?
I have it and use it all the time again thanks for for creating OTC and Bill  :)
I attached it, for ya.
Though I had to manually add my zip found on this line
Code: [Select]
If Len(GetW) < 2 Then GetW = "02838" '<--- You can add your zip code manually here if you wish.
« Last Edit: October 30, 2012, 08:55:17 pm by sybershot »

lightspeed

  • Hero Member
  • *****
  • Posts: 6765
    • View Profile
Re: New current "new weather response ls" plug in i am working on!
« Reply #12 on: October 31, 2012, 09:11:24 am »
Thanks sybershot i'll try it and see what it does (again it's been a while ) at least one thing between all of us we hoard things , so one of us has something the other needs lol, thanks again! :) ;)
 

lightspeed

  • Hero Member
  • *****
  • Posts: 6765
    • View Profile
Re: New current "new weather response ls" plug in i am working on!
« Reply #13 on: November 02, 2012, 05:00:37 pm »
sybershot, thanks for posting the  the weather alert download again , i am once again using this plug in , i like it alot because hal doesn't have to open the web page and can just give the weather  as a real person ;) !
Thanks again! :)
 

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3859
    • View Profile
Re: New current "new weather response ls" plug in i am working on!
« Reply #14 on: November 02, 2012, 07:37:22 pm »
Lonnie,

You sippin some cider? ;) We had discussed this back in May 7, 2012. I even posted an image example of my avatar speaking (text) of the current conditions.
http://www.ultrahal.com/community/index.php?topic=9309.msg59966#msg59966

Scroll down to about half way. I mentioned that you would have to use your nearest airport code for your particular local weather where you live.
« Last Edit: November 02, 2012, 07:40:39 pm by Art »
In the world of AI it's the thought that counts!

- Art -