Skye Posted June 8, 2007 Share Posted June 8, 2007 I thought about making a ball of fire that works the same way as a lightning bolt (without the bouncing), so the first thing that came to mind was to find the projectile file. I went to check in DLTCEP and it lists it as 40 - Lightning Bolt but the file is Unknown, so next I went to the PROJECTL.ids but under 0x0028 it says STONE so that wasn't really it. After that I opened NI and looked in the PRO folder but all I could find was LIGHTBLT.pro and that one doesn't look like anything special. So where is it? Hardcoded? If so, can anyone tell me what to do to make a projectile harm everything in its way if it's even possible to duplicate that? Thanks in advance. Link to comment
Skye Posted June 8, 2007 Author Share Posted June 8, 2007 Hardcoded.No way to duplicate either? Link to comment
devSin Posted June 8, 2007 Share Posted June 8, 2007 Not exactly. I suppose it's possible you might be able to get away with a small arc, long cone, but it doesn't sound very attractive. Avenger will know if it's completely impossible. Link to comment
Skye Posted June 8, 2007 Author Share Posted June 8, 2007 Sounds like a lot of trouble for something simple, I think I'll come up with a better idea for a spell Link to comment
Nythrun Posted June 9, 2007 Share Posted June 9, 2007 Does anyone know what metric the cone width field uses, roughly (in something sane, like radians or degrees?) Cones that are narrower than 0x10 or so tend to not animate, or not hit their targets, or both. Link to comment
Skye Posted June 9, 2007 Author Share Posted June 9, 2007 Each 0x10 (16 numeric steps) is roughly 22 degrees, it's a bit more but this should give you a good enough idea what it should look like. Link to comment
Nythrun Posted June 9, 2007 Share Posted June 9, 2007 Sorry, I phrased that poorly - I'm not looking for the constant 360/256. The angle used in .pro files is generated by a discontinuous function, and I don't know what the intervals are (e.g. I don't know if an angle of 1 is any different than 0, and if so, how far away from the source it begins to exist, and if not what the first angle that produces an effect is, etc). More research for the Department of Copious Spare Time, if Avenger hasn't had to do it already. Link to comment
Skye Posted June 9, 2007 Author Share Posted June 9, 2007 I see what you mean, I guess the easiest would be to test it like I test my spells, spawn a bunch of skeletons or goblins and aim roughly in their direction. It shouldn't take more than half an hour to get a good idea what the changes are if any. I never really bothered with anything more meticulous than what DLTCEP offers (steps of 0x10). Link to comment
Avenger Posted June 9, 2007 Share Posted June 9, 2007 I don't know about these things more than already written, but i also need information What i can promise is gemrb will support lightning bolt like projectiles (bouncing, affecting everyone in path). But i delayed implementation in hope that a .pro file supports these features in a yet to be discovered way. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.