For crying out loud


#1

Okay, I finally managed to get a working npc, and this is what he says.


heres the code.
.
Btw thats ALL he says,
.
coalition_Deserter_Completed
.
English
Message_0_Page_0 Thanks for shopping, dont die so you can buy more.
.
Asset
GUID 487c0b33-bd34-446b-a1f6-150f437c5afb
Type Dialogue

ID 2100

Messages 1

Message_0_Pages 1
.
Coalition_Deserter_Supply
.
English
Message_0_Page_0 Got all this good stuff from the Coalition Armory, Want to buy any?
.
Asset
GUID 236b071b-9006-4e49-b122-325be3b19872
Type Dialogue
ID 2101

Messages 1
Message_0_Pages 1
.
Coalition_Deserter_Welcome
.
English
Message_0_Page_0 Want to buy something?

Response_0 I’d like to trade
Response_1 Where do you get your goods?
Response_2 Goodbye
.
Asset
GUID eec1437c-2e2b-47b0-b55a-092457485b57
Type Dialogue
ID 2102

Messages 1
Message_0_Pages 1

Responses 3

// I’d like to trade
// Armory_Vendor_Completed
Response_0_Dialogue 145
Response_0_Vendor 142
Response_0_Conditions 1
Response_0_Condition_0_Type Flag_Bool
Response_0_Condition_0_ID 146
Response_0_Condition_0_Value True
Response_0_Condition_0_Logic Equal

// Where do you get your supplies?
// Armory_Help
Response_1_Dialogue 144
Response_1_Rewards 1
// Can_Sell_To_Armory
Response_1_Reward_0_Type Flag_Bool
Response_1_Reward_0_ID 146
Response_1_Reward_0_Value True
.
Im sick of no being able to fix this. tbh if I had to guess I would say its conflicting ids, sorta, but I have no idea what to change. Could someone whos good at coding help me here??


#2

Also, he was supposed to look more like me xd


except he was supposed to have black hair, I accidently made 2 npcs and this one was the only one that worked, even though his dialog is screwed up.


#3

Dear goodness what have you done to accidentally make 2 NPCs?

I mean, the first thing I’d do when making one is (assuming you took your source code off of an official NPC) to save it as an isolated, separate copy and remove the GuID. This prevents file conflict with the game.

Secondly, your formatting is incredibly confusing. I can’t tell which code belongs to what.

Third, I’m not sure why you seem to have the vendor completed response preceding the general welcome response in the IDs. Due to this unconventionality, you could easily have mixed them up.


#4

i hope i dont die so i can see more topics from you


#5

“English” is misleading.


This is probably where you went wrong, using IDs of official content.


#6

Hmmm… true, alright once I get back to my house, ill try to fix it