Resizing ships 16 replies

  • 1
  • 2

Please wait...

grim_marmazet

I am a bum!

50 XP

13th January 2003

0 Uploads

72 Posts

0 Threads

#1 15 years ago

Hopw do you change the size of a ship, is it in the scripts (if so, what do i change?) or do you do it in max, and how do you do it there? Thanks for any advice.




mldaalder

GF is my bext friend *hugs GF*

50 XP

22nd October 2002

0 Uploads

917 Posts

0 Threads

#2 15 years ago

It is done in MAX, although this might also do it:

this might be able to "re-scale" objects in game, I'm not sure if it works, I just saw this while creating a system, just look at the pObj.SetScale: pObj = loadspacehelper.CreateShip ("Asteroidh1", pSet, "Debris", "Asteroid1") if (pObj): # Set objects Genus to Asteroid. pProperty = pObj.GetShipProperty() pProperty.SetGenus(App.GENUS_ASTEROID)

pObj.SetScale (9.0) # Rotate object vVelocity = App.TGPoint3_GetModelForward() # Get the vector to rotate around vVelocity.Scale( 10.0 * App.PI / 180.0 ) # Scale it to 10 degrees/second (converted to radians) pObj.SetAngularVelocity(vVelocity, App.PhysicsObjectClass.DIRECTION_MODEL_SPACE)

I can also give you a way which stops a torpedo from hitting anything...




grim_marmazet

I am a bum!

50 XP

13th January 2003

0 Uploads

72 Posts

0 Threads

#3 15 years ago

Cheers for the info. :)

How do you mean, not hit anything, as in the hull shields, or just not anything at all?




mldaalder

GF is my bext friend *hugs GF*

50 XP

22nd October 2002

0 Uploads

917 Posts

0 Threads

#4 15 years ago

Absolutly nothing at all as if it is not their, and no it is no playing of sight, the torpedo that I modified was very fast and had a million (1000000) guidance lifetime.




Kaptain Kai

I'm too cool to Post

50 XP

5th May 2003

0 Uploads

9 Posts

0 Threads

#5 15 years ago

hey mldaalder,

did you ever see if resizing using the scripts worked? I'm trying to resize some of the ships too (like the excelsior...way too big) Do you do the edits in a .py file for the ship?




mldaalder

GF is my bext friend *hugs GF*

50 XP

22nd October 2002

0 Uploads

917 Posts

0 Threads

#6 15 years ago

Yes, in the system scripts, the planets are resized.

And I have read that the launching framework resizes shuttles when lauched.

I might be able to try to make a mod that does just that, but I need to find where the ships are created in the scripts, I think in QuickBattle.py and some where else.




Kaptain Kai

I'm too cool to Post

50 XP

5th May 2003

0 Uploads

9 Posts

0 Threads

#7 15 years ago

Cool, anything you can find would be appreciated




mldaalder

GF is my bext friend *hugs GF*

50 XP

22nd October 2002

0 Uploads

917 Posts

0 Threads

#8 15 years ago

I think I have the code finnished, if it works, modders need to make a file that in which they put a scale and a name (the one of the ship in game, or a model file, not sure which is better).




Kaptain Kai

I'm too cool to Post

50 XP

5th May 2003

0 Uploads

9 Posts

0 Threads

#9 15 years ago

awesome, thanks again. I'm sure you'll make many people happy by doing this. Cause I was stumped as far as having to import the .NIF models to rescale them.

you rock man.




mldaalder

GF is my bext friend *hugs GF*

50 XP

22nd October 2002

0 Uploads

917 Posts

0 Threads

#10 15 years ago

Don't get your hopes up to high I said I think that it works, not sure untill I try it out. But for that I need to figure out where to get it in game, I don't know where I should do that.

Besides, how would you feel if I said that all the ships will be half the size you intended to? I think this will add to the cannon look of the game.

Now to think of it I do think I know where to put it, just after you press start at Saffi's command, at least in QB. But that is only a lucky guess if that works.

I'll get on it now to get this in game, fingers crossed for this reversed engineered work from DockWithStarBase AI file...

Keep you posted...




  • 1
  • 2