0 of 0

File information

Last updated

Original upload

Created by

BeerShigachi

Uploaded by

beershigachi

Virus scan

Safe to use

Tags for this mod

About this mod

This mod provides you with an immersive flying experience at the cost of stamina (or at no cost if you choose!).
This mod comes with configurable attributes, allowing you to customize your own flying experience.
This mod was inspired by flying mages from Frieren: Beyond Journey's End.

Requirements
Permissions and credits
Donations
100% OF PROFITS GO TO CHARITY! SHOW YOUR SUPPORT BY DOWNLOADING THEM!

Ordinary Offensive Magic MOD has been released!
Ordinary Offensive Magic
Download to complete Mage/Sorcerer experience like mages from Frieren.
if you want to optimize weapon skills(spells) magic this mod let you do that without PAK file(so you can design the damage balance by yourself anytime you want.)
Variable Magic

Installation
  • Ensure you meet the requirements
  • Unzip the zip file
  • Place immersiveLevitate.lua under path/to/Dragons Dogma2/reframework/autorun/

This mod may conflict with any levitate mod. and the mod is not tested with other mods because simply impossible to do check compatibilities with all of others. So when the mod or some attributes does not work, delete all of other mods and save the mod file under right path properly, relaunch the game or reload the script. and see if the problem persists.

Features -- Version 3.4.0 available
  • Fall deacceleration: you can re levitate any height when falling.
  • Descendant mode: you can ascend/descend.
  • Extend maximum ascending/descending altitude
  • Fly faster or even slower.
  • Increase levitation duration
  • Re-levitate with stamina system or simply optional spamming-blocker 
  • Rich flying stamina system
  • Cancel levitation by double tapping the jump button(optional)
  • Disable the stamina system
  • Configure all of the above features and more
  • Independent NPC levitation configuration.


How the stamina system works

Keep State
While you are not ascending, you spend stamina gradually.

Ascendant/Descendant Modes
While you are ascending you expend more stamina than Keep state.

Air Sprint
Cost more stamina to accelerate(spamming re-levitate). travel faster with reasonable cost.

Note: all of the cost of stamina can be disabled or modified.


How to control

Acceleration
While levitating hit the jump button again. You cannot activate levitation again until the interval time has elapsed. Default interval is 1 second.

Cancel levitation
While levitating, double-tap the jump button or press the grab action button. I recommend using the double-tap method as it allows you to quickly re-levitate before the falling animation begins.

Descendant mode
while not on a terrain/object, toggle mode by pressing dash button/key. you can toggle mode to Ascendant mode by pressing same button or automatically set to Ascendant mode upon landing on a terrain.

Fall Deacceleration
In the mid air, you can levitate to deaccelerate at ANY HEIGHT/TIME. the height you can deaccelerate is limited by game (updated in v2.1.2)this will help you to descend much faster. the fall animation is disabled but you still can turn the animation back by configurating the value below. you will still die(or fall damage) if you do not deaccelerate before hitting the ground. THIS MOD DO NOT PREVENT FALL DAMAGE. GET OTHER MODS FOR THAT.

What it cannot do
Activate spells while levitating. You can cast spells but they won't activate the spell until your feet get back on the ground. However you can store the spell by using spell filling. Also consider to download my other mod to get better mid air combat which overhaul normal magic attack. https://www.nexusmods.com/dragonsdogma2/mods/665/
 

How to customize
if you dont want to be too OP, try the default configuration!

  • Go to Script Generated GUI -> Immersive Levitate
  • Adjusting LEVITATE_DURATION or RE_LEVITATE_INTERVAL affects each other to prevent setting the parameters incorrectly.


BREAKDOWN

MAX_ALTITUDE : defalut 2.0
MAX_ALTITUDE_DESCEND : the height you can descend at once when descending mode.
LEVITATE_DURATION : default 2.8
FLY_SPEED_MULTIPLIER : set 1.0 for default speed
HORIZONTAL_ACCELERATION : default 3.0
ASCEND_ACCELERATION : default 4.0
MAX_ASCEND_SPEED : defalut 5.0 CAUTION: set this value high without setting ASCEND_ACCELERATION very high results slow speed.
DESCEND_ACCELERATION : opposite of  ASCEND_ACCELERATION
MAX_DESCEND_SPEED : opposite of MAX_ASCEND_SPEED
HORIZONTAL_DEACCELERATION : default 3.8
LEVITATE_STAMINA_MULTIPLIER : Mod default 0.0005
ASCEND_STAMINA_MULTIPLIER  : this value multiply LEVITATE_STAMINA_MULTIPLIER and is used when ascending.
RE_LEVITATE_INTERVAL : set lower value like 0.5(so double tap to cancel levitate) if you dont want to flying too fast by spamming jump bottun.
START_FALL_ANIMATION_FRAME_COUNT : Time to start character initiate falling animation.


Stamina system for re-levitate.
"Air sprint" means spamming re-levitate within AIR_SPRINT_THRESHOLD.
When you air sprint continuously, the cost of air sprint keeps growing (in a geometric sequence).
RE_LEVITATE_COST is used as base cost for this. To reset the cost, stop air sprinting or land on a terrain.
e.g. Let RE_LEVITATE_COST is 20.0 and COMMON_RATIO is 2.0 then the cost of air sprint grows 20.0 -> 40.0 -> 80.0 -> 160.0
set RE_LEVITATE_COST = 0.0 or AIR_SPRINT_THRESHOLD = 0.0 to diable re-levitate stamina system.

AIR_SPRINT_THRESHOLD : if you re-levitate before x sec pass it is considered as air sprinting.
RE_LEVITATE_COST : cost for re-levitate(non air sprint). used as the scale factor in a geometric sequence as well.
COST_ONLY_AIR_SPRINT : set false to enable stamina cost on non air sprinting re-levitate as well.
COMMON_RATIO : higher value to grow the cost quicker. the value between non zero positive(or less than -1.0) to less than 1.0 shrink the cost(who wants that?)
SIMPLIFIED : tick to fix RE_LEVITATE_COST i.e. the cost of air sprint won't grow. equivalent to COMMON_RATIO = 1.0
SAFE_AIR_SPRINT tick to block (only)air sprint automatically when insufficient stamina remains.


Only to interrupt spamming re-levitate. Recommend to use either this or stamina system for re-levitate.
This can be used with re-levitation stamina system but a bit complecated to find a good balance and can be broken when set wrong
If you use this with re-levitation stamina system the valeus have to be `SPAM_RE_LEVITATE_COOLDOWN < AIR_SPRINT_THRESHOLD`
e.g. SPAM_RE_LEVITATE_COOLDOWN = 0.5, AIR_SPRINT_THRESHOLD = 2.0

SPAM_RE_LEVITATE_COOLDOWN : 0.0 to disable



Some ideas of the customization
  • Reduce RE_LEVITATE_INTERVAL to allow canceling levitation with a quicker double tap of the jump button.
  • Increase RE_LEVITATE_INTERVAL to enable canceling levitation by pressing the jump button once.
  • Check POST page for more ideas.