Notices

Go Back   FileFront Forums > The Games! > Star Wars: Empire At War > SW:EaW Modding, Mapping and Editing

Remember Me?

SW:EaW Modding, Mapping and Editing
Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Display Modes
Old February 6th, 2008   #1
Addicted to GF
 
Keraunos281's Avatar
 
Join Date: February 2nd, 2008
Status: Available
269 posts, 0 likes.
Rep Power: 0
Keraunos281 is a n00b
Default Modding problems (overlaping fighters)

Some time ago I started working on 'realistic star wars' mod. My aim is to modify game a little (so it plays basicly the same as vanilla) and slowly introduce desired changes.

Obviously Zann's faction needs extensive overhaul, so I started with this faction. My aim is to change it from beeing overpowered - to more like nuissance. I replaced Zann Consortium's units with Pirate ones, so he has to rely more on his special abilities.

However, during coding I encountered a problem. Before StarViper entry I put the following code:
Quote:
<!-- **** Replacing Pirate Fighter Squadron **** -->

<SpaceUnit Name="Starviper_Fighter">
<Variant_Of_Existing_Type>Pirate_Fighter</Variant_Of_Existing_Type>
<Affiliation>Underworld</Affiliation>
</SpaceUnit>

<Squadron Name="StarViper_Squadron">
<Variant_Of_Existing_Type>Pirate_Fighter_Squadro n</Variant_Of_Existing_Type>

<Affiliation>Underworld</Affiliation>
<Tech_Level>1</Tech_Level>
<IsBuildable>Yes</IsBuildable>
<Required_Ground_Base_Level>0</Required_Ground_Base_Level>
<Required_Star_Base_Level>1</Required_Star_Base_Level>
<Build_Cost_Credits>200</Build_Cost_Credits>
<Build_Time_Seconds>6</Build_Time_Seconds>
<Build_Tab_Space_Units>Yes</Build_Tab_Space_Units>

<Squadron_Units>Starviper_Fighter, Starviper_Fighter, Starviper_Fighter, Starviper_Fighter, Starviper_Fighter</Squadron_Units>
<Squadron_Offsets>30.0,0.0,0.0</Squadron_Offsets>
<Squadron_Offsets>0.0,20.0,0.0</Squadron_Offsets>
<Squadron_Offsets>0.0,-20.0,0.0</Squadron_Offsets>
<Squadron_Offsets>-45.0,45.0,0.0</Squadron_Offsets>
<Squadron_Offsets>-45.0,-45.0,0.0</Squadron_Offsets>

<Population_Value>1</Population_Value>

</Squadron>

<SpaceUnit Name="Uw_Starviper_Fighter">
[rest of original file follows - it allows to spawn 'normal' StarViper as higher level fighter]
Now each time I start space battle, I see the formation for fighters is broken. Four of them start in exactly same place (they even fire simultaneously - laser projectile is much wider), only fifth start to the right. I don't have to say it looks dull

So, any ideas how to fix it?
Keraunos281 is offline   Reply With Quote
Old February 6th, 2008   #2
For the New Republic!!!!!
 
Wizardington's Avatar
 
Join Date: June 7th, 2007
Location: on my laptop
Status: Making a mod
452 posts, 1 likes.
Rep Power: 19
Wizardington should make some friends
Default Re: Modding problems (overlaping fighters)

<Variant_Of_Existing_Type>Pirate_Fighter_Squadron</Variant_Of_Existing_Type>
There is space there

second u need a container, for ur fighters, go to CONTAINERS.xml for a guide
Wizardington is offline   Reply With Quote
Old February 6th, 2008   #3
AoSW Joint Leader
 
Kalo Shin's Avatar
 
Join Date: August 24th, 2006
Status: Available
1,954 posts, 0 likes.
Rep Power: 21
Kalo Shin has disabled reputation
Send a message via AIM to Kalo Shin Send a message via Skype™ to Kalo Shin
Default Re: Modding problems (overlaping fighters)

Quote:
Originally Posted by Wizardington View Post
<Variant_Of_Existing_Type>Pirate_Fighter_Squadron</Variant_Of_Existing_Type>
There is space there

second u need a container, for ur fighters, go to CONTAINERS.xml for a guide
Whoa, Hold on now.

You only need to edit containers if you want said Squadron to have Abilities.

Kalo Shin is offline   Reply With Quote
Old February 6th, 2008   #4
For the New Republic!!!!!
 
Wizardington's Avatar
 
Join Date: June 7th, 2007
Location: on my laptop
Status: Making a mod
452 posts, 1 likes.
Rep Power: 19
Wizardington should make some friends
Default Re: Modding problems (overlaping fighters)

i had the same problem, and that fixed it
Wizardington is offline   Reply With Quote
Old February 6th, 2008   #5
Addicted to GF
 
Keraunos281's Avatar
 
Join Date: February 2nd, 2008
Status: Available
269 posts, 0 likes.
Rep Power: 0
Keraunos281 is a n00b
Default Re: Modding problems (overlaping fighters)

Unfortunately, original file doesn't have this space I must have had accidentally press it during copying.. sorry. Any other ideas?

What about containers.xml? Is it really needed? I think that other edited units have their abilities (probably becouse they are variants of other, existing units)

EDIT:
Can I edit old posts? The option for first post in this link is unavailable :/
Keraunos281 is offline   Reply With Quote
Old February 6th, 2008   #6
Knowledgeable, but weird
 
Nebulogan_B's Avatar
 
Join Date: September 6th, 2007
Location: Somewhere you'll never find me.
Status: Lurking
350 posts, 0 likes.
Rep Power: 18
Nebulogan_B is a n00b
Default Re: Modding problems (overlaping fighters)

Try changing the squadron offsets, they look a little small. If that doesn't work try looking in the stock pirate fighter code for anything that might be problematic, and if it still doesn't work then just copy the pirate fighter code completely then rename and change select numbers instead of using <Variant_Of_Existing_Type> lines.

Imperial Propoganda Officer: "Join the Imperial Army, we have-
They WHAT?! The Rebels stole our new blue Nebulons??!! BUILD THE DEATH STAR AGAIN, MAKE THEM PAAAY!!"
Nebulogan_B is offline   Reply With Quote
Old February 6th, 2008   #7
Addicted to GF
 
Keraunos281's Avatar
 
Join Date: February 2nd, 2008
Status: Available
269 posts, 0 likes.
Rep Power: 0
Keraunos281 is a n00b
Default Re: Modding problems (overlaping fighters)

I was afraid of making omissions (I miss brackets frequently and then spent too much time searching for them). That's why I simply copy-pasted them, and also tried several entries; this one is AFAIK taken from original StarViper unit.

Thanks for other suggestions, I'll try them

BTW, you can call me Keraunos or Ker - no need for Keraunos281 (I'm referring to the other thread)
Keraunos281 is offline   Reply With Quote
Old February 6th, 2008   #8
(Couldn't find a title)
 
general_kerr's Avatar
 
Join Date: February 13th, 2007
Location: Probably at work.
Status: Busier Than n0e
1,551 posts, 43 likes.
Rep Power: 20
general_kerr has been known to help peoplegeneral_kerr has been known to help people
Default Re: Modding problems (overlaping fighters)

Quote:
BTW, you can call me Keraunos or Ker
Kerr Here
all you really have to do is raplace the model, SFX, TEXT, speed, and cost to make the original starviper into the pirate fighter, most of whitch can be copied.
if i wasn't cramped for time then i'de make and post the code, but i've gotta leave soon.

EDIT: but for now try just copying the X-Wing or starviper squadron offsets

Ponies.
general_kerr is offline   Reply With Quote
Old February 7th, 2008   #9
Addicted to GF
 
Keraunos281's Avatar
 
Join Date: February 2nd, 2008
Status: Available
269 posts, 0 likes.
Rep Power: 0
Keraunos281 is a n00b
Default Re: Modding problems (overlaping fighters)

The offset values above are copied exactly from StarViper entry; I've also tried to replace it with Z-95 - same effect. So I'll probably either stick to my original idea and simply add another fighter while keeping StarViper (which will then be needed for some Piracy missions), or indeed try to add everything manually..

For me, replacing only few things won't work. First of all, later I'm going more into details - I plan to give units exact

Sorry if I won't answer anytime soon, but this mod is not on my top priorities list. I have a life as well and I'm only coding a bit when I have a time and desire.

Thanks a lot for help
Keraunos281 is offline   Reply With Quote
Old February 7th, 2008   #10
Girl Gamers,were Awesome!
Self Trained Master
 
jedi_consulor's Avatar
 
Join Date: July 13th, 2006
Location: UK
Status: As sexy as gizmo.
1,236 posts, 0 likes.
Rep Power: 21
jedi_consulor has disabled reputation
Default Re: Modding problems (overlaping fighters)

<Number_per_Squadron>6</Number_per_Squadron> <- in units XML file
or <Max_Squad_Size>3</Max_Squad_Size> in the squadrons data - have you change - altered any of those values ? - some squadrons xml data does not use the max squad size so just wondered if you have changed it some how.

jedi_consulor is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
fighter with tracter beam ability and can tracter other fighters fighters markremar SW:EaW Modding, Mapping and Editing 8 August 14th, 2009 11:06 AM
Modding problems Thrukbar SW:BF Modding, Mapping and Editing 1 April 6th, 2008 08:01 AM
Modding problems Daniiren SW:EaW Modding, Mapping and Editing 12 June 28th, 2007 02:20 PM


All times are GMT -7.







   
 





This site is part of the Defy Media Gaming network

The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!

FileFront Forums - Terms of Service - Top
Theme Selection
Copyright © 2002-2016 Game Front. All rights reserved. Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Forum Theme by Danny King (FileTrekker), Sheepeep & Graeme(rs)
RSS Feed Widget by FeedWind