Changing the tech tree -1 reply

Please wait...

ShaloKran

Clone Host

50 XP

7th May 2007

0 Uploads

159 Posts

0 Threads

#1 11 years ago

Is it possible to change the look of the in-game tech tree to a custom tech tree so that when I click on the tech tree button in the game it shows a custom-set tree?




DrkSbr22

SKATEBOARDING IS MY LIFE

50 XP

18th May 2007

0 Uploads

2,273 Posts

0 Threads

#2 11 years ago

im not good at that.




Fordo

leader of shacks mod stuff

50 XP

20th January 2007

0 Uploads

772 Posts

0 Threads

#3 11 years ago

I think u can do it ask z3rox. I think he did in raw




ShaloKran

Clone Host

50 XP

7th May 2007

0 Uploads

159 Posts

0 Threads

#4 11 years ago

you mean, the tech tree icons actually can be changed. nice!




ViceMan

Illmatic.™

50 XP

7th March 2006

0 Uploads

168 Posts

0 Threads

#5 11 years ago

I can explain it briefly, I




ViceMan

Illmatic.™

50 XP

7th March 2006

0 Uploads

168 Posts

0 Threads

#6 11 years ago

I can explain it briefly, but I haven't edited the tech tree in a long time. Probably best to backup anything before you try it. Firstly you need to get a meg extractor and extract the Config.meg, look in the newly created Config folder and find the files DATA%RESOURCES%GUIDIALOG%GUIDIALOGS and DATA%RESOURCES%GUIDIALOG%RESOURCE. They should be the first two files beside the !!!LIST!!! document. Open DATA%RESOURCES%GUIDIALOG%RESOURCE (that's the H file, not the RC file) with notepad or wordpad, scroll to the bottom and you should see something like this: #define IDC_INTERNET_HOST_CLAN_COMBO 1978 #define IDC_EDIT_SENSOR_JAMMING 1972 #define IDC_EDIT_LASER_DEFENSE 1972 #define IDC_EDIT_STEALTH 1974 #define IDC_EDIT_LEECH_SHIELDS 1975 #define IDC_EDIT_SPACE_LASER_DEFENSE 1976 #define IDC_EDIT_SPACE_SELF_DESTRUCT 1977 #define IDC_INTERNET_HOST_CLAN_COMBO 1978 #define IDC_TEXT_HOST_CLAN 1979 #define IDC_SELECT_CLAN_DIALOG_HEADER 1980 #define IDC_CLAN_LIST 1981 #define IDC_CONFIRM_CLAN_BUTTON 1982 #define IDC_CONFIRM_CLAN_BUTTON2 1983 #define IDC_APPLY_CLAN_BUTTON 1983 #define IDC_PROGRESS8 1984 #define IDC_START_DEMO_BUTTON 1985 #define IDC_START_DEMO_BUY_NOW_BUTTON 1985 #define IDC_START_DEMO_BUY_FOC_NOW_BUTTON 1985 #define IDC_EXIT_AND_DOWNLOAD_EAW_BUTTON 1986 #define IDC_START_DEMO_EXIT_AND_DOWNLOAD_EAW_DEMO_BUTTON 1986 #define IDC_START_DEMO_PLAY_NOW_BUTTON 1987 // Next default values for new objects // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 216 #define _APS_NEXT_COMMAND_VALUE 40001 #define _APS_NEXT_CONTROL_VALUE 1987 #define _APS_NEXT_SYMED_VALUE 101 #endif #endif Now you need to add a line for your new unit(s), copy one of the #define IDC_TECHTREE lines and paste it below the larger block of text. Rename the line so it is the same name as your new unit (it shouldn't matter if you put the squadron name or the unit name as both icons are usually the same) increase the value of the number after the line by 1 (so if the last line was 1987 the new line would be 1988 and so on for every new number) the text should now look like this: #define IDC_TECHTREE_U_Ground_Gravity_Generator 1952 #define IDC_EDIT_FORCE_SIGHT 1956 #define IDC_EDIT_COMMAND_TURRET2 1957 #define IDC_EDIT_BERSERKER 1958 #define IDC_EDIT_LIGHTSABER_THROW 1959 #define IDC_EDIT_HERO_CLOAK 1960 #define IDC_EDIT_FORCE_CONFUSE 1961 #define IDC_EDIT_CONTAMINATE 1962 #define IDC_EDIT_INFECTION 1963 #define IDC_EDIT_DRAIN_LIFE 1964 #define IDC_EDIT_SUMMON_RANCOR 1965 #define IDC_EDIT_BLAST 1966 #define IDC_EDIT_SHIELD_FLARE 1967 #define IDC_EDIT_STIM_PACK 1967 #define IDC_EDIT_SONIC_STUN 1968 #define IDC_EDIT_SWAP_WEAPONS 1968 #define IDC_EDIT_CAPITAL_SHIP_SHOT 1968 #define IDC_EDIT_SUPER_LASER 1968 #define IDC_EDIT_BRIBE 1969 #define IDC_EDIT_CLUSTER_BOMB 1969 #define IDC_EDIT_MINOR_LIFE_DRAIN 1969 #define IDC_EDIT_ASSAULT 1970 #define IDC_EDIT_POINT_DEFENSE_SYSTEM 1970 #define IDC_EDIT_SWAP_WEAPONS3 1970 #define IDC_EDIT_PROXIMITY_MINES 1970 #define IDC_EDIT_REMOTE_EXPLOSIVE 1971 #define IDC_EDIT_SENSOR_JAM 1971 #define IDC_EDIT_SENSOR_JAMMING 1972 #define IDC_EDIT_LASER_DEFENSE 1972 #define IDC_EDIT_STEALTH 1974 #define IDC_EDIT_LEECH_SHIELDS 1975 #define IDC_EDIT_SPACE_LASER_DEFENSE 1976 #define IDC_EDIT_SPACE_SELF_DESTRUCT 1977 #define IDC_INTERNET_HOST_CLAN_COMBO 1978 #define IDC_TEXT_HOST_CLAN 1979 #define IDC_SELECT_CLAN_DIALOG_HEADER 1980 #define IDC_CLAN_LIST 1981 #define IDC_CONFIRM_CLAN_BUTTON 1982 #define IDC_CONFIRM_CLAN_BUTTON2 1983 #define IDC_APPLY_CLAN_BUTTON 1983 #define IDC_PROGRESS8 1984 #define IDC_START_DEMO_BUTTON 1985 #define IDC_START_DEMO_BUY_NOW_BUTTON 1985 #define IDC_START_DEMO_BUY_FOC_NOW_BUTTON 1985 #define IDC_EXIT_AND_DOWNLOAD_EAW_BUTTON 1986 #define IDC_START_DEMO_EXIT_AND_DOWNLOAD_EAW_DEMO_BUTTON 1986 #define IDC_START_DEMO_PLAY_NOW_BUTTON 1987 #define IDC_TECHTREE_Storm_Commando 1988 // Next default values for new objects // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 216 #define _APS_NEXT_COMMAND_VALUE 40001 #define _APS_NEXT_CONTROL_VALUE 1987 #define _APS_NEXT_SYMED_VALUE 101 #endif #endif Now save the file, but leave it open. Now open the RC file DATA%RESOURCES%GUIDIALOG%GUIDIALOGS with wordpad or notepad. Search for IDD_TECH_TREE_ until you come to the tech tree you want to edit, so if you wanted to edit the rebel land tree it would be IDD_TECH_TREE_REBEL (bearing in mind there is both a land and space tree for all factions) Scroll down a bit from this line until you see something like this: ONTROL "",IDC_TECHTREE_Generic_Field_Commander_Rebel, "PETROGLYPH_DIALOG_IMAGE",WS_TABSTOP,467,338,50,50 CONTROL "",IDC_TECHTREE_Rebel_Infantry_Squad, "PETROGLYPH_DIALOG_IMAGE",WS_TABSTOP,287,338,50,50 CONTROL "",IDC_TECHTREE_Rebel_Light_Tank_Brigade, "PETROGLYPH_DIALOG_IMAGE",WS_TABSTOP,439,181,50,50 CONTROL "",IDC_TECHTREE_R_Ground_Base_Shield, "PETROGLYPH_DIALOG_IMAGE",WS_TABSTOP,309,176,62,62 CONTROL "",IDC_TECHTREE_R_Ground_Barracks, "PETROGLYPH_DIALOG_IMAGE",WS_TABSTOP,309,256,62,62 CONTROL "",IDC_TECHTREE_Rebel_Ground_Mining_Facility, "PETROGLYPH_DIALOG_IMAGE",WS_TABSTOP,309,98,62,62 CONTROL "",IDC_TECHTREE_Rebel_Artillery_Brigade, "PETROGLYPH_DIALOG_IMAGE",WS_TABSTOP,562,181,50,50 CONTROL "",IDC_TECHTREE_R_Ground_Turbolaser_Tower, "PETROGLYPH_DIALOG_IMAGE",WS_TABSTOP,557,477,62,62 CONTROL "",IDC_TECHTREE_Ground_Ion_Cannon, "PETROGLYPH_DIALOG_IMAGE",WS_TABSTOP,557,407,62,62 Copy one of these lines and paste it below, the only bit we're interested in are the numbers and the unit names leave the rest as it is. Rename the unit part to the same name as what you saved in the H file earlier, it shouldn't be too difficult as the IDD_TECHTREE part is already there for you. It should look like this: CONTROL "",IDC_TECHTREE_Generic_Fleet_Commander_Empire, "PETROGLYPH_DIALOG_IMAGE",WS_TABSTOP,408,502,50,50 CONTROL "",IDC_TECHTREE_Imperial_Stormtrooper_Squad, "PETROGLYPH_DIALOG_IMAGE",WS_TABSTOP,288,502,50,50 CONTROL "",IDC_TECHTREE_Storm_Commando, "PETROGLYPH_DIALOG_IMAGE",WS_TABSTOP,288,502,50,50 CONTROL "",IDC_TECHTREE_Generic_Field_Commander_Empire, "PETROGLYPH_DIALOG_IMAGE",WS_TABSTOP,470,502,50,50 CONTROL "",IDC_TECHTREE_Imperial_Light_Scout_Squad, "PETROGLYPH_DIALOG_IMAGE",WS_TABSTOP,348,502,50,50 Now to edit the numbers, they are simply coordinates for the icon on the tree, the first two numbers refer to the X and Y coords and the last two are the size of the icon (50 x 50px usually) the only way I find is to use trial and error to get the positioning right, increasing the numbers will move it downwards and to the right. Save and exit both files. That's the hard part out the way. Now make a new folder in your data folder called Resources, in that folder make a folder called GUIDialog and in there place the two files, rename both files so that the DATA%RESOURCES%GUIDIALOG% is removed. They should be called Resource and GUIDialogs respectively. That's it summed up briefly.....I know, I know, I got carried away. If I didn't expain anything in enough detail (it's late, i'm tired) then be sure to ask. I'll try to help.




ShaloKran

Clone Host

50 XP

7th May 2007

0 Uploads

159 Posts

0 Threads

#7 11 years ago

yikes




DrkSbr22

SKATEBOARDING IS MY LIFE

50 XP

18th May 2007

0 Uploads

2,273 Posts

0 Threads

#8 11 years ago

thats confusing!




Kalo Shin

AoSW Joint Leader

50 XP

25th August 2006

0 Uploads

2,053 Posts

0 Threads

#9 11 years ago
DrkSbr22;3700015im not good at that.

Then stop posting spam....