ElDewrito / DewRecode

Discontinued - A recode and revamp of ElDewrito
GNU General Public License v3.0
18 stars 10 forks source link

Add equipment back into the game #10

Open emoose opened 9 years ago

emoose commented 9 years ago

All(?) of the equipment items still seem to be around, with mods they can even be thrown/activated by throwing grenades, so we know they still work.

Seems like the code which auto-pickups / asks if you want to swap is removed though, and it's likely that the action/event/button handler for throwing them is gone as well. Would probably take some work to add these back in.

emoose commented 9 years ago

Almost working in 16dc1ce57b1d0c533a957a85636138f37abff52e, mostly ported from H3E based on comparing H3E's "powerup picked up" func with HOs and then rewriting H3E's "powerup pickup" func.

Equipment gets picked up when you walk over it, if you walk over equipment of the same type as you already have then it won't be picked up again, however if you have equipment picked up and walk over equipment of a different type the game will crash. Maybe they've extended the max allowed items but the code used here doesn't take it into account, but that's just speculation. There was probably some code that was meant to prompt for the player to swap for the different item, but after they removed it now it just swaps by default. Strange though since dual wielding doesn't show a prompt neither but you still have to press LB to dual wield.

Equipment can't be thrown yet, no keys/controller buttons seem to throw it and the keybinding "debug mode" doesn't seem to work for it neither. They might have removed the code that handles the "Throw equipment" keypress, but it's likely the majority of the code for it is still here since HO's loadout equipment is thrown the same way.

StrikerMan780 commented 8 years ago

Mind if I ask what H3E is?

twist84 commented 8 years ago

@StrikerMan780 H3E is Halo 3 Epsilon ====>> http://halo.wikia.com/wiki/Halo_3_Epsilon

craftycodie commented 8 years ago

Think the CHDTs can be activated again?

emoose commented 8 years ago

If we find where in H3E they get read we might be able to reimplement them, hopefully the HUD stuff hasn't changed too much.

craftycodie commented 8 years ago

Well considering that they actually updated the CHDTs to add armour abilities I think it'll be fixable.