This post has been edited by Link: 01 May 2007 - 09:28 AM
Sonic the Hedgehog - X360!!! I now officially love LUA!
#1
Posted 01 May 2007 - 08:35 AM
#2
Posted 01 May 2007 - 10:25 AM
#5
Posted 01 May 2007 - 11:45 AM
This post has been edited by Link: 01 May 2007 - 11:55 AM
#6
Posted 01 May 2007 - 12:04 PM
#7
Posted 01 May 2007 - 12:31 PM
grap3fruitman, on May 1 2007, 07:04 PM, said:
script.reload("player/common.lua");SetupModuleSub = function(param1) OpenGameMaster(param1, gamemaster_module_player) OpenWeapons(param1, other_module_tails_weapons) OpenOther(param1, other_module_amigo_change) OpenEffect(param1, effect_module_tails, "player_tails") OpenSound(param1, sound_module_tails, "player_tails") OpenAI(param1, ai_module_amigo) OpenLockOn(param1, "lockon_chase", stepable_pre) OpenOther(param1, other_module_talk) OpenLockOn(param1, "lockon", stepable_inter)endSetupModuleDebugSub = function()endc_lockon_chase = { type = shape_convex_box, near_x = 5 * meter, near_y = 6 * meter, z = 13 * meter, far_x = 15 * meter, far_y = 13 * meter, sort = lockon_sort_priority_and_distance, lockon = lockon_type_chase }c_player_name = "tails"debug = not_usec_module_state = state_module_tailsc_module_model = model_module_sonic_newc_system_model = model_system_standardc_posture_control = posture_control_normalc_input_system = input_system_normalc_module_gravity = usec_model_package = "player/tails"c_module_impulse = impulse_module_standardc_framelink = { { from="RightMustache", to="RightMustache01" } ,{ from="LeftMustache", to="LeftMustache01" } }c_input_border = 0.1;c_dclick_time = 0.16 * secc_lclick_time = 0.16 * secscript.reload("player/collision_standard.lua")c_lockon = { type = shape_frustum, near_x = 1 * meter, near_y = 1 * meter, z = 10 * meter, fov = 30 * deg, sort = lockon_sort_priority_and_distance, lockon = lockon_type_lockon }c_rotation_method = input_method_mario64c_rotation_speed = 1 * (meter / sec)c_weight = 20 * kgc_slope_rad = 40 * degc_slope_rad_b = 30 * degc_downforce = 0.2 * meterc_brake_acc = 40 * meterc_walk_border = 0.17c_run_border = 0.6c_walk_speed_max = 1.5 * (meter / sec)c_run_speed_max = 9 * (meter / sec)c_jump_time_min = 0.1 * secc_jump_brake = 16 * (meter / sec)c_jump_speed_acc = 20 * meterc_jump_speed_brake = 10 * meterl_run_acc = 1 * secl_jump_hight = 4 * meterl_jump_walk = 5 * meterl_jump_run = 10 * meterc_brake_quick_acc = 30 * meterc_wait_no_input_time = 15 * secc_damage_time = 1 * secc_damage_jump = 2 * (meter / sec)c_damage_speed = -1 * (meter / sec)c_run_against_time = 1 * secc_grind_speed_org = 23 * (meter / sec)c_grind_acc = 15 * meterc_grind_speed_max = 35 * meterc_grind_time = 0.7 * secc_grind_penalty_time = 0.5 * secc_grind_brake_acc = 1 * meterc_brake_dashpanel = 15 * meterc_speedup_speed_max = 30 * (meter / sec)l_speedup_acc = 0.5 * secc_run_acc = (c_run_speed_max - c_walk_speed_max) / l_run_accc_jump_speed = 9 * (meter / sec)c_jump_walk = 2 * (meter / sec)c_jump_run = 5.3 * (meter / sec)c_speedup_acc = (c_speedup_speed_max - c_walk_speed_max) / l_speedup_accc_brake_acc_sand = - 2 * c_brake_accc_run_acc_sand = - 0.5 * c_run_accc_jump_speed_sand = SpeedByHeightBias(c_jump_speed,0.5)c_flight_speed_acc = 17 * (meter / (sec * sec))c_flight_speed_min = 10 * (meter / sec)c_flight_speed_max = 17 * (meter / sec)c_flight_timer = 3 * secc_flight_timer_b = 1.5 * secc_flight_acc = 16 * meterc_ignore_spread_time = 0.3 * secIf you compile this LUA file, it will be a little different than the original tails.lub (use LUA 5.0.2).. ignore that! Just registers are swapped, I double checked, this IS TAILS' Lua file! I am very very sure and I also will try it soon!
#9
Posted 01 May 2007 - 02:06 PM
Sazpaimon, on May 1 2007, 08:55 PM, said:
#10
Posted 01 May 2007 - 05:00 PM
#11
Posted 01 May 2007 - 06:04 PM
#14
Posted 02 May 2007 - 07:04 AM
equip_lightdash = 1equip_sliding = 2equip_boundjump = 4equip_homingsmash = 8equip_gem_green = 16equip_gem_red = 32equip_gem_blue = 64equip_gem_white = 128equip_gem_sky = 256equip_gem_yellow = 512equip_gem_purple = 1024equip_gem_super = 2048Super gem? Could that be our nice rainbow gem.. sounds so doesn't it?and even more:
c_equip_flag_table = { { global_flag = 6000, equip_flag = equip_lightdash }, { global_flag = 6001, equip_flag = equip_sliding }, { global_flag = 6002, equip_flag = equip_boundjump }, { global_flag = 6003, equip_flag = equip_homingsmash }, { global_flag = 6004, equip_flag = equip_gem_green }, { global_flag = 6005, equip_flag = equip_gem_red }, { global_flag = 6006, equip_flag = equip_gem_blue }, { global_flag = 6007, equip_flag = equip_gem_white }, { global_flag = 6008, equip_flag = equip_gem_sky }, { global_flag = 6009, equip_flag = equip_gem_yellow }, { global_flag = 6010, equip_flag = equip_gem_purple }, { global_flag = 6011, equip_flag = equip_gem_super }, ....
#19
Posted 02 May 2007 - 09:44 AM
This post has been edited by Link: 02 May 2007 - 09:51 AM

Sign In
Register
Help
MultiQuote







