Update on progress:
Still this bloody error... This bloody error keeps popping up. (CODE RELATED)
(Latest changes in underlined text)
Done:
- System to only allow Power Suit Playertype players to pick up Power Suit weapons.
- Configured the rifle of the Power Suit to work with this system.
- Power Suit spawns in standby mode, wakes up when someone mounts it, goes to standby when unmounted.
- Parts of Support_ControlledMounts:
- Seperate inventory when you get into the mech, gets saved on unMount.
- Parts of controlling the mech itself:
- Everything equip doesn't equip on your player anymore, but the Power Suit (when mounted to one of course ;P)
Not done:
- Started on a support script called Support_ControlledMounts, this allows for a better control over your mech.
- You actually control the mech itself, instead of just being in the driver seat, this allows you to crouch, sit and all that stuff.
- Crouching is bugged (Blockland glitch, crouching when your own datablock is the Power Suit isn't bugged), can't uncrouch.
Working on it. ???%
- Can't sit. Working on it. ???%
- Extra: Scale non-mech items to fit with the mech (mountItemScale variable in datablock of mech). Haven't started, 0%.
It works pretty damn nice so far, i am happy with it. :)
I love how the whole inventory and item thing goes when mounted to a Power Suit. <3
Now to fix up the animations, my least favorite part because this has to do with some glitches with how Blockland handles stuff (in relation with setted Control Objects). :S
EDIT:
Woops, forgot that it doesn't unMount the items. :X
Aside of that, some weapons behave a bit buggy ( the actual Power Suit weapon works perfectly fine though >_<).
Looking at alternatives now.
EDIT2:
Haven't finished the whole thing sadly, still no progress on making the animations work correctly.
The unMount glitch is still there, but i haven't really spend much time on the alternatives.