D2X-XL Q&A

D2X-XL - Descent II update for modern systems with many new features and enhanced graphics. Home Page

Moderators: Grendel, Aus-RED-5

User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Not intentionally.
User avatar
Jeff250
DBB Master
DBB Master
Posts: 6511
Joined: Sun Sep 05, 1999 2:01 am
Location: ❄️❄️❄️

Post by Jeff250 »

Diedel wrote:(mp3 only if either SDL supports it or I find some free lib that does).
Have you looked into smpeg?
http://freshmeat.net/projects/smpeg/
User avatar
Pumo
DBB Captain
DBB Captain
Posts: 779
Joined: Tue Jan 18, 2005 11:48 pm
Location: Mexico
Contact:

Post by Pumo »

Cool, at last D2X-XL will have MP3 or OGG support! Yay! :D :shock: :D :shock: :D

I'm so happy... :cry:
User avatar
DizzyRox
DBB Ace
DBB Ace
Posts: 157
Joined: Sun Jul 25, 1999 2:01 am
Location: Sedalia
Contact:

Post by DizzyRox »

Hey Diedel, how much further can the object models go in regards to, with items still very large (texture weight wise) like the doors/power up orbs/ and energy fields. Can those be feasably and functionally turned into models, or do you anticipate everything to smooth out as the models are majority to the sprites?
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Dizzy,

sorry, I don't understand your question. :)
User avatar
Aus-RED-5
DBB Friend
DBB Friend
Posts: 1604
Joined: Fri Apr 23, 2004 7:27 am
Location: Adelaide, South Australia
Contact:

Post by Aus-RED-5 »

I think the guts of what he is asking is......

Is it possible to replace all animated textures with models to save space?
Anything that is a sprite can be turned into a model?
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Theoretically, doors could be turned into objects, but that would require some more coding. The other animations ... hm ... :?
User avatar
DizzyRox
DBB Ace
DBB Ace
Posts: 157
Joined: Sun Jul 25, 1999 2:01 am
Location: Sedalia
Contact:

Post by DizzyRox »

Yes sir ,that was the bottom line, thanks Aus :)
i.e...door models with collision detection to open them. 8)

doors would prolly be a real gain,
abate you'd have to modify DLE-XP also, eh?
Im not sure how well the p-ups would look though, as models, without, what is it, multitextureing and/or shaders?
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

No, I'd just replace door textures by powerups in-game.
User avatar
DizzyRox
DBB Ace
DBB Ace
Posts: 157
Joined: Sun Jul 25, 1999 2:01 am
Location: Sedalia
Contact:

Post by DizzyRox »

I see ,cool :)

One last thing, Is there anything we can do, modeling and/or texturing to help get the shadows working better/correctly, or is this a limitation of the oof format?
thanks
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

The models need to have closed hulls. There must not be holes in the model's hull, not even if it doesn't affect normal rendering. Adjacent faces (i.e. faces sharing an edge), need to share the edge's vertices, too. Faces must not overlap.

Something like this:

face 1 edge: x-----------z
face 2 edge: x-----y-----z

Where face 1 and 2 share vertices x and z, but face 2 has an extra vertex y is not permissible either.
Weyrman
DBB Ace
DBB Ace
Posts: 163
Joined: Thu Oct 06, 2005 5:40 pm
Location: Brisbane Australia

Post by Weyrman »

I have just finished level 1 of Lost Levels and I have a question concerning robot behaviour which was really noticeable in this level but I have also noticed in standard D2. Robots, particularly smaller ones seem to wizz away, often towards me, when hit with a glancing blow from primary weapons, specially lasers. I expect them to dodge and attack but they seem to move immediately at max velocity, often running directly into me.

This may not be a bug I know, but seems to something that has crept in recently.

Anybody else notice this kind of behaviour?
Pilot from Oz
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Try with standard bots in standards levels to verify. Lost Levels is by no means a measuring rod for regular game behaviour.
Weyrman
DBB Ace
DBB Ace
Posts: 163
Joined: Thu Oct 06, 2005 5:40 pm
Location: Brisbane Australia

Post by Weyrman »

Ok, I stand corrected and humbled. As the level of difficulty goes up, the robots become more aggressive in their nature. I was too used to the small ones sniping and running and recently I have upped the difficulty level and didn't realize that this was now standard behaviour, I just considered it as aberrant.

Thanks for the nudge in the right direction for working this out.

I tried the level D2:CS 1 on insane and have no idea how anyone survives! :?
Pilot from Oz
Weyrman
DBB Ace
DBB Ace
Posts: 163
Joined: Thu Oct 06, 2005 5:40 pm
Location: Brisbane Australia

Post by Weyrman »

What is the benefits of having 3d models of things over graphics? I must admit that the new hi-res powerups are very nice to look at and as the models don't seem to do rounds very well so don't look as nice.

I have picked up that the models have less memory load and also throw shadows. Are these the pluses?
Pilot from Oz
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Jeff250 wrote:
Diedel wrote:(mp3 only if either SDL supports it or I find some free lib that does).
Have you looked into smpeg?
http://freshmeat.net/projects/smpeg/
I have been debugging that frackin smpeg for two days to make it work. It doesn't crash for me now anymore, but I am not sure it really works until a lot of people have successfully used mp3 music with d2x-xl.
User avatar
Aus-RED-5
DBB Friend
DBB Friend
Posts: 1604
Joined: Fri Apr 23, 2004 7:27 am
Location: Adelaide, South Australia
Contact:

Post by Aus-RED-5 »

Weyrman wrote:What is the benefits of having 3d models of things over graphics?
Answer
Weyrman wrote:I have picked up that the models have less memory load and also throw shadows.
Weyrman wrote:Are these the pluses?
Partly.
Shadows and less memory is great, but it will be even better when all the powerups are 3D hires models like the ones Dizzy made in tga format! :)
The other thing is you can look at the models in any direction and not have the image [sprite] viewed in only one direction.
Weyrman wrote:I must admit that the new hi-res powerups are very nice to look at and as the models don't seem to do rounds very well so don't look as nice.
What do you mean by "do rounds very well"?
Spinning around? Like the original powerups?

At this point. I like the natural look and feel of them floating/ kinda spinning.

I'm sure that this is only a test to see how things will work.
I wouldn't doubt that Diedel can make them spin like the original powerups.

I just hope he gives us an option to choose between a natural feel spinning and the original spinning. :P
Weyrman
DBB Ace
DBB Ace
Posts: 163
Joined: Thu Oct 06, 2005 5:40 pm
Location: Brisbane Australia

Post by Weyrman »

No, I didn't mean spinning, I meant round as in cylindrical as in the round bodies of the missiles. I know the current ones look pretty round but you can see all the segment seams and it just doesn't look as good (eye candy wise).
Pilot from Oz
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Ofc the sprites look awesomely detailled, clean and shiny. But yet ... I prefer the models: Even if they look coarser, somehow they look more realistic. Imo they fit perfectly to the game. The sprites are just *too* nice. :roll:
User avatar
Top Gun
DBB Master
DBB Master
Posts: 8019
Joined: Wed Nov 13, 2002 3:01 am

Post by Top Gun »

Besides that, there's the fact that Descent was known for being one of the first games to have actual polygonal enemies, as opposed to the sprite enemies used in previous 3D games (such as Doom, for instance). It's nice to finally get the chance to give it the polygonal weapons powerups to match. :)
User avatar
Aus-RED-5
DBB Friend
DBB Friend
Posts: 1604
Joined: Fri Apr 23, 2004 7:27 am
Location: Adelaide, South Australia
Contact:

Post by Aus-RED-5 »

Weyrman wrote:No, I didn't mean spinning, I meant round as in cylindrical as in the round bodies of the missiles. I know the current ones look pretty round but you can see all the segment seams and it just doesn't look as good (eye candy wise).
Ok, so what models are you talking about?

There is only 4 done at the moment.
Cons, guided, homers, and flash missiles.

Those ones don't need much detail. After all, they are mostly cylinder in shape.

The mega, smart and e-shakers missiles will need more detail because they have lots of features to look at.
User avatar
Chaos Death Saurer
DBB Ace
DBB Ace
Posts: 97
Joined: Wed Aug 23, 2006 8:10 am

Post by Chaos Death Saurer »

Will D2X have support for custom models? Like, if we wanted to use .oof models in a custom mission, would we be able to do that, or is there a way it can be done without overwriting the originals?
User avatar
Aus-RED-5
DBB Friend
DBB Friend
Posts: 1604
Joined: Fri Apr 23, 2004 7:27 am
Location: Adelaide, South Australia
Contact:

Post by Aus-RED-5 »

I'd say you can.

You would probably just need to do a request and send a copy of the lvl + Model to Diedel so he could code it in. :)
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Currently no oof robots are supported by D2X-XL (it's a question of getting one). I would need to add something to allow overriding default models once oof bots are available. That would mean all you have to do is give your custom bot the filename of the default bot it should replace and include it in your hog file. Something like that. This is only an idea of a concept right now though.
User avatar
Chaos Death Saurer
DBB Ace
DBB Ace
Posts: 97
Joined: Wed Aug 23, 2006 8:10 am

Post by Chaos Death Saurer »

I could make a few robots for you to use. I'm not sure if Dizzy is going to do any, but I could make a few placeholders so you could do the actual code for them.
User avatar
Sirius
DBB Master
DBB Master
Posts: 5616
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA
Contact:

Post by Sirius »

All versions of D2 from 1.1 and up support custom models of some sort, but .OOF is a different story.
User avatar
DizzyRox
DBB Ace
DBB Ace
Posts: 157
Joined: Sun Jul 25, 1999 2:01 am
Location: Sedalia
Contact:

Post by DizzyRox »

no need for shaders anyway ,right :roll:
Atixtasy
DBB Ace
DBB Ace
Posts: 55
Joined: Fri Oct 27, 2006 10:40 am

Post by Atixtasy »

Going into what Chaos was asking about incorporating custom models into d2x-xl, wouldn't it be possible to have, a routine that, say searched for custom bots in the bot folder and load them up with d2x-xl upon startup? That way if the person wanted to play a level with them they'd already be loaded, but if they didn't it wouldn't matter much.
User avatar
Aus-RED-5
DBB Friend
DBB Friend
Posts: 1604
Joined: Fri Apr 23, 2004 7:27 am
Location: Adelaide, South Australia
Contact:

Post by Aus-RED-5 »

As far as I know.... every \"model\" that is made for D2X-XL.
Diedel will need to know what model it will replace so that he can code it in.
Just like the powerups Dizzy is making. ;)

Having said that.
I'm guessing that Diedel could pre code the models names in and give a list of the following models he coded in.

But that is up to Diedel. :)
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Aus-RED is right on the spot.
Atixtasy
DBB Ace
DBB Ace
Posts: 55
Joined: Fri Oct 27, 2006 10:40 am

Post by Atixtasy »

I see what you mean but what I'm saying is...Ok for a scenario. I'm loading a level made by someone that has a custom robot. That's fine but Diedel if you put it into the level data (mn2) a table of any custom bots and any other data needed to load them into memory for use you really wouldn't have to hard code each and every one in. Make something like a custom robot manager for DLE-XP and have it put the code, (that you would other wise put in there yourself once you knew the modelname). You would after all have to have strict naming convention though.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Yeah dude, I have time to burn and so much money I don't need to work, so I should probably add that to DLE-XP.

Geez, when do people start to think before they post? :roll:
Atixtasy
DBB Ace
DBB Ace
Posts: 55
Joined: Fri Oct 27, 2006 10:40 am

Post by Atixtasy »

Edit by Aus-RED-5

Please use PM instead.

Thank you. :)
User avatar
Sirius
DBB Master
DBB Master
Posts: 5616
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA
Contact:

Post by Sirius »

Does D2X-XL support Descent 2 missions?!?

j/k
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Hm ... I am not entirely sure ... wait, I'll check with the debugger ... oh no they don't work! Shouldn't be a big problem.

Edit: Fixed! :P

Hehe!
Atixtasy
DBB Ace
DBB Ace
Posts: 55
Joined: Fri Oct 27, 2006 10:40 am

Post by Atixtasy »

lawl!!!
User avatar
Aus-RED-5
DBB Friend
DBB Friend
Posts: 1604
Joined: Fri Apr 23, 2004 7:27 am
Location: Adelaide, South Australia
Contact:

Post by Aus-RED-5 »

Jonathan Paskiewicz wrote:Whoops! I didn't read DRSP-readme in D2X-XL. I didn't know that new notepad! I understand about how to use hire hi-res textures & models. I putted them in TEXTURES folder. 3D model keys are work, but hi-res textures not.

d2x.ini:
"-hires_textures 0" changed into "-hires_textures". nothing. I think "0" means off, "1" means on, but still nothing. How do I disable and able them?

I'm so sorry, I bothered you! >_<
Jonathan,

Please post all questions regarding D2X-XL in this thread.

Thank you. :)
User avatar
DizzyRox
DBB Ace
DBB Ace
Posts: 157
Joined: Sun Jul 25, 1999 2:01 am
Location: Sedalia
Contact:

Post by DizzyRox »

Hey Diedel
If I make a hostage model, could that be possible in D2X-XL?
also,may not be appropraite for this thread but kinda of applys to D2X-XL,(opinions welcome), and this might be a goofy idea, call me weird :P but I had the notion to make a male and female hostage, same outfit pretty much same everything cept height maybe a couple other things :roll: the idea being,this one female, that one male randomly in game.
Thing is, I cant remember story as to why the hostages are there, (are they all pilots, if so, all male, or mine workers?)
Could this happen at all,might be cool if done discreet enough?
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Sure, why not? They hostages are mine workers.
darklord42
DBB Cadet
DBB Cadet
Posts: 12
Joined: Thu Feb 22, 2007 12:08 pm

Post by darklord42 »

I imported the origional Decent music tracks off of my mac cd and turned them into mp3s. How does one get them to work in game? I found out about the commands for the d2x.ini but i have no idea how to work them or tell them to work with specific mp3's? Do I type in the directory of the mp3s? where do I put them? Also i have no idea how the playlist should be organized or where to put it. Im using the mac version of d2x-xl
I realize that you can play the music directly off the cd using the redbook option and that does work, but my cd is so old/scratched that i'd rather not use it.
\"Life is pain. Anyone who says otherwise is selling something\"
Post Reply