Jump to content
Sign in to follow this  
sirsanka

Transmition lines

Recommended Posts

Thanks Dick,I'm going to try the converter to see what it does.Below is the code, very similar to Chris'...include TDFHeaders.incinclude TDFMacros.incBGLHeader 20, 16,-64,-68, TerrainHeaderStart, VTPHeaderVTPHeader label wordVTPFileHeader 256, VTPIndexStart, TextureStart, VTPEndVTPStart label worddatamark_v0 label wordVTPDataArea 1, 1, 0, 0VTPLayer 4, 0VTPNumTexturesInLayer 1, 0VTPTextureId 0, 0VTPPolyCount 1, 0 VTPPolyMethod2 31, 1, 0VTPPolyMethod2Ex 42VTPWidePoint 12237, 1, 8895, 0VTPWidePointWidth 1VTPWidePoint 12238, 1, 8896, 0VTPWidePointWidth 40VTPWidePoint 12233, 1, 8901, 0VTPWidePointWidth 40VTPWidePoint 12229, 0, 8908, 0VTPWidePoint 12224, 0, 8914, 0VTPWidePoint 12220, 0, 8920, 0VTPWidePoint 12215, 0, 8927, 0VTPWidePoint 12210, 0, 8934, 0VTPWidePoint 12206, 0, 8940, 0VTPWidePoint 12201, 0, 8946, 0VTPWidePoint 12197, 0, 8953, 0VTPWidePoint 12192, 0, 8959, 0VTPWidePoint 12188, 0, 8965, 0VTPWidePoint 12184, 0, 8972, 0VTPWidePoint 12180, 0, 8978, 0VTPWidePoint 12175, 0, 8984, 0VTPWidePoint 12171, 0, 8989, 0VTPWidePoint 12166, 0, 8994, 0VTPWidePoint 12161, 0, 8998, 0VTPWidePoint 12156, 0, 9001, 0VTPWidePoint 12152, 0, 9002, 0VTPWidePoint 12147, 0, 9003, 0VTPWidePoint 12142, 0, 9004, 0VTPWidePoint 12137, 0, 9005, 0VTPWidePoint 12133, 0, 9005, 0VTPWidePoint 12128, 0, 9005, 0VTPWidePoint 12123, 0, 9005, 0VTPWidePoint 12118, 0, 9004, 0VTPWidePoint 12113, 0, 9004, 0VTPWidePoint 12109, 0, 9003, 0VTPWidePoint 12104, 0, 9002, 0VTPWidePoint 12099, 0, 9000, 0VTPWidePoint 12094, 0, 8999, 0VTPWidePoint 12089, 0, 8997, 0VTPWidePoint 12084, 0, 8997, 0VTPWidePoint 12080, 0, 8998, 0VTPWidePoint 12076, 0, 9000, 0VTPWidePoint 12073, 0, 9003, 0VTPWidePoint 12070, 0, 9007, 0VTPWidePoint 12066, 0, 9011, 0VTPWidePoint 12063, 0, 9015, 0VTPWidePoint 12059, 0, 9018, 0VTPWidePoint 12056, 0, 9020, 0VTPWidePoint 12051, 0, 9022, 0VTPWidePoint 12047, 0, 9022, 0VTPWidePoint 12042, 0, 9022, 0VTPWidePoint 12038, 0, 9020, 0VTPWidePoint 12033, 0, 9018, 0VTPWidePoint 12029, 0, 9014, 0VTPWidePoint 12025, 0, 9010, 0VTPWidePoint 12021, 0, 9006, 0VTPWidePoint 12017, 0, 9002, 0VTPWidePoint 12013, 0, 8997, 0VTPWidePoint 12008, 0, 8992, 0VTPWidePoint 12004, 0, 8986, 0VTPWidePoint 11999, 0, 8980, 0VTPWidePoint 11995, 0, 8975, 0VTPWidePoint 11990, 0, 8969, 0VTPWidePoint 11987, 0, 8963, 0VTPWidePoint 11980, 0, 8958, 0VTPWidePoint 11975, 0, 8952, 0VTPWidePoint 11970, 0, 8945, 0VTPWidePoint 11966, 0, 8939, 0VTPWidePoint 11963, 0, 8933, 0VTPWidePoint 11959, 0, 8927, 0VTPWidePoint 11956, 0, 8920, 0VTPWidePoint 11954, 0, 8915, 0VTPWidePoint 11951, 0, 8907, 0VTPWidePoint 11946, 0, 8897, 0VTPWidePoint 11941, 0, 8901, 0VTPWidePoint 11945, 0, 8889, 0VTPWidePoint 11945, 0, 8894, 0VTPWidePoint 11946, 1, 8895, 0VTPWidePointWidth 0datamark_v1 label wordVTPDataArea 1, 1, 0, 0VTPLayer 4, 0VTPNumTexturesInLayer 1, 0VTPTextureId 0, 0VTPPolyCount 1, 0 VTPPolyMethod2 31, 1, 0VTPPolyMethod2Ex 41VTPWidePoint 4277, 1, 8514, 0VTPWidePointWidth 1VTPWidePoint 4278, 1, 8515, 0VTPWidePointWidth 40VTPWidePoint 4276, 1, 8519, 0VTPWidePointWidth 40VTPWidePoint 4276, 0, 8527, 0VTPWidePoint 4278, 0, 8532, 0VTPWidePoint 4276, 0, 8540, 0VTPWidePoint 4277, 0, 8545, 0VTPWidePoint 4276, 0, 8551, 0VTPWidePoint 4276, 0, 8558, 0VTPWidePoint 4275, 0, 8564, 0VTPWidePoint 4274, 0, 8570, 0VTPWidePoint 4274, 0, 8576, 0VTPWidePoint 4274, 0, 8582, 0VTPWidePoint 4274, 0, 8589, 0VTPWidePoint 4274, 0, 8595, 0VTPWidePoint 4273, 0, 8602, 0VTPWidePoint 4272, 0, 8608, 0VTPWidePoint 4272, 0, 8614, 0VTPWidePoint 4271, 0, 8620, 0VTPWidePoint 4270, 0, 8626, 0VTPWidePoint 4269, 0, 8632, 0VTPWidePoint 4269, 0, 8639, 0VTPWidePoint 4268, 0, 8645, 0VTPWidePoint 4267, 0, 8651, 0VTPWidePoint 4266, 0, 8658, 0VTPWidePoint 4265, 0, 8664, 0VTPWidePoint 4264, 0, 8672, 0VTPWidePoint 4262, 0, 8677, 0VTPWidePoint 4260, 0, 8683, 0VTPWidePoint 4258, 0, 8688, 0VTPWidePoint 4255, 0, 8692, 0VTPWidePoint 4251, 0, 8695, 0VTPWidePoint 4248, 0, 8697, 0VTPWidePoint 4244, 0, 8700, 0VTPWidePoint 4240, 0, 8701, 0VTPWidePoint 4236, 0, 8703, 0VTPWidePoint 4231, 0, 8704, 0VTPWidePoint 4227, 0, 8705, 0VTPWidePoint 4222, 0, 8707, 0VTPWidePoint 4218, 0, 8710, 0VTPWidePoint 4213, 0, 8714, 0VTPWidePoint 4208, 0, 8718, 0VTPWidePoint 4204, 0, 8722, 0VTPWidePoint 4199, 0, 8727, 0VTPWidePoint 4195, 0, 8732, 0VTPWidePoint 4190, 0, 8738, 0VTPWidePoint 4186, 0, 8743, 0VTPWidePoint 4182, 0, 8749, 0VTPWidePoint 4178, 0, 8754, 0VTPWidePoint 4173, 0, 8760, 0VTPWidePoint 4168, 0, 8766, 0VTPWidePoint 4164, 0, 8772, 0VTPWidePoint 4160, 0, 8778, 0VTPWidePoint 4156, 0, 8784, 0VTPWidePoint 4152, 0, 8790, 0VTPWidePoint 4148, 0, 8796, 0VTPWidePoint 4144, 0, 8802, 0VTPWidePoint 4139, 0, 8808, 0VTPWidePoint 4135, 0, 8814, 0VTPWidePoint 4131, 0, 8820, 0VTPWidePoint 4127, 0, 8827, 0VTPWidePoint 4123, 0, 8833, 0VTPWidePoint 4119, 0, 8839, 0VTPWidePoint 4114, 0, 8846, 0VTPWidePoint 4109, 0, 8852, 0VTPWidePoint 4105, 0, 8858, 0VTPWidePoint 4100, 0, 8865, 0VTPWidePoint 4095, 0, 8871, 0VTPWidePoint 4091, 0, 8877, 0VTPWidePoint 4086, 0, 8883, 0VTPWidePoint 4083, 0, 8888, 0VTPWidePoint 4082, 1, 8889, 0VTPWidePointWidth 0datamark_v2 label wordCellv_242_203 EQU VTPCellID 0, 242, 203Cellv_243_203 EQU VTPCellID 0, 243, 203VTPIndexStart label wordVTPIndexHeader 2, VTPIndexData, VTPStartVTPIndexData label wordVTPIndexEntry Cellv_242_203, VTPStart, datamark_v0, datamark_v1VTPIndexEntry Cellv_243_203, VTPStart, datamark_v1, datamark_v2TextureStart label wordVTPTextureListHeader 1, TextureIndexStart, TextureDataStart, TextureDataEndTextureIndexStart label wordVTPTextureListEntry TextureDataStart, texturemark_0, texturemark_1TextureDataStart label wordtexturemark_0 label wordVTPTextureName "1211"VTPTextureType 2, 0, 0, 4texturemark_1 label wordTextureDataEnd label wordVTPEnd label word

Share this post


Link to post
Share on other sites

Guys,I ran the converter:chptconv -i pr2004v3bx_VTP.asm -o pr2004v3bc_VTP.asm -d 2 -l 4It put the VTPChildPoints but still no autogen. I'll try with the -m parameter.Here's the code:;---------------------------; File created by ChptConv; Original file: pr2004v3bx_VTP.asm; Created by LWMViewer at 09/02/04 12:28:11; Original filename : C:WorkingfsAutoAsmpr2004v3b_VTP.bgl; Original boundary :; N 20.00000; S 16.00000; E -64.00000; W -68.00000;; Please note that only LWMs and VTPs are disassembled. Any other; information in the original file is not here.include TDFHeaders.incinclude TDFMacros.inc_UseWidth_ EQU 1_IsLine_ EQU 1_IsFan_ EQU 0_IsStrip_ EQU 1_Method1_ EQU 0_Method2_ EQU 1BGLHeader 20,15,-63,-68, TerrainHeaderStart, VTPHeaderVTPHeader label word VTPFileHeader 256, VTPIndexStart, VTPTexStart, VTPEndVTPTexStart label word VTPTextureListHeader 1,VTPTexListStart, VTPTexNameStart, VTPTexNameEndVTPTexListStart label word VTPTextureListEntry VTPTexNameStart, VTPTexName0, VTPTexName1VTPTexNameStart label wordVTPTexName0 label word VTPTextureName "1211" VTPTextureType 2, 0, 0, 4VTPTexName1 label wordVTPTexNameEnd label wordVTPDataStart label word; Start of cell 242 x 203 dataCELLSTART_000000 label wordCellID_000000 EQU VTPCellID 0, 242, 203 VTPDataArea 1, 1, 18, 11 VTPLayer 4, 0 VTPNumTexturesInLayer 1, 0;; next VTPTextureID section; VTPTextureId 0, 0 VTPPolyCount 1, 0 VTPPolyMethod2 31, 1, 0 VTPPolyMethod2Ex 43 ; Total = 74 VTPWidePoint 12234, 1, 8899, 7 VTPWidePointWidth 1 VTPChildPoint 3, 0, -3, 0 VTPChildPoint 1, 0, 1, 1 VTPWidePointWidth 40 VTPChildPoint -5, 0, 5, 1 VTPWidePointWidth 40 VTPChildPoint -4, 0, 6, 0 VTPChildPoint -5, 0, 6, 0 VTPChildPoint -4, 0, 7, 0 VTPChildPoint -5, 0, 7, 0 VTPWidePoint 12210, 0, 8934, 7 VTPChildPoint -5, 0, 6, 0 VTPChildPoint -4, 0, 7, 0 VTPChildPoint -5, 0, 6, 0 VTPChildPoint -4, 0, 6, 0 VTPChildPoint -4, 0, 6, 0 VTPChildPoint -4, 0, 6, 0 VTPChildPoint -4, 0, 6, 0 VTPWidePoint 12175, 0, 8984, 7 VTPChildPoint -4, 0, 6, 0 VTPChildPoint -5, 0, 5, 0 VTPChildPoint -4, 0, 3, 0 VTPChildPoint -5, 0, 3, 0 VTPChildPoint -5, 0, 2, 0 VTPChildPoint -5, 0, 1, 0 VTPChildPoint -5, 0, 1, 0 VTPWidePoint 12138, 0, 9005, 7 VTPChildPoint -5, 0, 0, 0 VTPChildPoint -5, 0, 0, 0 VTPChildPoint -5, 0, 0, 0 VTPChildPoint -4, 0, -1, 0 VTPChildPoint -5, 0, 0, 0 VTPChildPoint -5, 0, -1, 0 VTPChildPoint -5, 0, -1, 0 VTPWidePoint 12099, 0, 9001, 7 VTPChildPoint -5, 0, -2, 0 VTPChildPoint -5, 0, -2, 0 VTPChildPoint -4, 0, 1, 0 VTPChildPoint -5, 0, 0, 0 VTPChildPoint -4, 0, 2, 0 VTPChildPoint -3, 0, 4, 0 VTPChildPoint -4, 0, 3, 0 VTPWidePoint 12066, 0, 9011, 7 VTPChildPoint -3, 0, 4, 0 VTPChildPoint -4, 0, 3, 0 VTPChildPoint -4, 0, 2, 0 VTPChildPoint -4, 0, 2, 0 VTPChildPoint -4, 0, 0, 0 VTPChildPoint -5, 0, -1, 0 VTPChildPoint -4, 0, -1, 0 VTPWidePoint 12033, 0, 9018, 7 VTPChildPoint -4, 0, -3, 0 VTPChildPoint -4, 0, -4, 0 VTPChildPoint -4, 0, -4, 0 VTPChildPoint -4, 0, -5, 0 VTPChildPoint -4, 0, -5, 0 VTPChildPoint -5, 0, -5, 0 VTPChildPoint -4, 0, -6, 0 VTPWidePoint 11999, 0, 8981, 7 VTPChildPoint -4, 0, -6, 0 VTPChildPoint -5, 0, -6, 0 VTPChildPoint -6, 0, -6, 0 VTPChildPoint -4, 0, -5, 0 VTPChildPoint -5, 0, -6, 0 VTPChildPoint -5, 0, -6, 0 VTPChildPoint -4, 0, -6, 0 VTPWidePoint 11963, 0, 8933, 7 VTPChildPoint -4, 0, -6, 0 VTPChildPoint -3, 0, -7, 0 VTPChildPoint -2, 0, -5, 0 VTPChildPoint -3, 0, -7, 0 VTPChildPoint -6, 0, -12, 0 VTPChildPoint -5, 0, 6, 0 VTPChildPoint 7, 0, -13, 0 VTPWidePoint 11946, 0, 8895, 1 VTPChildPoint 3, 0, 3, 0CELLEND_000000 label word; End of cell 242 x 203 data; Start of cell 243 x 203 dataCELLSTART_000001 label wordCellID_000001 EQU VTPCellID 0, 243, 203 VTPDataArea 1, 1, 19, 11 VTPLayer 4, 0 VTPNumTexturesInLayer 1, 0;; next VTPTextureID section; VTPTextureId 0, 0 VTPPolyCount 1, 0 VTPPolyMethod2 31, 1, 0 VTPPolyMethod2Ex 42 ; Total = 73 VTPWidePoint 4274, 1, 8517, 7 VTPWidePointWidth 1 VTPChildPoint 3, 0, -3, 0 VTPChildPoint 1, 0, 1, 1 VTPWidePointWidth 40 VTPChildPoint 0, 0, 5, 1 VTPWidePointWidth 40 VTPChildPoint 0, 0, 7, 0 VTPChildPoint -1, 0, 5, 0 VTPChildPoint -1, 0, 6, 0 VTPChildPoint 1, 0, 7, 0 VTPWidePoint 4277, 0, 8551, 7 VTPChildPoint -1, 0, 6, 0 VTPChildPoint -1, 0, 7, 0 VTPChildPoint -1, 0, 6, 0 VTPChildPoint 0, 0, 6, 0 VTPChildPoint 0, 0, 6, 0 VTPChildPoint 0, 0, 7, 0 VTPChildPoint 0, 0, 6, 0 VTPWidePoint 4273, 0, 8601, 7 VTPChildPoint -1, 0, 6, 0 VTPChildPoint -1, 0, 6, 0 VTPChildPoint 0, 0, 7, 0 VTPChildPoint -1, 0, 6, 0 VTPChildPoint -1, 0, 6, 0 VTPChildPoint -1, 0, 7, 0 VTPChildPoint -1, 0, 6, 0 VTPWidePoint 4266, 0, 8651, 7 VTPChildPoint -1, 0, 6, 0 VTPChildPoint -1, 0, 7, 0 VTPChildPoint -1, 0, 8, 0 VTPChildPoint -1, 0, 5, 0 VTPChildPoint -2, 0, 6, 0 VTPChildPoint -3, 0, 5, 0 VTPChildPoint -2, 0, 4, 0 VTPWidePoint 4251, 0, 8695, 7 VTPChildPoint -3, 0, 3, 0 VTPChildPoint -4, 0, 2, 0 VTPChildPoint -4, 0, 1, 0 VTPChildPoint -4, 0, 2, 0 VTPChildPoint -5, 0, 1, 0 VTPChildPoint -4, 0, 1, 0 VTPChildPoint -5, 0, 2, 0 VTPWidePoint 4218, 0, 8710, 7 VTPChildPoint -5, 0, 3, 0 VTPChildPoint -5, 0, 4, 0 VTPChildPoint -4, 0, 5, 0 VTPChildPoint -5, 0, 5, 0 VTPChildPoint -5, 0, 5, 0 VTPChildPoint -4, 0, 5, 0 VTPChildPoint -4, 0, 6, 0 VTPWidePoint 4181, 0, 8748, 7 VTPChildPoint -4, 0, 6, 0 VTPChildPoint -5, 0, 6, 0 VTPChildPoint -4, 0, 6, 0 VTPChildPoint -4, 0, 6, 0 VTPChildPoint -4, 0, 6, 0 VTPChildPoint -4, 0, 6, 0 VTPChildPoint -4, 0, 6, 0 VTPWidePoint 4148, 0, 8796, 7 VTPChildPoint -5, 0, 6, 0 VTPChildPoint -4, 0, 6, 0 VTPChildPoint -4, 0, 7, 0 VTPChildPoint -4, 0, 6, 0 VTPChildPoint -4, 0, 6, 0 VTPChildPoint -4, 0, 6, 0 VTPChildPoint -5, 0, 7, 0 VTPWidePoint 4114, 0, 8846, 7 VTPChildPoint -5, 0, 6, 0 VTPChildPoint -4, 0, 6, 0 VTPChildPoint -5, 0, 6, 0 VTPChildPoint -5, 0, 6, 0 VTPChildPoint -4, 0, 7, 0 VTPChildPoint -5, 0, 6, 0 VTPChildPoint -4, 0, 6, 0 VTPWidePoint 4085, 0, 8892, 0CELLEND_000001 label word; End of cell 243 x 203 dataVTPIndexStart label word VTPIndexHeader 2, VTPIndexData, VTPDataStartVTPIndexData label word VTPIndexEntry CellID_000000, VTPDataStart, CELLSTART_000000, CELLEND_000000 VTPIndexEntry CellID_000001, VTPDataStart, CELLSTART_000001, CELLEND_000001VTPEnd label word; ------- statistics -----------; 2 lines found in Layer 4And a screenshot...http://forums.avsim.net/user_files/89903.jpgRegards,Jay

Share this post


Link to post
Share on other sites

Still no change after playing around with chptconv.Here's the last command I used:chptconv -i pr2004v3bx_VTP.asm -o pr2004v3bc_VTP.asm -d 2 -l 4 -m 3 -w 3

Share this post


Link to post
Share on other sites

Hi Jay.As an experiment. alter your terrain.cfg file like this:

// utility lines[Autogen.0.0.0]AutoObject="054382ec5h,04a43b1bdh,05f4f1aaah,0c3569352h"ObjectSize=30ExclusionWidth=20ClipData=1Offset=0Density=100PlaceOnWater=0MinAutogenDensity=20

ObjectSize=30 is the change. The ObjectSize is the distance between objects in the vector. The default for the utility towers is 600 meters. Changing it to 30 meters should display on the childpoint lines. If the line segment points are spaced closer than 600 meters for the default setting, there may be a problem with the towers being displayed at 600.Dick

Share this post


Link to post
Share on other sites

Success at last!Changed the ObjectSize to 30http://forums.avsim.net/user_files/89938.jpgI did two tests, one with the original code without the VTPChildPoint and one with it...got the same results. So, it appears that the problem was the ObjectSize from the begining. Such a simple fix... :-dohThanks Dick, Chris, Holger, et all!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...