SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Help

Reply
 
Thread Tools Search this Thread
Old 03-20-2014   #1
Kuba11
^Avatar made by VOLT!^
 
Kuba11's Avatar
Default Textures

I ususally try to figure out things myself, but this looks to be a little more complex. Could somebody explain to me how to insetr textures into my wad file? I've read pnames are no longer used and you use a text based lump.
__________________
Kuba11's pack for 2.1: http://mb.srb2.org/showthread.php?t=38589
Kuba11 is offline   Reply With Quote
Old 03-20-2014   #2
MascaraSnake
aka SpiritCrusher
Moderator
 
MascaraSnake's Avatar
Default

It uses ZDoom's format: http://zdoom.org/wiki/TEXTURES

I haven't updated the wiki article yet, I hope to get around to that in the next few days.
MascaraSnake is offline   Reply With Quote
Old 03-20-2014   #3
Kuba11
^Avatar made by VOLT!^
 
Kuba11's Avatar
Default

Thanks a lot :)
__________________
Kuba11's pack for 2.1: http://mb.srb2.org/showthread.php?t=38589
Kuba11 is offline   Reply With Quote
Old 03-22-2014   #4
Kuba11
^Avatar made by VOLT!^
 
Kuba11's Avatar
Default

After a few tries, I still can't make this work, it seems that I'm missing something trivial.
Here is what I wrote in textures lump:

texture HPROCKXX, 256, 256
{
patch HPROCK1A, 0, 128
patch HPROCK1B, 0, 0
}

HPROCK1A and B are graphic files that should be both part of the texture (HPROCKXX).
Should I make some sort of additional lump for the texture itself, or maybe there are some markers missing?
__________________
Kuba11's pack for 2.1: http://mb.srb2.org/showthread.php?t=38589
Kuba11 is offline   Reply With Quote
Old 03-22-2014   #5
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

Should be "wallTexture" instead of "Texture" for it to work in SRB2. Yeah, we fiddled the syntax a bit for some reason.
__________________
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".
Monster Iestyn is offline   Reply With Quote
Old 03-22-2014   #6
Kuba11
^Avatar made by VOLT!^
 
Kuba11's Avatar
Default

Well, I did that before and it still didn't work. I double checked. The type of the lump is "unknown", but i don't know if that's significant.
__________________
Kuba11's pack for 2.1: http://mb.srb2.org/showthread.php?t=38589
Kuba11 is offline   Reply With Quote
Old 03-22-2014   #7
Prime 2.0
Grape flavored
Administrator
 
Prime 2.0's Avatar
Default

Quote:
Originally Posted by Monster Iestyn View Post
Should be "wallTexture" instead of "Texture" for it to work in SRB2. Yeah, we fiddled the syntax a bit for some reason.
Walltexture is TEXTURES syntax, actually. Specifically, it's the syntax for a texture entry that cannot be used as a flat. SRB2 does not yet support using textures as flats, so we enforce the use of this syntax to ensure existing TEXTURES lumps continue to behave correctly when that feature is eventually added.
__________________
Science tells us that nothing can be proven, only rendered more likely to be true. If we do not question what we already know, how can we know, much less admit, when we're wrong? Such things are vital to progress.
Prime 2.0 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:47 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.