Jump to content

WIGWAM

Premium Member
  • Posts

    36
  • Joined

  • Last visited

Nexus Mods Profile

About WIGWAM

Profile Fields

  • Country
    None

WIGWAM's Achievements

Enthusiast

Enthusiast (6/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post
  • Collaborator Rare

Recent Badges

0

Reputation

  1. I'm finishing up a quest mod and I've got a few small parts that need to be filled by voice actors before I release it. The quest is basically you going on a an adventure with a scavenger, getting into some trouble with some raiders, and eventually taking over saugus ironworks. Details for the roles available are below, message me if you are interested or want any more info. Rat Tail Raider Boss Male 8 Lines Beansprout Raider Male 2 Lines Wastelander Female 7 Lines Miner Ghoul Male/Female 6 Lines Trader Female 2 lines Thanks, WIGWAM
  2. (I haven't changed anything yet) but when I used the sqv command before all aliases came back as empty. The "robber" alias is the one I added that stopped everything from working (which I just copied and pasted from the Tommy alias, which worked fine), so presumably this is the one causing the problem. Once I've figured out which one is causing the problem then how would I fix it?
  3. I have been making a quest that has been working fine, but after adding a new alias none of the quest aliases are filling. I'm using aliases for defining dialogue, running AI packages, and quest markers, so thee quest is completely broke at the moment. I have tried using a clean save and have also started a new save with no mods to play test it on but neither work. Is it worth writing a script using ForceRefTo() at the start of the quest to manually fill all the quest aliases or is there a better way to make sure they work? I still have more aliases that I need to add. Thanks
  4. Tried to do a similar thing and I sort of thing. This is a script that I got off another mod author, You'll need to do some editing as not all of it is necessary: Scriptname CoU_RemoveCompanions extends ObjectReference ;Properties Action Property akIdle Auto ObjectReference Property marker Auto ;Events Event OnActivate(ObjectReference akActionRef) Game.ForceFirstPerson() Actor[] playerFollowers = Game.GetPlayerFollowers() int index = 0 while (index < playerFollowers.Length) playerFollowers[index].MoveTo(marker) playerFollowers[index].DisallowCompanion(true) index += 1 endWhile Game.GetPlayer().PlayIdleAction(akIdle) EndEvent This should go on the door that leads to the cell. It should work on any companion that is implemented properly. If they are just on a "follow" AI package they wont be affected. Personally I couldn't get this to work so I ended up with a less elegant solution that just repletely moves the current follower outside the cell: Scriptname LLitCW_FXScript extends ObjectReference Group Location_Properties Location Property MyLocation Auto Const GlobalVariable property LLiTCW_FXTimer auto ObjectReference Property marker Auto EndGroup int FXTimer = 1 Event OnLoad() StartTimer(LLiTCW_FXTimer.GetValue(), FXTimer) EndEvent Event OnTimer(int aiTimerID) ;---Temp Stop Companions--- if (aiTimerID == FXTimer) && Game.GetPlayer().IsInLocation(MyLocation) Actor[] playerFollowers = Game.GetPlayerFollowers() int index = 0 while (index < playerFollowers.Length) playerFollowers[index].MoveTo(marker) index += 1 endWhile StartTimer(LLiTCW_FXTimer.GetValue(), FXTimer) Endif EndEvent
  5. Have you set the NPC's up as a Reference Alias in the quest you are using? Because for this script you need to set that up and attach it to the reference alias, rather than directly to the NPC. You can also change the line to myQuest.SetObjectiveCompleted(ActorObjective) Where "Actor Objective" is and integer variable. Then you can use the same script on both NPCs but have a different objective for each.
  6. I'm trying to create and archive using the creation kit but it crashes to desktop before the archive window pops up. It seems to be specific to the .esp I'm working on because I'm able to create an archive for other mods without it crashing. I have created an archive with the Archive2 tool, but it's not really a practical long term solution for what I'm working on. Is there any way to fix this problem? (or a more reliable alternative for quickly packing archives?) Thanks WIGWAM
  7. Thanks, the YakitoriAudioConverter is better than the software I was originally using, But still got the same error. ​I managed to fix it by putting the .wav files into a .wav file converter online and changed none of the settings and somehow that managed to allow the files to be converted to .xwm o_O
  8. I'm trying to get voice files to convert to .fuz files but i keep getting the message: ERROR: Cannot parse PCM file: invalid cbSize in format chunk Converting C:\ [......] \0000D7ED_1.wav to C:\ [......] \0000D7ED_1.xwm failed with error E_INVALIDARG (Invalid arguments) This also comes up when I try to put the .wav files in an archive. All files are in WAVE 44100Hz, 16 bit, MONO and I have .lip files for them all. They also work in game. Any ideas what this means or how to fix it? Thanks, WIGWAM
  9. I'm having trouble getting NPCs to delete once they have been unloaded. The NPC is spawned by another script so I can not set the NPC as a property, so I currently have this script running on the actor base: Scriptname Script extends Actor GlobalVariable property MaxCritterCounter auto ;Counts upwards Event OnUnload() self.Disable(true) self.Delete() MaxCritterCounter.SetValue(MaxCritterCounter.GetValue() - 1) EndIf EndEvent The idea is that once the NPC gets far enough away from the player or the player changes cell the NPC would be deleted and the global variable used to count the total number of NPC would be reduced by the number of NPCs that were deleted. This part of the script is definitely running as the global counter is decreasing, allowing more NPCs to be spawned, but spiralling out of control because none of them are being deleted. There is a second part to the script that periodically moves the NPC close to the player if there is over a certain distance between them (I know this seems the opposite of the first part of the script, but the idea was to keep the NPC close to the player unless the player moves too quickly away or changes cell) and I'm not sure if this is preventing the NPC from being deleted or it's something else. Any help would be appreciated. Thanks, WIGWAM
  10. Thanks. Finally got this working by doing a MoveTo then a SetPosition command on the marker.
  11. Thanks both of you. I have tested this but now the NPCs have started spawning off the top left corner of the map, I had to put a quest marker on it the find out where they are. The location of the marker doesn't seem to change when I fast travel or change cell. Could it be a problem with the reference I'm using - should I use the ObjectReference for the player or the actor reference?
  12. Thanks, I think I have sorted, I haven't tested it out but I'm not getting any compilation errors. Changed the relevant line to this: ; ; float Function Random() Return Utility.RandomFloat(250,500) EndFunction ; ; ; TargetMarker.MoveTo(PlayerRef,(PlayerRef.GetPositionX() + Random()), (PlayerRef.GetPositionY() + Random()), (PlayerRef.GetPositionZ())) ; ; ;
  13. I'm trying to spawn an NPC at a random offset from the player each time the NPC spawn. The relevant parts of the script are: ScriptName zzDCScript Extends Quest int zzSpawntimer = 1 ActorBase Property Critter1Base auto Actor Property PlayerRef auto ObjectReference property TargetMarker auto ;An XMarker placed in the commonwealth. Float Random Function Random() Random = Utility.RandomFloat(250,500) EndFunction Event OnInit() StartTimer(15, zzSpawntimer) TargetMarker.SetPosition((PlayerRef.GetPositionX() + Random), (PlayerRef.GetPositionY() + Random),(PlayerRef.GetPositionZ())) ; move the xmarker to player with random x and y offsets. ObjectReference newCritter1 = TargetMarker.PlaceActorAtMe(Critter1Base) ;Spawn NPC EndEvent ;some other code after this... The problem I have with this is: 1. The NPCs only spawn when the player is in the commonwealth (excluding diamond city and goodneighbour) i.e. where the original marker is placed. 2. The NPCs spawn on top of the player. Are there any changes I can make to this so the NPCs will spawn no matter where the player is and have the NPC spawn with an offset? Thanks, WIGWAM.
  14. Thanks, I have found a console command (tdetect) that apparently stops an NPC from being detected by other NPCs. Do you know is there is a Papyrus equivalent of this?
  15. I'm trying to make an NPC that is friendly (or even better, completely ignored) by every other faction. What is the quickest way to do this, other than adding the NPC to every single faction? Ideally the NPC would also be friendly to new factions added by other mods. Thanks, WIGWAM.
×
×
  • Create New...