Trading with Officers
Private: Welcome to the Reef! › Forums › GOF Eras Module 2 download & discussion board › Trading with Officers
- This topic has 6 replies, 2 voices, and was last updated 5 years ago by RLTYProds.
-
AuthorPosts
-
-
November 26, 2019 at 11:49 am #7888RLTYProdsParticipant
Hi! Is there a way to remove the items that officers have equipped?
Also, I have stumbled upon this. Is there a way to make it so that it unequips any and all items from the specified officer?
Thanks so much!!
-
November 26, 2019 at 11:54 am #7889RLTYProdsParticipant
Also while I’m here, I’d like to ask if there is a way to specifically choose the design when repainting my ship in the shipyard, or is the process random?
-
November 26, 2019 at 6:23 pm #7891JeffreyKeymaster
There is no way to select a particular paint scheme right now. There are two reasons. First, we can’t just display the ship texture files because there are many attributed to any ship, they are not consistent and they are also a scrambled, random jigsaw, so don’t display well as a 2D image.
So, this would mean that we would need to display a screenshot of the ship with that scheme, or provide some sort of alternate window display with a model of the ship inside. These are both time-consuming efforts and have not been done; there is not built-in feature to display an alternate 3d scene with in the GUI interface, so we would need to build that and there are over 200 ships, each with 3 to 11 different paint schemes (791 total) that we would have to manually load in the sea, take a screenshot and convert it to a texture, then provide a screen to view them.
So, for now, the quickest thing was to at least give the random option so you could change the ship skin, because before you could never change it, and we’ll maybe work out a way to select a specific one sometime in the future.
-
November 27, 2019 at 3:01 am #7894RLTYProdsParticipant
Ahh, that explains it. If I may, the thought came across my mind and I would like to suggest something regarding the possible interface design of the repaint feature: how about using the default inventory/shop interface, with the paint schemes being described by just simple, vague-ish text (e.g. Black Hull and White Stripes, Brown Hull with Yellow Trim)? The process of turning ship paint schemes into equippable items for the 200 ships will still be difficult, I imagine. But at least it solves the problem of having to create a new interface and taking pictures of all 791 (!!!) ships.
-
-
-
November 26, 2019 at 6:17 pm #7890JeffreyKeymaster
There is no way to unequip your officers by design. The thinking is that once you hand over any sort of weapon or good, it is a gift and your officers can make their own decision. If you would like to change that in your game, find script file: Program\INTERFACE\items.c. Find this function:
void SetVariable()
Within that function, change the lines in the “else” block to this:
else { //SetNodeUsing("EQUIP_BUTTON" , false); SetNodeUsing("EXCHANGE_BUTTON" , false); //bExchg); }
The console is enabled and you can execute with F4 if you want to use valid script code like that link.
To remove all equipment, but leave it in their inventory, use the following:
void ExecuteConsole() { ref eqchar = GetCharacter(sti(pchar.Fellows.Passengers.doctor)); //For fighters, use id1 - id6 //eqchar = GetCharacter(sti(pchar.Fellows.Passengers.Officers.id1)); RemoveCharacterEquip(eqchar, GUN_ITEM_TYPE); //Removes any gun RemoveCharacterEquip(eqchar, BLADE_ITEM_TYPE); //Removes any sword RemoveCharacterEquip(eqchar, CIRASS_ITEM_TYPE); //Removes armor or special clothing item RemoveCharacterEquip(eqchar, HEAD_ITEM_TYPE); //Removes hat/helmet }
-
November 26, 2019 at 6:31 pm #7892JeffreyKeymaster
Oh, also keep in mind that the officers will always sift through their inventory every time you give them something, so even if you equip them with something particular, the very next time you place something in their inventory/trade with them, they will requip themselves with what they consider to be the best items again in all categories. Even if you give them a bandage, they may decide to change their gun, blade, or armor from what they have in their possession.
I think also if you give them a new perk, they will decide again…I can’t remember if I also added that event…
-
November 27, 2019 at 2:45 am #7893RLTYProdsParticipant
Thanks for answering all my questions succinctly as always, Jeffrey! 😀 The inventory tweak and the console command is so useful. I mistakenly gave the wrong officer a good weapon so I really wanted to take it back. Thanks for making it a reality!
-
-
AuthorPosts
- You must be logged in to reply to this topic.
by RLTYProds