Jump to content
Korean Random
Dumadidak

[HELP] Swf file expert needed :(

Recommended Posts

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:
post-27708-0-96314000-1438466897_thumb.jpg

 

Now I have something like this: (ehhhhhh)

post-27708-0-02849800-1438446530_thumb.jpg


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...

Greeting
Dumadidak

 

Additional files:

AmmunitionPanel.swfpost-27708-0-83691000-1438446633.png

Edited by Dumadidak

Share this post


Link to post

Short link
Share on other sites

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:
post-27708-0-89914300-1438467142_thumb.jpg

I want to do it looks like this:

post-27708-0-34318400-1438467277_thumb.jpg

 

But now I have this:

post-27708-0-11361000-1438467223_thumb.jpg
 

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 by Dumadidak

Share this post


Link to post

Short link
Share on other sites

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 by tunut
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Thank You very much for your tips. I changed what You said. But it still doesn't work properly :(

post-27708-0-36123400-1438516011_thumb.jpg

 

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 :/

Greetings
Dumadidak

Share this post


Link to post

Short link
Share on other sites

Меня одного напрягло слово Склеп ?

 

Мяу, не знаешь у него карусель видоизменена, это XVM?

Share this post


Link to post

Short link
Share on other sites

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

Share this post


Link to post

Short link
Share on other sites

offtopic

guys are interested in your carousel settings. Also it`s interesting to see your full XVM config. Is there any thread somewhere?

Share this post


Link to post

Short link
Share on other sites

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

 

pre_1438730262__untitled22.png

 

pre_1438730240__untitled.png

  • Upvote 2

Share this post


Link to post

Short link
Share on other sites

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

 

pre_1438730262__untitled22.png

 

pre_1438730240__untitled.png

where can download?

Share this post


Link to post

Short link
Share on other sites

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 by soulza
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

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!

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...