Page 1 of 1

Subversion Rifle for a Cerberizer

Posted: Sat Jan 18, 2014 2:57 am
by Vadam
While rummaging through some old FE-related posts, I noticed one of the ideas discussed was a cerberizer. The idea was eventually shot down, but I think it would be a cool addition. I figured the best way to go about this would be to make some kind of gun tower equipped with a subversion rifle-type weapon.

Whilst looking through G66 to see how the rifle works, I could not find anything. I saw no obvious ODF lines that would indicate the effect the rifle has. Either I'm missing something and didn't look hard enough, which is a possibility, or it relies on something other than ODFs to work.

Assuming I can get this to work, is their any way to control the unit and get it to appear on my HUD once it is changed to my side? As opposed to having it just become friendly.

Course what would be amazing is if the tower could "apply" a certain texture to the unit if the subversion works, so the unit actually looks cerberized, but that's just wishful thinking.

Re: Subversion Rifle for a Cerberizer

Posted: Sat Jan 18, 2014 3:11 am
by General BlackDragon
Yes, it's done via DLL.

Hud yes, Texture no. You'd have to physically swap out the unit with another. Could be done but a pain to setup.

Re: Subversion Rifle for a Cerberizer

Posted: Sat Jan 18, 2014 3:24 am
by Vadam
Oh great. Something I don't know anything about. But I guess I have to start somewhere.

Re: Subversion Rifle for a Cerberizer

Posted: Sat Jan 18, 2014 4:51 am
by Nielk1
Cerberizing of units by mission script is quite doable. If it is a big enough thing in a mod then it would be wise to add a custom ODF line to the ODFs for the DLL to use, something like CerberizedForm = "cvitank" in ivtank.odf. Then the DLL would never need to be edited again to add more units.

Re: Subversion Rifle for a Cerberizer

Posted: Sat Jan 18, 2014 5:42 am
by Vadam
The problem here is that I don't know anything about DLLs. Let alone how to even open the file. What program do you guys use to open the files?

Re: Subversion Rifle for a Cerberizer

Posted: Sat Jan 18, 2014 6:42 am
by Red Devil
i usually use Notepad or Notepad++.

Re: Subversion Rifle for a Cerberizer

Posted: Sat Jan 18, 2014 6:50 am
by Nielk1
DLLs cannot be edited directly, you need the source code. This is posted where the 1.3 patch download is. You do *not* use notepad++ to edit these for the simple fact that they already come in Visual Studio 2008 / Visual C++ 2008 Express projects and solutions. The Express edition is the free one.

Re: Subversion Rifle for a Cerberizer

Posted: Sat Jan 18, 2014 2:23 pm
by Ded10c
Cerberi assimilation technology can be seen in action in one of the 1.2 FE missions. The functionality only works there as the script was broken (as most were) in the move to 1.3.

The technology is not seen in the Cerberi build tree for three reasons. It'd cause chaos in-game (this is why the MAS grenade was removed from BZ1), it isn't realistic (in Battlezone terms) and it contradicts the established backstory. The assembler is a massive structure, its technology too bulky to be wielded as a weapon.


Of course, there's no reason you can't make the thing. It's it being used in a semi-official capacity that I object to.