Community
Message Board

Chat room - users
Game Over
( 394431 downloads)
Work In Progress
( 523201 downloads)
Links

Code Exchange
Downloads
Tutorials
Add to Favourites

Submit news

DIV ARENA FORUMS
Not logged in [Login - Register]
Go To Bottom

Printable Version  
 Pages:  1  2
Author: Subject: Complicated mode 8 question...
dom cook
Div Pro
******




Posts: 386
Registered: 4-3-2016
Member Is Offline


[*] posted on 1-12-2016 at 01:32 PM


Quote: Originally posted by BreadCaster  
Can't say I see what you mean there Dom - I did search for vert[ i ]=vert_i and DivDX found nothing. I've modified the code a bit since but that's just nesting it inside other things to make a more user friendly and flexible door process, are you sure that's what you meant? Or am I a bit dense? :S

[Edited on 1-12-2016 by BreadCaster]


I was being lazy and using shorthand.
The code didn't actually say
vert[ i ]=vert_i

it said
vert[ 0 ] = vert_0;
vert[ 1 ] = vert_1;
vert[ 2 ] = vert_2;
vert[ 3 ] = vert_3;

It ought to say
vert[ 0 ].v = vert_0;
vert[ 1 ].v = vert_1;
vert[ 2 ].v = vert_2;
vert[ 3 ].v = vert_3;

But, as long as you don't add a new variable at the beginning of the struct vert, I don't think it's going to make any difference.
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 386
Registered: 4-3-2016
Member Is Offline


[*] posted on 1-12-2016 at 02:36 PM


By the way, are there any instructions on how to use the WLD editor?
View user's profile View All Posts By User
BreadCaster
Loyalty Card Holder
******


Avatar


Posts: 321
Registered: 2-3-2016
Member Is Offline


[*] posted on 1-12-2016 at 03:11 PM


Ah right okay, I've edited the code accordingly =) I might want to add a steel trim if I make any outside looking doors, like a little raised bit at the bottom and top, so it could come in handy as that'd be another sector.

Quote: Originally posted by dom cook  
By the way, are there any instructions on how to use the WLD editor?


Not bundled with DivDX, no! Generally it's pretty straight forward however. The two boxes on the right correspond to the floor and ceiling textures, and the numbered boxes correspond to the height. The box above that is the current wall texture.

You can create all kinds of cool things with it, but you do have to bare in mind that you can't do "sector over sector" level design - though you can fake it by using teleports/flags and loading/unloading new WLDs as you enter and exit areas.

You can have sectors INSIDE sectors, however - though do be careful when using the set_point_m8 command, as generally nesting a moving sector inside any more than one other sector is a recipe for disaster.

Oh, also - move around using arrow keys and use Z/X to zoom. I'd advise against clicking the right mouse button as that's liable to crash DivDX at present. In fact, it's likely to crash regardless - save often :p




~*~ Princess of Pies and Pastries ~*~
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 386
Registered: 4-3-2016
Member Is Offline


[*] posted on 1-12-2016 at 08:28 PM


Thanks, that should be enough for me to get started.
View user's profile View All Posts By User
BreadCaster
Loyalty Card Holder
******


Avatar


Posts: 321
Registered: 2-3-2016
Member Is Offline


[*] posted on 1-12-2016 at 09:40 PM


Quote: Originally posted by dom cook  
Thanks, that should be enough for me to get started.


That's alright, need any more help gimmie a shout - I'm indebted to you for helping with the swinging door code :D




~*~ Princess of Pies and Pastries ~*~
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 386
Registered: 4-3-2016
Member Is Offline


[*] posted on 2-12-2016 at 03:24 PM


Quote: Originally posted by BreadCaster  

That's alright, need any more help gimmie a shout - I'm indebted to you for helping with the swinging door code :D


Just a quick question then.
How the heck do you delete a vertex in the editor?
View user's profile View All Posts By User
BreadCaster
Loyalty Card Holder
******


Avatar


Posts: 321
Registered: 2-3-2016
Member Is Offline


[*] posted on 2-12-2016 at 04:42 PM


Quote: Originally posted by dom cook  
Quote: Originally posted by BreadCaster  

That's alright, need any more help gimmie a shout - I'm indebted to you for helping with the swinging door code :D


Just a quick question then.
How the heck do you delete a vertex in the editor?


You have to delete the sector it's a part of. You can't delete sectors or walls on their own, possibly as this would allow for people testing it with really badly broken sectors, which would be hell for the poor engine to try to interpret.

If you can't delete a sector, then your WLD is corrupted, and trying to load it will usually crash the program. D: Save and back up your WLDs often folks! Mode 8 is a temperamental betch. :p


[Edited on 2-12-2016 by BreadCaster]




~*~ Princess of Pies and Pastries ~*~
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 386
Registered: 4-3-2016
Member Is Offline


[*] posted on 8-12-2016 at 03:27 PM


Quote: Originally posted by BreadCaster  



Save and back up your WLDs often folks! Mode 8 is a temperamental betch. :p


[Edited on 2-12-2016 by BreadCaster]


That's putting it mildly.
I'm re-downgrading my ambitions to mode 7,


View user's profile View All Posts By User
BreadCaster
Loyalty Card Holder
******


Avatar


Posts: 321
Registered: 2-3-2016
Member Is Offline


[*] posted on 8-12-2016 at 04:05 PM


Quote: Originally posted by dom cook  
Quote: Originally posted by BreadCaster  



Save and back up your WLDs often folks! Mode 8 is a temperamental betch. :p


[Edited on 2-12-2016 by BreadCaster]


That's putting it mildly.
I'm re-downgrading my ambitions to mode 7,


Just you wait til you see what I've made in it and you'll change your mind back, aha ;) it's pretty dang cool if I say so myself... not long til it's completed, just a few more things I wanna put into it =)




~*~ Princess of Pies and Pastries ~*~
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 386
Registered: 4-3-2016
Member Is Offline


[*] posted on 8-12-2016 at 07:24 PM


Looking forward to it.
View user's profile View All Posts By User
 Pages:  1  2

  Go To Top

Powered by XMB
XMB Forum Software © 2001-2012 The XMB Group
[Queries: 18]