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.
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...
Cheers for the info. :)
How do you mean, not hit anything, as in the hull shields, or just not anything at all?
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.
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?
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.
Cool, anything you can find would be appreciated
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).
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.
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...