Lord Wolfram Posted May 23, 2017 Share Posted May 23, 2017 https://www.youtube.com/playlist?list=PLFKw_LnHP3nEc-h6NcPiHlO43gvz9raaX So I am making a video tutorials teaching you guys how to use FEXP to it's full extent. Please support me and I'll help you with your FEXP problems. Quote Link to comment Share on other sites More sharing options...
Hawkatana Posted October 1, 2017 Share Posted October 1, 2017 On 24/05/2017 at 4:38 AM, Lord Wolfram said: https://www.youtube.com/playlist?list=PLFKw_LnHP3nEc-h6NcPiHlO43gvz9raaX So I am making a video tutorials teaching you guys how to use FEXP to it's full extent. Please support me and I'll help you with your FEXP problems. Well can you please help me with this? It won't let me playtest because line 56 is somehow faulty. https://docs.google.com/document/d/1SM9IWB_CCLZDQWcCm9z83A-JEWtkvKJ3QdNfGkZdpAg/edit?usp=drive_web Quote Link to comment Share on other sites More sharing options...
Lord Wolfram Posted October 1, 2017 Author Share Posted October 1, 2017 1 hour ago, Hawkatana said: Well can you please help me with this? It won't let me playtest because line 56 is somehow faulty. https://docs.google.com/document/d/1SM9IWB_CCLZDQWcCm9z83A-JEWtkvKJ3QdNfGkZdpAg/edit?usp=drive_web I wish I could. Quote Link to comment Share on other sites More sharing options...
Hawkatana Posted October 1, 2017 Share Posted October 1, 2017 11 hours ago, Lord Wolfram said: I wish I could. Sorry about that, I'll just post the code here: DEFAULT_VISION_RANGE = 3 CLASS_VISION_BONUS = { 17 => 5, # Thief 52 => 5, # Assassin 53 => 5, # Rogue } SINGLE_GENDER_MAP_SPRITE = [23,31,32,34,60,61,69,70,71,72,73,106,107] SINGLE_GENDER_BATTLE_SPRITE = [23,34,60,61,71,72,73] DEFAULT_CAPS = [80,20,20,20,20,20,20] STAT_CAPS = { 51 => [80, 24, 29, 30, 24, 23, 20], # Swordmaster 59 => [80, 25, 28, 28, 26, 23, 20], # Halberdier '61_0' => [80, 28, 26, 23, 27, 24, 25], # Dragon Master (M) '61_1' => [80, 26, 26, 25, 27, 24, 25], # Dragon Master (F) 63 => [80, 29, 26, 26, 27, 22, 25], # Warrior 65 => [80, 28, 27, 26, 26, 23, 25], # Hero 73 => [80, 29, 28, 23, 30, 25, 25], # General } PROMOTIONS = { # class_id => {new class => [[<bonuses>], [<wpn bonuses>]], ... }, # Stats order: HP, Pow, Skl, Spd, Def, Res, Con, Mov # Tier 0 => Tier 1 3 => { # Recruit #22 => [[4,2,1,2,2,1,0,1], [0,0,0,0,0,0,0,0,0,0]], # Soldier 31 => [[2,0,1,0,2,0,1,3], [0,0,0,0,0,0,0,0,0,0]], # Cavalier #34 => [[6,2,2,0,4,0,4,0], [0,0,0,0,0,0,0,0,0,0]], # Guardian }, 6 => { # Journeyman 24 => [[4,3,2,0,2,0,1,1], [0,0,0,0,0,0,0,0,0,0]], # Fighter #30 => [[4,2,0,1,0,0,0,3], [0,0,0,0,0,0,0,0,0,0]], # Pirate }, 8 => { # Page #40 => [[4,2,2,1,1,2,0,1], [0,0,0,0,0,0,0,0,0,0]], # Mage 45 => [[6,3,1,1,1,3,3,0], [0,0,0,0,0,0,0,0,0,0]], # Shaman }, # Tier 1 => Tier 2 16 => { # Myrmidon 51 => [[4,4,2,3,1,2,1,1], [0,0,0,0,0,0,0,0,0,0]], # Swordmaster }, 47 => { # Knight Errant 48 => [[3,3,3,3,3,3,3,1], [0,0,0,0,0,0,0,0,0,0]], # Templar }, # Tier 2 => Tier 3 71 => { #Paladin 72 => [[6,4,2,0,5,4,5,1], [0,0,0,0,0,0,0,0,0,0]], # Great Knight #0 => { # # 0 => [[,,,,,,,], [0,0,0,0,0,0,0,0,0,0]], # # 0 => [[,,,,,,,], [0,0,0,0,0,0,0,0,0,0]], # #}, } IGNORE_TERRAIN_AVOID = [4, 5] IGNORE_TERRAIN_DEFENSE = [5] MOVE_VALUES = { # class_id => [[movement, cap], movement_type], # Movement typs: 1 = light, 2 = heavy, 3 = armor, 4 = mounted, 5 = flying 3 => [[4, 15], 1], # Recruit 6 => [[4, 15], 1], # Journeyman 8 => [[4, 15], 1], # Page 16 => [[5, 15], 1], # Myrmidon 17 => [[6, 20], 1], # Thief 19 => [[5, 15], 1], # Archer 22 => [[5, 15], 1], # Soldier 23 => [[5, 25], 5], # Dracoknight 24 => [[5, 15], 2], # Fighter 25 => [[5, 15], 2], # Brigand 26 => [[5, 15], 1], # Pirate 27 => [[5, 15], 2], # Mercenary 29 => [[7, 25], 4], # Nomad 31 => [[7, 25], 4], # Social Knight 34 => [[4, 15], 3], # Guardian 37 => [[5, 25], 5], # Pegasus Knight 38 => [[5, 15], 1], # Cleric 39 => [[5, 15], 1], # Monk 40 => [[5, 15], 1], # Mage 41 => [[7, 25], 4], # Troubadour 44 => [[4, 15], 2], # Sorcerer 47 => [[7, 25], 4], # Knight Errant 51 => [[6, 20], 1], # Swordmaster 52 => [[6, 20], 1], # Assassin 53 => [[7, 20], 1], # Rogue 56 => [[6, 20], 2], # Sniper 59 => [[6, 20], 1], # Halberdier 61 => [[5, 25], 5], # Dragon Master 62 => [[6, 20], 2], # Berserker 63 => [[6, 20], 2], # Warrior 65 => [[6, 20], 2], # Hero 67 => [[7, 25], 4], # Nomad Trooper 70 => [[8, 25], 4], # Paladin 71 => [[6, 20], 3], # Great Knight 73 => [[5, 15], 3], # General 76 => [[6, 25], 5], # Falcoknight 78 => [[6, 20], 1], # Bishop 79 => [[6, 20], 1], # Sage 80 => [[7, 25], 4], # Mage Knight 81 => [[7, 25], 4], # Valkyrie 84 => [[5, 15], 2], # Wizard 106 => [[0, 25], 1], # Transporter 107 => [[6, 25], 4], # Transporter } IMMOBILE_CLASSES = [106] module Short_Class_Names NAMES = { 'Pegasus Knight' => 'Peg Knight', 'Nomad Trooper' => 'Nmd Trooper', } def self.name_fix(name) if !NAMES.keys.include?(name) return name else return NAMES[name] end end end Quote Link to comment Share on other sites More sharing options...
Lord Wolfram Posted October 3, 2017 Author Share Posted October 3, 2017 Replace this: 71 => { #Paladin 72 => [[6,4,2,0,5,4,5,1], [0,0,0,0,0,0,0,0,0,0]], # Great Knight With this 71 => { #Paladin 72 => [[6,4,2,0,5,4,5,1], [0,0,0,0,0,0,0,0,0,0]], # Great Knight }, It was a basic syntax error. 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.