TheSmoo Posted September 24, 2007 Share Posted September 24, 2007 (edited) Could someone give me an explanation for how Opcode 0x827 works, SASCM states: 0827=2,set_object %1d% assign_to_lod_object %2d% But what is a LOD Object exacty? a modelid? EDIT: Sorry wrong section, can a mod move this to Mission Coding Edited September 24, 2007 by TheSmoo Link to comment Share on other sites More sharing options...
SmokingCookie Posted September 24, 2007 Share Posted September 24, 2007 Based on what limited knowledge I have about opcodes, I can provide you some help. I think this opcode assigns one model to another (the LOD model). This means that one object is virtually "connected" to another. Oh and bte, an LOD object is a "Long-distance" object. You can see certain objects from miles away, while some are only visible from a smaller distance (usually 300 units, don't know what units R* used...). Since LOD objects aren't solid, you will pass straight through them. That's why R* kept using normal models too. The LOD's are linked to the normal models, to make it look more realistic... PLEASE NOTE:: I am not wure whether I am 100% right!! So please don't fully rely on my reply... Link to comment Share on other sites More sharing options...
Doomed_Space_Marine Posted September 25, 2007 Share Posted September 25, 2007 LOD means level of detail. If the model is far, it becomes less detailed because we don't need good quality then, so there will be less difference Link to comment Share on other sites More sharing options...
oCain Posted September 25, 2007 Share Posted September 25, 2007 0827=2,set_object %1d% assign_to_lod_object %2d% But what is a LOD Object exacty? a modelid? Hmm...I'm not really sure..I think you ain't want an LOD-Object discription, but what param 2 needs to work. It's a var of an allready created obj... 029B: $2723 = init_object #TWRCRANE_M_01 at -2080.441 256.007 99.408 ...029B: $2726 = init_object #LODCRANE_M_01 at $73 $74 $75 ...0827: assign_object $2723 to_lod_object $2726 [org. main.scm snippet] Greetz! [my english is really bad today/tonite...sorry] Link to comment Share on other sites More sharing options...
Sacky Posted September 26, 2007 Share Posted September 26, 2007 From my understanding the LOD Object is just an object like any other, only the game makes it viewable from far away, and not tangible when getting into a certain radius of it, by replacing it with the other object that isn't a LOD, I would show you an example but oCain beat me to it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now