fishing

正在查看此主题的用户

QBDU07

Sergeant
HELLLOO .do you think it would be possible to add a go fishing fish in my mod? ? if possible could you help me I do not know how. thanks
 
hmm, can you be a little more precise in what you have in mind ? What form would it takes ?
 
I use the module system of mod pirate and I find:

插入代码块:
("fishyies",
   [
        (store_random_in_range,reg(30),0,137),
        (try_begin),
        (le, reg(30),15), # 1-15 : 15
        (assign,"$fish_to_catch","itm_fish"),
        (assign,"$fish_reel_number",26),
        (assign,"$fish_catch_time",7),
        (else_try),
        (is_between,reg(30),15,26), # 15-25 : 10
        (assign,"$fish_to_catch","itm_little_catfish"),
        (assign,"$fish_reel_number",30),
        (assign,"$fish_catch_time",7),
        (else_try),
        (is_between,reg(30),25,36), # 25-35 : 10
        (assign,"$fish_to_catch","itm_goldfish"),
        (assign,"$fish_reel_number",30),
        (assign,"$fish_catch_time",7),
        (else_try),
        (is_between,reg(30),35,45), # 35 - 44 : 9
        (assign,"$fish_to_catch","itm_herring_fish"),
        (assign,"$fish_reel_number",38),
        (assign,"$fish_catch_time",7),
        (else_try),
        (is_between,reg(30),44,52), # 44 - 51 : 7
        (assign,"$fish_to_catch","itm_flatfish_fish"),
        (assign,"$fish_reel_number",50),
        (assign,"$fish_catch_time",9),
        (else_try),        
        (is_between,reg(30),51,58), # 51 - 58 : 7 
        (assign,"$fish_to_catch","itm_swordfish_fish"),
        (assign,"$fish_reel_number",60),
        (assign,"$fish_catch_time",11),
        (else_try), 
        (is_between,reg(30),58,62), # 58 - 61 : 3
        (assign,"$fish_to_catch","itm_tuna_fish_fish"),
        (assign,"$fish_reel_number",90),
        (assign,"$fish_catch_time",17),
        (else_try),         
        (is_between,reg(30),61,67), # 61 - 66 : 5
        (assign,"$fish_to_catch","itm_trout_fish"),
        (assign,"$fish_reel_number",64),
        (assign,"$fish_catch_time",10),
        (else_try),         
        (is_between,reg(30),66,71), # 66 - 70 : 4
        (assign,"$fish_to_catch","itm_salmon_fish"),
        (assign,"$fish_reel_number",70),
        (assign,"$fish_catch_time",12),
        (else_try),  
        (is_between,reg(30),71,78), # 71 - 77 : 6
        (assign,"$fish_to_catch","itm_grayling_fish"),
        (assign,"$fish_reel_number",50),
        (assign,"$fish_catch_time",8),
        (else_try),  
        (is_between,reg(30),77,82), #77 - 81 : 4
        (assign,"$fish_to_catch","itm_pike_fish_fish"),
        (assign,"$fish_reel_number",70),
        (assign,"$fish_catch_time",11),
        (else_try),  
        (is_between,reg(30),81,86), # 81 - 86 : 5
        (assign,"$fish_to_catch","itm_lobster_fish"),
        (assign,"$fish_reel_number",44),
        (assign,"$fish_catch_time",8),
        (else_try),  
        (is_between,reg(30),86,87), # 86 - 87 : 1
        (assign,"$fish_to_catch","itm_blue_whale"),
        (assign,"$fish_reel_number",500),
        (assign,"$fish_catch_time",120),
        (else_try),  
        (is_between,reg(30),87,93), #87 - 93 : 6
        (assign,"$fish_to_catch","itm_pufferfish_fish"),
        (assign,"$fish_reel_number",48),
        (assign,"$fish_catch_time",8),		
        (else_try),  
        (is_between,reg(30),87,93), #87 - 93 : 6
        (assign,"$fish_to_catch","itm_pufferfish_fish"),
        (assign,"$fish_reel_number",48),
        (assign,"$fish_catch_time",8),
		(else_try),
        (is_between,reg(30),93,98), #93 - 97 : 4
        (assign,"$fish_to_catch","itm_flying_fish_fish"),
        (assign,"$fish_reel_number",67),
        (assign,"$fish_catch_time",10),
		(else_try),
        (is_between,reg(30),97,103), #97 - 102 : 5
        (assign,"$fish_to_catch","itm_stringray_fish"),
        (assign,"$fish_reel_number",49),
        (assign,"$fish_catch_time",9),		
        (else_try),  
        (is_between,reg(30),102,109), # 102 - 108 : 6
        (assign,"$fish_to_catch","itm_sawfish_fish"),
        (assign,"$fish_reel_number",58),
        (assign,"$fish_catch_time",9),		
        (else_try), 
        (is_between,reg(30),108,112), # 108 - 111 : 3
        (assign,"$fish_to_catch","itm_dolphin_fish"),
        (assign,"$fish_reel_number",84),
        (assign,"$fish_catch_time",16),		
        (else_try), 
        (is_between,reg(30),111,114), # 111 - 113 : 2
        (assign,"$fish_to_catch","itm_hammerhead_fish"),
        (assign,"$fish_reel_number",88),
        (assign,"$fish_catch_time",16),				
        (else_try),         
        (is_between,reg(30),113,119), # 113 - 118 : 5
        (assign,"$fish_to_catch","itm_squid_fish"),
        (assign,"$fish_reel_number",69),
        (assign,"$fish_catch_time",11),		
        (else_try),  
        (is_between,reg(30),118,125), # 118 - 124 : 6
        (assign,"$fish_to_catch","itm_eel_fish"),
        (assign,"$fish_reel_number",45),
        (assign,"$fish_catch_time",7),
		(else_try),
        (is_between,reg(30),124,130), #124 - 129 : 5
        (assign,"$fish_to_catch","itm_turtle_fish"),
        (assign,"$fish_reel_number",53),
        (assign,"$fish_catch_time",10),	
		(else_try),
        (is_between,reg(30),129,135), #129 - 134 : 5
        (assign,"$fish_to_catch","itm_giant_clam_fish"),
        (assign,"$fish_reel_number",60),
        (assign,"$fish_catch_time",11),	
        (else_try), 
        (is_between,reg(30),134,137), # 134 - 136 : 2
        (assign,"$fish_to_catch","itm_walrus_fish"),
        (assign,"$fish_reel_number",91),
        (assign,"$fish_catch_time",16),	




		
		
        (else_try),  
        (assign,"$fish_to_catch","itm_fish"),
        (assign,"$fish_reel_number",26),
        (assign,"$fish_catch_time",7),
        (end_try),

        (try_begin),
        (eq,"$rod_type",2),
        (val_sub, "$fish_reel_number",6),
		(else_try),
		(eq,"$rod_type",1),
		(val_sub, "$fish_reel_number",3),
        (end_try),

but i have error :
插入代码块:
Initializing...
Compiling all global variables...
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Exporting map icons...
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Exporting faction data...
Exporting item data...
WARNING: Usage of unassigned global variable: $player_agent_glob
WARNING: Usage of unassigned global variable: $player_agent_glob
WARNING: Usage of unassigned global variable: $line_cast
Error: Unable to find object:str_line_cast
ERROR: Illegal Identifier:str_line_cast
WARNING: Usage of unassigned global variable: $line_cast
WARNING: Usage of unassigned global variable: $rod_type
WARNING: Usage of unassigned global variable: $player_agent_glob
WARNING: Usage of unassigned global variable: $player_agent_glob
WARNING: Usage of unassigned global variable: $line_cast
Error: Unable to find object:str_line_cast
ERROR: Illegal Identifier:str_line_cast
WARNING: Usage of unassigned global variable: $line_cast
WARNING: Usage of unassigned global variable: $rod_type
WARNING: Usage of unassigned global variable: $player_agent_glob
WARNING: Usage of unassigned global variable: $player_agent_glob
WARNING: Usage of unassigned global variable: $line_cast
Error: Unable to find object:str_line_cast
ERROR: Illegal Identifier:str_line_cast
WARNING: Usage of unassigned global variable: $line_cast
WARNING: Usage of unassigned global variable: $rod_type
Exporting scene data...
Exporting troops data
Exporting particle data...
Exporting scene props...
Exporting tableau materials data...
Exporting presentations...
Exporting party_template data...
Exporting parties
Exporting quest data...
Exporting info_page data...
Exporting scripts...
WARNING: Usage of unassigned global variable: $rod_type
WARNING: Usage of unassigned global variable: $rod_type
Exporting mission_template data...
Exporting game menus data...
exporting simple triggers...
exporting triggers...
exporting dialogs...
Checking global variable usages...
WARNING: Global variable never used: fish_to_catch
WARNING: Global variable never used: fish_reel_number
WARNING: Global variable never used: fish_catch_time
WARNING: Global variable never used: $player_agent_glob
WARNING: Global variable never used: $player_agent_glob
WARNING: Global variable never used: $line_cast
WARNING: Global variable never used: $line_cast
WARNING: Global variable never used: $rod_type
WARNING: Global variable never used: $player_agent_glob
WARNING: Global variable never used: $player_agent_glob
WARNING: Global variable never used: $line_cast
WARNING: Global variable never used: $line_cast
WARNING: Global variable never used: $rod_type
WARNING: Global variable never used: $player_agent_glob
WARNING: Global variable never used: $player_agent_glob
WARNING: Global variable never used: $line_cast
WARNING: Global variable never used: $line_cast
WARNING: Global variable never used: $rod_type
WARNING: Global variable never used: $rod_type
WARNING: Global variable never used: $rod_type
Exporting postfx_params...

Whats the probleme



 
后退
顶部 底部