Replaceweapon / Separation

Talk about anything related to old versions of Armada.
1, 2, 3, 4
posted on January 19th, 2008, 11:34 pm
Last edited by Knight on January 19th, 2008, 11:40 pm, edited 1 time in total.
I'm still not understanding how to make this work. I'm not completely inexperienced when it comes to odf mods, I just need to know what weapon i need to modify to make this work.

I know your busy with both the patch project and fleet ops, but can i suggest a guide for the newbies who may like to implement this very cool addition?

please ignore the last part, i just found the guide  :blush:

Since we have the guide, may i suggest an example, completed ODF for it?
posted on January 19th, 2008, 11:46 pm
//Display name for this weapon
wpnName = "Galaxy Class Separation"

//tooltips
tooltip = "FED_GALSEPARATOR"
verboseTooltip = "FED_GALSEPARATOR_V"

//Time Delay between shots - not used
//shotDelay = 0.0

//Location of the button in the speed panel
//buttonSlot = 4

// location of the button in the popup palette
//popupSlot = 5

// Priority of button in the speed panel, this is only
// used if it is non-zero.
buttonPriority = 10

//Type of border to use for this button.
//0 = No border.
//1 = Offensive border.
//2 = Defensive border.
//buttonBorder = 2
special = 1
//Programming Stuff DO NOT CHANGE
classLabel = "ReplaceWeapon"


//this special weapon can be assimilated by the borg tech assimilator
//assimilatable = "fedpod1"
replacement0Class0 = "fprombridge.odf"        // Create Lower Stardrive
replacement1Class0 = "fpromsaucer.odf"        // Create Upper Stardrive
replacement2Class0 = "fpromlow.odf"
replacementCreationType = 3                  // Vessel is reported as separated in Admirals Log
replacementkeepName = 1
replacement0Class0Position = 0,0,0
replacement1Class0Position = 0,0,10   
replacement2Class0Position = 0,0,-10
eventFire = "replaceweapon"
hotkeyLabel = "HOTKEY_F6"


there ya go
posted on January 20th, 2008, 1:00 am
Thanks Blade :) much appreciated
posted on January 20th, 2008, 1:14 am
no problem but can sum one give me an actual situation were the random replace would b used as it seems intresting but i cnt think were to use it
posted on January 20th, 2008, 10:32 am
Last edited by Atlantis on January 20th, 2008, 10:44 am, edited 1 time in total.
An example would be the Chimera from StarFleet Academy. A ship which alters its appearance to look like any other ship (not just the one it's encountering). So giving it an auto-firing replacement weapon with a random choice between various ships (or versions of those ship odf's, modified to include the chimera weapon) and you've got yourself a ship which changes into a random ship every few seconds...

Another use would be Babylon 5 Omega-class Destroyers. These can carry either Aurora or Thunderbolt-class fighters, so this gives it a random chance, as opposed to making a different ship odf for every combination.

As for more conventional uses, I'm not sure at the moment, other than the example given in the guide.
posted on January 20th, 2008, 2:18 pm
ah ok that makes sence kool didnt think of using it to randomly select different fighters being launched
posted on January 20th, 2008, 7:24 pm
Last edited by Lt.Cmdr Worf on January 20th, 2008, 7:27 pm, edited 1 time in total.
Or if you want to have a couple of different refits for say the Rhien in FLOPS the torpedo or disruptor variant. you just build however many you want and then refit them and it'll randomly pick either disruptor or torpedo.

Or you can put two replaceweapons on one ship. and choose either to refit to disruptor or torpedo.
posted on January 22nd, 2008, 8:17 pm
"Metalcost" is not listed under "Replaceweapon" Commands in the other form, but is it just not listed or unavailable?
posted on January 22nd, 2008, 8:33 pm
oh, you are right. no it's there, i just forgot to add it to the list. thanks
posted on January 23rd, 2008, 1:33 am
I'm having a lot of trouble trying to use this to deploy fighters. I've edited the above odf to seperate into fighters and the carrier, but is there anything I need to add to the odf's of the ships i'm using? It's crashing everytime I try and build the ship.
posted on January 23rd, 2008, 2:33 am
Last edited by Lt.Cmdr Worf on January 23rd, 2008, 2:37 am, edited 1 time in total.
does it crash when you use the replaceweapon? or is it crashing when you build the ship that uses the replace weapon?

Be sure you are putting the replaceweapon in the techtree so the computer knows how to use it. I have fighters on my Akira and it works great. here is the code for it

********************************************************

//Display name for this weapon
wpnName = "Fighter Squadron Deployment"

//tooltips
tooltip = "Fighter Squadron Deployment"
verboseTooltip = "Allows the Akira class starship to deploy two squadrons of Peregrine Fighters to harrass
enemy vessels."

//Time Delay between shots - not used
//shotDelay = 0.0

//Location of the button in the speed panel
//buttonSlot = 4

// location of the button in the popup palette
//popupSlot = 5

// Priority of button in the speed panel, this is only
// used if it is non-zero.
buttonPriority = 10

//Type of border to use for this button.
//0 = No border.
//1 = Offensive border.
//2 = Defensive border.
//buttonBorder = 2
special = 1
//Programming Stuff DO NOT CHANGE
classLabel = "replaceweapon"


//this special weapon can be assimilated by the borg tech assimilator
//assimilatable = "fedpod1"
replacement0Class0 = "fperegrine.odf" // Peregrine Squadron
replacement1Class0 = "fperegrine.odf" // Peregrine Squadron
replacement2Class0 = "fperegrine.odf" // Peregrine Squadron
replacement3Class0 = "fperegrine.odf" // Peregrine Squadron
replacement4Class0 = "fperegrine.odf" // Peregrine Squadron
replacement5Class0 = "fperegrine.odf" // Peregrine Squadron
replacement6Class0 = "fperegrine.odf" // Peregrine Squadron
replacement7Class0 = "fperegrine.odf" // Peregrine Squadron
replacement8Class0 = "fperegrine.odf" // Peregrine Squadron
replacement9Class0 = "fperegrine.odf" // Peregrine Squadron
replacement10Class0 = "fperegrine.odf" // Peregrine Squadron
replacement11Class0 = "fperegrine.odf" // Peregrine Squadron
replacement12Class0 = "fcruise1WO.odf" // Akira Class wo/ fighters
replacementCreationType = 3 // Vessel is reported as separated in Admirals Log

hotkeyLabel = "HOTKEY_F6"

***************************************************
posted on January 23rd, 2008, 2:42 am
u tried replacing the class lable to ReplaceWeapon instead i think its case sensitive
posted on January 23rd, 2008, 3:57 am
For some reason the crash is still happening...

Could you tell me exactly what code you wrote in for the Akira and fighter and the techtree so I can see if i'm missing something? thanks
posted on January 23rd, 2008, 10:38 am
ok this may b a reeally dumb q but u have installed the 2.5patch aint u
posted on January 23rd, 2008, 12:42 pm
Greathor wrote:For some reason the crash is still happening...

Could you tell me exactly what code you wrote in for the Akira and fighter and the techtree so I can see if i'm missing something? thanks

you could also generate a bug report and send it to my email adress. put your name in the description and i will see if i can help you with it
1, 2, 3, 4
Reply

Who is online

Users browsing this forum: No registered users and 2 guests