SpartanISW108 Posted December 13, 2013 Share Posted December 13, 2013 Hello, I was just wondering if anybody knows how to add weapons to the freeform quest in paradise falls where you give the guy 20 Chinese Assault Rifles, I want to make it so he will accept Chinese Assault Rifles as well as the carbine version I have in my game. Would this be possible to do? And if so how would I go about doing this? Link to comment Share on other sites More sharing options...
prensa Posted December 14, 2013 Share Posted December 14, 2013 ilyasw - Hello!I'm not particularly experienced in this area but I know the basics."I'm trying to get my head around quests and stuff at the moment and I can't quite figure out how to add a weapon to Pronto's quest "That's controlled within Quest - FreeformParadiseFalls, look under the Topics tab.About 2 thirds down you'll see several entries for FFPFProntoTradeChineseAssaultRifles... etc..These control Pronto asking if the player wants to sell some Chinese Assault rifles & checks to see if the Player has any.There's several questions available depending on how many rifles it detects you have.Look at FFPFProntoTradeChineseAssaultRifles1 & look at the box marked "Conditions".Conditions has an entry called GetItemCount, that's what's looking for Chinese Assault Rifles.Double click on it to open it up & note "Function Parameters" is set to WeapChineseAssaultRifle.You can click on Function Parameters & select whatever you want off the list.The other parts are "Comparison" with the normal greater than, equal symbols etc. & Value determining how many.Under Conditions you'll see a box called Result Script, this handles removing the Chinese Assault Rifles if you agree to sell.player.RemoveItem WeapChineseAssaultRifle 2set FreeformParadiseFalls.ProntoPlayerChineseRiflesGiven to ( FreeformParadiseFalls.ProntoPlayerChineseRiflesGiven +2 )So you have 2 Chinese Assault Rifles, sell them to Pronto & the script removes 2 WeapChineseAssaultRifle from the Player's inventory & updates the Quest to know how many have been traded in in total.Again changing the WeapChineseAssaultRifle in there to whatever item you want will change the effect.In your case though you want the game to look for more than one type of item so you'll need to make a Form List of the weapons you want Pronto to accept.Form Lists are under Miscellaneous & are given a single name but contain a list of several items.You drag & drop the items into the list window.You can now point the Quest conditions & script to your Form List of Chinese Rifles instead of the single WeapChineseAssaultRifle.You will need to edit all the FFPFProntoTradeChineseAssaultRifles in that Quest that refer to the WeapChineseAssaultRifle of course.Both the Conditions check for it & the Result Script removal.You can leave everything else alone, you just need to substitute WeapChineseAssautRifle with your new Form List.That should work, as I say I'm not terribly experienced in this particular area so if anyone else has some corrections or tips feel free to chime in. :)Hope this helps!Prensa Link to comment Share on other sites More sharing options...
SpartanISW108 Posted December 14, 2013 Author Share Posted December 14, 2013 WOW! Worked exactly as I wanted it to, I was scared to use a form list for this function as I was unsure how it'd be handled by the game but it worked perfectly. I just used the repair form list as that already has all the rifles I need on a list (all other variants just use that list for repair but aren't included so I can't accidentally destroy them)Thank you so much Prensa, again I cannot thank you enough for all the assistance you've given me As part of another mod I was wondering if it's possible to set a faction hostile via a script? I've basically got a script that when ran will turn off all computers in the Citadel and I want this to then set the BoS hostile to you for doing so (adding more freeform stuff into the game I guess)I've tried looking myself but couldn't find one conclusive answer. Link to comment Share on other sites More sharing options...
Recommended Posts