Jump to content

Help with adding new planets!


HK-47
 Share

Recommended Posts

I spent some hours today doing Mygeeto Land/Space/Destroyed maps, after that I made the code for the planet, making the entries in text file, and adding it to the GC Equal Footing... Now I was happy and going to test, but the game crashes in the "Star Wars EaW: FoC - Loading" screen and it says that it's expecting some strange bugs and tells me to check Planets.xml. Since I'm not a good coder, I didn't find some major mistake...

 

Here's Mygeeto code:

 

	<Planet Name="Mygeeto">
		<Zoomed_Terrain_Index>5</Zoomed_Terrain_Index>
	<Text_ID>TEXT_OBJECT_STAR_SYSTEM_MYGEETO</Text_ID>
	<Loop_Idle_Anim_00>Yes</Loop_Idle_Anim_00>
	<Always_Instantiate_Galactic>yes</Always_Instantiate_Galactic>
	<Galactic_Model_Name>W_planet_Ice01.alo</Galactic_Model_Name>
	<Destroyed_Galactic_Model_Name>W_planet_Asteroids.alo</Destroyed_Galactic_Model_Name>
	<GUI_Model_Name>W_planet_Ice01.alo</GUI_Model_Name>
	<Mass>1.0</Mass>
	<Scale_Factor>1.8</Scale_Factor>
	<Mouse_Collide_Override_Sphere_Radius> 19.77 </Mouse_Collide_Override_Sphere_Radius>
	<Show_Name>Yes</Show_Name>
	<Name_Adjust>-12, -12, 0.1</Name_Adjust>
	<Behavior>SELECTABLE, PLANET, PRODUCTION</Behavior>
	<Pre_Lit>no</Pre_Lit>
	<Political_Control>0</Political_Control>
	<Camera_Aligned>yes</Camera_Aligned>
	<Facing_Adjust>0.0, 0.0, 0.0</Facing_Adjust>
	<Terrain>Artic</Terrain>
	<Planet_Credit_Value>150</Planet_Credit_Value>
	<Planet_Destroyed_Credit_Value>75</Planet_Destroyed_Credit_Value>
	<Galactic_Position>155.0, 350.0, 10.0</Galactic_Position>
	<Special_Structures_Land>5</Special_Structures_Land>
	<Special_Structures_Space>2</Special_Structures_Space>
	<Max_Space_Base>5</Max_Space_Base>
	<The_Force>Neutral</The_Force>
	<Force_Strength>0.0</Force_Strength>
	<Land_Tactical_Map> _Land_Planet_Mygeeto_00.ted </Land_Tactical_Map>
	<Space_Tactical_Map>_Space_Planet_Mygeeto_00.ted</Space_Tactical_Map>
	<Destroyed_Space_Tactical_Map>_destroyed_planet_mygeeto_00.ted<Destroyed_Space_Tactical_Map/>
	<Planet_Surface_Accessible> Yes </Planet_Surface_Accessible>
	<Planet_Capture_Bonus_Reward> 2500 </Planet_Capture_Bonus_Reward>
	<Planet_Slice_Difficulty_Rating>0</Planet_Slice_Difficulty_Rating>
	<Planet_Tech_Availability_Rating>1</Planet_Tech_Availability_Rating>
	<Planet_Slice_Affinity_Types />
        <Planet_Black_Market_Modifier>-500</Planet_Black_Market_Modifier>

	<Describe_Population>TEXT_PLANET_MYGEETO_INFO_POP</Describe_Population>
	<Describe_Wildlife>TEXT_PLANET_MYGEETO_INFO_WL</Describe_Wildlife>
	<Describe_Terrain>TEXT_PLANET_MYGEETO_INFO_TER</Describe_Terrain>
	<Describe_Weather>TEXT_PLANET_MYGEETO_INFO_WEA</Describe_Weather>
	<Describe_Tactical>TEXT_PLANET_MYGEETO_INFO_TAC</Describe_Tactical>
	<Describe_Advantage>TEXT_PLANET_MYGEETO_INFO_ADV</Describe_Advantage>
	<Describe_History>TEXT_PLANET_MYGEETO_INFO_HIS</Describe_History>

	<Planet_Ability_Name>TEXT_PLANET_MYGEETO_INFO_ADV</Planet_Ability_Name>
	<Planet_Ability_Description>TEXT_PLANET_MYGEETO_ENCYC</Planet_Ability_Description>

	<Encyclopedia_Text>TEXT_PLANET_MYGEETO_ENCYC</Encyclopedia_Text>
	<Encyclopedia_Weather_Icon>i_pa_weather_snow.tga</Encyclopedia_Weather_Icon>
	<Encyclopedia_Weather_Name>TEXT_WEATHER_NAME_SNOW</Encyclopedia_Weather_Name>
	<Encyclopedia_Weather_Info>TEXT_TACTICAL_WEATHER_OBJECTIVE_SNOW</Encyclopedia_Weather_Info>
	<Planet_Ability_Icon>i_pa_high_credit_value.tga</Planet_Ability_Icon>
	<Native_Icon_Name>load_urban.tga</Native_Icon_Name>

	<Additional_Population_Capacity>5</Additional_Population_Capacity>

	<Planet_Corruption_Removal_Base_Cost>1500</Planet_Corruption_Removal_Base_Cost>

</Planet>

 

Could some one review the code and help?

???

 

 

EDIT: Forgot, I found the problem:

_destroyed_planet_mygeeto_00.ted

instead of:

_destroyed_planet_mygeeto_00.ted

:P

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

Now I need help: where do I need to put the map file for the planet? Or it needs to have an specific name?Because the two planets that I added in my game stay loading and when it finishes and I click the 'Play' buttom, it starts loading again... The maps names entries in the planets codes appears to be OK (since I used CTRL+C CTRL+V)...

???

Link to comment
Share on other sites

Uh? I put exactly in this location... Perhaps because the files can also be found in custom maps...?

 

Edit: I removed them from CustomMaps folder and it still stays loading forever... Do I need to put an specific name in the maps? Or make an entry in another xml?

I can't find the problem, since both of the planets (Mygeeto and Peragus XII) have the same problem and the maps are OK.

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

They're set to Singleplayer, and:

Peragus: has the space station marker, has two orbital special structures position markers (and in Peragus' code I changed the line about orbital special structures to two too).

Mygeeto: both space and destructed planet map have three attacking forces markers, and three defending forces markers, space station marker and two orbital special structures markers (corresponding to Mygeeto's code). The land map has two command posts with pop. cap. of 3, and two command posts with pop. cap. of 2; three in base special structures markers, two out base special structures markers (corresponding to Mygeeto's code).

 

I'm starting to go mad...  :-\

Link to comment
Share on other sites

I changed... And I changed everything (buildpads, sensor array, etc to neutral)...

Is there some other place that you need to do an entry to planets work? Because I took a look in some mods that add planets (like z3r0x one) and I the code appears to be correct...

Link to comment
Share on other sites

Ahh thanks... but this is in landmaps, right? Because in the game space maps there are only 3 defender position...

In space maps, I said that I put attacking forces markers, I meant that I put attacker entry position. And in the space maps, Are these markers all that I need to it work: space station position marker (I don't remmember if this is the right name), 3 attacker entry positions markers, 3 defending forces positions markers, and 1 or 2 orbital special structure position markers?

 

EDIT: is there some specific direction that the Attacker entry position (in space) needs to be? Because I noticed in game maps that depending in the map layout and position, they look like that were put in such directions on purpose (when I say the Marker direction, I mean the Z angle box)...

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

Attacker Entry Position should face the enemy space station or it'll look funny hyperspacing in.

 

Defending forcers position should face the enemy fleet or it'll look funny when your forces appear.

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

"That was fun"

Link to comment
Share on other sites

D803 suggested me to test the maps in the game's planets... Well, the maps work fine... So the problem is the code... And changed somethings in Peragus code and now it works fine... But Mygeeto is still not working...

If someone that already added a planet to the game with success could review the code, I would be so happy...  ::)

 

Here's the code:

 

	<Planet Name="Mygeeto">
		<Zoomed_Terrain_Index>4</Zoomed_Terrain_Index>
	<Text_ID>TEXT_OBJECT_STAR_SYSTEM_MYGEETO</Text_ID>
	<Loop_Idle_Anim_00>Yes</Loop_Idle_Anim_00>
	<Always_Instantiate_Galactic>yes</Always_Instantiate_Galactic>
	<Galactic_Model_Name>W_planet_Ice01.alo</Galactic_Model_Name>
	<Destroyed_Galactic_Model_Name>W_planet_Asteroids.alo</Destroyed_Galactic_Model_Name>
	<GUI_Model_Name>W_planet_Ice01.alo</GUI_Model_Name>
	<Mass>1.0</Mass>
	<Scale_Factor>1.8</Scale_Factor>
	<Mouse_Collide_Override_Sphere_Radius> 19.77 </Mouse_Collide_Override_Sphere_Radius>
	<Show_Name>Yes</Show_Name>
	<Name_Adjust>-12, -12, 0.1</Name_Adjust>
	<Behavior>SELECTABLE, PLANET, PRODUCTION</Behavior>
	<Pre_Lit>no</Pre_Lit>
	<Political_Control>0</Political_Control>
	<Camera_Aligned>yes</Camera_Aligned>
	<Facing_Adjust>0.0, 0.0, 0.0</Facing_Adjust>
	<Terrain>Artic</Terrain>
	<Planet_Credit_Value>150</Planet_Credit_Value>
	<Planet_Destroyed_Credit_Value>75</Planet_Destroyed_Credit_Value>
	<Galactic_Position>155.0, 350.0, 10.0</Galactic_Position>
	<Special_Structures_Land>5</Special_Structures_Land>
	<Special_Structures_Space>2</Special_Structures_Space>
	<Max_Space_Base>5</Max_Space_Base>
	<The_Force>Neutral</The_Force>
	<Force_Strength>0.0</Force_Strength>
	<Land_Tactical_Map> _Land_Planet_Mygeeto_00.ted </Land_Tactical_Map>
	<Space_Tactical_Map>_Space_Planet_Mygeeto_00.ted</Space_Tactical_Map>
	<Destroyed_Space_Tactical_Map>_Destroyed_Planet_Mygeeto_00.ted</Destroyed_Space_Tactical_Map>
	<Planet_Surface_Accessible> Yes </Planet_Surface_Accessible>
	<Planet_Capture_Bonus_Reward> 2000 </Planet_Capture_Bonus_Reward>
	<Planet_Slice_Difficulty_Rating>3</Planet_Slice_Difficulty_Rating>
	<Planet_Tech_Availability_Rating>5</Planet_Tech_Availability_Rating>
	<Planet_Slice_Affinity_Types />
        <Planet_Black_Market_Modifier>-500</Planet_Black_Market_Modifier>

	<Describe_Population>TEXT_PLANET_MYGEETO_INFO_POP</Describe_Population>
	<Describe_Wildlife>TEXT_PLANET_MYGEETO_INFO_WL</Describe_Wildlife>
	<Describe_Terrain>TEXT_PLANET_MYGEETO_INFO_TER</Describe_Terrain>
	<Describe_Weather>TEXT_PLANET_MYGEETO_INFO_WEA</Describe_Weather>
	<Describe_Tactical>TEXT_PLANET_MYGEETO_INFO_TAC</Describe_Tactical>
	<Describe_Advantage>TEXT_PLANET_MYGEETO_INFO_ADV</Describe_Advantage>
	<Describe_History>TEXT_PLANET_MYGEETO_INFO_HIS</Describe_History>

	<Planet_Ability_Name>TEXT_PLANET_MYGEETO_INFO_ADV</Planet_Ability_Name>
	<Planet_Ability_Description>TEXT_PLANET_MYGEETO_ENCYC</Planet_Ability_Description>

	<Encyclopedia_Text>TEXT_PLANET_MYGEETO_ENCYC</Encyclopedia_Text>
	<Encyclopedia_Weather_Icon>i_pa_weather_snow.tga</Encyclopedia_Weather_Icon>
	<Encyclopedia_Weather_Name>TEXT_WEATHER_NAME_SNOW</Encyclopedia_Weather_Name>
	<Encyclopedia_Weather_Info>TEXT_TACTICAL_WEATHER_OBJECTIVE_SNOW</Encyclopedia_Weather_Info>
	<Planet_Ability_Icon>i_pa_high_credit_value.tga</Planet_Ability_Icon>
	<Native_Icon_Name>load_urban.tga</Native_Icon_Name>

	<Additional_Population_Capacity>5</Additional_Population_Capacity>

	<Planet_Corruption_Removal_Base_Cost>1500</Planet_Corruption_Removal_Base_Cost>

</Planet>

Link to comment
Share on other sites

Is your Mygeeto going to be free release?

"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

Sorry 1upD, but it's "exclusive" until a certain mod release... Actually it's my Bespin Refinery map heavily modified, and takes place on the Docks Sector of one of the large cities in Mygeeto...  ;)

 

http://img100.imageshack.us/img100/9475/mygiiao1.png

 

http://img257.imageshack.us/img257/8730/mygmz2.png

 

I found some nice Mygeeto props made by Keeper of Faith in EaW Files and I'm currently adding some of them to see if it looks better...

Link to comment
Share on other sites

Wow! Thanks! I'll be glad to see your Raxus Prime map finished...  ;)

 

And, anyone that knows the problem in the planet code, please post!  ::) The map works fine (I tested both land and space maps in Korriban and it worked with no problem), the prolem is just the code...  :-\

Link to comment
Share on other sites

Thanks Mikan!  :)

If you want a beta of a very similar map, http://pff.swrebellion.com/index.php?topic=3910.25 (free marketing!  :P)

 

I don't think the problem is the corruption options... Because I set this planet to have none (the lazy ZC will have to conquer if it wants lots of credits, instead of sending the defiler)...

I'm starting to think that the problem is the:

<Destroyed_Space_Tactical_Map>_Destroyed_Planet_Mygeeto_00.ted</Destroyed_Space_Tactical_Map>

Since all of the game's planet have this line like:

<Destroyed_Space_Tactical_Map/>

...??? yet....

Link to comment
Share on other sites

Well...rty changing it to see if its that.

 

and wow that mygeeto looks liek my mygeeto: industrial city for skirmish by god, that looks nice. You used Death-Star plating for the ground? O_O

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

"That was fun"

Link to comment
Share on other sites

HK you inspire me to start mapping again.

Me too

MUST...TALK LIKE...SHATNER!

ROFL!!!

"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

AAAAAAHHH!!!

It doesn't work!!!!!!!  >:(

I'm starting to think in abandon Mygeeto and foward work to Cato Neimoidia or other interesting planet, because the damn code doesn't work! Tomorrow I'll try to do another code using another planet as example...

:P

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