Author Topic: [7.2] Movement directions mod + Directional Animations  (Read 2549 times)

Offline The Bigfoot

[7.2] Movement directions mod + Directional Animations
« on: September 27, 2015, 04:18:25 am »
Movement Directions Mod
(+Counter attack fix)

Have you ever wanted to turn around and never been able to?
Have you ever wanted to look where you're going when moving west?
Then this mod is for you. Using the revolutionary idea of turning, you need never trip over or walk into things behind you!

New: Dynamic animations can detect where attacks are coming from and display as needed!

Features!

When you move a ship to the right or left, if it needs to turn, it will!
If you fire at a ship behind you, you also turn rather than bending light 180*
Now you can retreat by flying away rather than towards the enemy!
Most importantly... Less "beep beep beep, reversing captain!"

This mod detects when you move the ship in reverse and flips the battle label as well as triggering the reversing voiceover.


But there's more!
Bugfix!

Now the Havoc and other Ryders can no longer troll Icari by shooting her when she gets close and then moving away!
This code corrects the counterattack bug making the Phoenix much more useful.


Bonus Feature!
Blindside!

It's always annoying when things hit you when you arn't looking, and now YOU can be annoying.
Attacking an enemy from behind will deal an additional 10% damage and hit with 10% more accuracy.
Be aware though, the enemy is ruthless and will take advantage of this if you try to run...

This is disableable and customizable at the start of the rpy file


Requirements

This mod will run on its own, without any other files but it will be improved by includeing the Function files below (M52 ect).
If not included:
Player ships may start a battle facing west rather than east and enemy ships in the victory screen will be untidy

Use

Just drop the rpy file from the zip in sunrider/game
Download the ModFramework files and drop them in sunrider/game (Modframework.rpy and Modframework_Dynamic animations.rpy)
https://drive.google.com/open?id=0B0D6n1uinVVzTVJ0YzdfM2ZrU2M

Compatibility

This should be entirely compatible with everything.


14-12-15 Edit: The movement fix is now included directly in the ModFramework.rpy here (http://innomenpro.com/forums/index.php?topic=1581.0)
The Movement mod has been updated to work with it and should be overwritten
13-1-16 Edit: Fixed a bug that could cause damage to double... Was an entertaining bug
13/3/16 Edit: Added Dynamic attack/hit animations




« Last Edit: March 13, 2016, 09:52:02 pm by The Bigfoot »
I make spaceships! - http://innomenpro.com/forums/index.php?topic=1366.0
Massive Modding tutorial here: http://innomenpro.com/forums/index.php?topic=1251.0
New Award: John Titor [Sep 17, 2015, 10:16:07 PM]:   BigFoot is the official Evil Genius fro mteh forum

Offline Marx-93

Re: [7.2] Movement directions mod + Counter attack fix
« Reply #1 on: September 27, 2015, 08:48:42 am »
Wow, this seems very useful. Thanks Bigfoot. I'm a little iffy on the reversing (seems like a very nice touch, but also the kind that might unknowingly make some kind of mission fairly harder than it should be), but being able to activate it or not makes it perfect.
Why can only the evil have empires, power and majestic theme music? I reclaim the possibility of creating the Federal-democratic-free Empire! A (democratic) tyranny fueled by the Power of Love!

Started writing. You can check it out here: Home

Offline ShadowX

Re: [7.2] Movement directions mod + Counter attack fix
« Reply #2 on: September 28, 2015, 12:34:28 am »
Wow, this seems cool. Short range warp behind them is going to come in handy. 'Disableable" XD
Spoiler
Your love was handmade for somebody like me
Come on now, follow my lead
I may be crazy, don't mind me
Say, boy, let's not talk too much~💕

Offline Inaho Rowe

Re: [7.2] Movement directions mod + Counter attack fix
« Reply #3 on: September 29, 2015, 04:23:23 am »
now we just need to be able to shoot the canon at the back of sunrider XD

well nice mod seriously XD
-a new world with new depth-
"graduated from ryder pilot and enginering course
finnaly got to pilot my own ryder
still an long way until being a captain of my future assault carrier or even a commender of a litle fregate.....but i'm on my way to the top."

Offline NewAgeOfPower

Re: [7.2] Movement directions mod + Counter attack fix
« Reply #4 on: September 28, 2015, 09:26:30 pm »
Very cool.
Working on a collaborative Sci-fi novella. Teaser here.

Feedback would be appreciated.

Offline The Bigfoot

Re: [7.2] Movement directions mod + Counter attack fix
« Reply #5 on: October 02, 2015, 10:01:40 pm »
Wow, this seems very useful. Thanks Bigfoot. I'm a little iffy on the reversing (seems like a very nice touch, but also the kind that might unknowingly make some kind of mission fairly harder than it should be), but being able to activate it or not makes it perfect.

Honestly I cant see a single situation where it won't hurt you more than them! Whenever you try to take advantages out of it you are almost certainly going to be woefully unprotected and get horribly destroyed, especially since PACT can spawn behind you!  ;D

I might make an option that only player ships get the bonus effects but that does seem a bit cheaty...

Wow, this seems cool. Short range warp behind them is going to come in handy. 'Disableable" XD

Disableable should be a word!  :D

If you get SRW to be consistently useful with this then let me know, whenever I try it then the SR is just hit really hard... Although dropping some rockets with an extra 10% dmg would be pretty fun.
I make spaceships! - http://innomenpro.com/forums/index.php?topic=1366.0
Massive Modding tutorial here: http://innomenpro.com/forums/index.php?topic=1251.0
New Award: John Titor [Sep 17, 2015, 10:16:07 PM]:   BigFoot is the official Evil Genius fro mteh forum

Offline The Bigfoot

Re: [7.2] Movement directions mod + Counter attack fix
« Reply #6 on: October 14, 2015, 12:31:39 am »
Updated to stop a glitch where a ship that hadn't moved/fired/been shot at could upset the victory screen

Wish I knew about this earlier but worked out it's possible to extract all ship classes from the store item in Renpy, including mod ships and apply a blanket modification, even on mod ships so long as your code runs after their definition! Pretty cool stuff for game-wide mods or if you want to modify a ship class based on its attributes as normally you can't check ship classes for attributes as they are actually Renpy conversions of classes rather than python classes.

Code: (If it's usefull) [Select]

init 5 python:
    storestr = []
    storeships = []
   
    for item in dir(store): # store is not iteratable so instead copy all the objects as strings
        storestr.append(item)
       
    for item in storestr: # if battleship class, store in P
        try:
            if type(eval(item)) == type: # Eval the string so you get the actual object.
                if eval(item).__base__ == Battleship: # Check for base object
                    storeships.append(item)
        except: pass

    for item in storeships:
        eval(item).East = eval(item)().lbl # Again working with strings so wrapping it in an eval lets you modify the class directly.
        eval(item).West = eval(item)().lbl

I make spaceships! - http://innomenpro.com/forums/index.php?topic=1366.0
Massive Modding tutorial here: http://innomenpro.com/forums/index.php?topic=1251.0
New Award: John Titor [Sep 17, 2015, 10:16:07 PM]:   BigFoot is the official Evil Genius fro mteh forum

Offline Vaendryl

Re: [7.2] Movement directions mod + Counter attack fix
« Reply #7 on: October 14, 2015, 01:41:49 am »
clever :)
(╯□)╯︵ uoıʇdǝɔxǝ
latest version: 7.2
RTFW
Mark 5:9

Offline The Bigfoot

Re: [7.2] Movement directions mod + Counter attack fix
« Reply #8 on: March 13, 2016, 09:46:15 pm »
Updated with all new and shiny Directionally Dynamic Destruction animations, Just redownload the mod, the Modframework file and Modframework_dynamic animations file

Ships now also fire in the direction of the enemy, the lasers then hit the enemy... From that direction!
Now you can actually shoot an enemy in the back!

I know most people who play will be board sick of watching the animations by now (apart from Inaho) but hopefully there will be people from the new forum also migrateing over here.

Also I have a new respect for Vaendryl, coding 25K lines of animations... Started going mad just needing to do 10K (and a lot of that was just modified!)



I make spaceships! - http://innomenpro.com/forums/index.php?topic=1366.0
Massive Modding tutorial here: http://innomenpro.com/forums/index.php?topic=1251.0
New Award: John Titor [Sep 17, 2015, 10:16:07 PM]:   BigFoot is the official Evil Genius fro mteh forum

Offline Inaho Rowe

Re: [7.2] Movement directions mod + Directional Animations
« Reply #9 on: March 13, 2016, 10:23:04 pm »
*inaho is pulled and forced to download* alright alright i get it  dude, i'll download, but i won't be able to try i t out tonight, tommorrow at best *launch the download*
-a new world with new depth-
"graduated from ryder pilot and enginering course
finnaly got to pilot my own ryder
still an long way until being a captain of my future assault carrier or even a commender of a litle fregate.....but i'm on my way to the top."

Offline The Bigfoot

Re: [7.2] Movement directions mod + Directional Animations
« Reply #10 on: March 13, 2016, 10:33:40 pm »
*inaho is pulled and forced to download* alright alright i get it  dude, i'll download, but i won't be able to try i t out tonight, tommorrow at best *launch the download*

Good... Good... Wont need to chain you to your PC then
I make spaceships! - http://innomenpro.com/forums/index.php?topic=1366.0
Massive Modding tutorial here: http://innomenpro.com/forums/index.php?topic=1251.0
New Award: John Titor [Sep 17, 2015, 10:16:07 PM]:   BigFoot is the official Evil Genius fro mteh forum

Offline Vaendryl

Re: [7.2] Movement directions mod + Counter attack fix
« Reply #11 on: March 14, 2016, 12:50:10 pm »
Also I have a new respect for Vaendryl, coding 25K lines of animations... Started going mad just needing to do 10K (and a lot of that was just modified!)
Sam made all the animations. I would've done the whole thing very differently. I did do the Melee animations, and those probably give an idea how I would've gone about things.
(╯□)╯︵ uoıʇdǝɔxǝ
latest version: 7.2
RTFW
Mark 5:9

Offline The Bigfoot

Re: [7.2] Movement directions mod + Counter attack fix
« Reply #12 on: March 14, 2016, 06:33:36 pm »
I did do the Melee animations, and those probably give an idea how I would've gone about things.

Diabolically? I haven't dynamicized them yet, I wasn't sure how to.
I make spaceships! - http://innomenpro.com/forums/index.php?topic=1366.0
Massive Modding tutorial here: http://innomenpro.com/forums/index.php?topic=1251.0
New Award: John Titor [Sep 17, 2015, 10:16:07 PM]:   BigFoot is the official Evil Genius fro mteh forum

Offline Inaho Rowe

Re: [7.2] Movement directions mod + Directional Animations
« Reply #13 on: March 26, 2016, 08:22:30 pm »
sooooooooooooooooorry i had so much shit happening in my mife i didn't get to try your mod! XDi'll get to it tommorow...if the commboxdon't hold me all day
better
-a new world with new depth-
"graduated from ryder pilot and enginering course
finnaly got to pilot my own ryder
still an long way until being a captain of my future assault carrier or even a commender of a litle fregate.....but i'm on my way to the top."