20.08.2006, 14:50:02
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
20.08.2006, 23:13:55
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.
21.08.2006, 08:12:12
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
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
21.08.2006, 15:18:24
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.
that's a good idea.
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
21.08.2006, 16:09:00
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
EBoltColor1=transparent
21.08.2006, 17:58:39
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?
EBoltColor1=0,house,0
EBoltColor2=house,house,house
EBoltColor3=house+100,transparent,house-100
or is that too difficult/inefficient?
21.08.2006, 18:14:25
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?
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
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
line from "YRClasses 2":
0x20C AnimType* NukeFirstAnim
but you stored LPSTRUnhappy
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
21.08.2006, 18:43:20
Kushan Wrote: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?
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
21.08.2006, 19:50:44
CnCVK Wrote:PCX files can be 24 bit.Quote:don't forget PCX256-colors PCX files into SHP-65536 colors.. funny
21.08.2006, 22:03:50
Tratos Wrote:Kushan Wrote: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?
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
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.
21.08.2006, 22:30:33
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".
21.08.2006, 22:38:43
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?
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?
22.08.2006, 11:15:00
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).
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).
22.08.2006, 13:48:47
Quote:EBoltColor2=transparentHowever we have another, more impotant things
EBoltColor3=house,50
22.08.2006, 19:24:51
Of course. I will never even USE this feature if it is implemented. I was just sharing ideas.
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