Dumadidak 23 Posted August 1, 2015 (edited) Hello,I know that it is XVM section, but I have little question for someone who is expert in changing swf files. I'm very desperate :(I tried to change something but I'm to noobish to do it in 100%.I will tell You what is going on:FILE: AmmunitionPanel.swf (from flash directory)1. Disabling "maintanceBtn" (done in scripts/AmmunitionPanelMC | maintenanceBtn.visible = false;)2. Changed image of icon -> (done in scripts/AmmunitionPanelMC | tuningBtn.iconSource = "PaintBucket.png";) 3. Changed x position of button -> (done sprites/AmmunitionPanelMC/frame1/PlaceObject3 Depth:2 (tuningBtn) | matrix->translate X) 4. Changed y position of button -> (doesn't work when I was trying to change it like above) 5. Changed background of button -> (I don't know how to do it ;/) 6. Make it works (scaling properly) -> (I don't know how to do it ;/)I want to have something like this: Now I have something like this: (ehhhhhh) I will be grateful for any suggestions how could I change this button to work :) And description of changes will be also welcome (I wanna learn something).I think this is more complicated change... some programming (Action Script) changes...GreetingDumadidak Additional files: AmmunitionPanel.swf Edited August 2, 2015 by Dumadidak Quote Share this post Link to post Short link Share on other sites
soulza 14 #286017 Posted August 1, 2015 not 100% sure what you want to change ? but on the subject ,i did these this week Quote Share this post Link to post Short link Share on other sites
TornadoCat 1,027 #286019 Posted August 1, 2015 Меня одного напрягло слово Склеп ? 1 Quote Share this post Link to post Short link Share on other sites
_EHOME 17 #286029 Posted August 1, 2015 Меня одного напрягло слово Склеп ? Не Вас одного:) Quote Share this post Link to post Short link Share on other sites
Dumadidak 23 #286044 Posted August 1, 2015 (edited) Sorry, I wasn't clear. And I put wrong screenshot (first screenshot edited - now is the right one). I want to delete buttons maintenance and tuning. But the second one "tuning" I want to put near the other icons and change background image of it and put that "paintbucket" in it. It wasn't about icons ammunition and equipment. It is about making new icon from button above. And I tried to deal with that for many hours but just couldn't do that. Original it looks like this:I want to do it looks like this: But now I have this: Please :) help meeeee guys, at this forum (RU) You have a lot of specialist of programming and making mods, that's why I asked for help here not at EU forum.I will be grateful for some tips, where I could change button image and make it works. Edited August 1, 2015 by Dumadidak Quote Share this post Link to post Short link Share on other sites
tunut 203 #286060 Posted August 2, 2015 (edited) custom button size: add this lines tuningBtn.width = 47;tuningBtn.height = 47; tuningBtn.iconSource = "paintbucket.png"; --------- backgrounds/images is called from controls.swf - DefineSprite 387(ButtonIconText), Images 312, 318... --------- and.. correct position on button is matrix->translate X 14,993 ; Y 1,650 -------- i hope this could help you. Edited August 2, 2015 by tunut 1 Quote Share this post Link to post Short link Share on other sites
Dumadidak 23 #286110 Posted August 2, 2015 Thank You very much for your tips. I changed what You said. But it still doesn't work properly :( For now:- PaintBucket icon is blured - PanitBucket icon is truncate (not full) - ButtonBackground - I changed images (by replace) in controls.swf but the size of it (proportion) are still fucked up I think, that better way to change it, is by putting direction to the image of ammunition panel, and leaving controls.swf alone. But probably it is much more complicated. Maybe in controls.swf there is some code to change but for now I can't find it :/GreetingsDumadidak Quote Share this post Link to post Short link Share on other sites
BossBox 14 #286187 Posted August 3, 2015 Меня одного напрягло слово Склеп ? Мяу, не знаешь у него карусель видоизменена, это XVM? Quote Share this post Link to post Short link Share on other sites
TornadoCat 1,027 #286188 Posted August 3, 2015 @BossBox, канеша ) Quote Share this post Link to post Short link Share on other sites
Dumadidak 23 #286189 Posted August 3, 2015 I don't know why ppl writing in russian in english thread :P Sorry guys but I don't understand You. Google translator isn't perfect.I modified carousel in XVM, hardly. And not only in XVM (menu.mo). I made new icons to work like that. I also changed some swf files.But for now I want to change that "tuning" button.... :(Greetings Quote Share this post Link to post Short link Share on other sites
vlad_cs_sr 1,575 #286191 Posted August 3, 2015 offtopic guys are interested in your carousel settings. Also it`s interesting to see your full XVM config. Is there any thread somewhere? Quote Share this post Link to post Short link Share on other sites
soulza 14 #286449 Posted August 4, 2015 i would also be interested in your no crew settings etc. after reading this thread tonight i decided to redo my carousel here are results , i think with your settings added this could be even better , this modification is available for you to download if you want it 2 Quote Share this post Link to post Short link Share on other sites
kill3r 0 #286450 Posted August 5, 2015 i would also be interested in your no crew settings etc. after reading this thread tonight i decided to redo my carousel here are results , i think with your settings added this could be even better , this modification is available for you to download if you want it where can download? Quote Share this post Link to post Short link Share on other sites
soulza 14 #286512 Posted August 5, 2015 (edited) to get the above effect there were basically two ways i could do it , this version i did via the maps/icons/vehicles , which is ok and fine , but i did not know this folder is also used by the battle results, so i need to redo this mod via the carousel .swf , not a biggie will update it this evening. but you can get this version with all files you need here:- http://roughnecksxvmmods.ipbhost.com/index.php?/topic/1645-soulzas-tanks-99/ updated to v2 (using flags.swf) http://www.mediafire.com/download/hfau893bofbic74/soulzas_tanksv2.rar Edited August 5, 2015 by soulza 1 Quote Share this post Link to post Short link Share on other sites
soulza 14 #286640 Posted August 6, 2015 got the vehicle state icons to work as well :) Quote Share this post Link to post Short link Share on other sites
kill3r 0 #286769 Posted August 7, 2015 to get the above effect there were basically two ways i could do it , this version i did via the maps/icons/vehicles , which is ok and fine , but i did not know this folder is also used by the battle results, so i need to redo this mod via the carousel .swf , not a biggie will update it this evening. but you can get this version with all files you need here:- http://roughnecksxvmmods.ipbhost.com/index.php?/topic/1645-soulzas-tanks-99/ updated to v2 (using flags.swf) http://www.mediafire.com/download/hfau893bofbic74/soulzas_tanksv2.rar thanks, Works! Quote Share this post Link to post Short link Share on other sites