Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!

Author Topic: Modding XML Files  (Read 3139 times)

0 Members and 2 Guests are viewing this topic.

January 14, 2012, 10:54:06 PM

Offline Henry X

  • Stormtrooper
  • **
  • Posts: 5
  • Approval: +0/-0
    • View Profile
Modding XML Files
« on: January 14, 2012, 10:54:06 PM »
So I've downloaded 1.2 to pass the time and I currently don't agree with the scale of the units in ground combat (I'll handle space later).

TO deal with this, I'm fiddling around with the XML files just adjusting the scale to more canon-like stats and I was wondering what you guys were using, because I'm slightly overwhelmed when it comes to changing the scale and I'm not sure which line of code I'm supposed to edit to change the size of an individual unit. 

Also, if I wanted to double the size of infantry companies, how would I go about doing that?

January 15, 2012, 12:36:35 PMReply #1

Offline Slornie

  • Mod Team Member
  • Moff
  • ****
  • Posts: 2,759
  • Approval: +54/-13
  • Every Silver Lining has a Cloud
    • View Profile
Re: Modding XML Files
« Reply #1 on: January 15, 2012, 12:36:35 PM »
So I've downloaded 1.2 to pass the time and I currently don't agree with the scale of the units in ground combat
I can understand this, i think i am safe in saying we haven't paid quite as much attention to detail in ground combat thus far.  We're starting to look at changes for the next version of the mod (beyond 1.3), so do feel free to make suggestions about what we can do to improve that side of the game.

(I'll handle space later).
Now this i know we tried to get right.  If you've got any specific examples where you think we've got the scaling wrong, please post them here.
Quote from: RonMaverick291 (Gametrailers)
why do u hate america? if it were not for us u guys would be lost. i mean we invented the tv, we invented the internet, cars and we even went to the planet moon. we won all the wars and we always help the little countries who cant fight and we give food to poor people.

January 15, 2012, 02:59:16 PMReply #2

Offline Corey

  • Mod Leader
  • Administrator
  • Emperor
  • *****
  • Posts: 7,520
  • Approval: +410/-80
  • Dream Crusher
    • View Profile
Re: Modding XML Files
« Reply #2 on: January 15, 2012, 02:59:16 PM »
So I've downloaded 1.2 to pass the time and I currently don't agree with the scale of the units in ground combat (I'll handle space later).

TO deal with this, I'm fiddling around with the XML files just adjusting the scale to more canon-like stats and I was wondering what you guys were using, because I'm slightly overwhelmed when it comes to changing the scale and I'm not sure which line of code I'm supposed to edit to change the size of an individual unit. 

Also, if I wanted to double the size of infantry companies, how would I go about doing that?
<Scale_Factor>

<Company_Units>
I also have a YouTube channel where I talk about mod development and gaming, do tutorials, and Let's Plays. If you like the content, consider supporting it on Patreon


January 15, 2012, 08:26:00 PMReply #3

Offline Henry X

  • Stormtrooper
  • **
  • Posts: 5
  • Approval: +0/-0
    • View Profile
Re: Modding XML Files
« Reply #3 on: January 15, 2012, 08:26:00 PM »
Thanks.  I was just curious about which line of code to change and was slightly overwhelmed by everything that in the file.

And with regards to space combat, don't get me wrong, it's great, I just might tinker with the scale of the fighters a little bit.

EDIT: Also, if I wanted to add in a unit from another mod, how would I do that?  Would I just copy and paste the data from the other mod's XML files?

And would I need to change the projectiles of said unit?
« Last Edit: January 16, 2012, 03:35:44 AM by Henry X »

January 16, 2012, 12:46:13 PMReply #4

Offline Corey

  • Mod Leader
  • Administrator
  • Emperor
  • *****
  • Posts: 7,520
  • Approval: +410/-80
  • Dream Crusher
    • View Profile
Re: Modding XML Files
« Reply #4 on: January 16, 2012, 12:46:13 PM »
Yes, copy the XML entry and art (Model/Texture). You would need to make it use our projectiles, we don't use the standard ones. You're also gonna have some major balance issues.

What unit is it that you're trying to add?
I also have a YouTube channel where I talk about mod development and gaming, do tutorials, and Let's Plays. If you like the content, consider supporting it on Patreon


January 16, 2012, 02:14:43 PMReply #5

Offline Slornie

  • Mod Team Member
  • Moff
  • ****
  • Posts: 2,759
  • Approval: +54/-13
  • Every Silver Lining has a Cloud
    • View Profile
Re: Modding XML Files
« Reply #5 on: January 16, 2012, 02:14:43 PM »
And with regards to space combat, don't get me wrong, it's great, I just might tinker with the scale of the fighters a little bit.
Well i guess with their size it can only be a little bit, lol.  I'd still be interested in your comments though.  I mean, i think the X, A and B wings are pretty much dead on (pausing my game as my fighter wing flies by a Corellian Corvette).
Quote from: RonMaverick291 (Gametrailers)
why do u hate america? if it were not for us u guys would be lost. i mean we invented the tv, we invented the internet, cars and we even went to the planet moon. we won all the wars and we always help the little countries who cant fight and we give food to poor people.

January 16, 2012, 04:40:10 PMReply #6

Offline Henry X

  • Stormtrooper
  • **
  • Posts: 5
  • Approval: +0/-0
    • View Profile
Re: Modding XML Files
« Reply #6 on: January 16, 2012, 04:40:10 PM »
Just adding fighter units to ground combat.  TIE Fighter, Interceptor, X-Wing etc.

And with the balancing, I figured I'll have to use trial and error to get them to work just right.

Going back to space, I took a second look at it and I feel like it may have been the TIE Bomber that seemed a little large.  Then again, I may have been comparing it to an ISD when I was using a VSD for the comparison. 

Mod plays out great though, I'll certainly give you guys that.

 

Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!