Preventing a Troll from Following player to next cell by Scr

Post » Sat Dec 03, 2011 1:16 pm

Hi, I've made a Troll in a pit. Yeah!


This pit was created as a place where bones & skulls get dumped after some unlucky adventurers got themselves killed by dremora's. But then I noticed a problem: if the player falls into this pit with no exit-way at all, the player would be forced to use a cheat like ' TCL ' in the command-console to get out. So I've made a big nasty Troll with superman-like powers which kills the player with only a few blows... (The Troll functions like a living KillBox)

But this solution created a new problem: if the player leaves the cell the Troll will follow, but the exit-less pit suggests to the player he can't.

I need help with creating a script which prevents the Troll (with a big 'S' on his chest) from following the player beyond the borders of his own cell.


dutch666
User avatar
Melanie Steinberg
 
Posts: 3365
Joined: Fri Apr 20, 2007 11:25 pm

Post » Sat Dec 03, 2011 8:11 am

Hi, I've made a Troll in a pit. Yeah!


This pit was created as a place where bones & skulls get dumped after some unlucky adventurers got themselves killed by dremora's. But then I noticed a problem: if the player falls into this pit with no exit-way at all, the player would be forced to use a cheat like ' TCL ' in the command-console to get out. So I've made a big nasty Troll with superman-like powers which kills the player with only a few blows... (The Troll functions like a living KillBox)

But this solution created a new problem: if the player leaves the cell the Troll will follow, but the exit-less pit suggests to the player he can't.

I need help with creating a script which prevents the Troll (with a big 'S' on his chest) from following the player beyond the borders of his own cell.


dutch666

Just give the troll less than 30 intelligence and turn off low level processing. That should solve the problem. If not, you can always script a cell reset or force the actor(s) to stop combat after the player leaves the cell.
User avatar
Laura Ellaby
 
Posts: 3355
Joined: Sun Jul 02, 2006 9:59 am

Post » Sat Dec 03, 2011 2:13 pm

Easiest method would be to place a door for the player to escape (maybe place a key in a visible spot in the pit that the player must grab to open the door) and lower the Goblins Intellect low enough so he will not use doors (IIRC Less than 30 Int and they will not use doors)
User avatar
Undisclosed Desires
 
Posts: 3388
Joined: Fri Mar 02, 2007 4:10 pm

Post » Sat Dec 03, 2011 11:34 am

Just give the troll less than 30 intelligence and turn off low level processing. That should solve the problem. (...)


Ok, let's see if that works.
User avatar
Charlotte X
 
Posts: 3318
Joined: Thu Dec 07, 2006 2:53 am

Post » Sat Dec 03, 2011 10:27 pm

Just give the troll less than 30 intelligence and turn off low level processing. That should solve the problem. (...)


It worked! Thank you!


@ JDFan: although your solution was the most logical one, the purpose of the pit changed during modding: turning it into a deathtrap became one of the main goals of this particular part of my Mod.

But thanks for the suggestion!


dutch666
User avatar
Saul C
 
Posts: 3405
Joined: Wed Oct 17, 2007 12:41 pm

Post » Sat Dec 03, 2011 1:31 pm

@ JDFan: although your solution was the most logical one, the purpose of the pit changed during modding: turning it into a deathtrap became one of the main goals of this particular part of my Mod.

Weeell, there is also the function of restricting usage to minimum when double-clicking a door reference ^_^ IIRC, it makes the door "invisible" to NPCs and Creatures :D
User avatar
Tracey Duncan
 
Posts: 3299
Joined: Wed Apr 18, 2007 9:32 am

Post » Sat Dec 03, 2011 9:15 pm

I was aware about that option, but if the 'Hidden' box would be checked the other NPC's and Creatures would also not be able to use that door.
User avatar
Brooke Turner
 
Posts: 3319
Joined: Wed Nov 01, 2006 11:13 am

Post » Sat Dec 03, 2011 4:00 pm

I was aware about that option, but if the 'Hidden' box would be checked the other NPC's and Creatures would not be able to use that door.

Well, then there is also Sub-spaces :D Just corner the troll with them and it shouldn't be able to follow.
Nah, maybe it's best to just lower it's INT. I like stupid trolls more than super-intelligent ones :D
User avatar
Mel E
 
Posts: 3354
Joined: Mon Apr 09, 2007 11:23 pm

Post » Sat Dec 03, 2011 1:24 pm

Indeed, much INT isn't needed: they only have to kick our ...

Well, then there is also Sub-spaces :D Just corner the troll with them and it shouldn't be able to follow.


Sub-spaces?
User avatar
Cartoon
 
Posts: 3350
Joined: Mon Jun 25, 2007 4:31 pm

Post » Sat Dec 03, 2011 8:32 am

Sub-spaces?

http://cs.elderscrolls.com/constwiki/index.php/SubSpace They can be used to make separate worldspaces within one worldspace. They are very useful sometimes :P
User avatar
Jessie Rae Brouillette
 
Posts: 3469
Joined: Mon Dec 11, 2006 9:50 am

Post » Sat Dec 03, 2011 12:10 pm

Interesting... Thanks!
User avatar
James Rhead
 
Posts: 3474
Joined: Sat Jul 14, 2007 7:32 am

Post » Sat Dec 03, 2011 1:43 pm

Now I remember something:

I ignorently deleted some of those blue-boxes a year ago from a Sigil-tower's top floor inside realm-01 of my Mod... It totally screwed up the whole cell!

!
User avatar
Iain Lamb
 
Posts: 3453
Joined: Sat May 19, 2007 4:47 am

Post » Sat Dec 03, 2011 10:22 pm

Now I remember something:

I ignorently deleted some of those blue-boxes a year ago from a Sigil-tower's top floor inside realm-01 of my Mod... It totally screwed up the whole cell!

!

:D Bad luck :P
User avatar
Imy Davies
 
Posts: 3479
Joined: Fri Jul 14, 2006 6:42 pm

Post » Sat Dec 03, 2011 12:07 pm

Yeah, the removel of those blue-boxes made it impossible for the player to step close to some of the walls of Sigillum Sanguis: You just would bounce right back!
User avatar
Danny Warner
 
Posts: 3400
Joined: Fri Jun 01, 2007 3:26 am


Return to IV - Oblivion