hey all!! Need assistance

I want my 15 rapid-fire quantum torpedo launchers Uber-Defiant now! - Get help from modders. Share your work. Discuss modifications.
posted on December 2nd, 2011, 2:11 pm
I am running my personal mod off of FLOPS 3.2.5. I am trying to write a replace weapon for a borg ship that will replace it but keep the same name, stats and everything... but have it be so that every 15 seconds it adapts to different weaponry.. soo every 15 sec (or so depending on the balancing) I want the ship to shift to adapt to different weapons. Im gonna start with the Feds and then add other races weapons as I go along...sooo for instance.. one version would be impervious to all weapons fire for a short time... then almost as if the Starfleet ships retune their weapons...some weapons would do damage..then the borg would adapt and other those weapons would be useles..then other weapons would do damage.. and so forth and so on.. I have a pretty good idea how i want to do it with the replaceweapon...but i don't know how to get started even writing the odf.. what replaceweapon commands to use precisely, etc. Any help would be appreciated. Thanks!!
posted on December 2nd, 2011, 2:25 pm
To be honset, Im not sure that would work.  The problem is, the damage dealt to a ship is defined in every weapons ordinance, so to do that you would have to write every state of your borg ship into every single weapon ordinance in the game. :sweatdrop: 

To make the ship replace though, you simply need one replace weapon odf and a bunch of ships all with the same weapon.  in the weapon it would say something like:

replacement0condition = "borgship1"
replacement0class0 = "borgship2"
replacement1condition  = "borgship2"
replacement1class0 = "borgship3"

etc.

and just make it replacementinstantplayer = 1 and replacementdelay = 15


Don't quote me on the spelling on the lines though.  Look them up in the guide to make sure they are right. :thumbsup:

ReplaceWeapon - The Hitchhiker's Guide to Fleet Operations

So that will make it replace, but to get it to adapt to every weapon in the game would take ages for anyone but the devs. :sweatdrop:
posted on December 2nd, 2011, 2:49 pm
okay..ill see what happens when i try it... i knew replacementinstantai was a command i could use.. im thinking like 5 or 6 different versions i could use..but ill start with one and see what happens...
posted on December 4th, 2011, 4:06 pm
Last edited by dragonmalice on December 4th, 2011, 4:21 pm, edited 1 time in total.
This sounds like it could be really cool - good luck!

Since all the ships will be identical, it may be a good idea to give them different tool tips until you're sure they're working ("federation", "romulan", etc.).

Unless you want the adaptations to be done in the same order every time, you probably want to make the replacements random (like warpins).

replacementmode = 0
replacementkeepowner = 0
replacementmaintainorders = 1
transferstats = 1
replacementKeepName = 1
classlabel = "replaceweapon"
replacementdelay = 15

replacement0class0 = "borg1"
replacement0class0randomweight = 33
replacement0class1 = "borg2"
replacement0class1randomweight = 33
replacement0class2 = "borg3"
replacement0class2randomweight = 34


This way every ship of the same class can fire the same weapon with unpredictable results.  The only downside is that there is a chance of getting the current ship back in the replacement, but that would be less likely if you have a lot of replacement options. 

I've never tried it, but I'm thinking you may also be able to use the randomweight lines in Zaxxon's example to avoid the duplicate possibility.

replacementmode =2

replacement0condition = "borgship1"
replacement0class0 = "borgship2"
replacement0class0randomweight = 50
replacement0class1 = "borgship3"
replacement0class1randomweight = 50

replacement1condition = "borgship2"
replacement1class0 = "borgship1"
replacement1class0randomweight = 50
replacement1class1 = "borgship3"
replacement1class1randomweight = 50

replacement2condition = "borgship3"
replacement2class0 = "borgship1"
replacement2class0randomweight = 50
replacement2class1 = "borgship2"
replacement2class1randomweight = 50


I also think you're in for a lot of pain trying to edit all the weapon odf's.  You really don't want to do that more than once, so plan ahead.  Plan out all the targetting info for all of the ships you're planning, and be ready to put everything in place in the weapon odf's before you start.

Also keep in mind that all weapons that are firing on the ship when it gets replaced are going to miss - that could add up every 15 seconds.
Reply

Who is online

Users browsing this forum: No registered users and 5 guests