Forged Alliance Forever Forged Alliance Forever Forums 2020-08-31T18:06:46+02:00 /feed.php?f=41&t=19238 2020-08-31T18:06:46+02:00 2020-08-31T18:06:46+02:00 /viewtopic.php?t=19238&p=186386#p186386 <![CDATA[Re: Resurrecting the Necro]]>
Northern-Newbie wrote:
I know my Answer comes quite late indeed but Uveso has already more or less repaired an Version of the Necro Mod provided by me from the Old Vault

We still need to have someone work on it and make some Balance Adjustments cause of the way we solved the Problems the Mod had and we also are in quite the need of some Models which arent literally just copied Engineers fromt he Factions

Can you submit a PR?

Statistics: Posted by neagix — 31 Aug 2020, 18:06


]]>
2020-08-11T12:47:43+02:00 2020-08-11T12:47:43+02:00 /viewtopic.php?t=19238&p=186289#p186289 <![CDATA[Re: Resurrecting the Necro]]> Statistics: Posted by mirddes — 11 Aug 2020, 12:47


]]>
2020-07-30T20:11:55+02:00 2020-07-30T20:11:55+02:00 /viewtopic.php?t=19238&p=186006#p186006 <![CDATA[Re: Resurrecting the Necro]]>
We still need to have someone work on it and make some Balance Adjustments cause of the way we solved the Problems the Mod had and we also are in quite the need of some Models which arent literally just copied Engineers fromt he Factions

Statistics: Posted by Northern-Newbie — 30 Jul 2020, 20:11


]]>
2020-05-14T01:00:55+02:00 2020-05-14T01:00:55+02:00 /viewtopic.php?t=19238&p=184114#p184114 <![CDATA[Re: Resurrecting the Necro]]>
  • disallow buildings/experimentals resurrection
  • fix bug with multiple spawns
  • give only 1 mass and 1 energy upon reclamation
  • shield and fuel set to 0 after resurrection

I could not figure out yet how to set aircrafts to landed upon respawning, and unfortunately I don't think I can copy the pose of the wreckage to the new unit unless somehow I can create it when the wreckage still exists and hide it for a while...

Statistics: Posted by neagix — 14 May 2020, 01:00


]]>
2020-05-13T12:52:34+02:00 2020-05-13T12:52:34+02:00 /viewtopic.php?t=19238&p=184086#p184086 <![CDATA[Re: Resurrecting the Necro]]>
Uveso wrote:
neagix wrote:Did you try the mod? Experimentals are not allowed; no unit spawns with 100% health.

And yes i tested it.

You are right, I thought the changes I did were working but they are not!

Uveso wrote:
[edit]
Code:
self.RecBP.CategoriesHash.EXPERIMENTAL

This does not work.
spec.AssociatedBP (self.RecBP) is holding only the blueprintID, not the blueprint data.

hint:
Code:
__blueprints[spec.AssociatedBP].CategoriesHash.EXPERIMENTAL


Thanks, this needs to be fixed. You can make a PR if you like (for attribution).

Right now this is just a pet project, if AI can use them with some reasonable strategy then it then it would be more interesting.

Statistics: Posted by neagix — 13 May 2020, 12:52


]]>
2020-05-13T11:43:25+02:00 2020-05-13T11:43:25+02:00 /viewtopic.php?t=19238&p=184084#p184084 <![CDATA[Re: Resurrecting the Necro]]>
neagix wrote:
Did you try the mod? Experimentals are not allowed; no unit spawns with 100% health.


You are right, it was the shield at 100% not the health bar.
And yes i tested it.

10 necros working on a fatboy wreck:
necro1.png

and after reviving the experimental:
necro2.png


[edit]
Code:
self.RecBP.CategoriesHash.EXPERIMENTAL

This does not work.
spec.AssociatedBP (self.RecBP) is holding only the blueprintID, not the blueprint data.

hint:
Code:
__blueprints[spec.AssociatedBP].CategoriesHash.EXPERIMENTAL

Statistics: Posted by Uveso — 13 May 2020, 11:43


]]>
2020-05-13T09:13:51+02:00 2020-05-13T09:13:51+02:00 /viewtopic.php?t=19238&p=184081#p184081 <![CDATA[Re: Resurrecting the Necro]]>
Uveso wrote:
Yes you can make the AI use these units.
You need to create a a platoontaplate for the units.
Then you need to make a platoonbuilder to build the units.
And you need an AI plan to move those units around.

Thanks, will look into this.

Uveso wrote:
If 2 necros revive a singe unit that you get 2 brand new units.
This was prevented in the original mod by checking the position of the new unit. (hook in unit.lua)

I missed this. Good catch.

Uveso wrote:
Also if you revive then you get the resource from the reclaim plus reviving the unit.
So i would destroy and revive units all the time for a nice eco cheat.

I need to think how to solve this. Might be tricky.

Uveso wrote:
And if you revive experimentals (or any other unit) they spawn always with 100% health,
no matter how much mass i already reclaimed from the wreck.

Did you try the mod? Experimentals are not allowed; no unit spawns with 100% health.

Statistics: Posted by neagix — 13 May 2020, 09:13


]]>
2020-05-13T02:14:20+02:00 2020-05-13T02:14:20+02:00 /viewtopic.php?t=19238&p=184076#p184076 <![CDATA[Re: Resurrecting the Necro]]> You need to create a a platoontaplate for the units.
Then you need to make a platoonbuilder to build the units.
And you need an AI plan to move those units around.

But there are still some problems to solve in your mod.

If 2 necros revive a singe unit that you get 2 brand new units.
This was prevented in the original mod by checking the position of the new unit. (hook in unit.lua)

Also if you revive then you get the recource from the reclaim plus reviving the unit.
So i would destroy and revive units all the time for a nice eco cheat.

And if you revive experiementals (or any other unit) they spawn always with 100% healt,
no matter how much mass i already reclaimed from the wreck.

Statistics: Posted by Uveso — 13 May 2020, 02:14


]]>
2020-05-12T22:35:58+02:00 2020-05-12T22:35:58+02:00 /viewtopic.php?t=19238&p=184071#p184071 <![CDATA[Re: Resurrecting the Necro]]>
Uveso wrote:
i have fixed some issues:


Thanks! I thought this was possible but I could not do it myself.

I noticed that the new units you added have a correct animation for building/repairing/reclaiming but the Terran one does not. Is it because the original script has wrong bones definitions?

On a different topic: would it be possible to make the various AIs use these units? I wonder if there is some function to hook to.

Statistics: Posted by neagix — 12 May 2020, 22:35


]]>
2020-05-12T20:29:40+02:00 2020-05-12T20:29:40+02:00 /viewtopic.php?t=19238&p=184070#p184070 <![CDATA[Re: Resurrecting the Necro]]>
i have fixed some issues:

Removed unused version folder
Moved icon folder to the right place
Moved units out of the hook folder.
Fixed icon background
Fixed IconSortPriority
Fixed SelectionPriority
Fixed wrong class names
Added Seraphim and Nomads necro
Reduced mod size from 2.96 MB to 0.95 MB
(using model and shader from the original unit)

Pull request is up:
https://github.com/neagix/faf-necro/pull/1

Statistics: Posted by Uveso — 12 May 2020, 20:29


]]>
2020-05-12T09:18:55+02:00 2020-05-12T09:18:55+02:00 /viewtopic.php?t=19238&p=184056#p184056 <![CDATA[Re: Resurrecting the Necro]]> https://github.com/neagix/faf-necro

Statistics: Posted by biass — 12 May 2020, 09:18


]]>
2020-05-14T01:01:47+02:00 2020-05-12T09:15:28+02:00 /viewtopic.php?t=19238&p=184055#p184055 <![CDATA[Resurrecting the Necro]]>
I am relatively new to FA(F) and modding but yesterday I decided to fix the broken Necro bot from mod DB, inspired by the Total Annihilation Necro bot.

Repository of the mod:

https://github.com/neagix/faf-necro

You can download as a zip and install it under your documents folder:

My Games/Gas Powered Games/Supreme Commander Forged Alliance/Mods/necro


What works:
  • resurrection of land/air/ship wreckage (no buildings or experimentals, by design)
  • resurrected units start with 1/10th of ReclaimLeft*MaxHealth
  • start repair right after resurrection

What needs to be fixed:
  • build/repair/reclaim animation (the original model was copied from vanilla FA I suppose, and it's broken) partially fixed
  • icon placeholder thanks to @Uveso
  • orientation of resurrected unit does not match original (perhaps not possible to fix?)
  • airplanes are spawned in flight
  • use a BuildRate of 2 for reclaim and a faster speed for repair (right now it uses 2 for both)
  • use a bipedal unit design like the original Necro?

I am looking for someone that can help me with the above, thanks! You can also use the GitHub repo.

Statistics: Posted by neagix — 12 May 2020, 09:15


]]>