The forum has been set to read-only mode. For community discussion and questions, head over to our Discord: https://discord.taleoftwowastelands.com

Best Practices for delaying a Quest for TTW Compatibility?

General mod discussion and requests.
TheN
Posts: 6
Joined: Fri Sep 26, 2014 6:40 pm

Best Practices for delaying a Quest for TTW Compatibility?

Post by TheN » Fri Sep 26, 2014 7:05 pm

I have no idea where to put this so here it goes!


 


I have several TTW mods at this point and I'm wondering if there is an accepted best practice for delaying your quest from starting immediately. As far as I'm aware, these are the usual practices:




  • A check if the player is outside.

    This works fine for NV and -should- for FO3 unless I want to delay the quest until the player reaches the DC area.


  • A check if CG04 (Escaping the vault quest) is finished.

    Works if you start in DC, no idea what happens if you start in NV first. Probably not viable.


  • A check for Enclave Radio.

    This one sounds the best to me but is it?


So if I want a quest to start -after- the startup quest for either NV or FO3, I should probably use the outside check.


If I want the quest to start only when showing up in the DC area, I should use the enclave radio check.


 


Does that sound about right? Am I missing something? Is there a better way? :-)



JaxFirehart
Posts: 3003
Joined: Wed Sep 12, 2012 12:33 am

Check for CG04 OR VCG01

Post by JaxFirehart » Fri Sep 26, 2014 8:44 pm

Check for CG04 OR VCG01 completed is the way I would do it. With those conditions, the mod activates after escaping the vault or after leaving docs house.



Gribbleshnibit8
Posts: 481
Joined: Sun Nov 04, 2012 2:06 am

As jax said testing for the

Post by Gribbleshnibit8 » Sat Sep 27, 2014 4:15 am

As jax said testing for the quests is probably the best way to do it. The way the DLC and several other vanilla quests checks is to see if either Enclave radio or Radio New Vegas are enabled, as those get enabled when you leave the respective starting areas.



JaxFirehart
Posts: 3003
Joined: Wed Sep 12, 2012 12:33 am

Is there a reason for that as

Post by JaxFirehart » Sat Sep 27, 2014 4:30 am

Is there a reason for that as opposed to checking for quests? I can't imagine any reason...



Gribbleshnibit8
Posts: 481
Joined: Sun Nov 04, 2012 2:06 am

I have no clue, honestly. I

Post by Gribbleshnibit8 » Sat Sep 27, 2014 5:53 am

I have no clue, honestly. I know that in some cases the state of the stations is used to monitor events. For example perhaps not showing a new DLC installed while still working a previous one.

paragonskeep
Posts: 738
Joined: Thu Oct 25, 2012 6:19 pm

Is it possible to leave Doc's

Post by paragonskeep » Sat Sep 27, 2014 6:41 am

Is it possible to leave Doc's early? I know Vault 101 you are pretty much locked in until the end, but what's keeping you from walking out of Doc's house after the Vigor test? (Is the door locked?) 


Sorry, never tried it but was wondering if that WAS a potential possibility, if it was the radio check would then make sense.


If life is but a test, where's the damn answer key?!?!?

User avatar
Risewild
Posts: 3219
Joined: Mon Oct 01, 2012 9:14 am

Yes the door is locked IIRC.

Post by Risewild » Sat Sep 27, 2014 10:10 am

Yes the door is locked IIRC.


Signature:

Gribbleshnibit8
Posts: 481
Joined: Sun Nov 04, 2012 2:06 am

The door isn't just locked,

Post by Gribbleshnibit8 » Sat Sep 27, 2014 11:56 am

The door isn't just locked, its flagged as destroyed, which prevents you from interacting with it at all.

TheN
Posts: 6
Joined: Fri Sep 26, 2014 6:40 pm

Thanks for the responses. :-)

Post by TheN » Sun Sep 28, 2014 1:39 am

Thanks for the responses. :-)


It looks like we've got two options then. Radio based (Enclave and Radio New Vegas):



if RadioEnclaveRef.GetDisabled == 0 || RNVTARef.GetDisabled == 0


    Start your quest!



And quest based:



if GetQuestCompleted CG04 == 1 || GetQuestCompleted VCG01 == 1


    Start quest!



Either should work then even with stuff like Alternative Start. (Which needs a TTW version by the way. If I have to go through that stupid Vault 101 startup one more time, I'm screaming. ;-))



TJ
Posts: 2181
Joined: Mon Sep 17, 2012 1:06 pm

There is a TTW version... it

Post by TJ » Sun Sep 28, 2014 2:02 am

There is a TTW version... it's just not released ;)


My project Dash is on Kickstarter!



Post Reply