PDA

View Full Version : Modified skinning script.



Stunseed
09-25-2004, 08:31 PM
Celexei and I have been toying with this modified script for Rangers to cast 604 pre-skin. I'm still a scripting n00b, so I can't figure what is wrong. It's made for Stunseed alone, but can be altered for normalness.

#Utility - skins target

put put my waraxe in my loop
waitfor You carefully hang
put get my knife from my boots
waitfor You remove a

Cast:
put incant 604
pause
match Kneel You feel more nimble.
match Recast [Spell Hindrance

Recast:
Wait 3
Goto Cast

Kneel:
put kneel
waitfor You kneel down
put stance o
waitfor You are now in
put skin %1

STAND:
put stand
Match STUNNED You are still stunned
Match TRYAGAIN ...wait
Match GOAHEAD You stand
Match GOAHEAD You are already
matchwait

STUNNED:
pause 3
goto STAND

TRYAGAIN:
goto STAND

GOAHEAD:
put stance d
waitfor You are now
put put my knife in my boots
waitfor You put a
put rub my loop
waitfor You unsnap
put take waraxe from my loop
waitfor You deftly remove
put search %1
waitfor You search
put flag lefthand off

END:
exit

Can someone tell me what exactly is wrong? It is just casting 604 over and over now, where before where there was no hinderance check, it would cast and hang on the kneel.

Artha
09-25-2004, 08:36 PM
Just FYI, I'm pretty sure that kneeling doesn't make a difference.

Drew
09-25-2004, 08:41 PM
I was telling you on PSInet but it's easier for me to just correct it here:


#Utility - skins target

put put my waraxe in my loop
waitfor You carefully hang
put get my knife from my boots
waitfor You remove a

Cast:
put incant 604
pause
match Kneel You feel more nimble.
match Recast [Spell Hindrance
matchwait

Recast:
Wait 3
Goto Cast

Kneel:
put kneel
waitfor You kneel down
put stance o
waitfor You are now in
put skin %1

STAND:
put stand
Match STUNNED You are still stunned
Match STAND ...wait
Match STAND You struggle
Match GOAHEAD You stand
Match GOAHEAD You are already
matchwait

STUNNED:
pause 3
goto STAND

GOAHEAD:
put stance d
waitfor You are now
put put my knife in my boots
waitfor You put a
put rub my loop
waitfor You unsnap
put take waraxe from my loop
waitfor You deftly remove
put search %1
waitfor You search
put flag lefthand off

END:
exit

[Edited on 9-26-2004 by Drew]

Farquar
09-25-2004, 08:42 PM
I've been told kneeling makes a difference for the success/failure check, but not for the value check. If you pretty much skin everything, then kneeling wont make a visible difference.

Stunseed
09-25-2004, 08:45 PM
Still hanging....

>ambush mamm head
You leap from hiding to attack!
You swing a masterfully crafted massive waraxe at a wooly mammoth!
AS: +355 vs DS: +163 with AvD: +34 + d100 roll: +34 = +260
... and hit for 68 points of damage!
Solid strike caves the wooly mammoth's skull in, resulting in instant death!
The wooly mammoth lets out a sigh and dies.
Roundtime: 6 sec.
>
.skin mamm

[Press the ESCape key to abort script.]
put my waraxe in my loop
You carefully hang your waraxe from your loop and reach over and snap the loop closed.
[Script]>get my knife from my boots
You remove a puma-etched skinning knife from in your mountaineer's boots.
[Script]>incant 604
You make a simple motion, quietly invoking the Skinning spell...
Your spell is ready.
You gesture.
You feel more nimble.
Cast Roundtime 3 Seconds.
[Script]>
You feel at full magical power again.
[Script]>chat Still hanging after the cast.

Drew
09-25-2004, 08:46 PM
I know Stunseed isn't a master skinner so he probably want to keep the kneeling check, I never have any problem with my skinning script kneeling since it puts me in defensive.

Farquar
09-25-2004, 08:49 PM
Try taking out the pause after the incant. It might be causing a hiccup.

Stunseed
09-25-2004, 09:04 PM
>ambush other mamm head
You leap from hiding to attack!
You swing a masterfully crafted massive waraxe at a wooly mammoth!
AS: +355 vs DS: +104 with AvD: +34 + d100 roll: +14 = +299
... and hit for 89 points of damage!
Tremendous blow crushes skull like a ripe melon.
The wooly mammoth lets out a sigh and dies.
A wooly mammoth no longer seems distracted.
Roundtime: 6 sec.
>
Bright white slush oozes out of the major glacei before it crumbles into a lifeless pile of ice.
>
.skin mamm

[Press the ESCape key to abort script.]
You do not feel drained anymore.
[Script]>put my waraxe in my loop
You carefully hang your waraxe from your loop and reach over and snap the loop closed.
[Script]>get my knife from my boots
You remove a puma-etched skinning knife from in your mountaineer's boots.
[Script]>incant 604
You make a simple motion, quietly invoking the Skinning spell...
Your spell is ready.
You gesture.
You feel more nimble.
Cast Roundtime 3 Seconds.
[Script]>
A wooly mammoth tries to impale you on her tusks!
AS: +331 vs DS: +318 with AvD: +35 + d100 roll: +3 = +51
A clean miss.
[Script]>

Still hanging. Will edit the pause after cast momentarily.

Artha
09-25-2004, 09:06 PM
#Utility - skins target

put put my waraxe in my loop
waitfor You carefully hang
put get my knife from my boots
waitfor You remove a

Cast:
put incant 604
match Kneel Cast roundtime
match Recast [Spell Hindrance
matchwait

Recast:
pause 3
Goto Cast

Kneel:
pause 4
put kneel
waitfor You
put stance o
waitfor You
put skin %1

STAND:
put stand
Match STUNNED You are still stunned
Match STAND ...wait
Match STAND You struggle
Match GOAHEAD You stand
Match GOAHEAD You are already
matchwait

STUNNED:
pause 3
goto STAND

GOAHEAD:
put stance d
waitfor You are now
put put my knife in my boots
waitfor You put a
put rub my loop
waitfor You unsnap
put take waraxe from my loop
waitfor You deftly remove
put search %1
waitfor You search
put flag lefthand off

END:
exit

Try that.

[Edited on 9-26-2004 by Artha]

Stunseed
09-25-2004, 09:08 PM
>ambush bear head
You leap from hiding to attack!
You swing a masterfully crafted massive waraxe at a polar bear!
AS: +385 vs DS: +206 with AvD: +32 + d100 roll: +22 = +233
... and hit for 76 points of damage!
Brain driven into neck by mammoth downswing!
The polar bear collapses heavily into a heap on the ground and dies.
Roundtime: 6 sec.
>
.skin bear

[Press the ESCape key to abort script.]
put my waraxe in my loop
You carefully hang your waraxe from your loop and reach over and snap the loop closed.
[Script]>get my knife from my boots
You remove a puma-etched skinning knife from in your mountaineer's boots.
[Script]>incant 604
You make a simple motion, quietly invoking the Skinning spell...
Your spell is ready.
You gesture.
kneel
You feel more nimble.
Cast Roundtime 3 Seconds.
[Script]>You kneel down.
stance o
[Script]>You are now in an offensive stance.
skin bear
[Script]>stand
You skinned the polar bear, yielding a polar bear skin.
[Script]>
The cold arctic winds begin to whip around you violently!
[Script]>stance d
You stand back up.
[Script]>
You are now in a defensive stance.
put my knife in my boots
[Script]>You put a puma-etched skinning knife in your mountaineer's boots.
[Script]>rub my loop
You unsnap the leather strap holding your waraxe in place.
take waraxe from my loop
[Script]>You deftly remove the crafted massive waraxe hanging from your loop.
search bear
[Script]>You search the polar bear.
flag lefthand off
It had nothing of interest.

Without pause, the script works so far. Will post more snippets shortly.

Farquar
09-25-2004, 09:28 PM
I find it more helpful to have a single skinning script template, then modify it for a particular hunting area, so you can have it automatically stow without having a complete creature/skin database.

StrayRogue
09-25-2004, 09:31 PM
Kneeling effects it, and you are over-complicating the script, personally.

Artha
09-25-2004, 09:33 PM
I find it more helpful to have a single skinning script template, then modify it for a particular hunting area, so you can have it automatically stow without having a complete creature/skin database.

You could just use stow left/right and not edit it ever.

Soulpieced
09-25-2004, 09:35 PM
I heart stow left hand.

Farquar
09-25-2004, 09:35 PM
Originally posted by Artha

I find it more helpful to have a single skinning script template, then modify it for a particular hunting area, so you can have it automatically stow without having a complete creature/skin database.

You could just use stow left/right and not edit it ever.

Yes, that definitely helps.

Jonty
09-25-2004, 09:38 PM
Why is this at the end of the script?

"put flag lefthand off "

I don't see where it turns the flag on in the first place.

Jonty
09-25-2004, 09:40 PM
Originally posted by Artha
You could just use stow left/right and not edit it ever.

Yeah, you should use that in the rift. :whistle:

Celexei
09-26-2004, 04:49 PM
Originally posted by Jonty
Why is this at the end of the script?

"put flag lefthand off "

I don't see where it turns the flag on in the first place.

yeah thats a bit left over from my script that i use to skin with my ranger, i didn't notice that it was still there. What i use is this....

#Utility - skins target

put flag lefthand on
waitfor You will attempt to pick up treasure using your left hand.
put put my flamberge in my sling
waitfor You put a
put get my knife from my sheath
waitfor You remove a skinning knife from in your leather wrist sheath.
put kneel
waitfor You kneel down
put skin %1

STAND:
put stand
Match STUNNED You are still stunned
Match TRYAGAIN ...wait
Match GOAHEAD You stand
Match GOAHEAD You are already
matchwait

STUNNED:
pause 3
goto STAND

TRYAGAIN:
goto STAND

GOAHEAD:
put stance d
put put knife in my sheath
waitfor You put a skinning knife in your leather wrist sheath.
put unsheath
waitfor As you remove
put stow left
waitfor You
put search %1
waitfor You search
put flag lefthand off
waitfor You will not attempt to pick up treasure using your left hand.

END:
exit

Nieninque
09-26-2004, 05:00 PM
This is mine. Usage is .skin <critter> <type of skin>

#Skinning script

put 604
put take my knife
match kneel you remove
match kneel you already
match end get what?
match end You need a free hand
matchwait

kneel:
put kneel

skin:
put skin %1
match search you skin
match search You botched the job.
match stand has already been skinned
match stand you can't
match stand you can only
match stand but the
match stand You might want to wait until after it is dead
matchwait

search:
put sear %1

stand:
put stand
match sheath you stand
match stand You struggle, but fail to stand.
match stand ...wait
matchwait

sheath:
put sheath
match collect you put
match sheath ...wait
matchwait

collect:
put take %2
put stow right

end:
exit

Latrinsorm
09-26-2004, 06:35 PM
If I were you, Nien, I'd have a pause label instead of hooking the roundtime right into the same label. It can cause the Wizard to crash.

Jonty
09-26-2004, 07:05 PM
I always do somethign like:

standW:
wait

stand:
put stand
match sheath you stand
match standW You struggle, but fail to stand.
match standW ...wait
matchwait