Jump to content

A Few Assorted GECK Questions


djmystro

Recommended Posts

OK I have a new problem with AWOP.

I'm trying to create two new perks which are added automatically to the player when the collect all of a series of notes (2 sets of notes for 2 different perks).

Set1: Underground History, adds +25 to Barter and Speech when talking to someone from the Underground Faction.

Set2: Disc Reviews, adds +15 Dam when fighting anyone in the Tech Raider Faction

Only thing is I can't see how anywhere.

The Perks themselves are made and look identical to similar vaniila perks in required areas.

I tried looking up the 'Challenges' and loaded up Dead Money to see how that tracks notes only to find that it only counts them and you can pick up any. This is not what I am after - they need to be specific notes.

The script attached to the Dead Money Note Challenge was also useless (just a basic add XP script). Looking at it there is so little info present I can't even figure how it works in the first place.

 

Anyway I tried just dropping the notes into the default conditions list directly on the perk itself and boosted thier usefulness so they could be selected as normal except they are still not showing up when I level up. I checked and re-checked vanilla examples but cannot see where I am going wrong.

Anyway I'm sick of mucking about with it so I'm releasing as it is and if anyone come up with a fix please let me know and I'll incorporate it over time.

Link to comment
Share on other sites

  • Replies 65
  • Created
  • Last Reply

Top Posters In This Topic

Will the following work? On the first note, add an "onactivate player" script which says, "if player has the second note, add the perk". On the second note, add a similar script which says, "if the player has the first note, add the perk". Or is your problem a deeper one?
Link to comment
Share on other sites

Thanks for the quick reply,

Two probs there -

1. The notes are in groups of 6 and 9 respectivley (meaning need all 6 or 9 to access relevant perk).

2: I cant see a away to attach a script to a note. I guess I could drop them all on terminals but they are currently very well hidden and I would like to keep 'em that way (rather that than have the perks in fact).

Link to comment
Share on other sites

There are objects such as tapes and sheets of paper. If you want an object, which the player picks up to get a note, then use one of those. When the player activates the object, add the note and do this counting in the same object script.

 

If the sets are large, another model to use is the model of collecting N objects such as eggs. In the quest, set a counter to zero. For each note which is retrieved, increment the counter and see if it has reached the final value yet.

Link to comment
Share on other sites

Cheers - That'll fix it and allow me to attach a message (I think). Sounds good. I'll get back to you if it's all OK.

I'll use the first option.

I never got a script counter to work so all the entries will be handled individually.

Thanks again :)

Link to comment
Share on other sites

Create a quest script, or add a variable to an existing quest script, like "notesgotten"

 

Then on each one, add a script:

 

Begin OnAdd Player

set myquest.notesgotten to myquest.notesgotten + 1

End

 

Assuming the notes are unique , there will be only one way to get to 6 and 9.

Link to comment
Share on other sites

I have everything working as intended apart from the perks which seem to refuse to show up under any circumstances. Is there some kind of formlist for perks or similar that I missed? I tried a load of different variations (altered most settings on the perk itself and changed the way it would be added just to be sure) and the only thing that never works is the perks.

 

Here's an example script:

 

scn aaREVIEWScript01

 

Begin OnAdd Player

ShowMessage aaReviewMessage01

addnote aaReview01

 

if [getitemcount aaRoachReviewOBJ01 == 1] && [getitemcount aaRoachReviewOBJ02 == 1] && [getitemcount aaRoachReviewOBJ03 == 1] && [getitemcount aaRoachReviewOBJ04 == 1] && [getitemcount aaRoachReviewOBJ05 == 1] && [getitemcount aaRoachReviewOBJ06 == 1] && [getitemcount aaRoachReviewOBJ07 == 1] && [getitemcount aaRoachReviewOBJ08 == 1] && [getitemcount aaRoachReviewOBJ09 == 1]

player.addperk FreetechConnoisseur 1

endif

End

 

Saves fine, adds the appropriate note and shows the correct message but the perk never shows up. I also tried from a new saved game.

 

 

Also I have another prob which I can't seem to source.

I have a quest to search for a spy in the Underground but for some reason it completes as soon as it is given (without speaking to anyone else including the spy).

EDIT: I think I sourced the problem with the spy. I added a new gun to him in another patch. Turning the patch off fixed the prob so I'll just delete that entry in the patch.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...