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

Forum Info
Forum Members: 18,581
Total Threads: 8,667
Posts: 94,503

Administrators:
DeeZire, Redemption

There are currently 49 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 09-30-2004, 12:09 PM   #1 (permalink)
Senior Member
 
Join Date: Aug 2004
Location: Philippines
Posts: 373
Send a message via MSN to IraqiPeopleRocks Send a message via Yahoo to IraqiPeopleRocks
Default .wnd editing how

how can i edit the menu in ZH?? because EA's side bar thingy is ugly how can i edit the .wnds??
IraqiPeopleRocks is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-30-2004, 03:27 PM   #2 (permalink)
Senior Member
 
Join Date: Aug 2004
Location: Philippines
Posts: 373
Send a message via MSN to IraqiPeopleRocks Send a message via Yahoo to IraqiPeopleRocks
Default

.AnyBody?? :/
IraqiPeopleRocks is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-30-2004, 03:55 PM   #3 (permalink)
Senior Member
 
Join Date: Jun 2003
Posts: 462
Send a message via AIM to Kelso Send a message via MSN to Kelso
Default

Open the wnd files in wordpad. Or download DeeZire's wnd Editor program.
Kelso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-30-2004, 04:43 PM   #4 (permalink)
Senior Member
 
Join Date: Feb 2004
Location: Glued to the chair in front of my laptop
Posts: 1,158
Default

Please follow the forum rules of:
1.Don't double post, the edit button is there for a reason.
2.Make your post more than one word/emoticon.
GametagAeonFlux is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-30-2004, 06:20 PM   #5 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: Rep. of Ireland
Posts: 373
Default

Steps on how to design your own controlbar.

1. In a image program, design your controlbar on a 800 X 600 blank page, this program MUST have the feature of showing the co-ordinates of your cursor, you'll find out why later on.

2.Convert your image to tga, but keep a version which is in a format which you can view from an image program which has the co-ordinate feature.

3. Using the programs, FinalBig (www.wagnerma.de) or XCC Mixer (http://xccu.sourceforge.net/), open the window.big file situated in your C&C Generals or C&C Generals: Zero Hour directory.

4. Extract the file called 'Controlbar.wnd' to any location you wish and create a copy for editing, keeping the original if you muck it up.

5. Download Deezire's WndEdit, with this program open up the original version of the Controlbar.wnd, DO NOT EDIT ANYTHING!.

6. Open up the editing copy of the Controlbar.wnd with notepad.

7. In WndEdit, you will be able to view which window is which, so that in notepad you can find the window you wish to move/edit, although WndEdit is equipped for it, it is not advisable to move windows in WndEdit as it is not very exact.

8.After locating the window you wish to edit in WndEdit, search the name in notepad, open up your controlbar graphic and with your cursor note down the co-ordinates where you want to move the window to and then apply them in notepad, I remind you DO NOT edit wnd files in WndEdit (sorry Deezire).

9.Alls fine for the beginner if you obey the following.
- If you move a window, make sure that the subwindows belonging to it fall inside its co-ordinates.
- Besides that, any single windows which are arranged to be inside other single windows (as indicated in WndEdit), keep them that way, change their position but keep them inside eachother just like they are in WndEdit.
- For now, avoid deleting, disabling, or modifying windows in any way except co-ordinates.
- Lastly, never EVER edit the windows in WndEdit, this means you will never be clicking 'save' so remember that. Use WndEdit only for noting the windows you wish to move, and occasionally for opening your notepad edited Controlbar.wnd to see if you get the positioning right.

10. When you think you can handle it, heres a few interesting pointers....
-Every single window can be any size/shape you like, although not quite interesting this also applies to commandbuttons, with a bit of resizing and reshaping along with nifty graphics you could make some interesting buttons.
-To make the above point more useful, you can add these nifty buttons without wasting the current 14 commandbuttons as it is possible to add a further 4 commandbuttons, in notepad just copy any commandbutton window code and substitute the end numbers for 15-18, you may be required to add buttons 15-18 in the ButtonSet.ini in the default folder aswell (I've added them, but I haven't tested to see if they work without the buttonset.ini entries).
Waraddict is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-30-2004, 07:31 PM   #6 (permalink)
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default

Sounds like a written tutorial here. It's a keeper....
Hostile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-01-2004, 09:22 AM   #7 (permalink)
Senior Member
 
Join Date: May 2004
Location: The Netherlands, Zeist (Near Utrecht)
Posts: 154
Default

But the original commandbar is 1024 by 256 so why 800 by 600?
Bart is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-01-2004, 10:10 AM   #8 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: Rep. of Ireland
Posts: 373
Default

800X600, 1024X256, any one you like because the beauty of it is that you can get it to fit perfectly either way, it also depends on the shape of the controlbar.

Oh yeah, forgot to specify how you pop the graphic in...

k, within the ini big, under the MappedImages and then the HandCreated folder, open up the HandCreatedMappedImages.ini and find InGameUIAmericaBase.

Copy the code for that into a new ini file within the following subdirectory inside your Generals/ZH directory,

/Data/INI/MappedImages/NameItAnyThingYouLikeItDoesntMatter.ini

rename the copy of the INGameUIAmericaBase code to whatever you wish and then rename the SACommandBar.tga to whatever you like.

such as...

MappedImage MyNewControlBar
;Texture = FrameBaseA.tga
Texture = MyNewControlBar.tga
TextureWidth = 800
TextureHeight = 600
Coords = Left:0 Top:0 Right:799 Bottom:599
Status = NONE
End

In this case its 'MyNewControlBar' and 'MyNewControlBar.tga'.
Depending on the size of your controlbar image the TextureWidth, TextureHeight and Coords can be different. For example, if it is a 1024 by 256 image like Bart pointed out the three fields would be the following...

TextureWidth = 1024
TextureHeight = 256
Coords = Left:0 Top:0 Right:1023 Bottom:255

Now, to insert your graphic, inside your Generals/Zero Hour directory put it in the following subdirectory...

/Art/Textures/name_of_file

such as...
/Art/Textures/MyNewControlBar.tga

Lastly we must pay a visit to the ControlBarScheme.ini, once you get your hands on this, put it in the following subdirectory...

/Data/INI/ControlBarScheme.ini

Now, to put your ready new controlbar ingame just pick the side you want it for, let's say America, go to America's controlbar code in controlbar scheme and find where it has 'InGameUIAmericaBase' and substitute its name for the name of your controlbar, in this case 'MyNewControlBar', keep in mind though you will have to change the co-ordinates and dimentions of the controlbar in ControlBarScheme.ini too.
Waraddict is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-02-2004, 02:14 PM   #9 (permalink)
Member
 
Join Date: Aug 2004
Location: Portugal
Posts: 82
Send a message via MSN to S0L0
Default

i don't want to create atopic just for make a single quick question otherwize you all call me spammer =P, anyways I want to know is, when we put the mouse cursoder over ANY unit or building (without select it), it shos asmall lil box with the name of the unit/bulding and colored by wich team it belogns (gray if civilian), so on wich .wnd file this is made on?, because i wnated to change it
S0L0 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-04-2004, 03:32 AM   #10 (permalink)
Senior Member
 
Join Date: Aug 2004
Location: Philippines
Posts: 373
Send a message via MSN to IraqiPeopleRocks Send a message via Yahoo to IraqiPeopleRocks
Default

its a KEEPER!!
IraqiPeopleRocks 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
editing your mod |MeMw| Haldir LOTR: Battle For Middle Earth I & II Editing 11 06-13-2005 08:59 PM
AI Editing Fetze Red Alert 2 & Yuri's Revenge Editing 1 10-10-2004 06:00 AM
Need help editing. Nub Red Alert 2 & Yuri's Revenge Editing 18 06-09-2004 08:10 PM
Editing the AI, need some help. Zrakh Generals & Zero Hour Editing 20 05-29-2004 07:05 AM
AI Editing help ShoNuff Red Alert 2 & Yuri's Revenge Editing 2 10-19-2003 08:39 AM


All times are GMT -4. The time now is 07:09 AM.


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