logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,642
Total Threads: 8,744
Posts: 95,508

Administrators:
DeeZire, Redemption

There are currently 31 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 02-04-2005, 03:39 AM   #1 (permalink)
Junior Member
 
Join Date: Jan 2005
Posts: 4
Default Vertical PowerBar

Hello, i redesigning the controlbar but have a little problem with powerbar.
My power bar only show 3 power states: Good energy with a green bar, critical energy with a yellou bar and low energy with a red bar, the problem is if you have 80 unused energy points it appears the same green bar if you have only unused 20 points, my code is:

Code:
ControlBar.wnd:PowerWindow:
SCREENRECT = UPPERLEFT: 640 179,
                        BOTTOMRIGHT: 651 426,
                        CREATIONRESOLUTION: 800 600;
Code:
ControlBarScheme.ini
  PowerBarUL X:642 Y:243
  PowerBarLR X:653 Y:426
Code:
SAControlBar512.INI
  MappedImage SAPowerPointY
  Texture = yelloubar.tga
  TextureWidth = 11
  TextureHeight = 151
  Coords = Left:0 Top:0 Right:11 Bottom:151
  Status = NONE
  End

  MappedImage SAPowerPointR
  Texture = redbar.tga
  TextureWidth = 11
  TextureHeight = 175
  Coords = Left:0 Top:0 Right:11 Bottom:175
  Status = NONE
  End

 MappedImage SAPowerPointG
  Texture = greenbar.tga
  TextureWidth = 10
  TextureHeight = 87
  Coords = Left:0 Top:0 Right:10 Bottom:87
  Status = NONE
 End

 MappedImage SAPowerBarY
  Texture = yelloubar.tga
  TextureWidth = 11
  TextureHeight = 151
  Coords = Left:0 Top:0 Right:11 Bottom:151
  Status = NONE
  End

  MappedImage SAPowerBarG
  Texture = greenbar.tga
  TextureWidth = 10
  TextureHeight = 87
  Coords = Left:0 Top:0 Right:10 Bottom:87
  Status = NONE
  End

  MappedImage SAPowerBarR
  Texture = redbar.tga
  TextureWidth = 11
  TextureHeight = 175
  Coords = Left:0 Top:0 Right:11 Bottom:175
  Status = NONE
  End
Code:
SCGameUserInterface512.INI
  MappedImage PowerBarYellow
  Texture = yelloubar.tga
  TextureWidth = 11
  TextureHeight = 151
  Coords = Left:0 Top:0 Right:11 Bottom:151
  Status = NONE
  End

  MappedImage PowerBarGreen
  Texture = greenbar.tga
  TextureWidth = 10
  TextureHeight = 87
  Coords = Left:0 Top:0 Right:10 Bottom:87
  Status = NONE
  End

  MappedImage PowerBarRed
  Texture = redbar.tga
  TextureWidth = 11
  TextureHeight = 175
  Coords = Left:0 Top:0 Right:11 Bottom:175
  Status = NONE
  End
Code:
SCSmShellUserInterface512.INI
   MappedImage PowerPointR
   Texture = redbar.tga
  TextureWidth = 11
  TextureHeight = 175
  Coords = Left:0 Top:0 Right:11 Bottom:175
  Status = NONE
  End

  MappedImage PowerPointG
  Texture = greenbar.tga
  TextureWidth = 10
  TextureHeight = 87
  Coords = Left:0 Top:0 Right:10 Bottom:87
  Status = NONE
  End

  MappedImage PowerPointY
    Texture = yellou.tga
    TextureWidth = 11
    TextureHeight = 151
    Coords = Left:0 Top:0 Right:11 Bottom:151
    Status = NONE
    End
vegeta486 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-04-2005, 09:28 AM   #2 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: Rep. of Ireland
Posts: 373
Default

Not exactly sure what is your problem, but Im wondering have you managed to get the power indication to travel vertically (not just have the bar vertical).
Waraddict is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-04-2005, 11:18 AM   #3 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 469
Send a message via AIM to Waspo Send a message via MSN to Waspo
Default

why not just make the horizontal bar really tall and thin, it would look verticle. then you can just gauge how much power you got by what color it is. I judge power that way anyways. if its green anything i build wont make me loose power, and if it goes yellow, just build some more powerplants. and if you hover your cursor over it, it tells you the exact power amount.
Waspo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-04-2005, 08:22 PM   #4 (permalink)
Junior Member
 
Join Date: Jan 2005
Posts: 4
Default

ok, my problem: (sry but i spanish)

in not modded generals:
- u have 40 not used power points and 5 used power points, the green bar it appears: ----------------------------------------
- u have 20 not used power points and 10 used power points and the green bar it appears: -----------

in my vertical power bar, the green bar it appears the same in all the cases (------------------------) if you have 10, 20, 40 or 80 unused power points, the yellou bar and the red bar word good but the problem is with the greenbar
vegeta486 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-07-2005, 02:06 PM   #5 (permalink)
Senior Member
 
Join Date: Jun 2004
Location: Earth-ish
Posts: 197
Default

Ummmm... maybe the there is no problem... what I mean is maybe that's just how the engine goes. And none of us have noticed. hehe
Cedar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vertical Take-off & Landings NEONecd888 Generals & Zero Hour Editing 27 09-12-2004 12:57 PM


All times are GMT -4. The time now is 04:03 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.