Tenderfoot Thahd Merlyn Posted June 28, 2005 Share Posted June 28, 2005 I'm trying to write a character-editing script that looks like it belongs in the game, you know, sorta inconspicuous, for people like me whose parents don't want them to do that. But it won't work in any way, shape, or form. Any help, people? Here it is Quote Link to comment Share on other sites More sharing options...
Well-Actually War Trall Dolphin Posted June 28, 2005 Share Posted June 28, 2005 The first problem I see is you are missing a semicolon after "variables" Quote Link to comment Share on other sites More sharing options...
Tenderfoot Thahd Merlyn Posted June 28, 2005 Author Share Posted June 28, 2005 >.< I hosted the wrong file. That was someone elses perfectly working GF1 script. Fixed now. Quote Link to comment Share on other sites More sharing options...
Garrulous Glaahk Harlequin Posted June 28, 2005 Share Posted June 28, 2005 Allwase remember semi colins and making sure your editor is in a different state than everything else. Quote Link to comment Share on other sites More sharing options...
Well-Actually War Trall Dolphin Posted June 28, 2005 Share Posted June 28, 2005 Within Talknode 24 you are missing a semicolon after change_coins(30000) That doesn't fix the script, but read through it again. Quote Link to comment Share on other sites More sharing options...
Tenderfoot Thahd Merlyn Posted June 29, 2005 Author Share Posted June 29, 2005 I've reread it again, I can't find the problem... Quote Link to comment Share on other sites More sharing options...
Garrulous Glaahk Harlequin Posted June 29, 2005 Share Posted June 29, 2005 Try changing Quote: begintalknode 22; state = 5; personality = 0; nextstate = -1; condition = 1; question = "No way! Do I look like a cheater?"; text1 = "You turn from the obelisk and walk away, knowing that you could have surpassed even the Shaper Council... But at least your integrity is intact."; action = END_TALK; begintalknode 23; state = 5; personality = 0; nextstate = 31; condition = 1; question = "Duh! What do you think I am, stupid?"; text1 = "One side of the obelisk slides open, revealing a small vat of glowing yellow liquid."; text2 = "What do you wish to do?" begintalknode 24; state = 31; personality = 0; nextstate = -1; condition = 1; question = "Put your hand in it."; text1 = "As your hand makes contact with the fluid, it crawls up your arm, enveloping first you, then spreading along the ground to all your creations... None of you can move... You feel a growing warmth, and a sense of well-being..."; text2 = "With a loud 'slurp', the liquid all flows back into its vat, except some which stays in your money pouch, leaving you and your creatures fully healed and your wallet full of pure gold."; code = heal_char(0,2000); restore_energy_char(0,3000); heal_char(1,2000); restore_energy_char(1,3000); heal_char(2,2000); restore_energy_char(2,3000); heal_char(3,2000); restore_energy_char(3,3000); heal_char(4,2000); restore_energy_char(4,3000); heal_char(5,2000); restore_energy_char(5,3000); heal_char(6,2000); restore_energy_char(6,3000); heal_char(7,2000); restore_energy_char(7,3000); change_coins(30000) break; begintalknode 25; state = 31; personality = 0; nextstate = -1; condition = 1; question = "Drink it."; text1 = "As you reach for it, the vat reshapes itself into a gem-studded goblet. You pick it up, drink, and fall to your knees as your body becomes a teeming mass of pain. Your last thought before passing out is, "I probably shouldn't have done that..." After a while, you waken and stand. You feel ready to take on the world."; to Quote: begintalknode 92; state = 5; personality = 0; nextstate = -1; condition = 1; question = "No way! Do I look like a cheater?"; text1 = "You turn from the obelisk and walk away, knowing that you could have surpassed even the Shaper Council... But at least your integrity is intact."; action = END_TALK; begintalknode 93; state = 5; personality = 0; nextstate = 31; condition = 1; question = "Duh! What do you think I am, stupid?"; text1 = "One side of the obelisk slides open, revealing a small vat of glowing yellow liquid."; text2 = "What do you wish to do?" begintalknode 94; state = 31; personality = 0; nextstate = -1; condition = 1; question = "Put your hand in it."; text1 = "As your hand makes contact with the fluid, it crawls up your arm, enveloping first you, then spreading along the ground to all your creations... None of you can move... You feel a growing warmth, and a sense of well-being..."; text2 = "With a loud 'slurp', the liquid all flows back into its vat, except some which stays in your money pouch, leaving you and your creatures fully healed and your wallet full of pure gold."; code = heal_char(0,2000); restore_energy_char(0,3000); heal_char(1,2000); restore_energy_char(1,3000); heal_char(2,2000); restore_energy_char(2,3000); heal_char(3,2000); restore_energy_char(3,3000); heal_char(4,2000); restore_energy_char(4,3000); heal_char(5,2000); restore_energy_char(5,3000); heal_char(6,2000); restore_energy_char(6,3000); heal_char(7,2000); restore_energy_char(7,3000); change_coins(30000); break; begintalknode 95; state = 31; personality = 0; nextstate = -1; condition = 1; question = "Drink it."; text1 = "As you reach for it, the vat reshapes itself into a gem-studded goblet. You pick it up, drink, and fall to your knees as your body becomes a teeming mass of pain. Your last thought before passing out is, "I probably shouldn't have done that..." After a while, you waken and stand. You feel ready to take on the world."; Quote Link to comment Share on other sites More sharing options...
Well-Actually War Trall Dolphin Posted June 29, 2005 Share Posted June 29, 2005 The node just above the one he originally numbered 22 is number 92, so the script you posted makes two nodes numbered 92. Even if I change it so the numbers don't conflict the script doesn't work. I don't think it's a problem with the node numbers or states. Quote Link to comment Share on other sites More sharing options...
Garrulous Glaahk Harlequin Posted June 29, 2005 Share Posted June 29, 2005 Oh, my god, your right, sorry for the confusion. It should read: Quote: begintalknode 93; state = 5; personality = 0; nextstate = -1; condition = 1; question = "No way! Do I look like a cheater?"; text1 = "You turn from the obelisk and walk away, knowing that you could have surpassed even the Shaper Council... But at least your integrity is intact."; action = END_TALK; begintalknode 94; state = 5; personality = 0; nextstate = 31; condition = 1; question = "Duh! What do you think I am, stupid?"; text1 = "One side of the obelisk slides open, revealing a small vat of glowing yellow liquid."; text2 = "What do you wish to do?"; begintalknode 95; state = 31; personality = 0; nextstate = -1; condition = 1; question = "Put your hand in it."; text1 = "As your hand makes contact with the fluid, it crawls up your arm, enveloping first you, then spreading along the ground to all your creations... None of you can move... You feel a growing warmth, and a sense of well-being..."; text2 = "With a loud 'slurp', the liquid all flows back into its vat, except some which stays in your money pouch, leaving you and your creatures fully healed and your wallet full of pure gold."; code = heal_char(0,2000); restore_energy_char(0,3000); heal_char(1,2000); restore_energy_char(1,3000); heal_char(2,2000); restore_energy_char(2,3000); heal_char(3,2000); restore_energy_char(3,3000); heal_char(4,2000); restore_energy_char(4,3000); heal_char(5,2000); restore_energy_char(5,3000); heal_char(6,2000); restore_energy_char(6,3000); heal_char(7,2000); restore_energy_char(7,3000); change_coins(30000); break; begintalknode 96; state = 31; personality = 0; nextstate = -1; condition = 1; question = "Drink it."; text1 = "As you reach for it, the vat reshapes itself into a gem-studded goblet. You pick it up, drink, and fall to your knees as your body becomes a teeming mass of pain. Your last thought before passing out is, "I probably shouldn't have done that..." After a while, you waken and stand. You feel ready to take on the world."; Quote Link to comment Share on other sites More sharing options...
Tenderfoot Thahd Merlyn Posted June 29, 2005 Author Share Posted June 29, 2005 Except, the numbers I used for the nodes weren't in use anyways, there is no node 23 or 24 in the original script Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.