Jump to content

Working on a couple of mods. Help?


Recommended Posts

If you'll recall, I posted a while back for information on making a Rebel ISD. I got it working, but, being the illustrious modder that I am, didn't stop there. I am adding a turbolaser battery in the place of the Tractor Beam. I tested this last night, and while it worked, the battery showed at full health but appeared destroyed. Now, I assume I probably missed a line of code, or misspelled something, but I can't find it, and I'm curious as to what would cause it.

 

My next issue is a little bigger. I created a new infantry unit, the MonCal Repair Crew. This basically just gives a group of MonCals the repair ability and makes them buildable. Now, I've had several issues. The first was that when I got them running, they reverted to indigenous. I went into the XML and played around a bit, and now they don't respond to any commands, including move and attack, and they all literally stand on top of each other. I am going to insert the text and see if anyone can see where I went wrong.

 

TEXT_UNIT_MONCAL_TECH

Stormtrooper Scout_Trooper

TIE_Crawler UC_Empire_Buildable_Anti_Infantry_Turret

TEXT_TOOLTIP_MONCAL_TECH TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY

TEXT_ENCYCLOPEDIA_CLASS_INFANTRY

i_button_moncalciv.tga

Yes

1

 

20

60

40

 

Rebel

2

0

0

1

R_Ground_Barracks

100

10

Yes

Yes

No

No

 

DUMMY_GROUND_COMPANY

1

yes

infantry

Gallofree_Transport

Squad_MonCal_Tech, Squad_MonCal_Tech, Squad_MonCal_Tech, Squad_MonCal_Tech, Squad_MonCal_Tech

5

MonCal_Tech_Team

20

 

NI_MonCalCiv.ALO

5.0

0 0 5

45

 

RHD_Build_Troops

RHD_Recruitment_Canceled

Unit_Complete_Calamari

Unit_Move_Calamarian

 

0.05

1

20

 

320

3

Tactical_Units

 

 

TARGETED_REPAIR

50.0

R2D2_Repair_Ability

Unit_Hack_Turret_C3PO

Yes

 

 

That's in GroundCompaniesRebel.

 

TEXT_UNIT_MONCAL_TECH

TEXT_ENCYCLOPEDIA_CLASS_INFANTRY

TEXT_TOOLTIP_MONCAL_TECH TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY

Stormtrooper Scout_Trooper

TIE_Crawler UC_Empire_Buildable_Anti_Infantry_Turret

No

NI_MonCalCiv.ALO

NI_GMale_Urban_A.ALO

i_button_moncalciv.tga

SELECTABLE

SURFACE_FX,LAND_TEAM_INFANTRY_LOCOMOTOR,IDLE,WEAPON,REVEAL,HIDE_WHEN_FOGGED

Generic_Footprint, Good_Ground

Yes

No

Yes

yes

0

3.0f

1.0

5

0

0

0.8

20.0

.366

10.0

yes

1.2f

no

0.1

 

1

10.0

3.5

2.0

2.0

Land

Infantry

.5

10

.1

.1

.1

2

Standard

 

1.5

Walk

No

Rebel

0

10

Armor_Infantry

1

20

0

60

0

0

0

40

yes

3

10.0, 10.0

Generic_Shadow

B_Chest

 

Proj_Hand_Blaster_Red

1

0.2

2.0

 

Infantry, 2.0

Vehicle, 8.0

Air, 70.0

Structure, 8.0

 

True

 

150.0

1.0

150.0

7.0

 

Unit_Select_Calamarian

Unit_Move_Calamarian

Unit_Attack_Calamarian

Unit_Assist_Move_Calamarian

Unit_Assist_Attack_Calamarian

Unit_Guard_Calamarian

Unit_Rebel_Infantry_Fire

Unit_Rebel_Soldier_Death

 

500.0

500.0

500.0

AvoidAntiInfantryTurrets

5

 

Infantry

Infantry

Infantry

Fodder

 

Damage_Force_Whirlwind, Mon_Calamari_Civilian_Force_Whirlwind_Death_Clone

Damage_Force_Lightning, Mon_Calamari_Civilian_Force_Lightning_Death_Clone

 

1x1

Yes

Yes

 

0.25

0.0

True

 

false

 

 

TARGETED_REPAIR

50.0

R2D2_Repair_Ability

Unit_Hack_Turret_C3PO

Yes

 

 

 

Mon_Calamari_Tech

TEXT_UNIT_MONCAL_Tech

SURFACE_FX,LAND_TEAM_INFANTRY_LOCOMOTOR,IDLE,WEAPON,REVEAL,HIDE_WHEN_FOGGED

Yes

1

None

3.0

16.0

1.6

3.5

 

 

And that's in GroundInfantry. One of these days, I'll be able to figure this out myself. I hope.

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...