mrnikosia Posted May 16, 2007 Report Share Posted May 16, 2007 (edited) I have searched through all the pck files, but cannot find the imagesfor the bullets flying in the air themselves!Anybody have a clue? Edited May 19, 2007 by mrnikosia Link to comment Share on other sites More sharing options...
mrnikosia Posted May 19, 2007 Author Report Share Posted May 19, 2007 Common, nobody knows?? pllzzzzzz! Link to comment Share on other sites More sharing options...
j'ordos Posted May 20, 2007 Report Share Posted May 20, 2007 IIRC it was X1.pck (which also contains the explosions). Not sure though, been a long time.Note that the bullet 'trails' are created on the fly, they are not stored as an image. So it'll look a bit weird. Link to comment Share on other sites More sharing options...
mrnikosia Posted May 20, 2007 Author Report Share Posted May 20, 2007 IIRC it was X1.pck (which also contains the explosions). Not sure though, been a long time.Note that the bullet 'trails' are created on the fly, they are not stored as an image. So it'll look a bit weird. Hey, trais are not in images, strange!I took a look at X1, but it only contains explosion.Thnx anyway m8! Link to comment Share on other sites More sharing options...
mrnikosia Posted May 25, 2007 Author Report Share Posted May 25, 2007 Ok, i conclude that the bullet itself is generated or inlined in the code,it is only 9 pixels (3x3), and for each type of bullet simply the color (palette) changes.So no image files for this! Xcom bullets Busted! Link to comment Share on other sites More sharing options...
j'ordos Posted May 25, 2007 Report Share Posted May 25, 2007 The heavy cannon/rockets/etc have different bullet images though?Can't find the bullet images anywhere either... Maybe I was confusing with the bullet impact explosion images in the smoke.pck file. Link to comment Share on other sites More sharing options...
mrnikosia Posted May 25, 2007 Author Report Share Posted May 25, 2007 The heavy cannon/rockets/etc have different bullet images though? True I have some more screenshots of the bullets, it seems they are made out of patterns (particles). Some examples of these patterns: x x x x x x oxox#xoxo ... and so on So the bullets are actually a number of particles!And the advantage/reason behind it is that they don't have to be pre-drawn for each direction they are moving at.K that means implementing it changes a few things Link to comment Share on other sites More sharing options...
uncy Posted April 28, 2008 Report Share Posted April 28, 2008 So? Did you get to change bullets images??? I have tried also to find them in the code, no luck... Please tell us if you get them!! Uncy Link to comment Share on other sites More sharing options...
mrnikosia Posted April 28, 2008 Author Report Share Posted April 28, 2008 So? Did you get to change bullets images??? I have tried also to find them in the code, no luck... Please tell us if you get them!! Uncy Well there only exist these pattern images, probably inside the code as a struct.Each of these patterns follows the bullet path at same speed only some pixelsdistance from each other. This has the advantage over making imagesthat you would have to rotate the image towards where the bullet is going,or that you would have to need a whole 360 set of images each for every degreein direction Link to comment Share on other sites More sharing options...
uncy Posted April 28, 2008 Report Share Posted April 28, 2008 So? Did you get to change bullets images??? I have tried also to find them in the code, no luck... Please tell us if you get them!! Uncy Well there only exist these pattern images, probably inside the code as a struct.Each of these patterns follows the bullet path at same speed only some pixelsdistance from each other. This has the advantage over making imagesthat you would have to rotate the image towards where the bullet is going,or that you would have to need a whole 360 set of images each for every degreein direction I Find it hard to believe they do not have those images in a 360 set. They did it with everything else, plus, when you throw a grenade or flair, the actually show the "floorob.pck" image while traveling... I will just love to make a Big Blue Plasma Shot Thanks and I will keep looking in the tactical executable for those "images" Link to comment Share on other sites More sharing options...
uncy Posted May 7, 2008 Report Share Posted May 7, 2008 (edited) Here they are! I found them just below the Damage Modifiers. There are bytes that I don't know what they do, and it is very weird how they work. The bytes refer to the Colors to be draw as patterns, for example 48 is green for plasma, 90 for Rifle Bullet, 07(or 5F?) for Laser and C8 purple for Stun Missiles and Blaster missiles. You can change their "trail", "smoke" or "Body". I still don't know how it all works, but it need intense testing... I recomend anyone wanting to test them, to edit and use a "tactical.exe" in a unfinished mission with soldiers equiped with all sorts of wpns. Replace Colors to "48"(green) for example, as it is very easy to detect in game. This is an example of the data... Rifle and Pistol AP Bullets Pattern:9393929190009091929393939291909091929300000000009091920000000000009091000000000000009000The first bytes draw a traveling red "bullet" or "circle", it is darker outside. the rest, draws the traveling red "trail" that follows it. Laser Beams function diferently, only the first 2 bites draw for almost 80% of the Laser "Beam3, the rest of the code draws the very last portion of it... Missiles are a mix of patterns, same with the Cannon AP Shell, it draws a blue "square" on top of a Rifle AP Bullet, then draws the smoke pattern, and then a "laser" beam trail, very confusing... Hope you guys get interested about this new Data, can't wait to see it in UFOPaedia UncyUFO_Dmg_Mod_and_Bullet_Patterns.xls Edited May 7, 2008 by uncy Link to comment Share on other sites More sharing options...
zaimoni Posted May 7, 2008 Report Share Posted May 7, 2008 .... This is an example of the data... Rifle and Pistol AP Bullets Pattern:9393929190009091929393939291909091929300000000009091920000000000009091000000000000009000The first bytes draw a traveling red "bullet" or "circle", it is darker outside. the rest, draws the traveling red "trail" that follows it. Laser Beams function diferently, only the first 2 bites draw for almost 80% of the Laser "Beam3, the rest of the code draws the very last portion of it...Or not. XCOM and XCOM2, at least, use an in-house run-length-encoding type algorithm that explicitly supports transparency for images. This is plausibly an adaptation. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now