evp?

Post » Sat Apr 30, 2011 5:14 am

okay so i've been downloading mods like crazy and studying there scripts so i can learn, what i can't figure out is evp, what is it used for?
User avatar
Josephine Gowing
 
Posts: 3545
Joined: Fri Jun 30, 2006 12:41 pm

Post » Sat Apr 30, 2011 7:08 am

evp = evaluate package and is used in script to make NPC re-pick a new AI package immediately. For example. Lets say you have an NPC on a sandbox package and then you talk to him. After you talk with him, you want him to go somewhere. You would use the evp command in conjunction with conditions setup on the different AI packages to control which packages would be selected. So lets say the condition on the sandbox package was that some random variable was equal to zero. If the condition on the travel package was that that variable be equal to one, then in the results script of the conversation, you would set the variable to 1 and then call evp. That would make your NPC stop sandboxing and start traveling.
User avatar
Rhi Edwards
 
Posts: 3453
Joined: Fri Jul 28, 2006 1:42 am

Post » Sat Apr 30, 2011 8:15 am

oh this is just what i needed thanks, i'm making a practice quest where you escort a npc somewhere, and I couldn't figure out how to get him to stop following me at the end of the quest
thanks alot!!! :foodndrink:
User avatar
ezra
 
Posts: 3510
Joined: Sun Aug 12, 2007 6:40 pm

Post » Sat Apr 30, 2011 3:51 am

Evp, short for 'EvaluatePackage' (but you can just type evp too) makes an NPC update his AI, checking if he's still running the right package according to the current conditions. Sometimes NPCs don't instantly update their AI, for example if a character is set to sit at the bar from 7 PM until 11 PM and then at 11 PM goes to his house, he might not stand up from his chair at exactly 11 PM, because he has not evaluated his AI packages yet to see what time it is and what the appropriate package would be for that time of the day. With EVP you force him to check it at the moment you use the command.

This is especially useful for quests where actions by the player need immediate change in behaviour from NPCs. Like the slaves who are waiting for you to clear the Lincoln Memorial of hostile slavers. Once you tell them it's safe they are supposed to move in right away instead of just standing around a bit longer until their AI updates, so to ensure that they get going EVP can be used.

Edit: Okay I'm awfully late but whatever. :P

Good luck with that quest.
User avatar
jess hughes
 
Posts: 3382
Joined: Tue Oct 24, 2006 8:10 pm

Post » Sat Apr 30, 2011 2:15 pm

Ya, what PK said.

I had to say something. PK just ninja'd me but I'd written a paragraph at least that long. :lol:
User avatar
Tiff Clark
 
Posts: 3297
Joined: Wed Aug 09, 2006 2:23 am

Post » Sat Apr 30, 2011 6:07 pm

Ya, we all wanted to jump in with this one, eh?
User avatar
Sarah Evason
 
Posts: 3507
Joined: Mon Nov 13, 2006 10:47 pm

Post » Sat Apr 30, 2011 7:06 pm

Ya, we all wanted to jump in with this one, eh?



Ha! I don't know why I bothered. I saw you guys in the thread. And then my network is crawling today so it took forever for my comment to even post so I was really late to the game.

But I was just so happy to have some conversation going on in here. It has seemed so quiet lately. It's good to see you around.
User avatar
Kristina Campbell
 
Posts: 3512
Joined: Sun Oct 15, 2006 7:08 am

Post » Sat Apr 30, 2011 12:29 pm

EVP means... oh why even bother...
User avatar
Jhenna lee Lizama
 
Posts: 3344
Joined: Wed Jun 06, 2007 5:39 am

Post » Sat Apr 30, 2011 6:33 pm

But I was just so happy to have some conversation going on in here. It has seemed so quiet lately. It's good to see you around.


I had taken a hiatus from fallout modding due to burnout. But with NV coming out in the fall, I jumped back in to finish up my monolithic mod. So, glad to be back and thanks for the warm fuzzy feeling of being missed. :wub:
User avatar
SWagg KId
 
Posts: 3488
Joined: Sat Nov 17, 2007 8:26 am

Post » Sat Apr 30, 2011 3:58 pm

I had taken a hiatus from fallout modding due to burnout. But with NV coming out in the fall, I jumped back in to finish up my monolithic mod. So, glad to be back and thanks for the warm fuzzy feeling of being missed. :wub:



I can understand the burnout. Your mod is gigantic.


:icecream: Welcome back!
User avatar
Gracie Dugdale
 
Posts: 3397
Joined: Wed Jun 14, 2006 11:02 pm


Return to Fallout 3