11-24-2016, 12:28 PM
It would be nice to have the option to toggle the Anti Gravity Device, as on some maps its more of a nuisance than help (especially on maps with a time limit).
Sven Coop - Toggle Anti Gravity
|
11-24-2016, 12:28 PM
It would be nice to have the option to toggle the Anti Gravity Device, as on some maps its more of a nuisance than help (especially on maps with a time limit).
11-24-2016, 07:29 PM
Well, originally you had to hold down space for the antigrav to take effect. Maybe we should revert it to that kind of mode, (or have a setting for it? would be nice imo). If you wanna write up a plugin for it you can find the source here https://bitbucket.org/modriot/scxpm. =)
The reason why the anti-gravity device was changed to the way it is now is to reduce the load on the CPU. I did program a "/removegravity" chat command in to work-around this issue, but I believe I removed it because it never really was used. The command would remove all the skill points from the anti-gravity device skill and add the skillpoints to the player to select other skills. I can add it back, but I won't be able to work on it until after today (thanksgiving and stuff). I have designed a system to remove skill points for each skill (like how skills can be added incrementally, except to remove the skills it will be decrementally) but it isn't on the servers yet. Thanks for requesting this.
About the old anti-gravity device code: it uses FakeMeta's PlayerPreThink, which constantly checks every server frame (30 times a second?) if the player is holding the key down or not. If we do implement this into the code again, it will likely be in a seprate plugin to handle the code so it doesn't add on to the CPU processing load of the rest of the SCXPM plugin. I have designed a system to allow for all of the skills to be ran in separate plugins, but this system is not implement yet either. Once it is implemented, it will be much easier to customize the skills instead of having to re-write the entire SCXPM plugin.
11-25-2016, 11:51 AM
/removegravity should still work on maps where gravity doesnt take effect, it will give you the skillpoints back.
03-31-2017, 11:58 AM
Wouldn't it work if you temporary set the Anti-Gravity-Device skill to 0 with a command that works on all maps that allow gravity? Or define the exact amount of skill points like /gravitydevice 20 which sets your skill points for the anti-gravity device to 20/40?
(03-31-2017, 02:56 PM)Mr. Robot Wrote: If you want antigrav to turn off, self damage yourself with the environment or a grenade, and then die/suicide before it comes back. For some reason the antigrav skill doesn't come back. Interesting. This means that the damage event causes the anti-gravity device to fail, and that means the timing is off somewhere. Thanks for reporting this so I can try to adjust it. I think I might have already fixed it in the version I am working on right now with a player spawn damage cool-down timer that gives the player an amount of time to have immunity from being affected by any kind of damage that will stop regeneration skills as well as reset a player's gravity.. We will have to see if it still occurs after I put the new version on the servers. (03-31-2017, 11:58 AM)Martovvi Wrote: Wouldn't it work if you temporary set the Anti-Gravity-Device skill to 0 with a command that works on all maps that allow gravity? Or define the exact amount of skill points like /gravitydevice 20 which sets your skill points for the anti-gravity device to 20/40? Yes, we can set a cap like that with a player command fairly easily, but it will take a little thought, creativity and time to figure out how to add it into the XP Mod code. I will try to make the skillpoints adjustable in a more specific way. I will also see if I can figure out how to implement the old anti-gravity device code if there is a way I can do it efficiently enough. We could also add in a Multi-jump feature like RPG Mod has fairly easily as well, but it would also take some time to configure. |
|
Users browsing this thread: |
1 Guest(s) |