Adding Ships to BM
5 posters
Page 1 of 1
Adding Ships to BM
Adding New Ships to Broken Mirror
Introduction:
This tutorial should be fairly simple as adding new ships is really easy. Assigning governments though is another matter, and can be a little trickier if not done properly.
Open up brokenmirror.fla
In the Library, go to the shiptypes Symbol
Now go to Frame 91. On the pics layer, add a blank keyframe (F7)
Now on the pics layer, insert your sprite
On frame 92, in the code layer, insert a new keyframe (F6). In the new frame, add the code:
gotoAndPlay(mytype);
NOTE: There should be one more frame after the last frame like described above with the action
gotoAndPlay(mytype);
To make this all work, you will need to add a new ship to the itemtext plugin in the preloader scene with all of the proper variables ship name, description, hull etc
You will also need to add the frame number of your sprite to one of the planets (or multiple planets) in the plugin text for planet info. That way you can buy your ship from a planet.
Introduction:
This tutorial should be fairly simple as adding new ships is really easy. Assigning governments though is another matter, and can be a little trickier if not done properly.
Open up brokenmirror.fla
In the Library, go to the shiptypes Symbol
Now go to Frame 91. On the pics layer, add a blank keyframe (F7)
Now on the pics layer, insert your sprite
On frame 92, in the code layer, insert a new keyframe (F6). In the new frame, add the code:
gotoAndPlay(mytype);
NOTE: There should be one more frame after the last frame like described above with the action
gotoAndPlay(mytype);
To make this all work, you will need to add a new ship to the itemtext plugin in the preloader scene with all of the proper variables ship name, description, hull etc
You will also need to add the frame number of your sprite to one of the planets (or multiple planets) in the plugin text for planet info. That way you can buy your ship from a planet.
Re: Adding Ships to BM
Again dude,..Thank you.
while this doesn't work for me, (I'm curently not using Macromedia)
this should be of GREAT help to many of those who share my asperations of being able to succesfully
custumise these games.
while this doesn't work for me, (I'm curently not using Macromedia)
this should be of GREAT help to many of those who share my asperations of being able to succesfully
custumise these games.
Lord-Kain- Passenger
- Number of posts : 12
Registration date : 2009-06-22
Re: Adding Ships to BM
One small thing... Lord-Kain... It doesn't matter if you're usign Macromedia Flash MX, 8 or Adobe Flash Pro CS#... They all work the same way...
Re: Adding Ships to BM
With all due respect, JPB18,...
this is not the case.
I have made several attempts to find a way to access the action script while useing adobi,
as well as any text files within the game.
I have found that in order to do so you must decompile the game file and once this is done adobi will no longer open the fla files.
perhaps once I have found a way to sercomvent this issue this tut will be more effective for me but as it stands my best bet is to use macromedia first then adobi to finnish the job.
However all of this seems to be a moot point as I have encountered a much larger snaphoo with my project then this,...and it's likely that my free triles will expire long before any more progress can be made.
By all means don't get me wrong,..I'm not trying to make it seem like you are a fool, in fact quite the contrary I have read many of your posts and even visited your seemingly abandened forum,..and it's obvios that you have FAR more expiriance in these matters than I,..I'm just saying I have yet to find a way to even get to the menue options that you guys are reffering to,...let alone editing them.
I'm sure that this tut and others like it will be of great help to others and even myself soon,
but as it stands currently it starts beyond my understanding of the programs I'm attempting to use.
this is not the case.
I have made several attempts to find a way to access the action script while useing adobi,
as well as any text files within the game.
I have found that in order to do so you must decompile the game file and once this is done adobi will no longer open the fla files.
perhaps once I have found a way to sercomvent this issue this tut will be more effective for me but as it stands my best bet is to use macromedia first then adobi to finnish the job.
However all of this seems to be a moot point as I have encountered a much larger snaphoo with my project then this,...and it's likely that my free triles will expire long before any more progress can be made.
By all means don't get me wrong,..I'm not trying to make it seem like you are a fool, in fact quite the contrary I have read many of your posts and even visited your seemingly abandened forum,..and it's obvios that you have FAR more expiriance in these matters than I,..I'm just saying I have yet to find a way to even get to the menue options that you guys are reffering to,...let alone editing them.
I'm sure that this tut and others like it will be of great help to others and even myself soon,
but as it stands currently it starts beyond my understanding of the programs I'm attempting to use.
Lord-Kain- Passenger
- Number of posts : 12
Registration date : 2009-06-22
Re: Adding Ships to BM
you can easily edit the code with notepad++, but that program makes jibberjabber of everything else.
and jpb, macromedia=adobe
and jpb, macromedia=adobe
me naam is m- Commander
- Number of posts : 9981
Registration date : 2007-12-26
Re: Adding Ships to BM
Lord-Kain wrote:With all due respect, JPB18,...
this is not the case.
I have made several attempts to find a way to access the action script while useing adobi,
as well as any text files within the game.
I have found that in order to do so you must decompile the game file and once this is done adobi will no longer open the fla files.
perhaps once I have found a way to sercomvent this issue this tut will be more effective for me but as it stands my best bet is to use macromedia first then adobi to finnish the job.
However all of this seems to be a moot point as I have encountered a much larger snaphoo with my project then this,...and it's likely that my free triles will expire long before any more progress can be made.
By all means don't get me wrong,..I'm not trying to make it seem like you are a fool, in fact quite the contrary I have read many of your posts and even visited your seemingly abandened forum,..and it's obvios that you have FAR more expiriance in these matters than I,..I'm just saying I have yet to find a way to even get to the menue options that you guys are reffering to,...let alone editing them.
I'm sure that this tut and others like it will be of great help to others and even myself soon,
but as it stands currently it starts beyond my understanding of the programs I'm attempting to use.
Hmmm... I will check that... You use CS4, right? I have now SP1, so... I think I can install Adobe Photoshop CS4 now... any results I will tell you, ok?
me naam is m wrote:you can easily edit the code with notepad++, but that program makes jibberjabber of everything else.
and jpb, macromedia=adobe
Not exactly... Adobe System aquired Macromedia in 2005... But before that Macromedia and Adobe were the main rivals for each other... Now only MS, Alpple and Quark. inc are they're most powerfull rivals....
Re: Adding Ships to BM
yes, but flash is still more or less the same. i hate to ask a stupid question lord-kain, but you do have the actions panel open...right (F9 i do believe)
Re: Adding Ships to BM
Darkwing wrote:yes, but flash is still more or less the same. i hate to ask a stupid question lord-kain, but you do have the actions panel open...right (F9 i do believe)
Indeed... do you have it? Cause I remeber editting a bit of BM engine when I was making BMIV and Flashgate...
Re: Adding Ships to BM
no,...but that is one of the things I've been trying to explain.
WHAT actions panel?
thare doesn't seem to be an option for that.
Any time I bring up that I'm useing Adobi flash, people start talking about photoshop,..while I have and use that program as well that is not the one I'm refering to.
"Adobi Flash Professional CS4 10" (trial)
Perhaphs the trial portion of that is why I'm having this trouble or perhaphs it's my lack of expireince.
but I will try useing f9 as you suggest.
By the way,....BMIV,..ROCKS!,...Thank You
WHAT actions panel?
thare doesn't seem to be an option for that.
Any time I bring up that I'm useing Adobi flash, people start talking about photoshop,..while I have and use that program as well that is not the one I'm refering to.
"Adobi Flash Professional CS4 10" (trial)
Perhaphs the trial portion of that is why I'm having this trouble or perhaphs it's my lack of expireince.
but I will try useing f9 as you suggest.
By the way,....BMIV,..ROCKS!,...Thank You
Lord-Kain- Passenger
- Number of posts : 12
Registration date : 2009-06-22
Re: Adding Ships to BM
yes, F9. and it simply doesn't matter whether you use AF CS4, i got it too.
me naam is m- Commander
- Number of posts : 9981
Registration date : 2007-12-26
Re: Adding Ships to BM
yes, you use F9, or you go to Window>Actions that is the crucial important part, and i'm now glad i asked the stupid question!
Re: Adding Ships to BM
The only stupid question is the one that's never asked.
Lord-Kain- Passenger
- Number of posts : 12
Registration date : 2009-06-22
Re: Adding Ships to BM
I think that is spam (or off topic), my friend... although wise...
Well... I don't have now CS4, but macromedia flash has the same design, so...
Well... I don't have now CS4, but macromedia flash has the same design, so...
Re: Adding Ships to BM
Ok,...
First, it wasn't meant to be spam but rather to get accross the fact that I'm more than a bit new at this
and as such any minute or seemingly mundane detail skiped tends to result in me being complietly lost.
Second, the screan caps that both you and darkwing are showing look NOTHING like what I see useing CS4,..however,
I have found that I can change betwien several "workspace" skins, and it's possable that the functions that you have reffered to are available in one of the ones I havn't found yet.
And third, to ansewr Raffitz,..I'm useing the .FLA file.
I got it from the same place.
I had at one point used a decompiler to open the .SWF file but I found that to be useles, as I couldn't get it recompiled, nor could I get anything to open it after. lol
But I had seen whare someone recomended doing so,..so I gave it a shot,...like I sead though, no luck doing that for me.
I have also tried using notepad to open the files but apparently my notepad is out of date for these files?,...`couse all I get is a very long wait to look at a bunch of sqares and seemingly random other
symbles that I can't find on my keybord. lol
It's like I have said before,..the things I'm looking to do can't be impossable,..I'm just missing something in the prosses.
One thing I havn't been missing is an ever growing respect for those of you who have manniged to accomplish the task.
Indeed you all have my cudoes and admaration.
Lastly,..All I can do at this point is just a learning fase untill the maker of "Undicovered Countries"
can get back to me.
The project I have been working on apparently had already been done,..but I didn't know that when I started.
Now that I do, I have put a hold on things, I wouldn't want to screw with things like that.
However learning this stuff is still a good thing,..I could come up with anouther game idea any moment now.
First, it wasn't meant to be spam but rather to get accross the fact that I'm more than a bit new at this
and as such any minute or seemingly mundane detail skiped tends to result in me being complietly lost.
Second, the screan caps that both you and darkwing are showing look NOTHING like what I see useing CS4,..however,
I have found that I can change betwien several "workspace" skins, and it's possable that the functions that you have reffered to are available in one of the ones I havn't found yet.
And third, to ansewr Raffitz,..I'm useing the .FLA file.
I got it from the same place.
I had at one point used a decompiler to open the .SWF file but I found that to be useles, as I couldn't get it recompiled, nor could I get anything to open it after. lol
But I had seen whare someone recomended doing so,..so I gave it a shot,...like I sead though, no luck doing that for me.
I have also tried using notepad to open the files but apparently my notepad is out of date for these files?,...`couse all I get is a very long wait to look at a bunch of sqares and seemingly random other
symbles that I can't find on my keybord. lol
It's like I have said before,..the things I'm looking to do can't be impossable,..I'm just missing something in the prosses.
One thing I havn't been missing is an ever growing respect for those of you who have manniged to accomplish the task.
Indeed you all have my cudoes and admaration.
Lastly,..All I can do at this point is just a learning fase untill the maker of "Undicovered Countries"
can get back to me.
The project I have been working on apparently had already been done,..but I didn't know that when I started.
Now that I do, I have put a hold on things, I wouldn't want to screw with things like that.
However learning this stuff is still a good thing,..I could come up with anouther game idea any moment now.
Lord-Kain- Passenger
- Number of posts : 12
Registration date : 2009-06-22
Re: Adding Ships to BM
CS4 does look different from Flash 8 (those were what the screencaps were from) CS4 has another property bar down there for tweening or something like that. But as long as the actions panel is open, then you can access the code in the game. F9 on the keyboard should still do the trick to make it appear
Re: Adding Ships to BM
OK,...
Considerably greater success how ever I'm still not quite thare. lol
"NOTE: There should be one more frame after the last frame like described above with the action
gotoAndPlay(mytype);"
Uhm,..huh? Is thare a part missing `couse, I don't know whare you are reffering to.
"To make this all work, you will need to add a new ship to the itemtext plugin in the preloader scene with all of the proper variables ship name, description, hull etc"
Ok,..How do I do that? or are you just reffering to the plug-ins that are available?
You will also need to add the frame number of your sprite to one of the planets (or multiple planets) in the plugin text for planet info. That way you can buy your ship from a planet."
By playing around with the skins and useing f9 as you suggested, I have maniged to get this far.
But the above quotes are a bit confusing to me.
Considerably greater success how ever I'm still not quite thare. lol
"NOTE: There should be one more frame after the last frame like described above with the action
gotoAndPlay(mytype);"
Uhm,..huh? Is thare a part missing `couse, I don't know whare you are reffering to.
"To make this all work, you will need to add a new ship to the itemtext plugin in the preloader scene with all of the proper variables ship name, description, hull etc"
Ok,..How do I do that? or are you just reffering to the plug-ins that are available?
You will also need to add the frame number of your sprite to one of the planets (or multiple planets) in the plugin text for planet info. That way you can buy your ship from a planet."
By playing around with the skins and useing f9 as you suggested, I have maniged to get this far.
But the above quotes are a bit confusing to me.
Lord-Kain- Passenger
- Number of posts : 12
Registration date : 2009-06-22
Re: Adding Ships to BM
ok, when you open the player symbol, you notice how there are two layers. the pics layer and the code layer. notice how the code layer is one frame longer than the pics layer, and that extra frame has that goto action on it? I'm just saying, if you add a new frame to the pics layer, and a new one to the code layer. now i've never played with what happens if you don't, but i always did it as a precaution.
and yes, you need to add a new ship to the itemtext in the preloader scene if you add a new ship, otherwise the ship will only blow up if play as it.
as for planets, let's say you warp to earth and hail it, and there you can buy 6 ships. in the planet text in the preloader scene (a few frames after the itemtext) you will need to add the number of your ship to a planet so you can buy it to play as or have in your fleet. for example, the steamrunner class is frame 1 in the player symbol, thus it is ship number 1 in the plugin texts in the preloader scene. if the ship you add is on let's say frame 97, then it is ship number 97, and when you add it to say denmark in the plugin texts, you would put 96 as the variable for one of the six ships you can buy at denmark
this help any?
and yes, you need to add a new ship to the itemtext in the preloader scene if you add a new ship, otherwise the ship will only blow up if play as it.
as for planets, let's say you warp to earth and hail it, and there you can buy 6 ships. in the planet text in the preloader scene (a few frames after the itemtext) you will need to add the number of your ship to a planet so you can buy it to play as or have in your fleet. for example, the steamrunner class is frame 1 in the player symbol, thus it is ship number 1 in the plugin texts in the preloader scene. if the ship you add is on let's say frame 97, then it is ship number 97, and when you add it to say denmark in the plugin texts, you would put 96 as the variable for one of the six ships you can buy at denmark
this help any?
Re: Adding Ships to BM
Ok,..but how do I get into the itemtext in the preloader?
Lord-Kain- Passenger
- Number of posts : 12
Registration date : 2009-06-22
Re: Adding Ships to BM
ok, it's on a frame somewhere, it's with a bunch of keyframes. it is just text on the stage, it's not an action in the actions panel, just simple text on the stage
Re: Adding Ships to BM
Still not finding it,...just as well I suppose.
Jerome still has yet to respond to the messege I sent him.
worst of all is my trial use of CS4 is about out.
Still,..I think I have developed quite a knack for editing sprites.
Jerome still has yet to respond to the messege I sent him.
worst of all is my trial use of CS4 is about out.
Still,..I think I have developed quite a knack for editing sprites.
Lord-Kain- Passenger
- Number of posts : 12
Registration date : 2009-06-22
Similar topics
» Adding ships
» Add new ships
» What are your fvourite Sci-Fi Ships?
» Civilian ships
» How can NPC ships fire at more target?
» Add new ships
» What are your fvourite Sci-Fi Ships?
» Civilian ships
» How can NPC ships fire at more target?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum