Author Topic: Creating backgrounds  (Read 10917 times)

0 Members and 2 Guests are viewing this topic.

Offline Ternian

Creating backgrounds
« on: April 09, 2013, 06:03:22 PM »
A couple of questions:

1) When drawing in SCI studio, can you erase lines? Or do they need to be done correct the first time?

2) How do you work out size vs. ego size? Any particular hints here that I don't make doors bigger than ego?

3) Is there any hints on how to make the image centre of screen or preview a full screen version of your background?

4) If you paint, say a interior room, then decide you want a table in the room, can you just draw over the existing pic or does that just add additional resources to the pic?

Thanks in advance :D



Offline Collector

Re: Creating backgrounds
« Reply #1 on: April 09, 2013, 10:51:08 PM »
They can be "stepped" back. A sort of undo. Check the tutorials here on on the Wiki:

http://sciwiki.sierrahelp.com/index.php?title=SCI_Studio_Tutorial_Chapter_6_-_Editing_Pics
« Last Edit: April 09, 2013, 11:15:18 PM by Collector »
KQII Remake Pic

Offline Ternian

Re: Creating backgrounds
« Reply #2 on: April 10, 2013, 04:54:54 AM »
Yeah I followed that...but the pics I am trying to create are way more complicated.

Offline Cloudee1

Re: Creating backgrounds
« Reply #3 on: April 10, 2013, 11:51:07 AM »
I would highly recommend that you stop using scistudio and instead switch to companion.  Namely to help with the second question, but anywhere here are my attempts at answers.

1. The lines will need to be drawn right the first time. As Collector said, you can step backwards through your pic such that you can remove lines and then draw them exactly where you want them. They cannot be erased, only deleted and redrawn. For that reason, I would suggest waiting on the fills until you have the image scaled the way you like it.

2. As for getting the right scale, Companion offers a feature that allows you to place the ego, or any other view for that matter on top of your image so that you can actually see how well everything ties together. When moving the superimposed view around the pic, another handy bit of this feature is that it gives you the x and y position of where the view is currently placed.

3. The only hint I have for centering the image is that the pic dimensions are 320 x 190. so if you want to center the image, you will need to find the center 160 and 95 and draw your outsinde boundaries equally distant from there. As you draw a line, look at the x and y positions of your line and adjust them accordingly.

4. You can draw over an existing line, but you won't be able to fill the area. So you can either step back and erase the fill that is causing you trouble or a better approach, is draw the table as a view. Use the impose view feature of the pic editor to figure out where you want to place it and then in the scripts, instead of using init() use addToPic() and it will draw it to the pic ture wherever the x any are placed. The benefits of this are that it is far easier to add detail to the view than it is to add it to the pic, and it is really easy to get it exactly where you want it without having to redraw it a dozen different times. This is actually how I would suggest drawing most of your pics, a rather detail free pic resources and then addToPic the finer details in views.

Hope this helps, fi not feel free to ask away.
Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Offline Collector

Re: Creating backgrounds
« Reply #4 on: April 10, 2013, 12:03:31 PM »
One problem with that tutorial is that it is for Studio. Companion allows you to delete any step. On the left is a list of each action. You can select the step you want to remove and click the "Remove" button. One thing to remember, with SCI0, the background PICs are vector graphics. In other words, it is not based on collection of different colored pixels (raster), but a series of "commands" to draw lines. While it can specify individual pixels, it is mostly lines and fills. Deleting any one of these commands removes that action, thus "erasing" it. You are limited removing the entire line or fill. You cannot erase half of a line, but you can delete it and redo the way you want. You will probably want to insert the replacement at the same point, or you might have a fill command placed before your intended fill area is defined. In other words, if you draw a triangle and fill it, then redo one of the lines, if the redone line is placed after the fill, the fill will spill out beyond the intended triangle.

Also, the pallet may be limited to 16 colors, there are effectively more with dithering. Dithering was invented by Ken Williams, the founder of Sierra, is where the fill is alternating colors that give the impression of an in between color. Red checkered with white was often used simulate flesh tones or green with black to give the impression of a dark green. Done properly, it can have a very pleasing effect.
KQII Remake Pic

Offline Ternian

Re: Creating backgrounds
« Reply #5 on: April 11, 2013, 08:24:08 AM »
Thanks for tips!  ;D

I am trying to create pics like those used for the Colonel's Bequest. I've been researching some of the design stages and a lot of the interior rooms contain no furniture in the early development, then later they are filled with furniture. So it confused me a little.

Offline Collector

Re: Creating backgrounds
« Reply #6 on: April 11, 2013, 09:49:37 AM »
In some cases furniture may be a VIEW added at runtime, not part of the PIC.
KQII Remake Pic

Offline Ternian

Re: Creating backgrounds
« Reply #7 on: April 11, 2013, 06:22:56 PM »
This appears to be true. I used the SCI viewer to look at the original files for TCB and the rooms are empty as. Really interesting to see how they were created, though!

The only problem is - where is the files for the furniture and added bits? I looked at the view files and couldnt seem to locate them. LOL

Offline Collector

Re: Creating backgrounds
« Reply #8 on: April 12, 2013, 11:49:15 AM »
Don't forget that views can have several loops, each with several cels. When you first look at a VIEW with the Resource Viewer, it will show cel 0 of loop 0. If you press the "Start" button, it will start looping through all of the cels for that loop. If you move the loop slider to 1 it can loop through the cels for 1. etc.
KQII Remake Pic

Offline Ternian

Re: Creating backgrounds
« Reply #9 on: April 17, 2013, 06:46:19 AM »
Sweet! Found them. :)

Next question, how do I save a pic in SCI studio so I can show it on your site etc?

Offline Collector

Re: Creating backgrounds
« Reply #10 on: April 17, 2013, 10:33:40 AM »
If it is already saved as a PIC you can either load the game in DOSBox and use the CTRL+F5 combo to take a screen shot or use the Sierra Resource Viewer and use the "Save As" to export it to a BMP. http://sierrahelp.com/forums/viewtopic.php?f=27&t=456

Also, You should start using Companion as it is newer and has fewer problems. Doing backgrounds in Companion is easier.
« Last Edit: April 17, 2013, 12:44:03 PM by Collector »
KQII Remake Pic

Offline Ternian

Re: Creating backgrounds
« Reply #11 on: April 18, 2013, 04:59:22 AM »
Yeah SCI viewer won't convert - it won't even recognise the file.

When I open in companion viewer it works, however the colours are all wrong.



This is the original:

« Last Edit: April 18, 2013, 05:14:16 AM by Ternian »

Offline Collector

Re: Creating backgrounds
« Reply #12 on: April 18, 2013, 12:01:57 PM »
What does it look like in DOSBox? Is this already saved as a PIC? Can you upload the PIC for me to take a look at it?
KQII Remake Pic

Offline gumby

Re: Creating backgrounds
« Reply #13 on: April 19, 2013, 07:31:09 PM »
Something in the back of my mind thinks this is the result of an unset palette.  But I've never experienced this myself.

When you open the pic in companion you can detect this by attempting to immediately save the pic.  If you get an error message like the attached screenshot it's probably the issue.  At the very beginning of the pic you should have 4 'Set Palette' commands like the other attached screenshot.


« Last Edit: April 19, 2013, 07:36:13 PM by gumby »
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition


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

Page created in 0.028 seconds with 16 queries.