Editing XML Files -1 reply

Please wait...

ralpho37

Right...

50 XP

30th April 2008

0 Uploads

146 Posts

0 Threads

#1 10 years ago

I downloaded z3rox's FOC Add On and I made some of my own minor tweaks to the mod by editing the XML files. I made the pretty simple change of adding some extra health to the ISD's hardpoints and now it won't fire its side turbolasers. I went back and undid my changes, and they STILL won't fire. Does anybody have any idea of what might be going on and how I can fix this problem?




Vaders_legion

NO U

50 XP

17th December 2005

0 Uploads

1,006 Posts

0 Threads

#2 10 years ago

Adding health shouldnt affect the operation of the unit in any way other than health wise. The problem probably has to do with the model's fireing bones pointing the wrong way.




ralpho37

Right...

50 XP

30th April 2008

0 Uploads

146 Posts

0 Threads

#3 10 years ago

Ah ok that makes sense. The strange thing is that it was working fine up until I changed the HP's. I didn't mess with anything else and now the ISD won't fire. Do you know how I can make sure these firing bones are facing the right way? (By the way I really appreciate your help, I'm a novice at this sort of thing)




Filo

.

50 XP

23rd August 2007

0 Uploads

776 Posts

0 Threads

#4 10 years ago

Could you post the code you've changed?




ralpho37

Right...

50 XP

30th April 2008

0 Uploads

146 Posts

0 Threads

#5 10 years ago

Okay here is the coding for the lateral turrets on the ISD. Sorry for the long post but I figured this would be much more helpful than the single line I changed. The line I edited is 250.0. Thanks!

HARD_POINT_WEAPON_LASERYesYesTEXT_WEAPON_TURRET250.0Medium_Explosion_Space_EmpireUnit_Hardpoint_Turbo_Laser_Deathev_isd_hp_turret01.ALOHP_Turret_01_BONEHP_Turret_01_BONEHP_Turret_01_EmitDamage20.0FP_Turret_01_AFP_Turret_01_BNo10.030.0TrueYes0.0, 0.0, 0.00.0, 0.0, 0.05.0140.090.0Turret_01Barrel_01Proj_Ship_Turbolaser_Green1.02.020.12000.0Unit_Turbo_FireFighter, 70.0Bomber, 70.0Transport, 70.0Corvette, 7.0Frigate, 1.0Capital, 10.0Super, 1.0




nason

thats me

50 XP

3rd September 2006

0 Uploads

734 Posts

0 Threads

#6 10 years ago

try making here firing range farther




Daft_vader2

Its Interesting Talking Here

50 XP

3rd January 2007

0 Uploads

617 Posts

0 Threads

#7 10 years ago

Fire range 2000 is Huge, seeing as Most maps are only 10000 Across!




T3h Piti

Where is this.

50 XP

9th March 2007

0 Uploads

3,087 Posts

0 Threads

#8 10 years ago

lulz fire range 1,000,000 is fun, specially for a beam weapon :lol:




ralpho37

Right...

50 XP

30th April 2008

0 Uploads

146 Posts

0 Threads

#9 10 years ago

Okay I will give that a try. It's strange though that i never tampered with that, but I will definitely give it a try, I'm willing to try anything. Thanks




nason

thats me

50 XP

3rd September 2006

0 Uploads

734 Posts

0 Threads

#10 10 years ago

ya when u have a big beam weapon its fun for it to shoot ANYWERE lol and tell use if it works