Jump to content


Photo

Editing APT Files


  • Please log in to reply
247 replies to this topic

#141 Guest_Guest_Arathorn_*

Guest_Guest_Arathorn_*
  • Guests

Posted 23 March 2012 - 07:11 AM

I am the Arathorn guy and i think Gwanw will give you His permission too :D

#142 ReallyFat

ReallyFat

    title available

  • Project Team
  • 352 posts

Posted 23 March 2012 - 09:46 AM

btw, arathorn, what happened to your account?

Anyway, Yaro, if you read my Elizabethan english note, you would see that i found out how to move it. my problem is ROTATION

signature.png


#143 逊Arathorn妻

逊Arathorn妻
  • Members
  • 44 posts
  • Projects:W3D-Importer

Posted 24 March 2012 - 12:23 AM

I was too lazy to sign in :p

#144 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 24 March 2012 - 05:06 PM

Ridder, any ideas on rotation?

#145 Gwanw

Gwanw
  • Members
  • 150 posts
  • Location:Germany
  • Projects:OpenSAGE
  •  ...

Posted 25 March 2012 - 04:45 PM

'And amidst his confusion and despair, in plain hopelessness, he sought for extra ponames. And then did he find the relative object, and did smack himself on the forehead. And the modders would say unto him, "Thou fool, thou art truly one impatient, and seeketh not answer, but beg others for one." Then did he rush to to Revora, and did post that he had found what he sought. the relative object was indeed existent, and the SideCommandBar moved, but the wretch could not work out, not though he tried with all his mind, on how the SideCommandBar was to be rotated horizontally. In utter confusion did he ask for help on whether it had anything to do with the rotational matrices, and if it did, how he could rotate that vertical object a full ninety degrees clockwise.'

-The Chronicles of APT, Chapter 7: ReallyFat, lord of the Legendarium


This post contains the answer.
rotm00, -01, -10 and -11 define a rotation matrix, so you can rotate every placeobject.

/ 1 0 \ / 1 -0,707 \
\ 0 1 / \ 0,707 1 /

Thats a rotation of 45° -> rotm00="1.000000" rotm01="-0.707107" rotm10="0.707107" rotm11="1.000000"

So you can every object rotate, strech, skew, etc.

And the upload of my tools is always ok^^.




I upload the Editor again^^:
http://www.the3rdage...m-708?visible=1

Edited by Gwanw, 25 March 2012 - 04:46 PM.


#146 ReallyFat

ReallyFat

    title available

  • Project Team
  • 352 posts

Posted 26 March 2012 - 03:10 PM

THANKS! i'll try it now. you know, gwanw, perhaps if i get this right, we two can write an article on APT editing together.

signature.png


#147 Gwanw

Gwanw
  • Members
  • 150 posts
  • Location:Germany
  • Projects:OpenSAGE
  •  ...

Posted 27 March 2012 - 10:14 AM

Sounds nice^^

#148 ReallyFat

ReallyFat

    title available

  • Project Team
  • 352 posts

Posted 27 March 2012 - 03:54 PM

Well, my sister taught me a bit about matrices, and i figured out how to rotate. but the game is still crashing. i'll make a video and post it here, then we can set our minds to it. once i'm done, i might add the new layout up as a download. on the articles thing, i thought it would be a good idea, because there are no articles on APT. i have a one week holiday coming up day after tomorrow, so let's write it then. ok?

signature.png


#149 Gwanw

Gwanw
  • Members
  • 150 posts
  • Location:Germany
  • Projects:OpenSAGE
  •  ...

Posted 27 March 2012 - 04:19 PM

bfme2wk-20120327-181217.png

<placeobject flags="166" depth="13" character="2" rotm00="0.707107" rotm01="0.707107" rotm10="-0.707107" rotm11="0.707107" tx="917.299988" ty="711.849976" red="255" green="255" blue="255" alpha="255" ratio="0.000000" clipdepth="-1" unknown="0">
                    <poname name="QuitMainMenu" />
                    <clipactions>
                    <clipaction flags="1" flags2="0">
                        <string action="161" str="buttonName" />
                        <string action="166" str="$Quit" />
                        <noarg action="0" />
                </clipaction>
                    </clipactions>
                </placeobject>

So the rotation shouldn't be the problem (if you use the same concept).
Ok, than thursday^^.

#150 ReallyFat

ReallyFat

    title available

  • Project Team
  • 352 posts

Posted 27 March 2012 - 04:22 PM

OK :D
anyway, i did rotate it, but i get a crash. i'll make a video and post it here later

signature.png


#151 ReallyFat

ReallyFat

    title available

  • Project Team
  • 352 posts

Posted 29 March 2012 - 09:22 AM

Posted Image

SCHOOL IS OVER FOR A WEEEEEK!

So, let's write the article, eh?


signature.png


#152 Gwanw

Gwanw
  • Members
  • 150 posts
  • Location:Germany
  • Projects:OpenSAGE
  •  ...

Posted 29 March 2012 - 01:52 PM

k, and which chat should we use??^^ (skype, msn, etc....)

#153 ReallyFat

ReallyFat

    title available

  • Project Team
  • 352 posts

Posted 29 March 2012 - 05:17 PM

Revora PM is fine, I'd say.

signature.png


#154 Elric

Elric

    Designer

  • Hosted
  • 2,857 posts
  • Projects:Middle-Earth Expanded
  •  Coder
  • Donated

Posted 03 April 2012 - 01:48 AM

For the Skyrim main menu. Is it possible to put it over to the left more. so that it is coming out the side of the screen? and what are the main files for just the menu (NO BACKGROUND). Also how do you install it exactly?

Edited by Dragon Rider, 03 April 2012 - 01:54 AM.


#155 Gwanw

Gwanw
  • Members
  • 150 posts
  • Location:Germany
  • Projects:OpenSAGE
  •  ...

Posted 03 April 2012 - 02:28 AM

Yes, its possible, you must only edit the positions of buttons and the grey part (its a image).
The important files are the apt files (.apt, .const, .dat, .ru) and their textures.
You must replace the old asset.dat by the new asset.dat (bfmeII-folder) and the skyrimmenu.big appertains to the rotwk folder. Now you should see the skyrimmenu.

#156 Elric

Elric

    Designer

  • Hosted
  • 2,857 posts
  • Projects:Middle-Earth Expanded
  •  Coder
  • Donated

Posted 03 April 2012 - 02:38 AM

See i am trying to get this:

Skyrim menu to the side more (Have no idea how to edit it) and then put it in a mod... (From Book to Game) thought it would be a cooler menu..

#157 Gwanw

Gwanw
  • Members
  • 150 posts
  • Location:Germany
  • Projects:OpenSAGE
  •  ...

Posted 03 April 2012 - 11:30 AM

The editing is very simple^^:
You need this converter:
http://www.the3rdage...tem-708?addview
Than you search in the mainmenu.xml (created by the converter) for this parts:

           	 <placeobject flags="38" depth="4" character="96" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="100.000000" ty="-2.000000" red="255" green="255" blue="255" alpha="255" ratio="0.000000" clipdepth="-1" unknown="0">
                    <poname name="TutorialsNav" />
                </placeobject>
                <placeobject flags="166" depth="13" character="2" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="199.000000" ty="350.000000" red="255" green="255" blue="255" alpha="255" ratio="0.000000" clipdepth="-1" unknown="0">
                    <poname name="QuitMainMenu" />
                    <clipactions>
                    <clipaction flags="1" flags2="0">
                        <string action="161" str="buttonName" />
                        <string action="166" str="$Quit" />
                        <noarg action="0" />
                </clipaction>
                    </clipactions>
                </placeobject>
                <placeobject flags="166" depth="25" character="2" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="0.999054" tx="199.000000" ty="300.000000" red="255" green="255" blue="255" alpha="255" ratio="0.000000" clipdepth="-1" unknown="0">
                    <poname name="MyHeroes" />
                    <clipactions>
                    <clipaction flags="1" flags2="0">
                        <string action="161" str="buttonName" />
                        <string action="166" str="$MyHeroes" />
                        <noarg action="0" />
                </clipaction>
                    </clipactions>
                </placeobject>
                <placeobject flags="38" depth="37" character="17" rotm00="1.000870" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="199.000000" ty="200.000000" red="255" green="255" blue="255" alpha="255" ratio="0.000000" clipdepth="-1" unknown="0">
                    <poname name="MultiPlayNav" />
                </placeobject>
                <placeobject flags="38" depth="118" character="20" rotm00="1.000580" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="199.000000" ty="250.000000" red="255" green="255" blue="255" alpha="255" ratio="0.000000" clipdepth="-1" unknown="0">
                    <poname name="OptionsNav" />
                </placeobject>
                <placeobject flags="38" depth="199" character="25" rotm00="1.000580" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="199.000000" ty="150.000000" red="255" green="255" blue="255" alpha="255" ratio="0.000000" clipdepth="-1" unknown="0">
                    <poname name="SoloPlayNav" />
                </placeobject>

   <placeobject flags="182" depth="9" character="2" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="-313.000000" ty="300.000000" red="255" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0">
    <poname name="ExitCredits" />
    <clipactions>
    <clipaction flags="1" flags2="0">
	 <string action="161" str="buttonName" />
	 <string action="166" str="$Exit" />
	 <noarg action="0" />
    </clipaction>
    </clipactions>
   </placeobject>

tx and ty are the coordinates (for a menu on the left side you must reduce the tx values).

#158 Elric

Elric

    Designer

  • Hosted
  • 2,857 posts
  • Projects:Middle-Earth Expanded
  •  Coder
  • Donated

Posted 04 April 2012 - 12:38 AM

Ok i get everything else but how to you use the converter? I put the files in the folder and then everything else after that i dont get...

#159 ReallyFat

ReallyFat

    title available

  • Project Team
  • 352 posts

Posted 04 April 2012 - 08:14 AM

Dude, don't worry bout that. I'm on the APTs. i'll move it

signature.png


#160 Elric

Elric

    Designer

  • Hosted
  • 2,857 posts
  • Projects:Middle-Earth Expanded
  •  Coder
  • Donated

Posted 07 June 2012 - 03:37 PM

Hey Apt editing guys, with the c&c tools i made a small gui interface. All you gotta do is Type in the name of the File.

Download

If i have MainMenu.apt and MainMenu.const then select the apt2xml.exe option. Then in the second textbox type: MainMenu. Press Run and there ya go. same goes for xml2apt.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users