Jump to content

Editing Scripts. . .


DoctorEars

Recommended Posts

I'm pretty new to modding in general, especially for the GECK and such, so it would be good to get a hand with this.

 

I wanted to change when NCR Veteran Rangers start to spawn, because by default they don't start spawning till

after you do one of the first "endgame" quests. Personally I believe this is unrealistic as there would be at least a few

wandering the Mojave throughout the game. So I went into the GECK, found a script that with an IF statement:

 

if ( VStoryState >= 30 )

; RangerSpawners.Enable <-- Need to reference each SpawnerREF and enable entire list

NCRRangerVeteranMojave01REF.Enable

NCRRangerVeteranMojave02REF.Enable

NCRRangerVeteranMojave03REF.Enable

NCRRangerVeteranMojave04REF.Enable

NCRRangerVeteranMojave05REF.Enable

endif

 

I changed the 30 to 1, assuming that this would make them spawn from the beginning of the game and such. I wanted to know if my assumption was correct or if I would

have to mess around with other things to make this work.

 

I really want to start making more modifications so some help with this is appreciated as it will help me dive more into the GECK.

 

Cheers.

Link to comment
Share on other sites

Setting it to 1 will most likely cause them to spawn as soon as the quest the script is a part of is started. I don't know which quest that is or when it starts, obviously.

 

If you want it to happen at the beginning of the game, create a new quest, tick start game enabled, and create a new script for it.

It should look something like:

 

scn myquestscript

Begin GameMode

NCRRangerVeteranMojave01REF.Enable
NCRRangerVeteranMojave02REF.Enable
NCRRangerVeteranMojave03REF.Enable
NCRRangerVeteranMojave04REF.Enable
NCRRangerVeteranMojave05REF.Enable

;etc. for however many or few you want to enable.
stopquest myquestID

End

 

Make sure you make it a quest script or you won't be able to choose it from the dropdown on your quest screen.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...