Results 1 to 11 of 11

Thread: C4 terrain files

  1. #1
    Registered User
    Join Date
    Jun 2002
    Location
    Belarus
    Posts
    171
    Downloads
    0
    Uploads
    0

    C4 terrain files

    2 questions...
    what is the .cpt file?

    can anyone explain how the sectors are layed out in this?

    polytrn_sectorcount 4 ; width of sectors
    polytrn_wrapx 1 ; do we wrap on X?
    polytrn_wrapy 1 ; do we wrap on Y?

    polytrn_origin -2 -2 ; move terrain origin by this amount (X,Y)

    polytrn_sectors 3 1 3 4 ; width here must match above
    polytrn_sectors 4 2 4 3
    polytrn_sectors 3 1 3 4
    polytrn_sectors 4 2 4 3
    rus
    -----------
    Mors Mortis Quidem

  2. #2
    Registered User
    Join Date
    Jun 2002
    Location
    Belarus
    Posts
    171
    Downloads
    0
    Uploads
    0
    ok, forget that. i got the sector layout figured out.

    i just don't know what the .cpt file is.



    :o:o:o:o

    [Edited on 6-8-2002 by Rüstinsk]
    rus
    -----------
    Mors Mortis Quidem

  3. #3
    Bipolar Man
    Join Date
    Jun 2002
    Posts
    647
    Downloads
    0
    Uploads
    0
    not sure what it is either but it wont work without it.

  4. #4
    Mr Map Man ArcticWolf's Avatar
    Join Date
    Oct 2002
    Location
    SF Bay Area - Cali
    Posts
    200
    Downloads
    0
    Uploads
    0
    Talk to Major Headache, he knows.

  5. #5
    Bipolar Man
    Join Date
    Jun 2002
    Posts
    647
    Downloads
    0
    Uploads
    0
    can he make a new one?, .cpt that is

  6. #6
    Mr Map Man ArcticWolf's Avatar
    Join Date
    Oct 2002
    Location
    SF Bay Area - Cali
    Posts
    200
    Downloads
    0
    Uploads
    0
    I don't know, I thought maybe he might know what that cpt file is - either him or Pappy.....

  7. #7
    Registered User BaneFWP's Avatar
    Join Date
    Jan 2004
    Location
    Portland, Oregon
    Posts
    46
    Downloads
    0
    Uploads
    0

    trn file paradox

    Open a picture editing tool Photoshop works great,
    create a new image 1024 x 1024 Grayscale.

    Bucket fill the image using a light to medium gray shade.

    Divide the image into 4 equal squares using your best gestimation. Just try not to cross over the center in either direction.

    using the insert text tool select a font that can create huge text like courier new (400 points should do). Using black or white for the text shade, In the upper left corner type 1. (lol) Moving to the next upper right corner type 2 then 3 and 4 in the last to squares. I'm sure you know where were headed.

    save the file as raw format 8 bit no interleave. size will be 1.0 Mb if correct. Edit your .trn file to use the raw file u've created.
    open the medtool select your terrain and switch to the height or depth screen and you will see exactly where your tiles are being moved around. Its probably best to zero out all the rows and start with
    1 0 0 0
    0 0 0 0

    You do not have to close the editor just make the change to the trn file and switch to page 2 and re add the trn with the latest change.

    That should get you closer to understanding the puzzle.
    There is probably a real explanation in the directx sdk if you want the facts.

    But this way you get to compile you 1234 terrain into a map and fly through it.

    As for the cpt files they should be compiled for each map but. you can substitute one of the available one at a loss of performance and a few sharp triangles.

    Good Luck.

    BANE

  8. #8
    Registered User GuitarCrazyo's Avatar
    Join Date
    Oct 2009
    Posts
    5
    Downloads
    0
    Uploads
    0

    C4 terrain files

    PTG posting X-Files news???? I can hardly believe it....

    Thanks for the info though. So William will be mentioned after all. Interesting.

  9. #9
    Registered User
    Join Date
    Apr 2007
    Posts
    12
    Downloads
    0
    Uploads
    0

    Re: C4 terrain files

    The cpt is the skin/mesh of the terrain which is then overlaid with colourmaps and so forth.

  10. #10
    Admin Bluetiereign's Avatar
    Join Date
    Aug 2002
    Posts
    2,555
    Downloads
    59
    Uploads
    3

    Re: C4 terrain files

    Bull, what in the world you doing wondering around in here, lol ? Good to see you bro'.

  11. #11
    Registered User
    Join Date
    Apr 2007
    Posts
    12
    Downloads
    0
    Uploads
    0

    Re: C4 terrain files

    Hi Blue,just dropped by to see how things we`re...Like the new look/theme..Good stuff

Similar Threads

  1. C4 and Bin files
    By Bigjoe11a in forum Comanche 4
    Replies: 2
    Last Post: 10-11-2006, 07:12 PM
  2. .bat files
    By e-assasin in forum Terrain Building
    Replies: 3
    Last Post: 06-05-2004, 11:51 AM
  3. I Need help with wac files
    By Israeli Rambo in forum Delta Force Black Hawk Down/Team Sabre Map Editing
    Replies: 4
    Last Post: 08-04-2003, 05:25 AM
  4. where do i put the map files? C-4
    By kimchoc in forum Technical Questions
    Replies: 4
    Last Post: 03-18-2003, 12:19 AM
  5. 3DI files
    By Bluetiereign in forum Add-Ons and Mods
    Replies: 4
    Last Post: 12-18-2002, 07:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •