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

Dragonskin Tactical Outfit in DC

General mod discussion and requests.
Post Reply
User avatar
GothFur
Posts: 10
Joined: Sat Feb 17, 2018 9:40 am

Dragonskin Tactical Outfit in DC

Post by GothFur » Sun Feb 18, 2018 2:39 am

Hello, the main purpose of this is to find out if there is a way to get merchants in DC to sell DTO items. I'm not even really sure what it means to be compatible with TTW, i would THINK that it would mean that as long as the mod works as intended and doesnt break anything its compatible, but maybe its supposed to mean it works as intended, but in both wastelands, im not sure.


I have searched both google and the TTW site (Tale Of Two Wastelands - Converted Mods, Tale Of Two Wastelands Mod Releases, Tale Of Two Wastelands Mod Requests, and Directory Of TTW Converted Mods by Frootzcat) and the best i have found was one post on Nexus relating to DTO that someone has already made a TTW conversion for DTO (unfortunately there was no link or anything) I searched a few different threads on this site but I could not find that conversion, the closest I came was there was one post that mentioned DTO was TTW supported.


I would imagine that nobodys going to be making one for 2.9.4b now with 3.0 coming out, but I was wondering either if anyone knows of this conversion and can provide a link, or if there is another way to get DTO items from merchants in DC (i dont really care about the world spawns that are in the FO3 version).


A couple things I had considered, but dont know if they will work/cause issues, were:


1-installing the NV version of DTO and the mod that adds NV items to DC vendors (the idea being that NV vendors will be selling the DTO stuff, so maybe it will count?)


2-using FOMM to install the FO3 version of DTO to FO3, and THEN installing TTW (the idea being that it would work in DC, but there would be no DTO items either placed or for sale in the Mojave, but I dont really know how the TTW installer works, for all i know it only extracts vanilla files rather than all of them and maybe this idea would not work, or worse cause problems.)


There may be a better way to get DTO items at vendors in DC that I havent thought of as well.



User avatar
jlf65
Posts: 1535
Joined: Wed Aug 10, 2016 9:10 pm

There are two ways to add

Post by jlf65 » Sun Feb 18, 2018 3:57 am

There are two ways to add stuff to merchants: you override their item list and add the items to it, or you make a script that fires off once that adds the items to the item list. The first way is easier, but may require you to make a merged patch if other mods also override the item list. The second way is harder since it requires scripting, but never has an issue with mod conflicts.



User avatar
GothFur
Posts: 10
Joined: Sat Feb 17, 2018 9:40 am

to say I'm a novice would be

Post by GothFur » Sun Feb 18, 2018 6:44 am

to say I'm a novice would be generous, what do you mean by scripting? is that where you use 7-zip to open a file and edit it? I had to do that once to fix a mod on Jedi Academy, if thats scripting do you know where I would start looking for where to edit an NPC's inventory? (I would probably go with Crow cause otherwise he has nothing I want to pay for)


My assumption is if i knew where to look for Crow's inventory list, there would be a list of base ID's that represent the stuff he sells and i would just add the stuff I want him to sell?



User avatar
RoyBatty
Gary
Posts: 7742
Joined: Sun Apr 27, 2014 10:26 am
Location: Vault 108

The third way is to create a

Post by RoyBatty » Sun Feb 18, 2018 1:53 pm

The third way is to create a new container, a new faction, make the container owned by the faction, add the vendor to the faction with a simple script which is AddToFaction , put whatever items you want in a leveled list and stick that list in the container.


This method is unobtrusive, and easier to script.


Image

User avatar
jlf65
Posts: 1535
Joined: Wed Aug 10, 2016 9:10 pm

Ah, yes. I was too focused on

Post by jlf65 » Sun Feb 18, 2018 2:40 pm

Ah, yes. I was too focused on adding it to existing vendors, but yes, you can add an all new vendor, as well. Plenty of mods take that route. Example - the dealer in Big Town that sells kids clothes for COTW for FO3.



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

Roy's way doesn't need a new

Post by Risewild » Sun Feb 18, 2018 4:06 pm

Roy's way doesn't need a new vendor. It will work with any already existing vendor in the game.


What it does is add the container's inventory to the vendor's merchandise. So that it can be purchased by the player (if the vendor sells that kind of items, obviously).


Signature:

User avatar
RoyBatty
Gary
Posts: 7742
Joined: Sun Apr 27, 2014 10:26 am
Location: Vault 108

Yep, this is how WMX does it

Post by RoyBatty » Sun Feb 18, 2018 10:43 pm

Yep, this is how WMX does it so that it's non-intrusive.


Image

User avatar
GothFur
Posts: 10
Joined: Sat Feb 17, 2018 9:40 am

okay, that sounds like the

Post by GothFur » Mon Feb 19, 2018 2:46 am

okay, that sounds like the way to go, but if Im creating a faction (is that faction like Megaton/Tenpenny/Regulators/Powder Ganger/NCR/Legion or just a specific scripting term?) and a container (im assuming thats an actual physical container like the inventory containers is in Tenpenny Tower) would I have to create a new file (and if so what would I need to do that?) or would i just be adding lines to an existing one? also, how would I place the container in the world? like I would look up a cell number (not sure if it would be the same number as it was in FO3?) but how would I place it within that cell?


If anyone is fairly familiar with the 2.9.4b code, is there any clues or anything I could get as to where (what file/what folder)/what (line of code to search for) to look for to change those files/ how to know what to type etc... in order to change ads stuff? If you know what to look for/what to put in it would be pretty easy to do, but if im gonna have to spend hours of reading lines of code untill i find something that MIGHT be what I'm looking for and then more hours of trial and error I'd rather just give the items through console command and drop a bunch of caps in a container somewhere I wont be coming back to.



User avatar
RoyBatty
Gary
Posts: 7742
Joined: Sun Apr 27, 2014 10:26 am
Location: Vault 108

https://geckwiki.com/index

Post by RoyBatty » Mon Feb 19, 2018 6:28 am

https://geckwiki.com/index.php


factions are factions, make a new one, same with containers make a new one. You place stuff in the world by dragging into the render window in GECK.


Image

User avatar
jlf65
Posts: 1535
Joined: Wed Aug 10, 2016 9:10 pm

If you want to place stuff in

Post by jlf65 » Mon Feb 19, 2018 7:06 pm

If you want to place stuff in xEdit, find something close by to get the coords, or stand on/near where you want to place the item and get the player coords. player.getpos x (y/z), and player.getangle x (y/z). I do that quite often as there's no chance of accidentally moving something like what ALWAYS occurs when placing/moving things with GECK.



Post Reply