maybe someone can answer this ?

Results 1 to 7 of 7
  1. #1
    Account Upgraded | Title Enabled! norman1234 is offline
    MemberRank
    May 2009 Join Date
    303Posts

    maybe someone can answer this ?

    ok i know this might have been answered.. i did do a complete search for 2 days before thinking about posting this... how to edit .bon files..for riding positions.. i have the kuq bon editior.. yet when i open and do any kind of editing it wont save it sorta like freezes.. i can type whatever it just wont save it.. i have looked via hex editor and have like no clue via that. does someone know a easier way or at least a pic of what to change via hex editor. or anyone knows a working bon editor


  2. #2
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: maybe someone can answer this ?

    There might be a hex editor template somewhere but I don't think that bon editor actually works and most people around here probably just hex edit all the things in

  3. #3
    Account Upgraded | Title Enabled! norman1234 is offline
    MemberRank
    May 2009 Join Date
    303Posts

    Re: maybe someone can answer this ?

    yeah i kinda figured it was hex editior.. but on that i'm lost.. at least with my hex editor but if someone could point or show the address i'd be very thankful and btw i'mn using hhd hex editor neo

  4. #4
    Account Upgraded | Title Enabled! norman1234 is offline
    MemberRank
    May 2009 Join Date
    303Posts

    Re: maybe someone can answer this ?

    well i sorta figured out something via hex.. i found the hh ride but what coding is it?
    6c 8c 25 bb bb ff 7f 3f 16 aa b1 ba
    thats the hex code for one i am trying to edit
    9c db 6b bc 00 00 80 bf d7 75 21 bd
    thats a working one.. i put that in for the other and nothing happens

  5. #5
    Account Upgraded | Title Enabled! ronny1982 is offline
    MemberRank
    Jan 2010 Join Date
    744Posts

    Re: maybe someone can answer this ?

    • bon files may have multiple hooks
    • hooks are anchors at specific character points
    • hook consists of it's GBK encoded name (unique identifier) and a homogeneous transformation matrix
    • i.e. name: CC_feijian = hook at characters feet point (human flights?)
    • i.e. name: HH_Weapon = hook at characters weapon hand
    • when a model is "hooked" to a character, all points of the model are multiplied by the transformation matrix corresponding to the hook
    • first find the correct hook identifier (name)
    • next goto the transformation matrix for the hook
    • the transformation matrix is stored in column order
    • change the position/orientation (relative to the character hook) by editing the transformation matrix (translation, scale, rotation)


    *note matrix diagonal is x,y,z -> pw coordinates are x,z,y (z is altitude)
    Attached Thumbnails Attached Thumbnails bon.gif  
    Attached Files Attached Files
    Last edited by ronny1982; 26-01-11 at 09:49 PM.

  6. #6
    Account Upgraded | Title Enabled! norman1234 is offline
    MemberRank
    May 2009 Join Date
    303Posts

    Re: maybe someone can answer this ?

    thanks ronny and which editor is that? or to open that file? i used one viewer but its nothing like that

  7. #7
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: maybe someone can answer this ?

    Quote Originally Posted by norman1234 View Post
    thanks ronny and which editor is that? or to open that file? i used one viewer but its nothing like that
    HexEdit 3.0F



Advertisement