Patching extra functionality into <gamemd.exe> - Printable Version +- Renegade Projects Network Forums (https://forums.renegadeprojects.com) +-- Forum: Inject the Battlefield (https://forums.renegadeprojects.com/forumdisplay.php?fid=60) +--- Forum: Ares General Discussion (https://forums.renegadeprojects.com/forumdisplay.php?fid=19) +--- Thread: Patching extra functionality into <gamemd.exe> (/showthread.php?tid=16) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
RE: Patching extra functionality into <gamemd.exe> - ZombyDragon - 17.08.2006 Alot of people can use it, but pd and CNCVK arnt machines, so they will do it as they please. (Though I personaly want it too ) RE: Patching extra functionality into <gamemd.exe> - VK - 17.08.2006 I try to add 8 new colors in the combo box some good results RE: Patching extra functionality into <gamemd.exe> - pd - 17.08.2006 would be better if you could customize the amount of colors. that isn't even hard to do. you just have to have two tags for each color, one menu entry and one ingame bind (to a [Colors] color). RE: Patching extra functionality into <gamemd.exe> - VK - 17.08.2006 Yes. First 8 colors show always. another colors - only if you add entry to [MenuColors] section up to 16 new colors. RE: Patching extra functionality into <gamemd.exe> - Bobingabout - 17.08.2006 upto 16 NEW colours, is that upto 16 total, or as it sounds, upto 24 total? also, you'll need to hack PD's costom displayed colour section too. because currently, all your new ones are white. RE: Patching extra functionality into <gamemd.exe> - Nighthawk - 18.08.2006 Maybe he just copy-pasted the same colour a few times to test it RE: Patching extra functionality into <gamemd.exe> - pd - 18.08.2006 i'd guess so. he just has to extend the colors list and move the color bind list (i.e. what menu color entry uses what color ingame). RE: Patching extra functionality into <gamemd.exe> - VK - 18.08.2006 Quote:upto 16 NEW colours, is that upto 16 total, or as it sounds, upto 24 total?Up to 16 new colors. It's white because I fill colors default data with 00FFFFFFh MP0 01 MP1 05 MP2 10 MP3 14 MP4 06 MP5 12 MP6 08 MP7 07 MP8 00 MP9 02 MP10 03 MP11 04 MP12 09 MP13 13 MP14 15 MP15 16 So MP8 color - LightGold in game [MenuColors] 0=222,222,222 1=128,128,128 2=... 3=... 4=... 5=... 6=... 7=... 8=255,0,0 Colors will appear only if you add new entry to [MenuColors]. @PD I change your [MenuColors] load code, OK? Also I done code which save MultiEngineer check box state and TechLevel slider position into RA2MD.INI RE: Patching extra functionality into <gamemd.exe> - Bobingabout - 18.08.2006 1 small thing to point out. the array that "Random colour" AKA "???" points to. does it include any new colours? PD had to write in a hack tag for countries, NewPlayableCountries=. also, is your list hardcoded to those values of the [Colors] list, and use only PD's new [MenuColours] Section, or is there a way to costomise it? because currently i want to use some that are currently around 26, 27, 28 etc. (this is no big deal, i can always re-order the list.) oh, and starting with 00 and ending with 16? you missed out 11! if it is to remain hardcoded, it should be: MP13 11 MP14 13 MP15 15 RE: Patching extra functionality into <gamemd.exe> - VK - 18.08.2006 Quote:(this is no big deal, i can always re-order the list.)It's not very difficult to re-order the list so it's hardcoded Quote:oh, and starting with 00 and ending with 16?However, color 16 exist already: Code: Yellow=38,159,255 ; 16 Pastel yellow black -> LightGold (Orange) white -> LightGrey (White) Code: [MenuColors] RE: Patching extra functionality into <gamemd.exe> - Bobingabout - 19.08.2006 CnCVK Wrote:so does 11!!!Quote:oh, and starting with 00 and ending with 16?However, color 16 exist already: Code: NeonBlue=185,156,238 ; 11 Violet MP0 01 MP1 05 MP2 10 MP3 14 MP4 06 MP5 12 MP6 08 MP7 07 MP8 00 MP9 02 MP10 03 MP11 04 MP12 09 MP13 11 MP14 13 MP15 15 CnCVK Wrote:It's add new colors: black and white to combo boxi see, but, if you select "???" for Random colour, can 1 of the ones it picks be 1 of the new 8? as i said, to allow "???" for Random country to be able to select 1 of the new ones, PD had to add the NewPlayableCountries= tag. RE: Patching extra functionality into <gamemd.exe> - VK - 19.08.2006 Quote: see, but, if you select "???" for Random colour, can 1 of the ones it picks be 1 of the new 8?I not testing this thing (Now try Quote:as i said, to allow "???" for Random country to be able to select 1 of the new ones, PD had to add the NewPlayableCountries= tag.Not need. I calculate additional colors number Code: [MenuColors] RE: Patching extra functionality into <gamemd.exe> - pd - 19.08.2006 some 1.09 feature: Code: [WeaponType] if you wonder why this is not in 1.08 already, I sent the 108 exe over to Marshall already RE: Patching extra functionality into <gamemd.exe> - Tratos - 19.08.2006 heh, nice. RE: Patching extra functionality into <gamemd.exe> - Renegade - 19.08.2006 I like the colors selected |