Results 1 to 8 of 8

Thread: Skin questions

  1. #1
    Maximum Bitrate Mañana's Avatar
    Join Date
    Jul 2004
    Location
    Sweden
    Posts
    761

    Skin questions

    Well, I just started porting the FP VW skin för FW (althou its not finished). Anyway, the skins native resolution is 800x480. When I press the cam button, I get what you can see in the last attached image. What I try to do is moving the cam image (first one) to the red area in the second one...
    I suppose the "dynpic" line in the cam section is the area in the "content" area where the real cam picture is supposed to show (if you've got one)?


    This is my cam section from the skin.ini
    [cam]

    dynpic 106 18 588 305 cam
    and the "content line". (The images posted here doesn't have the right resolution)
    content 0 0 800 322
    Also, another skin question.
    Would it be possible to have GPS mode open FreeDrive in a selected area of the GPS screen, not all of it as it is at the moment. (I think cam is supposed to wirk this way?)
    Attached Images Attached Images    

  2. #2
    Freeway Creator oeri's Avatar
    Join Date
    Jul 2005
    Location
    Pittsburgh, PA
    Posts
    522
    Quote Originally Posted by Mañana View Post
    I suppose the "dynpic" line in the cam section is the area in the "content" area where the real cam picture is supposed to show (if you've got one)?
    Close. The content line should only be in the [main] part of the skin.ini. I think you've got that down. Actually, the dynpic for cam should always be at (0, 0). The white part you are seeing is the white background of the camera form. You will have to resize the actual cam form by changing the dimensions of the cam_off.png image in the skin's "screens" directory. The form will automatically be centered in the content window -- you have no control over this as of yet. You can just resize it for now.

    There's no way to size the GPS. It automatically fills the region defined by "content".

  3. #3
    Maximum Bitrate Mañana's Avatar
    Join Date
    Jul 2004
    Location
    Sweden
    Posts
    761
    hmmm, i changed the code to this:

    [cam]

    #dynpic 106 18 588 305 cam
    dynpic 0 0 800 322 cam
    and the content line is still the same (it exists only in [main])

    the no_cam image is the same as before, with resolution 800x322.

    This is what i get:
    Attached Images Attached Images  

  4. #4
    Freeway Creator oeri's Avatar
    Join Date
    Jul 2005
    Location
    Pittsburgh, PA
    Posts
    522
    Read carefully... I said to try changing the dimensions of cam_off.

  5. #5
    Maximum Bitrate Mañana's Avatar
    Join Date
    Jul 2004
    Location
    Sweden
    Posts
    761
    Sorry for beeing a retard, but i dont really get it?
    Do you mean like this?
    Code:
    [cam]
    
    #dynpic	106	18	588	305	cam
    dynpic	0	0	0	0	cam
    Because it gives me the same result as in post 3...

  6. #6
    Freeway Creator oeri's Avatar
    Join Date
    Jul 2005
    Location
    Pittsburgh, PA
    Posts
    522
    dynpic 106 18 588 305 cam

    This creates the camera image at left 106, top 18, width 558, and height 305 on the camera form. The camera form is automatically centered in the content area and takes the dimensions of the cam_off.png. The dimensions of the camera form itself are defined by how big the cam_off.png in the skin's screens directory is. You can't specify the dimensions of the form itself in the skin.ini -- you have to change the dimensions of the cam_off.png file.

  7. #7
    Maximum Bitrate Mañana's Avatar
    Join Date
    Jul 2004
    Location
    Sweden
    Posts
    761
    Hahaha, I just got it =) Sry beeing a retard and for not reading carefully enough
    This works exacly like what I wanted for gps screen =)

  8. #8
    Freeway Creator oeri's Avatar
    Join Date
    Jul 2005
    Location
    Pittsburgh, PA
    Posts
    522
    Don't be sorry -- I don't mind answering your questions. I'm impressed that you've done as much skinning as you have already. I know my system is a little confusing and no documentation exists yet

Similar Threads

  1. Commercial licensing of skin designs
    By athomemedia in forum Software & Software Development
    Replies: 12
    Last Post: 08-18-2006, 09:36 AM
  2. Roadrunner Skinning Tutorial
    By Meelobee in forum RR Skins
    Replies: 14
    Last Post: 12-30-2005, 08:28 PM
  3. Skullster Skin.. Please help me finish this skin
    By CdRsKuLL in forum RR Skins
    Replies: 14
    Last Post: 08-05-2005, 09:37 PM
  4. alpine skin questions
    By hakhawk in forum RR Skins
    Replies: 10
    Last Post: 07-04-2005, 06:48 PM
  5. Skin Questions
    By Chilly in forum ME Archive
    Replies: 1
    Last Post: 01-22-2004, 12:01 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •