I'm starting to create 3d models in .MD3 format to import them into my project.
I've created a model of a computer where you can put an animation on the screen:
https://drive.google.com/file/d/1WpPQuV ... sp=sharing
This is the code in MODELDEF:
Code: Select all
Model Dec_Computer
{
Path "MODELS/Decorations"
Model 0 "Dec_Computer.md3"
Offset 0 0 0
Scale 22 22 22
SurfaceSkin 0 0 "COMPUTER_TEX1"
Path "MODELS/Decorations/Anim"
SurfaceSkin 0 1 "Anim1.png"
FrameIndex MODA A 0 0
SurfaceSkin 0 1 "Anim2.png"
FrameIndex MODA B 0 0
SurfaceSkin 0 1 "Anim3.png"
FrameIndex MODA C 0 0
SurfaceSkin 0 1 "Anim4.png"
FrameIndex MODA D 0 0
SurfaceSkin 0 1 "Anim5.png"
FrameIndex MODA E 0 0
SurfaceSkin 0 1 "Anim6.png"
FrameIndex MODA F 0 0
SurfaceSkin 0 1 "Anim7.png"
FrameIndex MODA G 0 0
SurfaceSkin 0 1 "Anim8.png"
FrameIndex MODA H 0 0
SurfaceSkin 0 1 "Anim9.png"
FrameIndex MODA I 0 0
SurfaceSkin 0 1 "Anim10.png"
FrameIndex MODA J 0 0
}
By doing so I have to write each frame it in MODELDEF and then in DECORATE.
I want to make animations that go beyond 120 frames, how can I simplify this operation?
is there any way to import video or gif to gzdoom?
I've tried using ANIMDEFS but it doesn't work on actors.