Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: Can you set actor scale ranges that only are active over a region?  (Read 2485 times)

0 Members and 1 Guest are viewing this topic.

Jyujinkai

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 352
    • View Profile
    • Jyujinkai's WME Development Blog
Can you set actor scale ranges that only are active over a region?
« 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.



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....
  • Set the room scale with the normal 2 green bars.
  • Then as soon as the actor walks over a region i set up for the stairs it switches to the regions scale settings
  • I set the bottom of the new region scale to equal the scale of the actor when it enters the region
  • I set the top of the stairs to the needed scale... witch is different form the global scene scale values.

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?
« Last Edit: September 21, 2007, 01:02:15 AM by Jyujinkai »
Logged
<Antoine de Saint-Exupéry> In any thing at all, perfection is finally attained not when there is no longer anything to add, but when there is no longer anything to take away...
<Carl Sagan> If you want to make a apple pie from scratch. You must first... invent the universe

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Can you set actor scale ranges that only are active over a region?
« Reply #1 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.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.017 seconds with 19 queries.