View Single Post
Old 01-05-2008, 10:31 AM   #74
Roma Loom

Roma Loom's Avatar
Re: High Resolution Pack discussion thread.
Different models for different pals? I've downloaded the Frozen Monsters pack but I don't see anything new in the DEF syntax. Would you be so kind and show an example of code?

Also I have a question regarding Alien Queen deflines:
Code:
// Alien Queen (4740)
model "highres/sprites/monsters/4740_queen.md3" {
   scale 1.3 shade 3
   skin { pal 0 file "highres/sprites/monsters/4740_queen.png" }
   glow { surface 0 file "highres/sprites/monsters/4740_queen_glow.png" }
   // QUEENSTRUT
   anim { frame0 "FRAME2" frame1 "FRAME20" fps 15 flags 0 }
   frame { name "FRAME2" tile0 4740 tile1 4759 smoothduration 0.2 }
   // QUEENSHOCKATTACK 
   skin { pal 0 file "highres/sprites/monsters/4740_queen.png" }
   glow { surface 1 file "highres/sprites/monsters/4740_queen_glow.png" }
   anim { frame0 "FRAME25" frame1 "FRAME45" fps 20 flags 0 }
   frame { name "FRAME25" tile0 4760 tile1 4761 smoothduration 0.1 }
   skin { pal 0 file "highres/sprites/monsters/4740_queen.png" }
   glow { surface 0 file "highres/sprites/monsters/4740_queen_shock1.png" }
   glow { surface 1 file "highres/sprites/monsters/4740_queen_light.png" }
   anim { frame0 "FRAME25" frame1 "FRAME45" fps 20 flags 0 }
   frame { name "FRAME25" tile0 4765 tile1 4766 smoothduration 0.1 }
   skin { pal 0 file "highres/sprites/monsters/4740_queen.png" }
   glow { surface 0 file "highres/sprites/monsters/4740_queen_shock2.png" }
   glow { surface 1 file "highres/sprites/monsters/4740_queen_light.png" }
   anim { frame0 "FRAME25" frame1 "FRAME45" fps 20 flags 0 }
   frame { name "FRAME25" tile0 4770 tile1 4771 smoothduration 0.1 }
   // QUEENITSADRONE
   anim { frame0 "FRAME50" frame1 "FRAME80" fps 5 flags 0 }
   frame { name "FRAME50" tile0 4790 tile1 4804 smoothduration 0.3 }
   // QUEENSNUFF
   skin { pal 0 file "highres/sprites/monsters/4740_queen_death.png" }
   anim { frame0 "FRAME85" frame1 "FRAME125" fps 15 flags 1 }
   frame { name "FRAME85" tile0 4780 tile1 4789 smoothduration 0.3 }
}
I see 4740_queen_light.png defined for "surface 1" which should be her eyes but 4740_queen.md3 model has only one surface. Also 4740_queen_glow.png isn't used during shock attack and "spawning a drone" anims... So I think detaching eyes to a "surface 1" would be a nice move to make it all work correctly at least as a temporary workaround... As I don't have AlienQueen source I'm trying to find a way to "split" the eyes from the body without breaking the animation...
__________________
GRPViewer, DN3D/SW Models
Roma Loom is offline