Jump to content

Need some answers to a few questions


Recommended Posts

Ok...I created a Gold Squadron with Gold Leader being a variant of regular Y-wings, and Gold 2-6 being variants of the leader.  Everything works except for a few small bugs.  First, I gave them a named hero function, made new texts for them, and set them up just like red squadron, but with different units, specs, and special abilities.  However, Gold Squadron does not show up as a hero unit at the top of the screen.  Idk why.  I've compared codes with red squadron (in squadrons.xml, containers.xml, and uniqueunits.xml), and everything that should match does.  So maybe some help there.

 

Secondly, does anyone know where the unique ability types are stored?  Cuz the xml file called that is empty.  I'd like to simply create an exact copy of the boost engines ability, but call it something different.  Anybody know how to do that?

 

And thirdly, I gave my gold squadron the boost engines ability, and everything works except that there is no timer on it.  The code specifies an expiration time and a recharge time, but the ability never even starts an expiration counter.  They can use it forever.  Can't figure it out.  Here's the code i used for abilities:

 

ION_CANNON_SHOT

20.0

Y_Wing_Container_Ion_Cannon_Shot

Proj_Ion_Cannon_Medium_Laser_Blue

 

  TURBO

  20

  60

  WEAPON_DELAY_MULTIPLIER, 3.0f

  SHIELD_REGEN_MULTIPLIER, 0.0f

  ENERGY_REGEN_MULTIPLIER, 1.0f

  SPEED_MULTIPLIER, 2.0f

 

  Unit_Speed_Corvette

 

 

 

 

Link to comment
Share on other sites

I think it's because it doesn't have a hero icon to put up at the top of the screen.

http://i61.photobucket.com/albums/h65/NightshadowDragon/RyuuKageSIG.jpg

 

http://i61.photobucket.com/albums/h65/NightshadowDragon/AoSW-JCW_Banner.jpg

Link to comment
Share on other sites

No, that's not it, because I get duplicates all the time....I really don't know.  Maybe the engine problem is there because the unit isn't supposed to have that ability?  I don't know.

http://i12.photobucket.com/albums/a245/loverdog/pffuserbar1.jpg

http://i74.photobucket.com/albums/i276/At-At_controller/leetspeak4cz1jr.gif

 

Link to comment
Share on other sites

It might only be able to have a certain number of icons in the bar...probably (hopefully) not though.

http://i61.photobucket.com/albums/h65/NightshadowDragon/RyuuKageSIG.jpg

 

http://i61.photobucket.com/albums/h65/NightshadowDragon/AoSW-JCW_Banner.jpg

Link to comment
Share on other sites

I don't think that there's a limit to the number of icons.  Either way, when i was testing, that was teh first hero I built, and it didn't show up.  And it is possible that the engine problem is related to the type of unit.  Well, time to go back through all the code and test some more.  Hopefully I find some stupid mistake I made.
Link to comment
Share on other sites

In my game all the ships that have the turbo ability expire after a certain time execpt the corellian gunboat it will have the turbo ability forever(Bug maybe?). But I believe that the ships that do have the turbo ability shoudn't expire because the power to engines should take the extra power from the shields and the weapons and you should be able deactivate it when the need to arises. By the way did you check the code in the herocompanies.xml what your looking for might be in there!

"With all my devotion to the Union and the feeling of loyalty and duty of an American citizen, I have not been able to make up my mind to raise my hand against my relatives, my children, my home. I have therefore resigned my commission in the Army, and save in defense of my native State, with the sincere hope that my poor services may never be needed, I hope I may never be called on to draw my sword....."

Robert E. Lee

http://img141.imageshack.us/img141/9910/ak47cat1502op0sa.gif

Link to comment
Share on other sites

I figured out the icon thing.  Idk why it made a difference, but I made gold leader a named hero (like Red 5 is a named hero in Red Squadron...the only named hero in the squadron), and gave him the luke icon, and it works.  And I got gold squadron to spawn at tech 3 in GC, so i'm happy.  Yah...it could be a good thing to have no time limit for boost engines, but the problem is if you put it on fighters, like I did, they become hella hard for anything to hit, and can just whiz around causing massive damage with their proton torpedoes.  I mean...it definitely takes longer for them to fire and crap, but i can have them flying in circles around tartans.  But it's fine for now.

 

One more thing...i haven't tried yet, but how easy/difficult is it to make new icons, if it's even possible yet?  If it is possible, is there a coordinate system in place for the images or what?

Link to comment
Share on other sites

I figured out the icon thing.  Idk why it made a difference, but I made gold leader a named hero (like Red 5 is a named hero in Red Squadron...the only named hero in the squadron), and gave him the luke icon, and it works.  And I got gold squadron to spawn at tech 3 in GC, so i'm happy.  Yah...it could be a good thing to have no time limit for boost engines, but the problem is if you put it on fighters, like I did, they become hella hard for anything to hit, and can just whiz around causing massive damage with their proton torpedoes.  I mean...it definitely takes longer for them to fire and crap, but i can have them flying in circles around tartans.  But it's fine for now.

 

One more thing...i haven't tried yet, but how easy/difficult is it to make new icons, if it's even possible yet?  If it is possible, is there a coordinate system in place for the images or what?

 

The mds file works in some sort of coordinate system in conjunction with the MT_COMMANDBAR dds (or maybe the COMPRESSED tga) file to locate and display icons. Since the units refer to them by name and not coordinate, and we can't edit the mds, we can put new icons in the commandbar file but we don't know how to locate them.

 

But, once we can use and edit with mds, or at least figure out the coordinate system, then it'll be easy to add new icons.

http://i61.photobucket.com/albums/h65/NightshadowDragon/RyuuKageSIG.jpg

 

http://i61.photobucket.com/albums/h65/NightshadowDragon/AoSW-JCW_Banner.jpg

Link to comment
Share on other sites

the Icon list is in the .mtd file.  You have to use a hex editor to open it.  Then the icons themselves are....somewhere compressed in a file.

 

Whoops. How did I get mds from mtd. lol, no brain as I suspected...

http://i61.photobucket.com/albums/h65/NightshadowDragon/RyuuKageSIG.jpg

 

http://i61.photobucket.com/albums/h65/NightshadowDragon/AoSW-JCW_Banner.jpg

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

Copyright (c) 1999-2022 by SWRebellion Community - All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Star Wars(TM) is a registered trademark of LucasFilm, Ltd. We are not affiliated with LucasFilm or Walt Disney. This is a fan site and online gaming community (non-profit). Powered by Invision Community

×
×
  • Create New...