General Discussion (#1) - PlayerPosition causing problems with bfallout/spaceball/etc (#13) - Message List

PlayerPosition causing problems with bfallout/spaceball/etc

Heya guys,

Since this code in PlayerPosition was commented out, I wanted to okay uncommenting the code before I check it in. In debugging spaceball (bot not moving when fired on), I found that the weaponinfo pieces in PlayerPosition being commented out is what's causing this module to not fully function. It affects bfallout as well, and possibly others. The WeaponFired event still triggers in these modules, but both need the Weapon Type, which PlayerPosition sets (when the code isn't commented out anyway). So a simple search on 'weaponinfo' and un-commenting those three lines of code will get these modules up and running again. I have these changes running on alihub in dev, but playing spaceball 1v0 is a little boring. ;)

Is it okay for me to submit these changes?

-ali

  • Message #16

    Looks fine to me as long as you add weapon info into the Player class. If you can get it to work it will boost my progress on MirrorriM's interactive tutorial arena :-).

    -milo

  • Message #17

    Hm ok, looks good. You can uncomment it but make sure you also add it to Player as the comment says :p

    This way this extra info can be used like the other info from PlayerPosition.