Pages:
1
2 |
dom cook
Div Pro
Posts: 387
Registered: 4-3-2016
Member Is Offline
|
|
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.
|
|
dom cook
Div Pro
Posts: 387
Registered: 4-3-2016
Member Is Offline
|
|
By the way, are there any instructions on how to use the WLD editor?
|
|
BreadCaster
Loyalty Card Holder
Posts: 321
Registered: 2-3-2016
Member Is Offline
|
|
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.
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 ~*~
|
|
dom cook
Div Pro
Posts: 387
Registered: 4-3-2016
Member Is Offline
|
|
Thanks, that should be enough for me to get started.
|
|
BreadCaster
Loyalty Card Holder
Posts: 321
Registered: 2-3-2016
Member Is Offline
|
|
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 ~*~
|
|
dom cook
Div Pro
Posts: 387
Registered: 4-3-2016
Member Is Offline
|
|
Just a quick question then.
How the heck do you delete a vertex in the editor?
|
|
BreadCaster
Loyalty Card Holder
Posts: 321
Registered: 2-3-2016
Member Is Offline
|
|
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 ~*~
|
|
dom cook
Div Pro
Posts: 387
Registered: 4-3-2016
Member Is Offline
|
|
That's putting it mildly.
I'm re-downgrading my ambitions to mode 7,
|
|
BreadCaster
Loyalty Card Holder
Posts: 321
Registered: 2-3-2016
Member Is Offline
|
|
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 ~*~
|
|
dom cook
Div Pro
Posts: 387
Registered: 4-3-2016
Member Is Offline
|
|
Looking forward to it.
|
|
Pages:
1
2 |