[MOD] TAF! v1.2 (12 Dec. 2015)
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
- TheRealBix
- Posts: 400
- Joined: Thu, 2. Jul 09, 14:34
[MOD] TAF! v1.2 (12 Dec. 2015)
Hi there with Trade Agents Forever !
This little crappy mod allows you to hire trade agents, which monitor station prices, without Smalltalk and directly from space !
HUGE timesaver, and freakless station monitoring !
Please note :
The dialog is only available for fix traders (i.e. not engineers nor specialists)
If the dialog option is greyed out, that's because you already have a trade agent on this station.
Hire a trade agent will now cost you 80.000 credits.
If you don't have such money, you will not be able to confirm the deal (the option will be greyed out).
New in 1.2 :
The mod should now work for Rebirth 4.0, and should still work in 3.6, but ship sellers cannot be hired anymore.
- - - - - - - - - - - - - - -
Installation :
Just subscribe to the mod on Steam Workshop, that's all
Downloads :
[ external image ]
Changelog :
1.0 : Initial Release
1.1 :
- Hire a trade agent isn't free anymore
- Added a confirm submenu
- Thanks to YorrickVanden for the help !
1.11 :
- The new small ship trader can now keep an eye on stations' prices as the big ship trader do
1.2 :
- 4.0 compatibility fix
ToDo :
- - - - - - - - - - - - - - -
Notes: Feel free to comment and give suggestions
This little crappy mod allows you to hire trade agents, which monitor station prices, without Smalltalk and directly from space !
HUGE timesaver, and freakless station monitoring !
Please note :
The dialog is only available for fix traders (i.e. not engineers nor specialists)
If the dialog option is greyed out, that's because you already have a trade agent on this station.
Hire a trade agent will now cost you 80.000 credits.
If you don't have such money, you will not be able to confirm the deal (the option will be greyed out).
New in 1.2 :
The mod should now work for Rebirth 4.0, and should still work in 3.6, but ship sellers cannot be hired anymore.
- - - - - - - - - - - - - - -
Installation :
Just subscribe to the mod on Steam Workshop, that's all
Downloads :
[ external image ]
Changelog :
1.0 : Initial Release
1.1 :
- Hire a trade agent isn't free anymore
- Added a confirm submenu
- Thanks to YorrickVanden for the help !
1.11 :
- The new small ship trader can now keep an eye on stations' prices as the big ship trader do
1.2 :
- 4.0 compatibility fix
ToDo :
- - - - - - - - - - - - - - -
Notes: Feel free to comment and give suggestions
Last edited by TheRealBix on Sat, 12. Dec 15, 17:55, edited 4 times in total.
-
- Moderator (English)
- Posts: 8074
- Joined: Tue, 30. Mar 04, 12:28
- YorrickVander
- Posts: 2702
- Joined: Tue, 29. Oct 13, 21:59
- YorrickVander
- Posts: 2702
- Joined: Tue, 29. Oct 13, 21:59
- TheRealBix
- Posts: 400
- Joined: Thu, 2. Jul 09, 14:34
"Tedious" is a short word
Actually it's the same for me, I was very very tired to re-hire everyone at each restart..
@wtfdidibuy : Mhhh I don't know.. Do you see it here ?
Actually it's the same for me, I was very very tired to re-hire everyone at each restart..
@wtfdidibuy : Mhhh I don't know.. Do you see it here ?
- MegaJohnny
- Posts: 2195
- Joined: Wed, 4. Jun 08, 22:30
- NZ-Wanderer
- Posts: 1623
- Joined: Thu, 5. Aug 04, 01:57
- YorrickVander
- Posts: 2702
- Joined: Tue, 29. Oct 13, 21:59
There's a couple of debug lines remaining :
Code: Select all
General] ======================================
[General] ======================================
[=ERROR=] Cannot match path '//cue[name='OnPlatformPopulation_Licencetrader']/cues' in patch file 'extensions\taf\md\npc_itemtrader.xml'. Skipping node.
[General] ======================================
[General] ======================================
[=ERROR=] Cannot match path '//cue[name='OnPlatformPopulation_Licencetrader']/cues' in patch file 'extensions\taf\md\npc_licencetrader.xml'. Skipping node.
[General] ======================================
[General] ======================================
[=ERROR=] Cannot match path '//cue[name='Base']/cues' in patch file 'extensions\taf\md\npc_shiptrader.xml'. Skipping node.
[General] ======================================
[General] ======================================
[=ERROR=] Cannot match path '//library[name='TradeHandler']/cues' in patch file 'extensions\taf\md\npc_upgradetrader.xml'. Skipping node.
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
- TheRealBix
- Posts: 400
- Joined: Thu, 2. Jul 09, 14:34
- TheRealBix
- Posts: 400
- Joined: Thu, 2. Jul 09, 14:34
-
- Moderator (English)
- Posts: 8074
- Joined: Tue, 30. Mar 04, 12:28
Nice one.
It just occured to me that you could call this mod ButterUp or ButterButteringUp
http://idioms.thefreedictionary.com/butter+up
It just occured to me that you could call this mod ButterUp or ButterButteringUp
http://idioms.thefreedictionary.com/butter+up
- TheRealBix
- Posts: 400
- Joined: Thu, 2. Jul 09, 14:34
In fact the name is a sort of french wordplaySparky Sparkycorp wrote:Nice one.
It just occured to me that you could call this mod ButterUp or ButterButteringUp
http://idioms.thefreedictionary.com/butter+up
Bad news, I think my modding skills are at their maximum and I'm stuck at telling the player to give money to the npc, without creating any ware
- YorrickVander
- Posts: 2702
- Joined: Tue, 29. Oct 13, 21:59
Try this Bix
it will also generate a notification of money down on the event monitor
Code: Select all
<reward_player money="-2000Cr"/>
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
- TheRealBix
- Posts: 400
- Joined: Thu, 2. Jul 09, 14:34
Rhaaaaa I was sure I had already tried this !!!YorrickVander wrote:Try this Bix
it will also generate a notification of money down on the event monitorCode: Select all
<reward_player money="-2000Cr"/>
In fact i was trying to do so manually
Code: Select all
<transfer_money from="player.entity" to="$actor" amount="10000000" />
<show_notification caption="'Paid : 100000 Cr'" icon="achievement_money_down" queued="true" sound="ui_mon_eve_money_down"/>
-
- Moderator (English)
- Posts: 8074
- Joined: Tue, 30. Mar 04, 12:28
- TheRealBix
- Posts: 400
- Joined: Thu, 2. Jul 09, 14:34
Ok, here is the code, I can't find the way to create this #*$\ menu.. I think i'll need to take a nap
Here the code
Here I set the submenu to access to the confirmation
And here I set the Confirm option and back + the trade subscrption.
But.. No submenu at all
edit : FACEPALM
Here the code
Code: Select all
<add_player_choice_sub position="top_right" text="{1002,12220}" comment="Ask for: Trade offer updates - menu" section="gTradeAgent_Start" selectable="not event.object.container.hastradesubscription" baseparam="event.param2"/>
Code: Select all
<cue name="TradeAgentBix" instantiate="true">
<conditions>
<check_any>
<event_conversation_started sectionprefix="gTradeAgent_" actor="$actor" />
<event_conversation_returned_to_section sectionprefix="gTradeAgent_" actor="$actor" />
</check_any>
</conditions>
<actions>
<do_if value="event.param == 'gTradeAgent_Start'">
<add_player_choice_sub position="top_left" text="Confirm" comment="Search in T files" section="gTradeAgent_rewardTradeUpdates" selectable="player.money gt 100000Cr" />
<add_player_choice_return text="{1002,20}" position="bottom_right" comment="Back"/>
</do_if>
</actions>
</cue>
<cue name="RewardTradeUpdatesFinishedHandler" instantiate="true" namespace="this">
<conditions>
<!--<event_conversation_finished outcome="gTradeAgent_rewardTradeUpdates" />-->
<event_conversation_next_section sectionprefix="gTradeAgent_rewardTradeUpdates"/>
</conditions>
<actions>
<do_if value="event.param == 'gTradeAgent_rewardTradeUpdates'">
<add_trade_subscription object="event.object.container" />
<show_help line="350" comment="Your ship computer database will automatically be updated with trade offers from this station." log="false" position="8" />
<add_npc_line line="4119" comment="Sure" />
<reward_player money="-10000000Cr"/>
</do_if>
</actions>
</cue>
But.. No submenu at all
edit :
Code: Select all
<event_conversation_next_section
Last edited by TheRealBix on Fri, 23. May 14, 14:58, edited 1 time in total.
- YorrickVander
- Posts: 2702
- Joined: Tue, 29. Oct 13, 21:59
Personally I would take the simple option :
and include details of cost in the mod desc. More submenus are rarely good Just my opinion of course.
Code: Select all
<actions>
<do_if value="event.param == 'gTradeAgent_rewardTradeUpdates'">
<reward_player money="-2000Cr"/>
<add_trade_subscription object="event.object.container" />
....
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
- TheRealBix
- Posts: 400
- Joined: Thu, 2. Jul 09, 14:34
I'd like to, but without submenu there's a loop in the payment :/YorrickVander wrote:Personally I would take the simple option :
and include details of cost in the mod desc. More submenus are rarely good Just my opinion of course.Code: Select all
<actions> <do_if value="event.param == 'gTradeAgent_rewardTradeUpdates'"> <reward_player money="-2000Cr"/> <add_trade_subscription object="event.object.container" /> ....