Jump to content

Rebel Pirate Fighter


Locust
 Share

Recommended Posts

Hello there holy modders  ;D

 

I am trying to learn The Art of Modding through copy & pasting, and look how other modders

solve their different problems. OK, that part works quite well.

(It works most of the time anyway. I did't got Xizor to work.)

 

So, i thought i was ready for "Step 2". To made the Pirate Fighter avaliable for the rebels  ;D

I thought that would be a good start, not to hard, not to easy.

 

-Bang-    Complete stop!  ??? 

 

I can steal the thech from the Empire, but it refuse to show up on the build bar. Why?

I am totally puzzled. And i thought it looked so easy...

 

This is the Squadrons.xml

 

TEXT_PIRATE_FIGHTER_SQUADRON

TIE_Bomber

Tartan_Patrol_Cruiser

i_button_black_sun_fighter.tga

Yes

1

Yes

no

 

300

20

Rebel

2

0

350

45

2

Yes

Yes

DUMMY_SPACE_FIGHTER_SQUADRON

 

Pirate_Fighter, Pirate_Fighter

Pirate_Fighter, Pirate_Fighter, Pirate_Fighter

60.0,0.0,0.0

0.0,30.0,0.0

0.0,-30.0,0.0

-60.0,60.0,0.0

-60.0,-60.0,0.0

 

1

25.0

1000.0

400.0

400.0

500.0

SmallShip

500

TEXT_TOOLTIP_PIRATE_FIGHTER

TEXT_ENCYCLOPEDIA_CLASS_FIGHTER

 

EHD_Build_Vehicle

EHD_Unit_Canceled

Unit_Complete_Pirate_Fighter

1

 

 

Can some one please help me with this?  Please?

 

And another thing. If all modders put some kind of markings in the border in their modded xml files, it

would realy help us wanna be cut & paster modders.

 

Thanks in advance, Locust.

Link to comment
Share on other sites

Hello and Welcome.  ALL HAIL THE COPY AND PASTE BUTTON!!

 

Did you add an entry for it in spaceunitsfighter.xml? That could be the problem.  Put this there:

Pirate_Fighter

TIE_Bomber Z-95_Headhunter

TIE_Fighter Tartan_Patrol_Cruiser

Rebel

Yes

 

 

Then, replace your edited pirate fighter squadron (and the two variants below it) with this:

TEXT_PIRATE_FIGHTER_SQUADRON

Y-wing TIE_Bomber Z-95_Headhunter_Rebel

A-Wing Tartan_Patrol_Cruiser Corellian_Corvette

i_button_black_sun_fighter.tga

Yes

1

Yes

no

300

20

Pirates, Empire, Rebel

6

0

0

0

0

DUMMY_SPACE_FIGHTER_SQUADRON

Pirate_Fighter, Pirate_Fighter

Pirate_Fighter, Pirate_Fighter, Pirate_Fighter

60.0,0.0,0.0

0.0,30.0,0.0

0.0,-30.0,0.0

-60.0,60.0,0.0

-60.0,-60.0,0.0

1

25.0

1000.0

400.0

400.0

500.0

SmallShip

500

TEXT_TOOLTIP_PIRATE_FIGHTER

TEXT_ENCYCLOPEDIA_CLASS_FIGHTER

 

EHD_Build_Vehicle

EHD_Unit_Canceled

Unit_Complete_Pirate_Fighter

0

 

 

 

Pirate_Fighter_Squadron

Y-wing Z-95_Headhunter_Rebel

A-Wing Tartan_Patrol_Cruiser

0

 

Empire

300

    20

      2

      0

      350

      45

     

      2

 

EHD_Reinforcements_En_Route

EHD_Reinforcements_Available

EHD_Reinforcements_Cancelled 

 

400

8

Tactical_Units

 

 

 

Pirate_Fighter_Squadron

TIE_Bomber Z-95_Headhunter

TIE_Fighter Tartan_Patrol_Cruiser

1

 

Rebel

300

    20

      2

      0

      350

      45

     

      2

      Yes

      Yes

400

 

RHD_Reinforcements_En_Route

RHD_Reinforcements_Available

RHD_Reinforcements_Cancelled 

 

350

8

Tactical_Units

 

 

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

hmmmm

 

When I look at my x wing squadron it has a Yes

 

TEXT_X_WING_SQUADRON

TIE_Fighter TIE_Bomber TIE_Prototype

Tartan_Patrol_Cruiser Broadside_Class_Cruiser IPV1_System_Patrol_Craft

1

Yes

1

Yes

no

600

45

Rebel

0

3

1

Yes

No

No

0

1

 

 

I hope this can help you.

 

The newbee Modder :-)

-moon

Link to comment
Share on other sites

You have to change Build_Initially_Locked to "No" instead of "Yes". You'll also need to add these lines:

 

Yes

1.5

 

That should fix the problem. Don't forget you need the Yes line to be in their or the fighters can't be built.

 

Tech Level must also be a number other than 0, something 1-5, or you can't build the unit. Make sure the Build Cost and Build Time aren't zero either, because that also makes the unit unbuildable.

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

It worked!  :D

 

It was that little "Space Unit" thingy that krasched the game.

 

Next step will be to add TIEs or a ground unit. Just to see if i can.

 

Thank you all for the help. 

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