| 11-17-2003, 01:19 AM | #1 |
Click here to download. It's got around 22,000 lines of scripting code (I was able to optimize it a bit in the last week getting rid of a couple thousand). I'm using hundreds (literally...hundreds) of regions, and hundreds of variables. It's probably not the most efficient coding, but I'd like to think that anyone who watches it will find something they think is cool. It features a homegrown camera system that renders the existing camera panning obsolete. Put simply, it takes existing camera points and instead of tracking from point to point, it generates a curve to fit the points so the movement is fluid without any of the harsh edges of camera panning. There's also numerous other systems all coded from the ground up. Of course, you also have to deal with my wretched-poor terraining and god-awful voice acting. *cough* I'd talk about them, but I'd rather not spoil the surprises =). The map is unlocked so you can see how I've done anything that may not be obvious. If you want to rip code from it, I'd like it if you were to improve on it. If not, at least give me credit. Enjoy! |
| 11-17-2003, 12:09 PM | #2 |
Nicely done Dave! I'm glad you finally released it:D And thanks for your thanks :p |
| 11-22-2003, 05:28 PM | #3 |
Wow! Absolutly amazing! Would I need to create 8000 units to do that? or are they fo rthe system? |
| 11-22-2003, 05:58 PM | #4 |
Your method seems to cause my PC to crash... Way too memory intensive it seems.. |
| 11-23-2003, 04:25 AM | #5 |
Il see it sunday morning.. im about to hit the bed with the pillow on my head.... Too bad im using my mac now. Il give more useful feedback when i wake up. I think il like this.... P.S. Earlier today i made a map where a farm is shielded by 4 power generators, but when i click start game, wc3 crashes instantly. hmm... il post a thread for that in the mornin. |
| 11-23-2003, 07:41 PM | #6 | ||
Quote:
Eh?!? What's the specs on your pc? Where does it crash? I've run the system on a 1ghz w/ a Geforce2 and didn't have any problems. I mean...it was a little slow, but everything is on that. ;) Quote:
The system uses a ton variables, and that accounts for smoothing out not only the X and Y axis of the camera, but height, distance from target, angle of attack, roll, and rotation. Virtually every attribute of the camera is rounded off giving a very smooth and fluid motion, and in order to do that, it cranks a lot of numbers. ;) The calculations, however, are relatively insignificant when compared to the thousands of calculations your cpu does just to render terrain, and I haven't noticed any framerate hit running the camera vs. normal panning on the systems I've tested on, and I CERTAINLY haven't noticed any crashing. emote_sweat The reason I'm using so many regions is mostly for the earthquake sequence (where I drop over 200 boulders) and also the race sequence uses them pretty heavily. While the camera code uses a great deal of variables, the bulk of them in the map are applied to the race sequence. I'm hoping to be able to impliment the camera system into PitzerMike's WE:Unlimited, so it'd be extremely easy for everyone to use. I HATE camera panning. Really. |
| 11-25-2003, 07:09 PM | #7 |
my pc crashes when i click on the map. That means it crashes before i even start the game (as in pusting the start button)! |
| 11-25-2003, 09:06 PM | #8 | |
Quote:
Are you double clicking on the map to open it? If you try to open the map in WE, you'll get a "Trigger Function does not exist in Database". You've got to open the map either from WE:Unlimited, or load it up by starting up Warcraft, custom game, and finding it. If that's not it, I haven't the foggiest idea why it's crashing. emote_sweat |
| 11-25-2003, 09:24 PM | #9 |
[glow=2,strength=3,color=red] Holy Crap[/glow] that was amazing great work, great work |
| 11-26-2003, 08:51 PM | #10 |
I'm going to go check it out now. A new camera system might be interesting. |
| 11-26-2003, 08:53 PM | #11 |
uhh, you click the "here" in the first post(its a differnt color) |
| 11-26-2003, 08:54 PM | #12 |
Yeah, I noticed that after a second glance and edited my post. Thanks! |
| 11-26-2003, 10:14 PM | #13 |
I found it is "custom game" but when i click on the map's "slot" on the list of games to play, War3.exe crashes and has an error message that says summing about "couldnt find target picture" or summing like that. |
| 11-26-2003, 11:33 PM | #14 | |
Quote:
Wow...freaky! Anyone have any idea why this could be working on some systems but not others? I definitely haven't seen anything like that. :bulb: Would you mind trying this link? People who have already seen the main movie have no reason to see this, as this is nothing more than an early test I used to make sure everything on the camera code worked, but if the camera code is what's crashing Warcraft, I'd like to figure out how. emote_sweat |
| 11-27-2003, 12:09 AM | #15 |
I must have had a corrupted map... I re-dled it and it had no problem. Loved your movie! |
