stefanhendriks Posted August 5, 2002 Share Posted August 5, 2002 tried it, liked it, keeping it! ;Dbtw, i saw you used seed files (from dunedit?). Also the gfx you extracted (?) is pretty good! nice one. Quote Link to comment Share on other sites More sharing options...
LPC-Disco_Inferno Posted August 5, 2002 Share Posted August 5, 2002 Just try lvl22 with atreides. Got kicked!!!!Hehehe but i will beat the game once on that lvl hehehe.Anyway why do the sonic tanks shoot bullets??Bless Quote Link to comment Share on other sites More sharing options...
TonyD Posted August 6, 2002 Author Share Posted August 6, 2002 Excellent work Gobalopper,perhaps Ill host it on my site toooh yeah, sonic tanks will shoot shells uintil i figure out a good way of imitating the old "shimmery" effectStefan:yep thats right, i got the seeds from dune edit, I wonder if he ever finished all of them... Quote Link to comment Share on other sites More sharing options...
TonyD Posted August 6, 2002 Author Share Posted August 6, 2002 same with the worms too Quote Link to comment Share on other sites More sharing options...
XTF Posted August 6, 2002 Share Posted August 6, 2002 Stefan:yep thats right, i got the seeds from dune edit, I wonder if he ever finished all of them...FYI: Stefan is the author of that app. Too bad nobody knows how to use the seeds directly.It seems you're using the original graphics, just at a higher resolution. Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted August 6, 2002 Share Posted August 6, 2002 i thought i finished all the seeds of dune 2, but i probably lost them (to bad, took me a lot of time to get them).thx olaf for the introduction btw ;) Quote Link to comment Share on other sites More sharing options...
vidiware Posted August 6, 2002 Share Posted August 6, 2002 Tony did you use stefans u dune2 to continiue on?and seed files what are we talking about? Quote Link to comment Share on other sites More sharing options...
Guest Duke_Killersiil Posted August 7, 2002 Share Posted August 7, 2002 :oI want a screenshot!!! >:( Quote Link to comment Share on other sites More sharing options...
vidiware Posted August 7, 2002 Share Posted August 7, 2002 download then, if u have seen dune2 u have seeen Legacy screen type Quote Link to comment Share on other sites More sharing options...
nemafakei Posted August 7, 2002 Share Posted August 7, 2002 Nice! And it includes the d2 music I'd been missing! Why do half of the options on the menu mess up, though? And why is the game relatively slow, even on 500Mhz/128MB PC? Is it a timer-slowed game?One problem I have is that trying to harvest spice is infuriating! The AI with prebuilt bases has a huge advantage since it's very difficult to retain enough spice to build anything but the simplest of armies. Although Troopers are extremely effective - are they actually Sardaukar, or is it just the picture? Quote Link to comment Share on other sites More sharing options...
TonyD Posted August 8, 2002 Author Share Posted August 8, 2002 Tony did you use stefans u dune2 to continiue on?and seed files what are we talking about?That was what I was initially going to do - I tried to use stefans, but I decided it just wasn't worth the time to understand it all, so I started from scratch - although I did use a little bit of his random map generation code in there somewhere.The seed files? For somereason I thought they came with dune2edit, did u create them stefen? Somehow it seems Im missing a few of the ordos ones, perhaps I should look around Quote Link to comment Share on other sites More sharing options...
TonyD Posted August 8, 2002 Author Share Posted August 8, 2002 Nice! And it includes the d2 music I'd been missing! Why do half of the options on the menu mess up, though? And why is the game relatively slow, even on 500Mhz/128MB PC? Is it a timer-slowed game?One problem I have is that trying to harvest spice is infuriating! The AI with prebuilt bases has a huge advantage since it's very difficult to retain enough spice to build anything but the simplest of armies. Although Troopers are extremely effective - are they actually Sardaukar, or is it just the picture?Many of the menu options wont work because they havent been implemented yet - multiplayer, editor and such. If u press on the singleplayer single or random map buttons it will apear to freeze but actually its doing some very unoptimised pre map calculation stuff - I have fixed this problem already.Problem with speed is because its got a very complex path searching algorithm which will slow oldish computers like yours down alot - Ill have to get around to optimisations soon enough.Nah thats just the image of saudarkar troopers, weren't the actually the same in the original? Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted August 8, 2002 Share Posted August 8, 2002 @Tony:the rmg in UDUNE2 (the same as in Arrakis btw ;)) is very fast. And a path finder that slow? I dont know which one you use, but an A* algorithm with some danger into account should make the path finding pretty fast. You should store the result in some array ofcourse. ;) Quote Link to comment Share on other sites More sharing options...
nemafakei Posted August 8, 2002 Share Posted August 8, 2002 http://www.dune2k.com/forum/Images/Avatars/Dune2-TrooperSingle.jpgThat's a trooper. I think Sardaukar were more powerful, too. Quote Link to comment Share on other sites More sharing options...
neonext Posted August 9, 2002 Share Posted August 9, 2002 @Tony:the rmg in UDUNE2 (the same as in Arrakis btw ;)) is very fast. And a path finder that slow? I dont know which one you use, but an A* algorithm with some danger into account should make the path finding pretty fast. You should store the result in some array ofcourse. ;)me and TonyD are both using unoptimized A*are you suggesting storing the entire path in an array? Quote Link to comment Share on other sites More sharing options...
vidiware Posted August 9, 2002 Share Posted August 9, 2002 Whats the special ability for an array ??? no very familar with thing like that... ::) Quote Link to comment Share on other sites More sharing options...
Gobalopper Posted August 9, 2002 Share Posted August 9, 2002 You don't know what arrays do? Quote Link to comment Share on other sites More sharing options...
TonyD Posted August 9, 2002 Author Share Posted August 9, 2002 @Tony:the rmg in UDUNE2 (the same as in Arrakis btw ;)) is very fast. And a path finder that slow? I dont know which one you use, but an A* algorithm with some danger into account should make the path finding pretty fast. You should store the result in some array ofcourse. ;)yeah I had a go at storing it before but hadn't got it going but now I have :), it works excellently. I also have a check-if-searched-all-around-a-dest system happening too, to avoid a*'s habit of searching the whole map when a dest is unreachable Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted August 9, 2002 Share Posted August 9, 2002 for the moment, i have a Unit class:class c_Unit:{// code int path[MAX_NODES];// code};each node is just representing the next cell a unit should move to. I am not really an expert in A*, i dont have one in the project i am working on. But i wrote one in a unreleased project for RealBot, which also takes danger into account and some other stuff. Actually you only need to recalculate a path if your path is not blocked. So , only re-calculate when a node in your path is somehow occupied, and if it is occupied check also if it will move, i would do something like:for (int i=0; i < MAX_NODES; i++){ // only check used nodes if (path > -1) { // Because i store the cell info somewhere else i have: if (map[path].status > -1) { // todo: add code for check if its a unit/building, assuming its a unit now int unit_id = map[path].status; if (units[unit_id].goalcell <> units[unit_id].currentcell) { // its okay, this cell will be cleared soon. } else path_create(); // recalculate path here } } else break;}i just wrote it as i am writing this post, so i dont know about compiling issues or whatever. YOu'll get the idea ;)btw, if you have a table (floyd) you can actually calculate if a unit is able to move to the destination before really calculating the entire path. However, this wont work on walls and such, so this only will make sure the unit will not calculate a path to a destination it will not reach due terrain issues. Nothing more, nothing less ;) Quote Link to comment Share on other sites More sharing options...
vidiware Posted August 9, 2002 Share Posted August 9, 2002 c++ guys what are a class and what are the differences between a class and a function??? Quote Link to comment Share on other sites More sharing options...
neonext Posted August 10, 2002 Share Posted August 10, 2002 c++ guys what are a class and what are the differences between a class and a function???a function is a block of code that is written for a purpose. it always starts with the name, parameters inclosed in parenthesis, and then brackets example:void DestroyUnit(int iPlayer, int iUnit){ //code goes here}in fact, the main body of your program is all inside a Main functionfunctions are normally used to calculate something, and then return a value. you have to declare the type of the value when you are declaring the function. example:int MinusTen(int iNumber){ int iResult = iNumber - 10; return iResult;}now, when u use this in your code you will say, x = MinusTen(12); for example, and the function would assign the value of 2 to x. functions that are initialized with a data type instead of void MUST return a value Quote Link to comment Share on other sites More sharing options...
vidiware Posted August 10, 2002 Share Posted August 10, 2002 thank you! but whats the difference between a function and a class? what does the classs that a function not can do or so... Quote Link to comment Share on other sites More sharing options...
neonext Posted August 10, 2002 Share Posted August 10, 2002 i am still learning classes, but from what i know, they are a way of storing variables. there are a few special things about classes. like when the objects in the class are initialized, they run a whole function. so in a way a class is like a structure, but with related functions included Quote Link to comment Share on other sites More sharing options...
nemafakei Posted August 10, 2002 Share Posted August 10, 2002 If you can't do a shimmer, can you create a translucent, pale grey objct to act as the sound wave? If not a ghosted object, perhaps just one with every other pixel being transparent. Quote Link to comment Share on other sites More sharing options...
TonyD Posted August 10, 2002 Author Share Posted August 10, 2002 0.10 is outah, yes - I've got a crappy looking shimmer on the latest version which is on my icq page now, Anyone one to make a better looking one? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.