Here is my opinion:
I do not like to resize or scale items that the player can pickup, simply due to the fact that when the player puts the object down, the item reverts back to a scale=1.0. It may "look" nice, but is pointless from the players perspective. Resizing or scaling an item to fit into a particular location is ok, provided no other identical items are in the vicinity to indicate the change in scale.
Now, I'm all for giving the player as much variety as possible. So I've written the following script, that could be applied to already existing items (TR_misc_potion.. etc.),or be applied to new items, that would allow the player to have these resized or rescaled objects available to them.
Code: Select all
begin TR_Keep_Scale
;
float keep_scale
short OnPCDrop
short OnPCAdd
if ( MenuMode == 1 )
if (OnPCDrop == 1)
;Change the scale when the player picks the item from the menu
SetScale keep_scale
set OnPCDrop to 0
Return
endif
Return
endif
;Must use OnActivate - If you use OnPCAdd the scale is reset to 1.0 before I can keep it.
if ( OnActivate == 1 )
set keep_scale to GetScale
Activate
Return
endif
;Just incase there is a way for the player to drop the item without using the menu
if (OnPCDrop == 1)
SetScale keep_scale
set OnPCDrop to 0
Return
endif
end TR_Keep_Scale