Toggle Force Run.

Skyyyr

Member
Joined
Feb 22, 2016
Messages
39
I am currently working on a public patch to allow SWGEmu servers to do as minimal work as possible to add the functionality to 'Toggle' Force run 1/2/3.

The objective of this post is to grab attention from SWGEmu based servers that want to have this functionality added to their servers.

I have attached a rar file that contains the following folders and files. Below this information will be information about what each file is for. (to assist with customization of these files)

**CURRENTLY SINCE IT IS IN BETA, ONLY FR1 HAS BEEN MODIFIED. AFTER FULL RELEASE ALL FORCE RUN COMMANDS WILL BE ADDED**

Client Files -> clienteffect -> pl_force_run_self.cef
Server Files -> src -> server -> zone -> objects -> creature - > commands -> ForceRun1Command.h
Server Files -> src -> server -> zone -> objects -> player - > events -> ForceRunTask.h

INFO:

  1. The reason for the modified client effect is to limit the duration of the Force Run effect to a more manageable duration. (5 seconds instead of 2 minutes)
    1. WHY? As far as I'm aware there isn't an easy and fast method to remove an effect from a user. It also effects all FR abilities.
  2. The reason for the modified ForceRun1Command is to check if the user has Force Run activate or not.
    1. WHY? To be able to toggle off the command the user needs to have the command active.
  3. The reason for the new ForceRunTask is to check every 5 seconds (After activation of Force Run) to see if the user has Force Run active.
    1. WHY? We want to know if the animation should continue, or to stop every 5 seconds. Once it stops, it stops checking until the user activates Force Run again.
Here is the download link to the beta rar file if you'd like to test it out on your TC:

Force Run Patch BETA

This patch is currently being tested, any issues or concerns please post below.
Any advice or constructive feedback is welcome.
 

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
Tip:
1) You should use .zip instead of .rar.
2) You should have included the comment "1.4.5 version" or "1.5 version" for these archives.
 

Skyyyr

Member
Joined
Feb 22, 2016
Messages
39
Thanks, I didn't think about that so... I will be doing versions once I have a ready to release patch for this functionality.
 
Top Bottom