This site is in archival mode. A replacement is being developed. In the meantime, please use the PBW2 Forums for community discussions. The replacement software for this site will use a unified account system with PBW2, and any newly created threads will carry over.
Welcome to Spaceempires.net
Login or Register

Search
Modules
· Content
· Downloads
· Forums
· Game Info
· Image Gallery
· Links
· Shipyards
· Topics
· Staff

User Info
· Welcome, Anonymous
Membership:
· New: Astorre
· New Today: 0
· New Yesterday: 0
· Overall: 3155

People Online:
· Visitors: 122
· Members: 0
· Total: 122

  

Spaceempires.net :: Shrinking sphereworlds to 2 hexes :: View topic
Forum FAQ :: Search :: Memberlist :: Usergroups :: Profile :: Log in to check your private messages :: Log in


Shrinking sphereworlds to 2 hexes

 
Post new topic   Reply to topic    Spaceempires.net Forum Index -> SEV Modding Discussion
View previous topic :: View next topic  
Author Message
arthurtuxedo
Space Emperor


Joined: Sep 09, 2007

PostPosted: Thu Sep 04, 2014 5:41 am    Post subject: Shrinking sphereworlds to 2 hexes Reply with quote

Hello, I am trying to shrink sphereworlds to a more manageable size of 2 hexes radius, and while I have mostly succeeded, I cannot get the model to display correctly on the system map. Instead of a smaller sphereworld that is centered on the star and rotates on its own axis, it traces a giant circle the size of the old, larger sphereworld, and looks like it is orbiting the star. I have tried different values and nothing gets it close to centered. Can someone who understands XFileClasses_Stellar.txt help me out?

This is where I left the entry before I ragequit:

Code:
Name                                                 := Sphereworld
XFile                                                := Sphereworld.x
Override Texture Filename                            :=
Base Model Radius                                    := 8.0
Starting Rotate X                                    := 50
Starting Rotate Y                                    := 0
Starting Rotate Z                                    := 25
Starting Scale X                                     := 80
Starting Scale Y                                     := 80
Starting Scale Z                                     := 80
Starting Position Offset X                           := -5.43
Starting Position Offset Y                           := -146.27
Starting Position Offset Z                           := 299.8
Continual Rotation Vector X                          := 0
Continual Rotation Vector Y                          := 0
Continual Rotation Vector Z                          := 25
Continual Rotation Speed                             := 0.0001


Back to top
Fyron
Galactic Guru


Joined: Aug 04, 2003
Location: CA, USA

PostPosted: Thu Sep 04, 2014 2:27 pm    Post subject: Reply with quote

You also need to adjust the size in StellarObjectTypes.txt.

Smarter than your average Texrak.


Back to top
arthurtuxedo
Space Emperor


Joined: Sep 09, 2007

PostPosted: Fri Sep 05, 2014 2:19 am    Post subject: Reply with quote

I tried, but it was tough to figure out what the numbers meant. I eventually figured out that it would work properly if I set max model size in StellarObjectTypes the same as scale in XFileClasses_Stellar.

Thank you!


Back to top
Display posts from previous:   
Post new topic   Reply to topic    Spaceempires.net Forum Index -> SEV Modding Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
All logos and trademarks used on this site, all comments and stories posted for reading, all files hosted for download,
and all art work hosted for viewing are property of their respective owners; all the rest copyright 2003-2010 Nolan Kelly.
Syndicate news: SpaceEmpires.net News RSS Feed - Syndicate forums: SpaceEmpires.net Forums RSS Feed
Page Generation: 0.45 Seconds