Scaling airplanes as they fly by

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
grb
Warrant Officer
Posts: 136
Joined: Fri Jun 06, 2003 12:22 am
Location: USA Philadelphia

Scaling airplanes as they fly by

Post by grb »

Hi all,
Is it possible to scale an airplane object, say the C47 transport, so that it
apppears to get smaller as it flies into the distant horizon? At present I
understand how to make a plane fly a given path with info obtained from
Nemeisis tut.

thanks for any forthcoming help.
grb
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Never done it but you should be able to set the scale property of the script_object ( the plane )...
Admin .MAP Forums
Image
Head above heels.
grb
Warrant Officer
Posts: 136
Joined: Fri Jun 06, 2003 12:22 am
Location: USA Philadelphia

Bjarne...

Post by grb »

Thanks for your help. I will try to set scale on each info_splinenode and see what happens.


cheers
grb
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Re: Bjarne...

Post by Bjarne BZR »

grb wrote:I will try to set scale on each info_splinenode and see what happens
Setting the scale on the nodes woll not work... you will have to set the scale on the plane...

And increase it bu very small amounts at very short intervals to get the "growing" effect.
Admin .MAP Forums
Image
Head above heels.
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

there is no "plane" when you use bomber.scr... each splinepath is the plane in a way... each one has a model, and i think you can just have the scale different at each splinepath dont know though.
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

why not just create an area that it's touching

then use the for loop, until it reaches it's size then shrinks again?
hope this helps, prob not cos it's all foreign 2 me :-/
grb
Warrant Officer
Posts: 136
Joined: Fri Jun 06, 2003 12:22 am
Location: USA Philadelphia

thanks Bjarne, Alcoholic, and Nuggets....

Post by grb »

I tried scaling per node, as Bj indicated...that won't work, because as
Alcoholic indicated, one probably has to "somehow" scale the actual
plane object at each given splinenode path. Not sure how to do it either.

Then we have Nuggets suggestion to create an area that it's touching
then use the for loop, until it reaches it's size then shrinks again.

Sounds great Nuggets, if I only knew how to do what you suggest! I am
not being sarcastic. Just have no idea how do what you suggest.

Perhaps someone in the future can come up with a solution to this topic.
Then again, it may be a waste of anyone's time, for how often would scaling objects for this purpose would be used by most people. The planes fly by so fast we only get a few seconds at best of time. So it is
probably not worth wasting code space to set up this type effect.

BUT thank you guys for giving it a shot! Consider this topic closed unless anyone really wants to pursue it further.

best regards
grb
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

try this

Post by tltrude »

Anything in a sky box that is outside your normal sky box will be visable. So try slapping an extra sky box on the outside of your current skybox and extend the path of your bomber.
Tom Trude,

Image
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

try this in ur info_splinePATH (not node :P, nor a script_object :P 8-) ):

model:planenameblahblah.tik
targetname:x
target:x's next target
scale:x
#set:x
Live to map, not map to live.
-mohaa_rox, .map
moderator
grb
Warrant Officer
Posts: 136
Joined: Fri Jun 06, 2003 12:22 am
Location: USA Philadelphia

tltrude and mohaa_rox.... thanks

Post by grb »

I will try both things you guys suggest. But for the additional sky box
solution. I already have the sky box at maximum size, that is it extends to the maximum grid size of the map (-8192.....8192) so I perhaps the
editor will not accept the additional sky box. But I will try it anyway just to
see if it will. As for mohaa_rox's suggestion. The settings you present for the splinepath node(s) is what I already have, LESS the SET statement. Again I will try both methods......thanks..
grb
Post Reply