
Why do 3D models never work out for me?
Moderator: Graf Zahl
-
- Posts: 12
- Joined: Fri Jul 14, 2006 19:51
Why do 3D models never work out for me?
I have tried before to add 3D models into my wad and I gave up due to frustration. I came back to it not to long afterwards and saw a working md2 model in game for the first time, sadly I lost that test wad and a couple months later I need it because I don't see what I am doing wrong. >_< I've attached my pk3 in which my model (HandDryer) isn't working (Just to note, the dummy frame I used is an actual frame because I thought maybe it wasn't working because I had a 1x1 transparent blue color frame originally.). If someone can help me out with this by getting it working for me and sending it back so I can learn what I did wrong or by telling me what I am doing wrong, it would be very much appreciated.
Thanks in advance.

- Attachments
-
- doomcoh.zip
- .ZIP is allowed but .PK3 isn't? Wheres the logic in that besides someone was lazy to edit the filter. :P
- (214.61 KiB) Downloaded 126 times
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Alter
- Posts: 851
- Joined: Wed Oct 05, 2005 8:55
- Location: Poland, Lodz
So if valid sprite is must then he can use empty sprite (TNT1A0) in order to display model? without toying with one additional sprite just thinking... is this right graf?Graf Zahl wrote:A look at the error messages in the console might help. You have to use a valid sprite, even if you are going to use models. Otherwise the consistency check in the map initialization code will sort out your object before it even has a chance to be displayed.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
-
- Posts: 12
- Joined: Fri Jul 14, 2006 19:51
Erm, I'm stupid. I had a valid IMAGE, I just forgot to put it between the SS_START and SS_END markers. ._. I am just getting back to editing after a couple month break from it so I'm a bit rusty.
Thanks for helping me realize the problem.
Also, is it possible for 3D objects to have z heights? Because I gave one a z height of 0 and the other of 32 and they both look like they are at 0.

Also, is it possible for 3D objects to have z heights? Because I gave one a z height of 0 and the other of 32 and they both look like they are at 0.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
Upon inspecting your file, I see that you're using the old DECORATE format.
The following is your hand dryer converted to the new format. It is an exact copy; the only difference being the +NOGRAVITY flag, which you need to set Z heights properly.
The following is your hand dryer converted to the new format. It is an exact copy; the only difference being the +NOGRAVITY flag, which you need to set Z heights properly.
Code: Select all
ctor HandDryer 100
{
radius 10
height 15
+NOGRAVITY
states
{
Spawn:
HADR A -1
loop
}
}
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
-
- Posts: 12
- Joined: Fri Jul 14, 2006 19:51
Well, I am having more trouble with models and instead of posting a new thread I decided to just bump this one if that is alright. I keep getting the error:
Script error, "MODELDEF" line ##:
Unknown frame 'XX' in XX
No matter what variations in the frame's name that I try. I think it might be a problem with the models I am using because the last model worked fine and I don't see any problems in my modeldef... unless I am giving wrong frame names, the names I get are from Misfit Model 3D.
http://romendo.gamingg.net/doomcoh.zip is my pk3, if you can look at it, I would appreciate it. Sorry if I am becoming a nuisance with this. ._.
Script error, "MODELDEF" line ##:
Unknown frame 'XX' in XX
No matter what variations in the frame's name that I try. I think it might be a problem with the models I am using because the last model worked fine and I don't see any problems in my modeldef... unless I am giving wrong frame names, the names I get are from Misfit Model 3D.
http://romendo.gamingg.net/doomcoh.zip is my pk3, if you can look at it, I would appreciate it. Sorry if I am becoming a nuisance with this. ._.
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
-
- Posts: 12
- Joined: Fri Jul 14, 2006 19:51
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact: