Not sure, but I think, it should be possible. First of all you have to find the right file (perhaps ingameheroselect or palantir) and the right position in the file.
There should be the structure with the right number of layers. So you have to add some more layers and than you can test the new file.
Editing APT Files
#201
Posted 12 March 2014 - 11:47 AM
#202
Posted 12 March 2014 - 11:48 AM
Ok, thank you...I'll try my best!
#203
Posted 12 March 2014 - 02:33 PM
It doesn't work :(
I added placeobjects with poname from Hero17 to Hero20.
Is there something more I should do?
<placeobject flags="62" depth="1" character="22" rotm00="0.677963" rotm01="0.000000" rotm10="0.000000" rotm11="0.677963" tx="-5.000000" ty="42.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="SelectAllHeroesBttn" /> </placeobject> <placeobject flags="62" depth="5" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="0.999252" tx="23.950001" ty="0.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero1" /> </placeobject> <placeobject flags="62" depth="32" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="93.949997" ty="0.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero2" /> </placeobject> <placeobject flags="62" depth="59" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="163.949997" ty="0.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero3" /> </placeobject> <placeobject flags="62" depth="86" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="233.949997" ty="0.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero4" /> </placeobject> <placeobject flags="62" depth="113" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="303.950012" ty="0.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero5" /> </placeobject> <placeobject flags="62" depth="140" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="373.950012" ty="0.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero6" /> </placeobject> <placeobject flags="62" depth="167" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="443.950012" ty="0.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero7" /> </placeobject> <placeobject flags="62" depth="194" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="513.950012" ty="0.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero8" /> </placeobject> <placeobject flags="62" depth="221" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="583.950012" ty="0.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero9" /> </placeobject> <placeobject flags="62" depth="248" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="0.999252" tx="23.950001" ty="-70.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero10" /> </placeobject> <placeobject flags="62" depth="275" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="93.949997" ty="-70.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero11" /> </placeobject> <placeobject flags="62" depth="302" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="163.949997" ty="-70.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero12" /> </placeobject> <placeobject flags="62" depth="329" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="233.949997" ty="-70.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero13" /> </placeobject> <placeobject flags="62" depth="356" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="303.950012" ty="-70.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero14" /> </placeobject> <placeobject flags="62" depth="383" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="373.950012" ty="-70.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero15" /> </placeobject> <placeobject flags="62" depth="410" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="443.950012" ty="-70.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero16" /> </placeobject> <placeobject flags="62" depth="437" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="23.950001" ty="-140.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero17" /> </placeobject> <placeobject flags="62" depth="464" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="93.949997" ty="-140.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero18" /> </placeobject> <placeobject flags="62" depth="491" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="163.949997" ty="-140.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero19" /> </placeobject> <placeobject flags="62" depth="491" character="98" rotm00="1.000000" rotm01="0.000000" rotm10="0.000000" rotm11="1.000000" tx="233.949997" ty="-140.000000" red="0" green="255" blue="255" alpha="255" ratio="0.000137" clipdepth="-1" unknown="0"> <poname name="Hero20" /> </placeobject>
#204
Posted 12 March 2014 - 02:58 PM
#205
Posted 12 March 2014 - 03:53 PM
Tried to change an existing position and it works, but still there aren't my new placeobjects...I'm wondering if I have to declare them in some other files...
Edited by _mclovin, 12 March 2014 - 04:05 PM.
#206
Posted 13 March 2014 - 12:19 AM
Perhaps you have to edit all parts for this (flashlight, constfile, etc), but im not sure and i cant test that atm.
In two weeks time i finished my last exam, so i can try to implement that.
#208
Posted 13 March 2014 - 04:25 PM
@Gwanw if you tell me what are all the parts to edit I can try by myself. I found that FlashEffects are numbered as the heroes placeobjects, so I added them too. But nothing happened.
Is there a file where to set boundaries of the UI sections?
#209
Posted 13 March 2014 - 05:09 PM
Nah you shouldn't have to edit the selection boundaries/geometry, the object which you are basing those things off (or the apt parts you copied) most likely have that part themselves
The Const file is most likely the thing that you need to edit...
#210
Posted 13 March 2014 - 05:17 PM
I don't find nothing inside the const file that can help me. Maybe I'm searching in the wrong file?
This is the content of InGameHeroSelect.const:
<?xml version='1.0'?> <apt aptdataoffset="1224" itemcount="189"> <constant sequence="0" string="state" /> <constant sequence="1" string="this" /> <constant sequence="2" string="Hero" /> <constant sequence="3" string="index" /> <constant sequence="4" string="gotoAndPlay" /> <constant sequence="5" string="SelectedHighlight" /> <constant sequence="6" string="FlashEffect" /> <constant sequence="7" string="AttackedFlash" /> <constant sequence="8" string="count" /> <constant sequence="9" string="_global" /> <constant sequence="10" string="DoTrace" /> <constant sequence="11" string="Starting attacked effect" /> <constant sequence="12" string="_go" /> <constant sequence="13" string="Extending attacked effect" /> <constant sequence="14" string="LevelUpFlash" /> <constant sequence="15" string="_stop" /> <constant sequence="16" string="value" /> <constant sequence="17" string="HealthBar" /> <constant sequence="18" string="gotoAndStop" /> <constant sequence="19" string="RankProgress" /> <constant sequence="20" string="selectAllBttnState" /> <constant sequence="21" string="SelectAllHeroesBttn" /> <constant sequence="22" string="bttnState" /> <constant sequence="23" string="_" /> <constant sequence="24" string="faction" /> <constant sequence="25" string="Images" /> <constant sequence="26" string="SelectImageSet" /> <constant sequence="27" string="initialized" /> <constant sequence="28" string="InGame" /> <constant sequence="29" string="Show" /> <constant sequence="30" string="_parent" /> <constant sequence="31" string="OnHeroSelectMovieLoaded" /> <constant number="1" sequence="32" /> <constant number="1" sequence="33" /> <constant number="1" sequence="34" /> <constant number="1" sequence="35" /> <constant number="1" sequence="36" /> <constant number="1" sequence="37" /> <constant number="1" sequence="38" /> <constant number="1" sequence="39" /> <constant number="1" sequence="40" /> <constant number="1" sequence="41" /> <constant number="2" sequence="42" /> <constant number="3" sequence="43" /> <constant number="1" sequence="44" /> <constant number="2" sequence="45" /> <constant number="2" sequence="46" /> <constant number="1" sequence="47" /> <constant number="3" sequence="48" /> <constant number="3" sequence="49" /> <constant number="1" sequence="50" /> <constant number="1" sequence="51" /> <constant number="1" sequence="52" /> <constant number="1" sequence="53" /> <constant sequence="54" string="" /> <constant sequence="55" string="" /> <constant sequence="56" string="" /> <constant sequence="57" string="" /> <constant sequence="58" string="" /> <constant sequence="59" string="" /> <constant sequence="60" string="" /> <constant sequence="61" string="" /> <constant sequence="62" string="" /> <constant sequence="63" string="" /> <constant sequence="64" string="" /> <constant sequence="65" string="" /> <constant sequence="66" string="" /> <constant sequence="67" string="" /> <constant sequence="68" string="" /> <constant sequence="69" string="" /> <constant sequence="70" string="_global" /> <constant sequence="71" string="InGame" /> <constant sequence="72" string="Test" /> <constant sequence="73" string="faction" /> <constant sequence="74" string="_Mordor" /> <constant sequence="75" string="_up" /> <constant sequence="76" string="SelectAllHeroesBttn" /> <constant sequence="77" string="gotoAndPlay" /> <constant sequence="78" string="Hero1" /> <constant sequence="79" string="_show" /> <constant sequence="80" string="SelectedHighlight" /> <constant sequence="81" string="PlayButtonLevelUpEffect" /> <constant sequence="82" string="HealthBar" /> <constant sequence="83" string="gotoAndStop" /> <constant sequence="84" string="RankProgress" /> <constant sequence="85" string="Hero2" /> <constant sequence="86" string="_go" /> <constant sequence="87" string="AttackedFlash" /> <constant sequence="88" string="Hero3" /> <constant sequence="89" string="i" /> <constant sequence="90" string="this" /> <constant sequence="91" string="Hero" /> <constant sequence="92" string="state" /> <constant sequence="93" string="_global" /> <constant sequence="94" string="DoTrace" /> <constant sequence="95" string="SetImageState( " /> <constant sequence="96" string=" )" /> <constant sequence="97" string="this" /> <constant sequence="98" string="imageState" /> <constant sequence="99" string="Images" /> <constant sequence="100" string="gotoAndPlay" /> <constant sequence="101" string="SelectImageSet( " /> <constant sequence="102" string="imageSet" /> <constant sequence="103" string="initialized" /> <constant sequence="104" string="_parent" /> <constant sequence="105" string="faction" /> <constant sequence="106" string="SelectImageSet" /> <constant number="1" sequence="107" /> <constant number="1" sequence="108" /> <constant number="1" sequence="109" /> <constant number="1" sequence="110" /> <constant sequence="111" string="this" /> <constant sequence="112" string="imageState" /> <constant sequence="113" string="Images" /> <constant sequence="114" string="gotoAndPlay" /> <constant sequence="115" string="this" /> <constant sequence="116" string="imageState" /> <constant sequence="117" string="Images" /> <constant sequence="118" string="gotoAndPlay" /> <constant sequence="119" string="this" /> <constant sequence="120" string="imageState" /> <constant sequence="121" string="Images" /> <constant sequence="122" string="gotoAndPlay" /> <constant sequence="123" string="this" /> <constant sequence="124" string="imageState" /> <constant sequence="125" string="Images" /> <constant sequence="126" string="gotoAndPlay" /> <constant sequence="127" string="this" /> <constant sequence="128" string="imageState" /> <constant sequence="129" string="Images" /> <constant sequence="130" string="gotoAndPlay" /> <constant sequence="131" string="this" /> <constant sequence="132" string="imageState" /> <constant sequence="133" string="Images" /> <constant sequence="134" string="gotoAndPlay" /> <constant sequence="135" string="initialized" /> <constant sequence="136" string="state" /> <constant sequence="137" string="_parent" /> <constant sequence="138" string="selectAllBttnState" /> <constant sequence="139" string="_global" /> <constant sequence="140" string="MinLOD" /> <constant sequence="141" string="effect1" /> <constant sequence="142" string="_visible" /> <constant sequence="143" string="effect2" /> <constant sequence="144" string="_global" /> <constant sequence="145" string="MinLOD" /> <constant sequence="146" string="effect3" /> <constant sequence="147" string="_visible" /> <constant sequence="148" string="effect4" /> <constant sequence="149" string="effect5" /> <constant sequence="150" string="count" /> <constant sequence="151" string="_global" /> <constant sequence="152" string="MinLOD" /> <constant sequence="153" string="i" /> <constant sequence="154" string="this" /> <constant sequence="155" string="effect" /> <constant sequence="156" string="_visible" /> <constant sequence="157" string="disabling effect:" /> <constant sequence="158" string="effectLOD" /> <constant sequence="159" string="moverInterval" /> <constant sequence="160" string="AnimateMover" /> <constant sequence="161" string="setInterval" /> <constant sequence="162" string="targetFrame" /> <constant sequence="163" string="targetLevel" /> <constant sequence="164" string="" /> <constant sequence="165" string="clearInterval" /> <constant sequence="166" string="this" /> <constant sequence="167" string="_imageMap" /> <constant sequence="168" string="_parent" /> <constant sequence="169" string="_" /> <constant sequence="170" string="_name" /> <constant sequence="171" string="Image" /> <constant sequence="172" string="rankString" /> <constant sequence="173" string="$" /> <constant sequence="174" string="_parent" /> <constant sequence="175" string="_" /> <constant sequence="176" string="_name" /> <constant sequence="177" string="Rank&dropshadow" /> <constant sequence="178" string="_type" /> <constant sequence="179" string="RenderImage" /> <constant sequence="180" string="_imageMap" /> <constant sequence="181" string="" /> <constant sequence="182" string="_mode" /> <constant sequence="183" string="this" /> <constant sequence="184" string="_imageMap" /> <constant sequence="185" string="_parent" /> <constant sequence="186" string="_" /> <constant sequence="187" string="_name" /> <constant sequence="188" string="Image" /> </apt>
#211
Posted 19 March 2014 - 02:42 PM
So no one can help me?
#213
Posted 19 March 2014 - 08:48 PM
Ok, I'll wait, thank you
#214
Posted 20 March 2014 - 12:00 AM
Someone can tell me why my apt2xml doesn't work with Palantir.apt?
I used it without any problem with InGameHeroSelect.apt, but Palantir.apt doesn't get converted...
#215
Posted 20 March 2014 - 10:45 AM
Finally I got my Palantir.apt converted, but as I edit xml, re-convert it into apt and then put it again into Palantir.big, the game crashes...
I think the problem is finalbig or xml2apt encoding, because I tried to repack Palantir.big with the "original" apt and the game still crashes.
Any idea?
I noticed that when I edited Palantir.big to put the new apt inside and overwrite the previous one, it changed the order of the files inside the .big file...may the problem be that?
#216
Posted 20 March 2014 - 10:20 PM
Don't think so.. this is an odd one, not sure I can help solve it though...
What FinalBig are you using? (from where?) (version number if possible?)
#217
Posted 21 March 2014 - 10:14 AM
FinalBIG Alpha Copyright 2003. There isn't any version number.
The strange thing is that it works fine with other files...
What do you mean with "from where"?
#218
Posted 22 March 2014 - 12:03 AM
The problem is the converter. At the moment the converter didnt notice the "&" within a name.
#219
Posted 23 March 2014 - 11:51 AM
So I'll never be able to edit palantir.apt???
#220
Posted 27 March 2014 - 12:38 PM
Not until it's updated. It may be, or it may not be.
https://www.twitch.tv/vileartist - Yes shameless self-promotion
----------------------------------------------------------------------------------------------------------------------
"Old modders never die, they just fade away" ~ Hostile
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users