Silgrad Tower from the Ashes

Full Version: Scale parameters
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
In Silgrad Tower their is a house for sale in tha Eastern Alleyway, When you buy the house and enter it you find a morror which is actually a portal to Drahcir Tomb, inside the Tomb are several floor traps, (sltw_ds_minetrap) when the trap is activated, it explodes (of course) but their is a warning messages as follows: "Scale parameters for prox_mine_poison are bad"

Steve ran the same play but his warning said Scale parameters for prox_mine_fire are bad"

anyone got a clue what this means and how it can be fixed
I've seen this type of warning talked about in other forums but never saw a resolve for it

Thanks
Bob
I'm no scripting wizard by any means but the script looks bad to me.

sltw_ds_proximityMine

Code:
;must be touch range spells
set whichspell to Random 4
if [ whichspell == 0 ]
  Cast "prox_mine_fire" player
elseif [ whichspell == 1 ]
  Cast "prox_mine_frost" player
elseif [ whichspell == 2 ]
  Cast "prox_mine_poison" player
elseif [ whichspell == 3 ]
  Cast "prox_mine_shock" player
elseif [ whichspell == 3 ]
  Cast "prox_mine_life" player
endif
I'm thinking the second "elseif [ whichspell == 3 ]" should be "elseif [ whichspell == 4 ]"

Also the line:
Code:
set playerdistance to GetDistance "player"
seems wrong. Shouldn't it be something like:
Code:
set playerdistance to [ player->GetDistance ]

Just my hunches...I've never scripted anything in Morrowind.
Thanks Nighthawk

I looked at the same thing, but I changed my mind on that possibly being the cause for this reason

In mournhold their is a quest to find a "crazy lady" (basically), in the old sewers where you find her their are traps with a "proximitymine script" which is identical to the "ds" version except for the "set proximity" in the original bethesda script this is set at 300 in the "ds" verison it is set at 400

But when we changed the script to the original proximitymine script and run a play test the error message is still their

Bob
since it's saying 'scale parameters' i'm assuming it has something to do with the size of the activator, try setting it's 3dscale to 1 and see if that fixes it.
ADCK

They are set at 1

I tryed making .75 and .5 and for what ever reason when I saved the changes they didnt save they just defaulted back to 1

Bob
Ah K, definatly isn't what I thought it was then. Sad

I tried entering that tomb, got the same error message, the easiest way to fix this would be to remove the 4 traps, and script your own ones.
I think I might can do that

thx
Bob
Heh, I think I have the answer, give me a minute to check it out.

Edit: my guess was correct. It's not a scripting problem at all, it's the model used for the mine. Try setting the model/art file to m/misc_dwrv_artifact50.nif like the mines that are used in Mournhold, or to any other .nif that has collision. You will get quite a satisfying KABOOM!. =) Apparently the GetDistance returns the distance between the player's collision and the object's collision.
Ty for the info

I shall try it

for my further education purposes:

How did you come to this resolve?

Bob
Ah of course that's it, it checking the distance between something that has substance (player) and something that doesn't have substance (trigger)

getdistance needs two physical objects to work.

It's like it was trying to find the distance between you and nothing Tongue
Pages: 1 2