Jump to content

How to add these units for FoC?


HK-47
 Share

Recommended Posts

Hello meatbags!   ;D

 

Can someone help me: I wanted to make the Sentinel Class Lander buildable for the Empire and the "Alliance Hero transport" (sorry, I forgot it's name) buildable for the Alliance - they could have 2 laser cannons and 2 concussion missel tubes; it can be only to land skirmish combat, don't need to be buildable in GC too; but I know almost nothing in modding (except for copy and paste into XMLs, make some units as props =P ), so, can someone upload the code here???  ::)

Sorry for my "not-so-good" english...

Oh, this is a 'FoC request' (I know, I'm lazy  :P)...

Link to comment
Share on other sites

Droid 803 shoud know he put the sentinel in his mod. I'll ask him.

Oh my goodness....

 

The D of D803 stands for droid?

:o

 

I never knew that! But yeah, start by looking a the gallofree HTT code....I think it might help. But you should talk to D803, or just DL his mod when it comes out.

"I feel fantastic and I'm

Still Alive

and when you're dying I will be

Still Alive

and when you're dead I will be

Still Alive

STILL ALIVE"~GLaDOS

Anybody who thinks Palpatine is a sepratist knows NOTHING about star Wars

When in doubt- rocket it.

Dowload The Underworld's Might beta from Filefront!

Link to comment
Share on other sites

Well, if you want me to spam, I could go over the history of my username (its got one)

 

Check attachments

 

You'll have to add one line to GameObjectFiles.xml (add Units_Empire_Land_Sentinel)...

And this to hardpoints

 

    <HardPoint Name="HP_Sentinel_Laser_00">
		<Type> HARD_POINT_WEAPON_LASER </Type>
            <Is_Targetable>No</Is_Targetable>
            <Is_Destroyable>No</Is_Destroyable>

            <Fire_Bone_A>MuzzleA_00</Fire_Bone_A>
            <Fire_Bone_B>MuzzleA_00</Fire_Bone_B>
            <Fire_Cone_Width>360.0</Fire_Cone_Width>
            <Fire_Cone_Height>180.0</Fire_Cone_Height>
            <Fire_Projectile_Type>Proj_Ground_AV_Turret_Laser_Green</Fire_Projectile_Type>
            <Fire_Min_Recharge_Seconds>2.0</Fire_Min_Recharge_Seconds>
            <Fire_Max_Recharge_Seconds>2.0</Fire_Max_Recharge_Seconds>
            <Fire_Pulse_Count>6</Fire_Pulse_Count>
            <Fire_Pulse_Delay_Seconds>0.2</Fire_Pulse_Delay_Seconds>
            <Fire_Range_Distance>330.0</Fire_Range_Distance>
		<Fire_SFXEvent>Unit_Shuttle_Fire</Fire_SFXEvent>

		<Fire_Inaccuracy_Distance> Infantry, 20.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Vehicle, 10.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Air, 10.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Structure, 5.0 </Fire_Inaccuracy_Distance>


    </HardPoint>

    <HardPoint Name="HP_Sentinel_Laser_01">
		<Type> HARD_POINT_WEAPON_MISSILE </Type>
            <Is_Targetable>No</Is_Targetable>
            <Is_Destroyable>No</Is_Destroyable>

            <Fire_Bone_A>MuzzleA_01</Fire_Bone_A>
            <Fire_Bone_B>MuzzleA_01</Fire_Bone_B>
            <Fire_Cone_Width>180.0</Fire_Cone_Width>
            <Fire_Cone_Height>360.0</Fire_Cone_Height>
            <Fire_Projectile_Type>Proj_Ground_AV_Turret_Laser_Green</Fire_Projectile_Type>
            <Fire_Min_Recharge_Seconds>2.0</Fire_Min_Recharge_Seconds>
            <Fire_Max_Recharge_Seconds>2.0</Fire_Max_Recharge_Seconds>
            <Fire_Pulse_Count>6</Fire_Pulse_Count>
            <Fire_Pulse_Delay_Seconds>0.2</Fire_Pulse_Delay_Seconds>
            <Fire_Range_Distance>330.0</Fire_Range_Distance>
		<Fire_SFXEvent>Unit_Shuttle_Fire</Fire_SFXEvent>

		<Fire_Inaccuracy_Distance> Infantry, 20.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Vehicle, 10.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Air, 10.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Structure, 5.0 </Fire_Inaccuracy_Distance>


    </HardPoint>

    <HardPoint Name="HP_Sentinel_Missile_00">
		<Type> HARD_POINT_WEAPON_MISSILE </Type>
            <Is_Targetable>No</Is_Targetable>
            <Is_Destroyable>No</Is_Destroyable>

            <Fire_Bone_A>MuzzleA_00</Fire_Bone_A>
            <Fire_Bone_B>MuzzleA_00</Fire_Bone_B>
            <Fire_Cone_Width>360.0</Fire_Cone_Width>
            <Fire_Cone_Height>180.0</Fire_Cone_Height>
            <Fire_Projectile_Type>Proj_T4B_Missile</Fire_Projectile_Type>
            <Fire_Min_Recharge_Seconds>2.0</Fire_Min_Recharge_Seconds>
            <Fire_Max_Recharge_Seconds>2.0</Fire_Max_Recharge_Seconds>
            <Fire_Pulse_Count>4</Fire_Pulse_Count>
            <Fire_Pulse_Delay_Seconds>0.2</Fire_Pulse_Delay_Seconds>
            <Fire_Range_Distance>330.0</Fire_Range_Distance>
		<Fire_SFXEvent>Unit_Tank_Missile_Fire</Fire_SFXEvent>

		<Fire_Inaccuracy_Distance> Infantry, 20.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Vehicle, 10.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Air, 1.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Structure, 5.0 </Fire_Inaccuracy_Distance>


    </HardPoint>

    <HardPoint Name="HP_Sentinel_Missile_01">
		<Type> HARD_POINT_WEAPON_MISSILE </Type>
            <Is_Targetable>No</Is_Targetable>
            <Is_Destroyable>No</Is_Destroyable>

            <Fire_Bone_A>MuzzleA_01</Fire_Bone_A>
            <Fire_Bone_B>MuzzleA_01</Fire_Bone_B>
            <Fire_Cone_Width>360.0</Fire_Cone_Width>
            <Fire_Cone_Height>180.0</Fire_Cone_Height>
            <Fire_Projectile_Type>Proj_T4B_Missile</Fire_Projectile_Type>
            <Fire_Min_Recharge_Seconds>2.0</Fire_Min_Recharge_Seconds>
            <Fire_Max_Recharge_Seconds>2.0</Fire_Max_Recharge_Seconds>
            <Fire_Pulse_Count>4</Fire_Pulse_Count>
            <Fire_Pulse_Delay_Seconds>0.2</Fire_Pulse_Delay_Seconds>
            <Fire_Range_Distance>330.0</Fire_Range_Distance>
		<Fire_SFXEvent>Unit_Tank_Missile_Fire</Fire_SFXEvent>

		<Fire_Inaccuracy_Distance> Infantry, 20.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Vehicle, 10.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Air, 1.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Structure, 5.0 </Fire_Inaccuracy_Distance>


    </HardPoint>

 

a few lines of code changes it to the Alliance Shuttle after a copy :P (Technically an air-bus or something...I think it was in Ep3), anyhow... not yet a troop transport (doubt its possibility, got no animations allowing it to come close enough to surface to pick up troops - bones >.<)

http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg

"That was fun"

Link to comment
Share on other sites

Thank you sooooo much!!!   :D

And if I'm not mistaken, the Rebel Hero Transport was used sometimes in the Clone Wars, because in the game Star Wars The Clone Wars, there are two or more levels (one in Geonosis and another in one moon of Thule I think) that you need to defend they from CIS forces...

Link to comment
Share on other sites

Well, I might as well code the other one right now too, at least thats one more thing for my mod >.> lol.

 

Be a sec...

 

 

EDIT: ok uploaded unit file...you'll have to add another line to GameObjectFiles.xml

 

and add this to hardpoints.xml

 

    <HardPoint Name="HP_All_Laser_00">
		<Type> HARD_POINT_WEAPON_LASER </Type>
            <Is_Targetable>No</Is_Targetable>
            <Is_Destroyable>No</Is_Destroyable>

            <Fire_Bone_A>MuzzleA_00</Fire_Bone_A>
            <Fire_Bone_B>MuzzleA_00</Fire_Bone_B>
            <Fire_Cone_Width>360.0</Fire_Cone_Width>
            <Fire_Cone_Height>180.0</Fire_Cone_Height>
            <Fire_Projectile_Type>Proj_Ground_AV_Turret_Laser_Red</Fire_Projectile_Type>
            <Fire_Min_Recharge_Seconds>2.0</Fire_Min_Recharge_Seconds>
            <Fire_Max_Recharge_Seconds>2.0</Fire_Max_Recharge_Seconds>
            <Fire_Pulse_Count>6</Fire_Pulse_Count>
            <Fire_Pulse_Delay_Seconds>0.2</Fire_Pulse_Delay_Seconds>
            <Fire_Range_Distance>330.0</Fire_Range_Distance>
		<Fire_SFXEvent>Unit_Turret_Fire</Fire_SFXEvent>

		<Fire_Inaccuracy_Distance> Infantry, 20.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Vehicle, 10.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Air, 10.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Structure, 5.0 </Fire_Inaccuracy_Distance>


    </HardPoint>

    <HardPoint Name="HP_All_Laser_01">
		<Type> HARD_POINT_WEAPON_MISSILE </Type>
            <Is_Targetable>No</Is_Targetable>
            <Is_Destroyable>No</Is_Destroyable>

            <Fire_Bone_A>MuzzleA_01</Fire_Bone_A>
            <Fire_Bone_B>MuzzleA_01</Fire_Bone_B>
            <Fire_Cone_Width>180.0</Fire_Cone_Width>
            <Fire_Cone_Height>360.0</Fire_Cone_Height>
            <Fire_Projectile_Type>Proj_Ground_AV_Turret_Laser_Red</Fire_Projectile_Type>
            <Fire_Min_Recharge_Seconds>2.0</Fire_Min_Recharge_Seconds>
            <Fire_Max_Recharge_Seconds>2.0</Fire_Max_Recharge_Seconds>
            <Fire_Pulse_Count>6</Fire_Pulse_Count>
            <Fire_Pulse_Delay_Seconds>0.2</Fire_Pulse_Delay_Seconds>
            <Fire_Range_Distance>330.0</Fire_Range_Distance>
		<Fire_SFXEvent>Unit_Turret_Fire</Fire_SFXEvent>

		<Fire_Inaccuracy_Distance> Infantry, 20.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Vehicle, 10.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Air, 10.0 </Fire_Inaccuracy_Distance>
		<Fire_Inaccuracy_Distance> Structure, 5.0 </Fire_Inaccuracy_Distance>


    </HardPoint>

 

 

Apologies

There's one more thing that needs to be added to wrok in skirmish (right now it works in GC)

You need to add the company to the building on land where you want it to be buildable...just look for the other units (for example, look for Lancets if you want to build sentinels at imeprial heavy factory, and HTT if you want the alliance shuttles at rebel heavy factories, etc)

Edited by Droid803

http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg

"That was fun"

Link to comment
Share on other sites

Thank you twice, but in wich xml are the skirmish ground structures (like the Heavy Factories)? Groundbuidable.xml, specialstructures.xml, groundstructures.xml??? I know, I'm a newbie in modding...  :P

 

Oh, and good luck with your mod, it's looking like it will be a nice mod!  ;)

Edited by HK-47
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

Copyright (c) 1999-2022 by SWRebellion Community - All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Star Wars(TM) is a registered trademark of LucasFilm, Ltd. We are not affiliated with LucasFilm or Walt Disney. This is a fan site and online gaming community (non-profit). Powered by Invision Community

×
×
  • Create New...