Locust Posted March 17, 2006 Posted March 17, 2006 Hello there holy modders ;D I am trying to learn The Art of Modding through copy & pasting, and look how other modderssolve 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 ;DI 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.
Mikan Cyclone Posted March 17, 2006 Posted March 17, 2006 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.jpghttp://i74.photobucket.com/albums/i276/At-At_controller/leetspeak4cz1jr.gif
Moon Posted March 17, 2006 Posted March 17, 2006 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
Mikan Cyclone Posted March 17, 2006 Posted March 17, 2006 woops. hehe. For got that. Yeah, just put that line in under the other build lines. http://i12.photobucket.com/albums/a245/loverdog/pffuserbar1.jpghttp://i74.photobucket.com/albums/i276/At-At_controller/leetspeak4cz1jr.gif
Locust Posted March 17, 2006 Author Posted March 17, 2006 ??? Hmm, the game krasched. I try again... But thanks for the quick answer.
DragonShadow Posted March 17, 2006 Posted March 17, 2006 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
Locust Posted March 17, 2006 Author Posted March 17, 2006 It worked! 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now