Page 1 of 2
3d model.
Posted: Tue Nov 18, 2008 23:21
by ExtremeMachine
Hey.
After almost 1 and a half year break i'm back in gzdoom! And now i wonder how the 3d models work, i'm sure there is 100 posts about this, but none i could find that helped me with this.
I've downloaded a big pack with plenty models in it, Rdoomv3.
Now i want to only use some models in my wad, ofc i give the authors credit.
The models i want to use is a decorations thing, can someone explain how i use this in my wad, also soo i can have it in editor to put it out. I rlly need to know how i do this, soo i can put other stuffs in too.
Ok, as i couldn't load the files up i guess i have to just copy and paste here.
Code: Select all
Decorate file
Actor OHangingLegless 30509
{
Tag "Hanging Legless Corpse"
Radius 10
Height 64
+solid
+spawnceiling
+nogravity
+usespecial
States
{
Spawn:
IDLE A 8
loop
}
}
Modeldef file
Model OHangingLegless
{
Model 0 "Models\HangingLegless.md2"
Skin 0 "Skins\HangingLegless.png"
Scale 1.0 1.0 1.0
FrameIndex IDLE A 0 0 //Spawn
}
And also got the modelfile and skin. I just dont know were to put them, and how to get em work in-game.
I tried to copy the data over to my wad. But only shown a big ? on the item in-game.
I'm a newbie, dont scream on me now!
Regards, sorry for my almost unreadable english xD
Posted: Wed Nov 19, 2008 0:19
by NeoHippo
You must place your wad into a pk3 file with subdirectories called MAPS and MODELS, into which you place the map and the model respectively:
http://forum.drdteam.org/viewtopic.php?t=3283
http://zdoom.org/wiki/PK3
also have a look at this thread:
http://forum.drdteam.org/viewtopic.php?t=3386
Posted: Wed Nov 19, 2008 0:28
by Enjay
Look in the documentation thread. There are a number of posts explaining models and how to use them, starting with a post by Nash.
Posted: Wed Nov 19, 2008 7:50
by ExtremeMachine
Posted: Wed Nov 19, 2008 13:18
by ExtremeMachine
EDIT:
Ok, this far i got a .pk3 file with 2 maps in it, and 2 files. the files is the deocrate and modeldefs, wich should be right. 1 map with my map01, and one with models.
When i start it says "Things" not found in.
Why?
Thanks
Posted: Wed Nov 19, 2008 14:11
by Enjay
I'm sorry, I can't figure out what you have done from your description. It sounds like you may have put your models into a WAD. You cannot do that. The models and their skins should be in a directory inside the pk3 (most people usually call it "models"). Your actual map, decorate and modeldef files can all packaged up inside a WAD and put in the PK3 or put in the PK3 using the standard PK3 directory structure.
If that isn't the problem, can you either post your pk3 or the contents of your DECORATE/MODELDEF lumps and an accurate copy of the error message that GZdoom gives you (it must say more than just "things not found in").
Posted: Wed Nov 19, 2008 14:26
by ExtremeMachine
Enjay wrote:I'm sorry, I can't figure out what you have done from your description. It sounds like you may have put your models into a WAD. You cannot do that. The models and their skins should be in a directory inside the pk3 (most people usually call it "models"). Your actual map, decorate and modeldef files can all packaged up inside a WAD and put in the PK3 or put in the PK3 using the standard PK3 directory structure.
If that isn't the problem, can you either post your pk3 or the contents of your DECORATE/MODELDEF lumps and an accurate copy of the error message that GZdoom gives you (it must say more than just "things not found in").
Sorry, i'm bad in explaining. I tried to load the rar up here but it didn't work.
Anyhow, could i by anychance get ur help over msn maybe? Would be awesome, ofc i would understand why not, as the forum is for helping others, i just stuck here and no idea what to do.
you can add me if you like:
extreme_machine_t17@hotmail.com
Posted: Wed Nov 19, 2008 15:09
by Enjay
ExtremeMachine wrote:Sorry, i'm bad in explaining. I tried to load the rar up here but it didn't work.
Try uploading it to Zshare or some other free file sharing service.
Posted: Wed Nov 19, 2008 15:31
by Enjay
You may find this example useful:
http://www.zshare.net/download/51543812517ac05f/
Just load the whole zip into GZdoom
Posted: Wed Nov 19, 2008 15:36
by ExtremeMachine
Enjay wrote:ExtremeMachine wrote:Sorry, i'm bad in explaining. I tried to load the rar up here but it didn't work.
Try uploading it to Zshare or some other free file sharing service.
here it is:
http://www.zshare.net/download/51544009cee9392f/
If u dont mind u could change the thing that i've done wrong and will look and learn from it.
Posted: Wed Nov 19, 2008 16:55
by Enjay
For some reason, having a DECORATE in the WAD and the PK3 was causing the "things" error I think. (Pretty sure that WADs in the maps folder should only contain maps.)
When that was removed, GZdoom told me that the actor had no frames - I think because IDLE sprites were not included. I changed the DECORATE and MODELDEF to use POSS and it seems to work now.
http://www.zshare.net/download/515471893c1d06d0/
Posted: Wed Nov 19, 2008 17:49
by ExtremeMachine
not becouse i understand what poss is but, imba!
Very much thanks for your help, i will keep this topic if i need more help with 3d models.
Posted: Wed Nov 19, 2008 18:22
by ExtremeMachine
i just get same prob again =/, but this time my models only work with the testmap u send me back.. and not my maps.. then it says "things" not in.
Why? i dont got dec file in wad... and i dunno how to add the items too map with doom builder then.
Posted: Wed Nov 19, 2008 18:50
by Enjay
Well, I don't use Doom builder but I guess it probably has the ability to add things to a menu by various means. This will probably include these.
adding stuff manually to the menus somehow
loading multiple WADs, one of which has the decorate
Anyway, whilst you are working on the map, you could put your DECORATE into the WAD but do not put the WAD into the PK3. Just load the WAD and the PK3 together when testing in GZdoom.
Also, you could just not put the WAD into the maps folder.
Posted: Wed Nov 19, 2008 19:15
by ExtremeMachine
Enjay wrote:Well, I don't use Doom builder but I guess it probably has the ability to add things to a menu by various means. This will probably include these.
adding stuff manually to the menus somehow
loading multiple WADs, one of which has the decorate
Anyway, whilst you are working on the map, you could put your DECORATE into the WAD but do not put the WAD into the PK3. Just load the WAD and the PK3 together when testing in GZdoom.
Also, you could just not put the WAD into the maps folder.
yay! it worked when i put the .pk3 file with the models for itself and map, loaded them seperatly with launcher and it went very nice!
Thanks for all help mate.