lfnetwork.com mark read register faq members calendar

Thread: Personal shields?
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 03-25-2006, 09:46 AM   #1
Empirecitizen
Rookie
 
Join Date: Jan 2006
Posts: 57
Personal shields?

Is there a way to give infantry units a shield? I know this is un-starwars but i'm just trying to play with it.
I gave those infantry shield points and shield regeneration(refresh rate) in the GROUNDINFANTRY.XML and gave them energy and energy regeneration in case it is needed for a shield(becasue i see that vehicles and ships has energy) Yet there is no shield to be found protecting the infantry.
Is there a restriction on giving infantry shield or am I missing some improtant steps? Do I have to create a new armor type for it (I havent tried this becase it seems troubelsome to add so many lines in the game constant file)?
Can anyone enlighten me?
Empirecitizen is offline   you may: quote & reply,
Old 03-25-2006, 12:29 PM   #2
Rhedd-5
Rookie
 
Join Date: Feb 2006
Posts: 75
I'm not looking at it at the moment, but I THINK you have to add a "behavior", too. It's probably "SHIELDED", but look at the behavior lists of some units with shields, to see if I'm right.

No, you won't have to create a new armor type, though. Shields have nothing to do with armor types. (They have their own.) You will have to add a line for that, though. I think it's something like "<Shield_Type> Tank_Shield </Shield_Type>". Again, look at an example first, since I'm typing this without checking the XML files, myself.
Rhedd-5 is offline   you may: quote & reply,
Old 03-26-2006, 05:10 PM   #3
Det. Bart Lasiter
obama.png
 
Det. Bart Lasiter's Avatar
 
Join Date: Mar 2005
Location: `(.)~
Posts: 7,997
Current Game: all
Forum Veteran LF Jester 
I tried this a while ago, I tried capital shields, tank shields, frigate shields, you name it, it didn't work when I added "SHIELDED", "POWERED", or any combination of the two in the land behavior tag. You can however give AT-ATs and AT-STs capital-class shields though



"No, Mama. You can bet your sweet ass and half a titty whoever put that hit on you already got the cops in their back pocket." ~Black Dynamite
Det. Bart Lasiter is offline   you may: quote & reply,
Old 03-27-2006, 07:23 AM   #4
Empirecitizen
Rookie
 
Join Date: Jan 2006
Posts: 57
I've got it worked already,thanks to rhedd-5. I just had not gotten the time to put a reply here.
the proper procduers are:
1.add a 'SHIELDED' behavior to the land behavior list (important so that the game reads the values for the shield)
2. add a value for the <Shield_Points> tag
3 add a value foe the <Shield_Refresh_Rate> tag
4. add an armor type <Shield_Armor_Type> tag (usually this line will not exist in originally non-shielded units)
Note: the shield_armor_type works like the armor_type tag, therefore u can put in any armor type as long as it exists in the gameconstant.xml but not necessarily those designed for shields.

This is a very good experience for me ( a modding newbie). I did not read the behavior tag carefully before and this experiece solved many problems that i had with new features on units not working.
Empirecitizen is offline   you may: quote & reply,
Old 03-27-2006, 01:14 PM   #5
Det. Bart Lasiter
obama.png
 
Det. Bart Lasiter's Avatar
 
Join Date: Mar 2005
Location: `(.)~
Posts: 7,997
Current Game: all
Forum Veteran LF Jester 
Was that for the infantry? I wonder what I missed then...



"No, Mama. You can bet your sweet ass and half a titty whoever put that hit on you already got the cops in their back pocket." ~Black Dynamite
Det. Bart Lasiter is offline   you may: quote & reply,
Old 03-27-2006, 09:53 PM   #6
Empirecitizen
Rookie
 
Join Date: Jan 2006
Posts: 57
yes, i did this to my perosnal imperial guard squad
and it should work with anything else.

Last edited by Empirecitizen; 03-30-2006 at 01:07 AM.
Empirecitizen is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Empire At War > EaW General Discussion > Modding forum > Personal shields?

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

Forum Jump


All times are GMT -4. The time now is 09:24 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.