Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Cloudee1

Pages: 1 2 [3] 4 5 ... 72
SCI Syntax Help / Setting the volume of a sound
« on: January 28, 2016, 01:23:38 PM »
I have an instance of a sound, which points to an audio resource not a midi sound, in which I set the volume property

Code: [Select]
(instance dumbSound of Sound
number 0
priority 0
loop 1
vol 15; 127 is the default per

I have also not set the value as well, but I didn't see any reason to paste both bits of code.

No matter what I try, I can't seem to alter the volume at which the sound plays, all four of these iterations play the sound at the same level.

Code: [Select]
(dumbSound play: number: 1)
(dumbSound play: number: 1 vol:15)
(dumbSound play: number: 1 setVol: 15)
(dumbSound play: number: 1 vol:15 setVol: 15)

Likewise, fade does not seem to work either. I am assuming that it is because of whatever it is that I am missing with the volume control, since I thought I saw somewhere in the code were it is really just altering the volume several times. Has anyone else noticed this or can see what it is that I am doing wrong?

SCI Community How To's & Tutorials / Re: Palette room example
« on: January 27, 2016, 09:27:30 PM »
Ok, what is the secret here for getting the palette from Photoshop to show up in the same order when I import the background into companion. One screenshot shows what photoshop showed me as the palette, and the other is what I could get companion to do with it. I was hoping to pull off some fancy shit with palette cycling of some water (especially if you recognize the palettes from anywhere) but that really isn't going to be possible with them scrambled up.

I have the adobe suite, so if I need to be using another program to get my palette to transfer from the image software into companion that is fine, just someone please fill me in on the best way to accomplish this please.

I made an installer too, it just isn't very fancy... not very fancy at all lol

It looks in a few different locations for dosbox.exe and if it finds it, gives you a button that then creates the run.cmd file

It turns out I never put dosbox in the same place twice between any two computers, so depending on which machine I am working on and the last machine I was working on, I would need to adjust the run.cmd. So my little sniffer outer did that for me.

I see that the run.cmd file is no longer present.

I found this in the game > Properties: C:\Users\Shane.laptop-Gold\Desktop\sciCompanion\Tools\DOSBox\DOSBox.exe

So I am assuming that this means since it is packaged with companion that it means we no longer have to have it preinstalled while developing but upon release, we will either need to include instructions for install or package it with the game as well.

Everything-Else / Re: When it rains it pours...
« on: January 24, 2016, 04:01:34 PM »
Yeah, no thanks. That doesn't sound like a game that I would even want to play, let alone make

Everything-Else / Re: When it rains it pours...
« on: January 24, 2016, 02:36:04 PM »
Yeah, apparently misery does love company and you reminded me of something that I had forgot to put in there. Thursday night, the Draft inducer fan on the furnace had started squealing. I am assuming that the bearings in the motor are about to go out. Friday while I was at work, I found the assembly that I needed online and got it ordered. I am just praying that the fan doesn't go out before the new one actually arrives, that would just suck. According to the tracking, It left Pensacola Florida yesterday about 4 pm.

I am pretty disappointed that I have had to learn about all this stuff that I have no business knowing about. Before last week, I had know idea what a draft inducer fan was, but now I can pretty much spot one on any furnace that I look at.  :P

Here's hoping that the rest of the year goes smoothly cause I have had enough, that and I am running out of money pretty quickly. Really, at this point I am just hoping for a smooth couple of weeks though.

Everything-Else / Re: When it rains it pours...
« on: January 23, 2016, 05:37:06 PM »
Well dropping the sump pump into the pit and waiting most of the afternoon REALLY helped, I just got back out from under the house. Added some air pressure to the tank, no idea if it is either enough or too much though. But flipped the pump back on and nothing seems to have exploded and the pump is cycling a lot closer to how it should be.

Can't wait for tomorrows adventure

Everything-Else / Re: Anachronisms
« on: January 23, 2016, 05:34:39 PM »
I do to, you should make an easter egg that allows for this for few screens.

Everything-Else / When it rains it pours...
« on: January 23, 2016, 04:04:09 PM »
I must say this has been a rough week. I am ready to just crawl into bed and try again next year.

It started last weekend when I headed up to Michigan City to the casino, it's about a couple of hours away. After losing my shirt, I get ready to leave but the car won't start. Assuming I left the lights on or something stupid, I head back inside and hit security up about giving me a jump. After standing outside by the car for about a half an hour freezing my ass off, the winter wind blowing off of lake Michigan can really be something, the security guy finally showed up and I got the car jumped and started. During the two hour drive home, the car heater never did blow anything but freezing air. It was so bad that at one point I pulled into a gas station, went into the bathroom, and just ran hot water over my hands for several minutes. Finally though, I made it home and crawled into bed. The next day, I get up and once again I can't get the car to turn over. Attempting to jump it with the wife's car accomplished nothing, I was never even able to get the headlights to come on. The time comes that the wife has to leave for work, so I go ahead and call in and let them know that I am not coming. The wife and I work about 50 miles apart in opposite directions so there is no way to do any car pooling. Assuming that the battery gave out on me I don't worry about it too much and just go inside and crawl back into bed and just enjoy a lazy day off. Finally the wife gets home from work so I head into town and get a new battery. Get home and hook it up and absolutely no difference. The door alarm would ding, but none of the other electronics showed any signs of life. First thing I do is start pulling fuses, looking for something to be blown. After about 50 of them, all good, I am starting to get a bit worried. Assuming that it may be a bad ground or something, I start tracing the main lines running from the battery. After freezing my ass off for the second night in a row, crawling around in the snow I am ready to throw in the towel cause I am just not finding anything wrong. Then I notice that the connector for the positive battery terminal is showing some corrosion where it bolts on to the cable. I go ahead and take it off, use a bit of steel wool on the cable and a screwdriver on the connector to scrape off all of the corrosion, making it all nice and shiny. Heading back out, I hook everything back up and the car fires right up.

The next day at work, I do leave my headlights on, and drain the battery. I convince one of the office girls who was still there to give me a jump. Luckily I carry cables in my car because most people don't seem to. I get the car started and head for home. On the way home, I blow a tire. I don't mean that I had a flat, I mean it literally imploded. So I pull off along side the highway. After dodging traffic for a while trying to get the tire off, I spot a spot where the farmer has a little drive for pulling into the field, so I tighten the lugnuts back up that I had managed to get loose, and go ahead and pull into the drive where I can work without having to worry about getting ran over. Here's the best part, there is no spare tire. Calling the wife to come save me, I have to get the tire into someplace to get it replaced. So the whole time, the car is running but just like the drive the day before, the heater is not producing a bit of heat. So there I am for the third time, freezing my ass off. Once the wife gets there we head towards town to find a tire place, currently it was about ten till seven and they all seem to close at seven. After getting turned down for service at two different places, I am ready to give up. Instead, I jump on the phone and start calling around. It turns out that Pep Boys is open till eight so off we go. Finally get the tire replaced and head back out to the car where I get it put back on, and home I go.

The next day after another cold drive to work, cause the heater is still blowing freezing cold air, I decide to go ahead and replace the thermostat. I got home, swapped out the part in about ten minutes and felt pretty good about myself for having it go so well. I top off the antifreeze and head inside glad that I didn't have to freeze outside for very long.

The next day, while driving home from work, I notice the smell of antifreeze. In my head, I dismiss it figuring that it was just that I had spilled some when I refilled it and it was burning off of the hot engine. The next morning, the smell of antifreeze is just as strong and now the car is acting like it's misfiring and about to die at any second. I manage to make it to work and during my lunch break I decide to pop the hood and stick my head under there. There was antifreeze everywhere. Assuming that didn't get the thermostat housing tight enough when I changed it, I go ahead and fire up the car and stand there watching it waiting to see where all of this antifreeze is coming from.  Then it happens, a bunch of antifreeze came out of the top of the radiator itself. There was about a foot long crack that ran straight down the center of the top of the radiator. Once I head back into work, I start calling around looking for a new radiator. They have one in stock at the local auto parts store so on my way home, I stop in and get it. Staring at the temperature gauge the whole way, I make it home with the new radiator. After another couple of hours of crawling around out in the snow freezing my ass off I manage to replace the radiator, finishing up just as it starts to get dark.

The next day I try and figure out what is going on with the misfiring. Because of the timing of when it started, I was convinced it had something to do with the excess antifreeze all over the engine. After stressing about it most of the day, I describe the scenario to the maintenance guy there at work, he is a bit of car guy. Before the car gets to normal operating temperature everything runs fine. As soon as the car warms up, while accelerating, in overdrive the car begins misfiring and shaking like it is about to die. Without even blinking, he says the mass air flow sensor. I then throw in the detail of the whole radiator and antifreeze and he says that it fits, the antifreeze managed to get sucked through the air intake where the sensor is located and got it fouled. Because it controls the amount of oxygen that the car has available to burn, with it fouled then the computer screws up in how much air it allows. Not really interested in spending more money on the car at this point than I need to, I go ahead and get a can of Mass Air Flow Sensor Cleaner instead of a new sensor. After spraying it off several times, I get it put back into the car and the problem seems to virtually solved. It has sputtered a couple of times since then, but literally just a couple of times instead of sputtering for a 15 mile stretch of road.

Either way, I have decided to start looking for a new car. If there is one thing I hate above anything else, it is working on cars and this one has no reached the end of my desire to keep it running. Unfortunately, that is not where my weeks adventure ended and no I haven't replaced the car yet.

I got home from work yesterday and noticed a weird humming sound in the laundry room. At first I assumed it was the freezer that was in there, but when I got closer I found that it was coming from the water softener (not really, but it was being transferred from the pump through the water lines). Right behind the water softener is where the water comes through the whole house filter before disappearing back into the flooring. I have a pressure gauge installed there and I noticed that the needle was pinned at the 100 psi mark. It doesn't go any higher than that, so who knows what the pressure actually was. Well, it doesn't take a genius to figure out that something is going on with my pump and that the humming sound I heard was it busily pumping away. Right away I flipped the circuit breaker to the pump and turned on a faucet to reduce the pressure in the system.

So I head outside and open up the crawl space to take a look at what is going on. The crawlspace is completely flooded. By my estimates, there was over 50,000 cubic feet of water down there. So I jump in the car and head to town to get a new sump pump, cause no matter what else is going on down there, one thing I am sure of is that the sump pump that is at the bottom of my new pool certainly isn't doing what it should be. So I get home, get the new sump pump plugged in and start draining.

I am guessing that this is what happened... at least with the pump. The sump pump went out who knows how long ago. The water level under the house finally rose high enough to submerge the pressure switch, because when I first looked, it was under water. Instead of tripping a breaker, the water completed the pressure switch circuit and hence the pump kept running. Once the the water level dropped to just 7 or 8 inches I braved turning the circuit breaker back on. There is still too much water down there to go crawling around in it. Anyway, I noticed when I flipped the circuit breaker that the pump started short cycling while water was running. Turning on for a second in which the pressure would jump to about 50 psi and then quickly shutting back off and likewise the pressure would drop back down to about 20 psi. I also stuck my head down in the crawl space to see if I could see any spraying water or even ripples on the pool to try and determine if any connections had given out or a pipe had busted, but everything looked nice and calm down there.

So I was able to get under the house this morning. There were still a few inches of standing water, but I managed to get the new sump pump moved into the pit. I went ahead and ran the cord out through one of the vents though and plugged it in outside. I wasn't interested in trying to plug it in under the house with sopping wet hands while lying in a couple inches of water, that just seemed like a bad idea. I didn't take the time to crawl over to the water tank to mess with the air pressure inside of it yet. That is the most common cause of short cycling the water pump from what I have read, not enough air pressure in the water tank. By the time I crawled the sump pump up to the front of the house and got everything all hooked up, I was absolutely freezing. I am trying to give the new sump pump a bit of time to hopefully get some more of that water out before I crawl back under there. Unfortunately there is a stupid liner on top of the gravel under the house so I doubt much more of the actual standing water is going to go anywhere anytime soon. It looks like I need to go to town and get a pressure gauge anyway, that would be far more accurate than a tire gauge lol. That and it would be really nice if I wasn't putting on wet coveralls, so I have those tossed in the dryer right now. Really not wanting to crawl back into a wet crawl space so I am procrastinating a bit right now.

SCI Syntax Help / Re: SCI1.1: Missing something with inventory items
« on: January 22, 2016, 02:08:43 PM »
Yes it is, that shows me and everyone else where the edges of the cel end. So in the top half, you'll see that the icon cels are butted up against each other. So when the highlight border is drawn around the cel, it overlaps the cels next to it. In the bottom image, the cels are generated with the space between them so the highlight has a place set aside for it.

SCI Syntax Help / Re: SCI1.1: Missing something with inventory items
« on: January 22, 2016, 08:41:25 AM »
I have noticed that too, that the highlight draws around the outside of the view. My solution was just to add a bit of padding to the cels.

I followed your lead here and went into the scrollableInventory script except I just added 2 to the celWide, and celHigh results in the drawInvWindow method...
Code: [Select]
                    = theTheTheTheTheCurPos_2 (+ CelWide((send temp9:view) (send temp9:loop) (send temp9:cel)) 2) // added the plus 2
                    (if (> theTheTheTheTheCurPos_2 theTheTheTheCurPos)
                        = theTheTheTheCurPos theTheTheTheTheCurPos_2
                    = theTheTheTheCurPos_2 (+ CelHigh((send temp9:view) (send temp9:loop) (send temp9:cel)) 2)// added the plus 2
                    (if (> theTheTheTheCurPos_2 theTheTheCurPos)
                        = theTheTheCurPos theTheTheTheCurPos_2

Here is the before and after results. Perfect fix, thanks Kawa for bringing this back up.

SCI Syntax Help / Re: Help Requested: Adding titles to death messages?
« on: January 21, 2016, 03:05:44 PM »
The hard part is pulling the text resource in as the title. If I remember correctly, it is not looking for two parameters for that property.

For example, this fails
Code: [Select]

      Print("hello" #title 5 8)

SCI Syntax Help / Re: Help Requested: Adding titles to death messages?
« on: January 20, 2016, 11:20:56 PM »
Theoretically it is possible...

Here is a thread where Gumby attempted to use text resources for titles,

It doesn't look like he was ever quite happy with his results though judging from the edits he made to the post.

As for my own opinions... It looks like it is more trouble than it is worth. Sometimes it is better just to come up with something that works and move on rather than getting bogged down and frustrated. I find that I spend more time trying to get something to work the way I think it should versus a way that I know it will.

SCI Syntax Help / Re: Help Requested: Adding titles to death messages?
« on: January 20, 2016, 08:57:39 PM »
I have tried a couple of little things to make this work and so far they have failed. Here is a very short and low impact code that should work.

First lets go ahead and create a global variable in the main script.

Code: [Select]

Next, we'll head into the Dying script and adjust the Print statement to include a title which will hopefully pull our global variable.

Code: [Select]
  #title deathTitle
  #font gDeadFont
  #icon deadIcon
  #button "Continue On" 0
  #button "Order Hintbook" 1
  "Order a hint book? Who do you think I "+
  "am? Sierra On-Line?"

And then finally in the actual room script, just before calling the death handler, simply set the global variable to hold a value.

Code: [Select]
                  = dyingScript ScriptID(DYING_SCRIPT)
                  = deathTitle "Shit Title"
                  (send dyingScript:
                    register("Thank you for playing. Too bad you've failed miserably.  Better luck next time.")
                  (send gGame:setScript(dyingScript))

And there you go, simple and easy. My first few attempts were to actually change the script object to include a new title property but in the end, I couldn't seem to get it to work quite right... But this way does.

Everything-Else / Re: Quiet/Absence
« on: January 20, 2016, 03:14:54 PM »
I have been plugging away at Space Quest: The Early years... I am now able to play all the way through SQ1 from start to finish (which actually is the first few rooms of SQ0)

I have a couple of rooms that I need to readdress, I have been working on my bug list, both finding and squashing them, as well as trying to determine sound FX... which I am happy to say is the majority of my current bug list. 

Pages: 1 2 [3] 4 5 ... 72

SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.132 seconds with 22 queries.