Loading...
0 files liked
3 comments
0 videos
0 uploads
2 followers
  • Ecdcb3 url

    Regarding the postfx filter I suggested adding in your mod in the previous comment, I found the function _START_SCREEN_EFFECT(char *effectName, int playLength, BOOL loop) (http://www.dev-c.com/nativedb/func/info/2206bf9a37b7f724) but I don't know how to find the name of the different effects in the game files.

    Xoves 21 de Maio de 2015
  • Ecdcb3 url

    Hi @Levin
    I tested the version 1.3 and I really liked your mod, but as a feedback, I found some things that could improve the experience :)

    1. If no key is pressed when flying, the player doesn't fly in a straight line parallel to the ground. Instead he gains altitude. This is caused in the line 108 of the script.

    -Original: ENTITY.APPLY_FORCE_TO_ENTITY(player, 1,0,0,0.275, 0,0,0, true, false, true, true, true, true).
    -My fix: ENTITY.APPLY_FORCE_TO_ENTITY(player, 1,0,0,0.12, 0,0,0, true, false, true, true, true, true)

    2. When pressing the key S, there's no acceleration and the change in the flight direction is too brusque. For gaining altitude more gradually, I made a few lines (I'm a newbie in coding so maybe there's a better workaround for it :p)

    -Original: if(parastate == 0 and velocity.z < 40)then
    if(get_key_pressed(Keys.S)or CONTROLS.IS_CONTROL_PRESSED(2,196))then
    ENTITY.SET_ENTITY_VELOCITY(player, velocity.x, velocity.y, velocity.z+1.5)
    end
    end

    -Fix: if(parastate == 0 and velocity.z < 25)then
    if(get_key_pressed(Keys.S)or CONTROLS.IS_CONTROL_PRESSED(2,196))then
    ENTITY.SET_ENTITY_VELOCITY(player, velocity.x, velocity.y, velocity.z+0.2)
    end
    end
    if(parastate == 0 and velocity.z < 40 and velocity.z > 23)then
    if(get_key_pressed(Keys.S)or CONTROLS.IS_CONTROL_PRESSED(2,196))then
    ENTITY.SET_ENTITY_VELOCITY(player, velocity.x, velocity.y, velocity.z+1.5)
    end
    end

    -------------------------------------------
    The full 1.3 with these 2 fixes: http://codeviewer.org/view/code:5132
    -------------------------------------------
    Suggestions:

    1. air break + opposite flight direction impulse. (Tried it by ENTITY.APPLY_FORCE_TO_ENTITY and each velocity vector multiplied by -1 but didn't work, idk why :( ). Here's an example: http://www.youtube.com/watch?v=7phiJ-vxr0A&amp;t=1m43s

    2. A ragdoll on command would be nice for doing "tricks" when flying. I noticed that, when crashing against something and entering ragdoll, I can still reenter flight mode by pressing Shift+Control, which means flying in an another direction fastly. Being able to do this on the fly would be awesome.

    3. PostFx filter. There are some already in the game files that could look great when pressing turbo (shift or ctrl). Here's one of them (http://i.gyazo.com/ebf8e21e9975cebb6986090a34f7f198.gif) The Endeavour trainer, which can apply them, is ASI instead of LUA, so I don't know if it can be made with this mod.
    ---------------------

    Thanks for the mod again!

    Expand to read the full comment
    Xoves 21 de Maio de 2015
  • Ecdcb3 url

    The mod is nice, but the controls are a bit poor. I would suggest fixing the camera to the player's orientation when turning left/right, just like when flying planes. Having the flight direction ditached from the camera makes a bit hard to adjust the direction.

    Mércores 20 de Maio de 2015