[Gtkradiant] [Bug 574] Add spritemodel support to all games, not just Halflife

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Mon, 10 Mar 2003 19:56:04 -0600


mailinglist.gtkradiant@hydras-world.com changed:

           What    |Removed                     |Added
 Attachment #397 is|0                           |1
           obsolete|                            |

------- Additional Comments From mailinglist.gtkradiant@hydras-world.com  2003-03-10 19:56 -------
Created an attachment (id=400)
 --> (http://zerowing.idsoftware.com/bugzilla/attachment.cgi?id=400&action=view)

Updated patch, this also adds the following functionality to ECLASS.cpp

After all the entity definitions are loaded a new function looks at each
eclass_t, if it has a "modelpath" set then it leaves it alone.	If it's not set
then it checks to see if a file called "sprites/<eclassname>.*" exists in the
vfs, and if it does exist then it sets the "modelpath" to

The result of this is, that to we don't have to modify and existing .def files
to use sprite model images,  you can now just drop any .tga, .bmp, .jpg, ,
.spr, into the fs_game's /sprites/ folder (e.g. quake3/baseq3/sprites/ or
halflife/valve/sprites/) and they will be used automatically!!