Badfrank Posted September 9, 2009 Posted September 9, 2009 (edited) Want to place some additional Objects directly on the Terrain. Objects with more than one Lod seems here a littlebit problematic... Cane someone give me here some tips please... Here what i have done with the PT-76 (Renamed it in PT-76s) Entry in PT-76s.ini LOD001] Filename=PT-76s.lod Distance=100 [LOD002] Filename=PT-76s_lod002.lod Distance=250 [LOD003] Filename=PT-76s_lod003.lod Distance=500 [LOD004] Filename=PT-76s_lod004.lod Distance=8000 [shadow] CastShadow=TRUE ShadowCastDist=500 MaxVisibleDistance=500 Entry in Types.ini [TargetType146] Name=PT-76s FullName=PT-76s ModelName=PT-76s.lod TargetType=APC ActiveYear=0 TargetValue=0 UseGroundObject=TRUE RepairRate=0.555 StartDetectChance=0 StartIdentifiedChance=0 IncreaseDetectChanceKey=0 MaxVisibleDist=8000.0 DestroyedEffect=MediumFire SecondaryEffect=SmallRocketGroundExplosion SecondaryChance=100 Edited September 9, 2009 by Badfrank Quote
FastCargo Posted September 9, 2009 Posted September 9, 2009 First, the very first entry is truncated (missing a [ ). Second, you haven't specified the particular issue you are having. FC Quote
Badfrank Posted September 9, 2009 Author Posted September 9, 2009 Oootch... [ is there... Problem is the Object is not visible. Quote
FastCargo Posted September 9, 2009 Posted September 9, 2009 Okay. First, under the ModelName= parameter in the Types.ini, just use the name of the primary ini ( PT-76s ). I don't think you need to specify the lod. Second, within the PT-76s.ini, comment out the other entries, and start with the primary LOD file out to the max distance. In other words, instead of: [LOD001]Filename=PT-76s.lod Distance=100 [LOD002] Filename=PT-76s_lod002.lod Distance=250 [LOD003] Filename=PT-76s_lod003.lod Distance=500 [LOD004] Filename=PT-76s_lod004.lod Distance=8000 You do this: [LOD001]Filename=PT-76s.lod Distance=8000 //Distance=100 //[LOD002] //Filename=PT-76s_lod002.lod //Distance=250 //[LOD003] //Filename=PT-76s_lod003.lod //Distance=500 //[LOD004] //Filename=PT-76s_lod004.lod //Distance=8000 Check that LOD. If it works, then try: [LOD001]Filename=PT-76s_lod002.lod Distance=8000 //Filename=PT-76s.lod //Distance=100 //[LOD002] //Filename=PT-76s_lod002.lod //Distance=250 //[LOD003] //Filename=PT-76s_lod003.lod //Distance=500 //[LOD004] //Filename=PT-76s_lod004.lod //Distance=8000 Do this for each LOD. If each one shows up, then troubleshoot with 2 lods at a time. Remember, NONE of the LODs will show up at all, if the hierarchy is different between any of them...hierarchys if changed can only be changed from the 'tips' to the 'roots' of the tree. FC Quote
+PureBlue Posted September 9, 2009 Posted September 9, 2009 (edited) For the definition in terrain_types.ini: add this right after this line: UseGroundObject=TRUE GroundObjectType=PT-76s (The folder name of the object inside groundobjects) You don't need the ModelName variable here. It reads that info from PT-76s.ini. Edited September 9, 2009 by pureblue Quote
Badfrank Posted September 9, 2009 Author Posted September 9, 2009 (edited) Ok FC, Sir! Will test it! Thank you so far! Edited September 9, 2009 by Badfrank Quote
Badfrank Posted September 9, 2009 Author Posted September 9, 2009 For the definition in terrain_types.ini: add this right after this line: UseGroundObject=TRUE GroundObjectType=PT-76s (The folder name of the object inside groundobjects) You don't need the ModelName variable here. It reads that info from PT-76s.ini. I know that that is a Way. But i want to place it directly to the Terrain and not as Groundobject. Quote
+PureBlue Posted September 9, 2009 Posted September 9, 2009 (edited) Well if you mean you want it to be a Terrain Object instead of a Ground Object (you can add both of these types directly to the terrain) Have it as: ModelName=PT-76s UseGroundObject=FALSE AND Copy the LOD & Corresponding bmp textures to the terrain folder. Also copy over your ini file from the first message. IF you do it this way, it will just sit there and not fire at anything. It won't have the necessary info from _data.ini. Edited September 9, 2009 by pureblue Quote
Wrench Posted September 9, 2009 Posted September 9, 2009 Yup, as PB outline above, you turn a GroundObject into a TerrainObject (this was one of the ways it was done pre-06 patch levels. Be advised, however, of doing it that way -- having all those 'terrainobject vehicles' will dramatically increase loading times and may tend to decrease framerates. Using the "UseGroundObject=TRUE" line is the prefered method, as this will allow them to spawn and despawn as the player aircraft passes the 50km ring to/from them. (which is actually kinda cool to watch -- they just "pop" out out -or into- existence like Scotty beamed them down) If you're running into trouble placing GOs, use that mission I posted in the KB's Terrain section, just edit as I've outlined. Puts you right over the selected target area, and makes things vERY easy to place locate (I think that was the question in your PM that I totally forgot to reply to...sorry!!!!) wrench kevin stein Quote
Badfrank Posted September 11, 2009 Author Posted September 11, 2009 Get all the Stuff to work. The Problem where some wrong entrys in the Types.ini... UseGroundObject=TRUE Thanks Guys! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.