Galactic Colossus can throw units W/ Download (v0.6)

Post here if you want to help developing something for FAF.

Re: Galactic Colossus can throw units

Postby Vee » 03 Aug 2014, 11:52

Vee
Evaluator
 
Posts: 677
Joined: 04 Dec 2013, 20:43
Has liked: 275 times
Been liked: 225 times
FAF User Name: Vee

Re: Galactic Colossus can throw units

Postby Resin_Smoker » 03 Aug 2014, 11:59

Vee wrote:http://www.faforever.com/forums/viewtopic.php?f=2&t=7086



This uses the units sucked in as projectiles.... they are not randomly thrown.
Example: a unit tractored in will be fired towards another unit to do damage.
Resin_Smoker
Evaluator
 
Posts: 858
Joined: 14 Mar 2012, 17:58
Has liked: 54 times
Been liked: 106 times

Re: Galactic Colossus can throw units

Postby Resin_Smoker » 03 Aug 2014, 12:08

Here's a quick video i slapped together: http://www.youtube.com/watch?v=QyXpYbzF ... e=youtu.be
Resin_Smoker
Evaluator
 
Posts: 858
Joined: 14 Mar 2012, 17:58
Has liked: 54 times
Been liked: 106 times

Re: Galactic Colossus can throw units

Postby Vee » 03 Aug 2014, 12:51

Oh I understand now. Cool!
Vee
Evaluator
 
Posts: 677
Joined: 04 Dec 2013, 20:43
Has liked: 275 times
Been liked: 225 times
FAF User Name: Vee

Re: Galactic Colossus can throw units

Postby nine2 » 03 Aug 2014, 13:41

i want one
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Galactic Colossus can throw units

Postby Resin_Smoker » 03 Aug 2014, 18:52

I've updated the first post with an updated video.
Please keep in mind that i am using an improved version from what i had last night.
I now have the projectiles doing the full amount of damage where as before this wasnt possible.

Will upload the new version soon.

Resin
Resin_Smoker
Evaluator
 
Posts: 858
Joined: 14 Mar 2012, 17:58
Has liked: 54 times
Been liked: 106 times

Re: Galactic Colossus can throw units

Postby Resin_Smoker » 03 Aug 2014, 19:27

I've uploaded the new version. Please note any issues / bugs you discover.

Resin
Resin_Smoker
Evaluator
 
Posts: 858
Joined: 14 Mar 2012, 17:58
Has liked: 54 times
Been liked: 106 times

Re: Galactic Colossus can throw units

Postby Resin_Smoker » 04 Aug 2014, 02:26

Noticed a bug...

Code: Select all
WARNING: Error running lua script: ...nce\gamedata\mohodata.scd\lua\sim\defaultweapons.lua(724): Game object has been destroyed
         stack traceback:
            [C]: in function `SetBusy'
            ...nce\gamedata\mohodata.scd\lua\sim\defaultweapons.lua(724): in function <...nce\gamedata\mohodata.scd\lua\sim\defaultweapons.lua:723>


This comes from units that use rotating barrels but otherwise is harmless. I'll correct this when i get ready to do the FAF integration. Beyond this minor issue the script is solid.

Resin
Last edited by Resin_Smoker on 04 Aug 2014, 03:04, edited 1 time in total.
Resin_Smoker
Evaluator
 
Posts: 858
Joined: 14 Mar 2012, 17:58
Has liked: 54 times
Been liked: 106 times

Re: Galactic Colossus can throw units W/ Download (v0.2)

Postby Resin_Smoker » 04 Aug 2014, 03:00

Today I made a ton of improvements to the performance of this units weapons without altering the core stats. Most weapon issues were due to the poor setup of the units firing arc's. By reducing the arc's slightly the GC can better handle close encounters with large number of small units. The best explanation I provide for this is that the weapons are slaved to the units body / mesh within a fixed set of degrees of fire. The weapons total yaw was set greater than the arc of fire so often a weapon would track a target a target beyond it's firing arc in the hope that the target would come back into range later. Obviously this means that this weapon isn't attacking anything while it's tracking the single. By correcting the arcs the weapons are less likely to get fixated on a target and more likely to damage what you want.

Please note that I've included the latest version on the first post of this thread.

Resin
Last edited by Resin_Smoker on 10 Aug 2014, 03:43, edited 1 time in total.
Resin_Smoker
Evaluator
 
Posts: 858
Joined: 14 Mar 2012, 17:58
Has liked: 54 times
Been liked: 106 times

Next

Return to Contributors

Who is online

Users browsing this forum: No registered users and 1 guest