Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: Externalised Merchants
Re: New feature: Externalised Merchants[message #360378 is a reply to message #360377]
|
Tue, 16 June 2020 01:22
|
|
Flugente |
|
Messages:3507
Registered:April 2009 Location: Germany |
|
|
At the very least we'd need to differentiate between genders I think.
Shopkeepers use the following quotes in the shopkeeper screen:
Toggle Spoiler
// COMMON shop keeper quote enums
enum
{
// Quotes 0-9 are generic NPC quotes common to everyone and controlled by the normal NPC Dialogue system.
//10
SK_QUOTES_DEALER_OFFERED_MONEY_AS_A_GIFT = 10,
SK_QUOTES_PLAYER_FIRST_ENTERS_SKI,
SK_QUOTES_RANDOM_QUOTE_WHILE_PLAYER_DECIDING_1,
SK_QUOTES_RANDOM_QUOTE_WHILE_PLAYER_DECIDING_2,
SK_QUOTES_RANDOM_QUOTE_WHILE_ITEMS_CHOSEN_TO_TRADE,
//15
SK_QUOTES_RANDOM_QUOTE_WHILE_ITEMS_CHOSEN_TO_SELL_OR_REPAIR,
SK_QUOTES_PLAYER_REQUESTED_EVALUATION,
SK_QUOTES_DURING_EVALUATION_STUFF_REJECTED,
SK_QUOTES_EVALUATION_RESULT_VALUE_OF_ZERO,
SK_QUOTES_EVALUATION_RESULT_SOME_REALLY_DAMAGED_ITEMS,
//20
SK_QUOTES_EVALUATION_RESULT_NORMAL,
SK_QUOTES_EVAULATION_PLAYER_DOESNT_HAVE_ENOUGH_VALUE,
SK_QUOTES_PLAYER_HAS_EXACTLY_ENOUGH_MONEY_FOR_TRANSACTION,
SK_QUOTES_PLAYER_HAS_TOO_MUCH_MONEY_FOR_TRANSACTION,
SK_QUOTES_PRESSES_DONE_HAS_AT_LEAST_1_TRANSACTION,
//25
SK_QUOTES_PRESSED_DONE_HASNT_MADE_TRANSACTION,
SK_QUOTES_PRESSED_DONE_STILL_HAS_STUFF_IN_OFFER_AREA,
SK_QUOTES_CANT_AFFORD_TO_BUY_OR_TOO_MUCH_TO_REPAIR,
#ifdef JA2UB
SK_QUOTES_BETTY_IS_ENEMY,
SK_QUOTES_NPC_HEALED_BY_PC,
//30 JA25 UB
SK_QUOTES_DEFAULT_WHEN_FIGHTING_NEARBY,
SK_QUOTES_FOLLOWS_QUOTE_1_POSITIVE,
SK_QUOTES_FOLLOWS_QUOTE_1_NEGATIVE,
SK_QUOTES_NPC_WANTS_TO_CLOSE_UP_SHOP,
SK_QUOTES_WHEN_PLAYER_BUYS_PORNO,
//35
SK_QUOTES_INTRO_TO_TEX,
SK_QUOTES_INTRO_TO_TEX_FOLLOW_UP_1,
SK_QUOTES_INTRO_TO_TEX_FOLLOW_UP_2,
SK_QUOTES_RANDOM_QUOTE_WHILE_PLAYER_DECIDING_3,
SK_QUOTES_RANDOM_QUOTE_WHILE_PLAYER_DECIDING_4,
//40
SK_QUOTES_NPC_SPECIFIC_40,
SK_QUOTES_NPC_SPECIFIC_41,
SK_QUOTES_NPC_SPECIFIC_42,
SK_QUOTES_NPC_SPECIFIC_43,
SK_QUOTES_NPC_SPECIFIC_44,
SK_QUOTES_NPC_SPECIFIC_45,
SK_QUOTES_NPC_SPECIFIC_46,
SK_QUOTES_NPC_SPECIFIC_47,
SK_QUOTES_NPC_SPECIFIC_48,
SK_QUOTES_NPC_SPECIFIC_49,
SK_QUOTES_NPC_SPECIFIC_50,
SK_QUOTES_NPC_SPECIFIC_51,
SK_QUOTES_NPC_SPECIFIC_52,
SK_QUOTES_NPC_SPECIFIC_53,
SK_QUOTES_NPC_SPECIFIC_54,
#endif
NUM_COMMON_SK_QUOTES,
// Quotes 28+ are NPC Specific, and are not under direct control of the SKI system. The get used by .COD files
};
That is quite a bit to play with. I recall having a bit of trouble when I added Additional Dialogue for shopkeepers with displaying the text to the sound - the game really didn't like that - so I'm just playing the sound. But that sounds fine I think.
I'm still pondering where one would implement parts of it - whether to just build a sound file name in the code and search a specific location for a fitting file, or whether to script it in lua - but this shouldn't be too hard, apart from navigating the swamp that is shopkeeper stuff.
In a way this somewhat opens the door to having non-profile based people talk (apart from grunting when we shoot them in the face), but I see that more as a positive.
[Updated on: Tue, 16 June 2020 01:23]
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.Report message to a moderator
|
|
|
|
|
|
New feature: Externalised Merchants
By: Flugente on Thu, 20 December 2012 02:04
|
|
|
Re: New feature: Externalised Merchants
By: Kitty on Tue, 04 June 2019 06:02
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: ZedJA2 on Thu, 16 January 2020 02:37
|
|
|
Re: New feature: Externalised Merchants
By: Vritran on Mon, 15 June 2020 12:02
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Vritran on Tue, 16 June 2020 00:14
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Kitty on Tue, 16 June 2020 02:00
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Vritran on Tue, 16 June 2020 16:54
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Vritran on Wed, 17 June 2020 11:32
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Vritran on Wed, 24 June 2020 20:17
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Vritran on Thu, 25 June 2020 11:00
|
|
|
Re: New feature: Externalised Merchants
By: Kitty on Mon, 29 June 2020 03:38
|
|
|
Re: New feature: Externalised Merchants
By: Vritran on Mon, 29 June 2020 12:35
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Kitty on Mon, 29 June 2020 23:33
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: kodamaqq on Mon, 08 August 2022 03:12
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Kitty on Tue, 25 July 2023 01:27
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: smeagol on Thu, 20 December 2012 11:26
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Wil473 on Thu, 20 December 2012 18:44
|
|
|
Re: New feature: Externalised Merchants
By: Clarkew on Fri, 21 December 2012 03:59
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Clarkew on Fri, 29 March 2013 07:41
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: navaroe on Thu, 27 August 2015 19:21
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Flugente on Thu, 27 August 2015 20:22
|
|
|
Re: New feature: Externalised Merchants
By: navaroe on Thu, 27 August 2015 21:59
|
|
|
Re: New feature: Externalised Merchants
By: Flugente on Fri, 28 August 2015 02:22
|
|
|
Re: New feature: Externalised Merchants
By: navaroe on Fri, 28 August 2015 16:38
|
|
|
Re: New feature: Externalised Merchants
By: Flugente on Fri, 28 August 2015 22:22
|
|
|
Re: New feature: Externalised Merchants
By: navaroe on Sat, 29 August 2015 01:33
|
|
|
Re: New feature: Externalised Merchants
By: 88vs1984 on Sun, 31 December 2017 21:06
|
|
|
Re: New feature: Externalised Merchants
By: todd0001 on Fri, 05 January 2018 05:00
|
Goto Forum:
Current Time: Fri Nov 29 06:33:34 GMT+2 2024
Total time taken to generate the page: 0.02012 seconds
|