Clipping

Discussion in 'General Modification' started by Shiningted, May 18, 2005.

Remove all ads!
  1. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    Can anyone tell me anything about the clipping.cgf file in the folders of the various maps, or the .dag file it points at? They seem essential.
     
  2. Kalshane

    Kalshane Local Rules Geek

    Joined:
    Aug 6, 2004
    Messages:
    1,653
    Likes Received:
    4
    My guess (and it's a guess based on zero programming skills, only familiarity with Doom and its cheat codes) is that it determines where on the various maps your characters can't go.
     
  3. Morpheus

    Morpheus Mindflayer Veteran

    Joined:
    Nov 11, 2003
    Messages:
    539
    Likes Received:
    1
    I'm afraid noone has figured out those files yet. Maybe Agetian and dulcaoin, our .mob file specialists, have made some progress on this? *points frantically in Agetian's and dulcaoin's general direction*
     
  4. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    Hmmm... well I do know fiddling with the .dag file means NOTHING comes up on the screen beyond the background .jpg... hmmm...

    Well, thanks anyway guys.

    Now as for these .mob files (heads off to start a new topic)
     
  5. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    clipping.cgf, along with the dag files, defines the 3D clipping geometry for the area. The game is a blend of 2D and 3D, so the backgrounds are 2D, while all the 3D stuff is defined by means of a bunch of extra information, among which is the CGF/DAG stuff :)

    The file formats are pretty much unknown to anyone. I didn't dig very deep into them, personally.

    - Agetian
     
  6. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    Thanks Agetian, somehow i missed this reply. I could be wrong but i think the .dag file is integral to reading the mob's on a new map (after all, the .mobs seem to say what is there and the .dag file says how to draw it, if i understand it correctly - albeit simply). I googled .dag file and it seems to be something that python pulls in and reads (obviously, i guess) - script, rather than plain data. Mind u, my background is long-unused z-80 and BASIC stuff, so don't take my word for it. I tried a few different editors but haven't yet found one that can interpret the .dag file - the closest was something called 'notepad ++', a sort of combined text / hex editor, it recognised that it was dealing with script not just hex data but didn't really show what it was saying in any meaningful way.

    O well, back to the hacking. At least i have a day off tomorrow. Does modding for the good of mankind rather than for profit count as violating the Sabbath? I think not <sharpens his hacking axe>
     
  7. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    I wouldn't agree with this, even though (as I said earlier) I didn't dig into .dags very much. My programming experience tells me that these files define different clipping regions (e.g. for walls, static drawn objects, and so on), and the CGF file combines all this stuff together, defining what DAG regions (exactly) are drawn on a specific map. Once again, I may be wrong. I highly doubt that DAGs have to do anything with the MOBs, though (their purpose is completely different). Hope this helps.

    - Agetian
     
  8. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    Hmmmm... well, fair enough. There is no point fiddling with files I can't even read, i will try my hand at something more useful for the moment.

    Cheers :)
     
Our Host!