DUnno what to think. It has to be tested...
Quote from: Revan Shan on February 08, 2010, 10:49:53 AMDUnno what to think. It has to be tested...hmm, I think it would be really easy for me to just post the code for this and have you guys test it, etc. See this thread, we can hopefully start testing different revisions and figure out what works the best, etc.http://mbx.streetofeyes.com/index.php/topic,2053.0.html
Hey Hokie, have you received the PM I sent you?
When upgrading ship if you upgrade more than one equipment type when in the menu sometimes it just keeps upgrading the first equipment type, even over its maximum level (exitting and re-entering the upgrade menu between equipment types prevented this)
There's a bug in the ship upgrade menu for the Rebel Cruiser. If you max out any of the first 3 upgrades, then try to buy the upgrade 2 selections down from the maxed one, the upgrade is added to the maxed selection. So with enough credits you can get unlimited drive, scanner, and troop upgrades.Clearer example: I upgrade Drives to 5. Then I try to upgrade troop capacity, but instead, Drives goes to 6. Continued attempts at trying to upgrade troop capacity results in further upgrades to Drive. Same thing for the Scanners/Combat Computer pair, and for the Troop Capacity/Medical Bay pair.
I was testing with adding a crouch button so that when you hold it down you crouch down, when you release it you stand back up. It works pretty decent, but you can't move while crouched or if you try and shoot a gun or swing a sword you just stand back up, etc. Also, the current animation doesn't look great with something like a lightsaber, but we can probably figure that out.
common_crawl_change= (0, 0, 0,[ (neg|conversation_screen_is_active), (key_clicked, key_z),],[ (get_player_agent_no, ":ag"), (try_begin), (eq, "$crawling", 1), (assign, "$crawling", 0), (else_try), (assign, "$crawling", 1), (try_end),])common_crawling_set=(0, 0, 0,[ (assign, "$crawlfor", 0), (neg|conversation_screen_is_active), (game_key_is_down, gk_move_forward), (eq, "$crawling", 1),],[(assign, "$crawlfor", 1),])common_crawling=(0, 0, 0,[(eq, "$crawl_ani_on", 1, 1),],[ (get_player_agent_no, ":ag"), (agent_get_position, pos12, ":ag"), (agent_get_look_position, pos13, ":ag"), (position_get_rotation_around_z, ":rotag", pos13), (assign, ":spdx", 0.0), (assign, ":spdy", 0.0), (store_sin, ":spdx", ":rotag"), (store_cos, ":spdy", ":rotag"), (val_div, ":spdx", 100), (val_div, ":spdy", 100), (position_move_y, pos12, ":spdy"), (position_move_x, pos12, ":spdx"), (agent_set_position, ":ag", pos12),])common_anicrawl=(1, 0, 0, [],[ (get_player_agent_no, ":ag"), (assign, "$crawl_ani_on", 0), (try_begin), (eq, "$crawlfor", 1), (agent_set_animation, ":ag", "anim_crawling_forward"), (assign, "$crawl_ani_on", 1), (else_try), (eq, "$crawling", 1), (agent_set_animation, ":ag", "anim_crawling_still"), (try_end),])
I got annoyed with that generic siege scene, it's impossible to do a seige on it so i redid the Both-Siege scene: