Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Jyujinkai on September 21, 2007, 12:52:29 AM

Title: Can you set actor scale ranges that only are active over a region?
Post by: Jyujinkai on September 21, 2007, 12:52:29 AM
Hi there....

I have been playing a lot with rooms recently and have a question about actor scaling. You are able to easily set 2 scale values to be interpolated though using those big green lines in the editor.

I have designed a room witch is a deep hall, with two stair wells on either side. The actor walks to the end of the room to load the next rooms. The play can also walk UP either of the stair case to get to the upper floor. The problem is that due to the perspective in my drawing the scale for the end of the room is not right for the top of the stairs.

(http://img232.imageshack.us/img232/6210/testjq6.png)

I can see that it is easy enough to set regions to have there own default scale... ... is there a way to set a interpolated value between two values that only effects the region?

This is what i was hoping to do....

The other idea was if you can set a multiplier on the region... so any scale value from the two green lines is added onto or subtracted from... so a world scene scale of 100% = 95% on the region only... ythis would also allow me to have the separate scales.

The other way was to use the actor.scale script function but as far as i can see it only works on a single cord... X for example... I would need both the x,x cords to do teh smooth scale over the region?
Title: Re: Can you set actor scale ranges that only are active over a region?
Post by: Mnemonic on September 21, 2007, 06:41:59 PM
It's not directly supported, there are only global scale levels in the scene. One would have to write a script for checking the actor's position and change his scale appropriately.