|
Help!
by VoroneTZ. 10/14/25 05:04
|
|
|
|
|
|
|
|
|
mapentity
#406204
08/15/12 09:16
08/15/12 09:16
|
Joined: Dec 2003
Posts: 1,225 germany
gri
OP
Serious User
|
OP
Serious User
Joined: Dec 2003
Posts: 1,225
germany
|
hi,
a small level created with level_load() have lightmaps done by the mapcompiler.
The same level loaded with ent_create() because I want the level as mapentity, shows no lightmaps.
HAve I to change a certain compileroption or is this a bug ?
"Make a great game or kill it early" (Bruce Shelley, Ensemble Studios)
|
|
|
Re: mapentity
[Re: sivan]
#406330
08/17/12 12:26
08/17/12 12:26
|
Joined: Dec 2003
Posts: 1,225 germany
gri
OP
Serious User
|
OP
Serious User
Joined: Dec 2003
Posts: 1,225
germany
|
it have to go without shader....i think I do something wrong. manual about sublevels/mapentities A map entity is simply a small compiled level, stored in an external WMB file. Map entities can be used for level parts which move as a whole, like doors, platforms, or vehicles. Because they are nothing else than compiled maps, you can create them with WED. You can for example convert each prefab into a map entity by opening it in WED, performing a BUILD, and copying the resulting WMB file into the current level directory. You'll find many predefined doors, furniture, vehicles and the like in the prefabs subdirectories.
Textures and shadow maps of the level and of map entities are preallocated in video memory at loading time, in order to maintain smooth gameplay. Textures of all other entity types are normally only allocated when the entity becomes visible....
"Make a great game or kill it early" (Bruce Shelley, Ensemble Studios)
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|