The following warnings occurred: | |||||||||||||||
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.24 (Linux)
|
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> - VK - 20.08.2006 Yes. I planned it for 1.09 Now I write utility which allow to convert PNG, BMP, JPG files into SHP16. RE:  Patching extra functionality into <gamemd.exe> - Bobingabout - 20.08.2006 CnCVK Wrote:Now I write utility which allow to convert PNG, BMP, JPG files into SHP16.don't forget PCX us XCC users keep everything in PNG or for the older version PCX. and the older versions are better, because the newest 1 crashes when you try to do anything with PNG at all. RE: Patching extra functionality into <gamemd.exe> - pd - 21.08.2006 I'm currently rewriting the whole SW loading routines. so @CnCVK: don't mess with superweapons now, please! BTW, you said instead of using temp values, I should use temp superweapons. that's a good idea. I'll put 8 temp superweapons into the game, so you can have 8 cloned superweapons active at a time (atm, you can only have one, did anybody notice that? well, it could cause IEs I think) EDIT: hm, some things have to be stored in temp variables, but I'll keep them as little as possible RE: Patching extra functionality into <gamemd.exe> - VK - 21.08.2006 Quote:don't forget PCX256-colors PCX files into SHP-65536 colors.. funny Also I forgot BMP Quote:BTW, you said instead of using temp values, I should use temp superweapons.I talk about pointers to SuperWeaponTypeClass. Quote:I'll put 8 temp superweapons into the game, so you can have 8 cloned superweapons active at a time (atm, you can only have one, did anybody notice that? well, it could cause IEs I think)And how you check which LStorm now need process? @PD about save bug: 00BA16CFh Old = 74h New = 0EBh  I assumed that information in YRClasses 2 is right line from "YRClasses 2": 0x20C AnimType* NukeFirstAnim but you stored LPSTR RE: Patching extra functionality into <gamemd.exe> - Tratos - 21.08.2006 On the topic of the electricbolts, any way to get them transparent so you would only be able to see one or two and not the full three? perhaps a special case for the tag like; EBoltColor1=transparent RE: Patching extra functionality into <gamemd.exe> - Kushan - 21.08.2006 For the electrobolt colours, would it be difficult to do something like this: EBoltColor1=0,house,0 EBoltColor2=house,house,house EBoltColor3=house+100,transparent,house-100 or is that too difficult/inefficient? RE: Patching extra functionality into <gamemd.exe> - pd - 21.08.2006 i think we should introduce special numbers for this, like for the verses. a color value of 1,1,1 could mean transparent, 2,2,2 could mean housecolor since there's almost no difference between 2,2,2 and 0,0,0, that shouldn't be a problem and wouldn't need to many special routines. thoughts? "CnCVK Wrote:I assumed that information in YRClasses 2 is rightMad I noticed this today when I rewrote the SW loading routines... sorry, I thought it would be an AnimType (jonwil coded the nuke clones, I didn't know ) but K, i'll fix it. i will have the new sw loadings finished soon. besides I play a BIG update on the anim SW RE: Patching extra functionality into <gamemd.exe> - Tratos - 21.08.2006 Kushan Wrote:For the electrobolt colours, would it be difficult to do something like this: Uh, rgb doesn't work like that, what you have suggested would probably cause numerous crashes. The values are specified as RGB so the first value is how much red there is, second is green and third blue. Like mixing paint together you can have any colour you like from using different amounts. Specifiying something like; EBoltColor3=100,100,0 would mean 100 red, 100 green and 0 blue. You would get a yellow colour. Something like; EBoltColor3=house+100,transparent,house-100 would mean that the first value (red) would be your house colour plus 100 red. But, if your house colour is green that makes it green + 100 red. green + red doesn't make red it makes yellow and im not sure how the game would handle this. @Pd: I think that is a very good idea but i still think having a single term for the two variations would be much easier (modder wise, i have no idea if it would be easier for you) and avoid such confusion as above. i.e. EBoltColor2=transparent EBoltColor3=house RE:  Patching extra functionality into <gamemd.exe> - Bobingabout - 21.08.2006 CnCVK Wrote:PCX files can be 24 bit.Quote:don't forget PCX256-colors PCX files into SHP-65536 colors.. funny RE: Patching extra functionality into <gamemd.exe> - Kushan - 21.08.2006 Tratos Wrote:Kushan Wrote:For the electrobolt colours, would it be difficult to do something like this: I know how RGB works, the idea behind it was so that modders could specify just how much variation there was between house colours used. I was thinking the value "house" would just pick the value of the R, G or B from the house colour and the other value would add to it by the amount specified up to 255.. From what PD said though, I think he's on to something. You could maybe even have 3,3,3 as "house colour + random offset" for a bit of variation. RE: Patching extra functionality into <gamemd.exe> - VK - 21.08.2006 Quote:PCX files can be 24 bit.But 24-bit PNG better then PCX, and I have not any documentation about 24-bit PCX. However, my program is supporting only BMP files. Another files, such as JPG, GIF, PNG, are using "Image Filter". RE: Patching extra functionality into <gamemd.exe> - Vinifera7 - 21.08.2006 The single term method seems best, but one additional term could be added if it is house color. This would be a greyscale indicator so that the game knows how dark or light to draw the house color. For example: EBoltColor2=transparent EBoltColor3=house,50 I have no idea what units to use for that; the number 50 was completely arbirary. But you get my idea? RE: Patching extra functionality into <gamemd.exe> - pd - 22.08.2006 of course I get the idea, and I'll overthink this again (got a note in my TODO list ) so I decided to release a 1.08b version, it will not include many new features, but at least a few (mostly SW related). of course, the main attention is on bugfixing. something I noticed is that despite my thoughts a few people don't know about RAR, that's why in the future, I'll not compress the installer anymore (it's compressed 20KB or so only, so that's no problem to anybody). RE: Patching extra functionality into <gamemd.exe> - VK - 22.08.2006 Quote:EBoltColor2=transparentHowever we have another, more impotant things RE: Patching extra functionality into <gamemd.exe> - Vinifera7 - 22.08.2006 Of course. I will never even USE this feature if it is implemented. I was just sharing ideas. |