CGC: additional planet + position problem

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

CGC: additional planet + position problem

Post by Anakin »

Hi,

i added two new planets to my galactic conquest. But i have a problem. Both new planets have two planets, so there are 4 new planets at all.
Looks like there is Naboo shown, too.
Hidden/Spoiler:
Image
I got this problem for Rhen Var and Bespin.

Code: Select all

		-- Bespin
		CreateEntity(GetEntityClass("tat"), GetEntityMatrix("star01"), "bes");
		--CreateEntity(GetEntityClass("tat_system"), GetEntityMatrix("star01_system"), "bes_system");
		CreateEntity(GetEntityClass("tat_camera"), GetEntityMatrix("star01_camera"), "bes_camera");
		CreateEntity(GetEntityClass("tat_fleet1"), GetEntityMatrix("star01_fleet1"), "bes_fleet1");
		CreateEntity(GetEntityClass("tat_fleet2"), GetEntityMatrix("star01_fleet2"), "bes_fleet2");
		
		--Rhen Var
		CreateEntity(GetEntityClass("hot"), GetEntityMatrix("star16"), "rhn");
		--CreateEntity(GetEntityClass("hot_system"), GetEntityMatrix("star16_system"), "rhn_system");
		CreateEntity(GetEntityClass("hot_camera"), GetEntityMatrix("star16_camera"), "rhn_camera");
		CreateEntity(GetEntityClass("hot_fleet1"), GetEntityMatrix("star16_fleet1"), "rhn_fleet1");
		CreateEntity(GetEntityClass("hot_fleet2"), GetEntityMatrix("star16_fleet2"), "rhn_fleet2");
I took the tat planet for bespin and hot for rhen var. Why are there for both these nabooish planet?? As you can see i already tried to remove the "_system", but it changed nothing.


2nd Problem:

when zooming on rhen Var for battle or while browsing the galaxie you zoom to the planet but than past it. The fleets are shown at the correct postion, so i don't think the problem is the zoom camera position, but the planet position. Is there a way to give it a offset from the star16 position and how would you do that??
Post Reply