Blaellyn Posted April 28, 2007 Share Posted April 28, 2007 I'm trying to do a script where the creature will only walk and begin the dialog if they only see the protagonist, and nobody else from the party. How would I do this? Also, how would I transport just the protagonist to an area without moving the entire party? Link to comment
Kulyok Posted April 28, 2007 Share Posted April 28, 2007 IF See(Player1) NumTimesTalkedTo(0) THEN RESPONSE #100 Dialogue(Player1) END Moving Protagonist only - usually it is not done(it may disrupt the view in the cutscene, for example). Usually the party teleports somewhere off-screen and becomes unselectable, PC alone can move around. I'd recommend this approach - see Spellhold cutscenes. Link to comment
Blaellyn Posted April 28, 2007 Author Share Posted April 28, 2007 Well that also wouldn't work, because I need to transport just the protagonist to an area so you can't use him/her, well to a certain exstent. Link to comment
Kulyok Posted April 28, 2007 Share Posted April 28, 2007 Well, then you could transport your whole party, keep others non-selected(purple circles) somewhere in the corner(so the player won't even know they are there), and control the adventure via cutscenes. In Xan I used O#Cut2a.baf-O#Cut2e.baf - cutscenes to get my party around Irenicus' Dungeon once again, so they couldn't just wander around. This piece of script ActionOverride(Player2,LeaveAreaLUA("AR0020","",[10.10],6)) ActionOverride(Player3,LeaveAreaLUA("AR0020","",[25.10],6)) ActionOverride(Player4,LeaveAreaLUA("AR0020","",[10.25],6)) ActionOverride(Player5,LeaveAreaLUA("AR0020","",[25.25],6)) ActionOverride(Player6,LeaveAreaLUA("AR0020","",[40.10],6)) ActionOverride(Player2,MakeUnselectable(150000)) ActionOverride(Player3,MakeUnselectable(150000)) ActionOverride(Player4,MakeUnselectable(150000)) ActionOverride(Player5,MakeUnselectable(150000)) ActionOverride(Player6,MakeUnselectable(150000)) - will get your party members into the upper left corner of AR0020. Replace AR0020 with an area of your choice, and you're all set. The sort of thing that happens in Watcher's Keep, where PC moves as a spiritual warrior - this could work, too. Link to comment
Blaellyn Posted April 28, 2007 Author Share Posted April 28, 2007 Nope, it's more along the lines of the party having to find our hero... Why nevermind, after a little more looking into the pocket plane spell effect I've figured out how to do it via spell. That it can be done by spell helps quite a lot. Now to get the whole editting original areas without screwing them part down... Link to comment
Kulyok Posted April 28, 2007 Share Posted April 28, 2007 Ah, yes, this one is tricky. Tell us if you manage it: I'll be interested to see a solution. When I was doing a "PC is kidnapped" quest, I had to knock PC out, have the screen fade to black and then have her come to in a hut among party members: since she wasn't with the group, she wasn't supposed to know about how exactly they rescued her. Link to comment
Blaellyn Posted April 28, 2007 Author Share Posted April 28, 2007 Yes well, seeing as how this is my first mod that (in theory anyway) will be heaviely script dependant and that I have a bad case of ADD don't expect it done anytime soon... Oh, if anybody wants to help they're welcome too. Link to comment
Blaellyn Posted April 28, 2007 Author Share Posted April 28, 2007 One more question, is there anyway to place the equipment the player has in a container? Link to comment
Kulyok Posted April 28, 2007 Share Posted April 28, 2007 A-la Hordes of the Underdark? I'm afraid it is only possible to drop it(or possibly steal a specific item and then place this specific item in a container), though I might be mistaken. Link to comment
Blaellyn Posted April 28, 2007 Author Share Posted April 28, 2007 Well lets go with dropping the equipment instead, how would I set this up? Link to comment
Kulyok Posted April 28, 2007 Share Posted April 28, 2007 Not surprisingly, it is DropInventory() . You'd be better off downloading IESDP: it is an invaluable resource for every modder. http://iesdp.gibberlings3.net/ Link to comment
Blaellyn Posted April 28, 2007 Author Share Posted April 28, 2007 Well I saw that, but wouldn't that not effect our hero, and if not how exactly do I get it to? Whats IESDP stand for anyway? I would guess Infinity Engine Script "Something starting with a D" Program but I'm probably way off. Forget it, too complicated, our hero is keeping their stuff. Link to comment
Blaellyn Posted April 28, 2007 Author Share Posted April 28, 2007 Although it doesn't have much to do with the scripting part, which would you rather? Be able to explore your surroundings and control your party looking for you or just have control of your party? Link to comment
BigRob Posted April 29, 2007 Share Posted April 29, 2007 Probably best to leave the player in control of both groups, since the plaer will probably be able to at least see the main character on the map. Best to let the PC wander about in his/her trapped state while everyone else comes to find them. Link to comment
Blaellyn Posted April 29, 2007 Author Share Posted April 29, 2007 Nopes, after much research, I fixed it so that our hero will be roaming about whilst the party is looking for um. How you ask? Well that's my little secret... for now. Will it work? Who knows! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.