Adding an Avatar (for Fed)

I want my 15 rapid-fire quantum torpedo launchers Uber-Defiant now! - Get help from modders. Share your work. Discuss modifications.
1, 2, 3, 4
posted on June 13th, 2009, 3:46 am
So I tried my hand at adding an avatar for the Federation to give them a total of three. Not really successful after a couple hours of lots of renaming, cutting, copying, pasting, and some photoshopping.

So, my question here is does anyone know what I'm doing wrong? Because the new avatar will not show up when I start a game. :(

The starting starbase (fed_outpostS.odf)
Code: Select all
weapon1 = "avatar_fed_mayson"
weaponhardpoints1 = "root"
weapon2 = "avatar_fed_risner"
weaponhardpoints2 = "root"
weapon3 = "avatar_fed_walker"
weaponhardpoints3 = "root"


Now, with that I've also created the new avatar file (avatar_fed_walker.odf)
Code: Select all
wpnname = "Admiral Benjamin Walker"
tooltip = "Rear Admiral Benjamin Walker"
verbosetooltip = "AUTOTOOLTIP-avatar_fed_walker.odf"
buttonslot = 3
replacement0class0 = "fed_outpostX"
replacementevent = "AvatarWalker"
replacementkeepname = 1
replacementdontremovefootprint = 1
replacementinstantai = 1
overrideceasefire = 1
classlabel = "replaceweapon"
special = 1
replacementmaintainorders = 1
replacementregisterasnew = 0
replacementcreationtype = 1
speakonattack = 0
attackspeech = 0


Now keying off that, I assume that my next, and only step would be to create the relevant starbase (fed_outpostX.odf)
Code: Select all
basename = "fed_outpost"
avatarboxicon = "b_avatar_fed_walkerS"
avatarboxtooltip = "AUTOTOOLTIP-avatar_fed_walker.odf_WithName"
builditem0 = "fed_mediterraneanX"
builditem1 = "fed_mandrilX"
builditem2 = "fed_venture"
builditem3 = "fed_newtonX"
builditem4 = "all_delay"
builditem5 = "all_delay"
builditem6 = "all_delay"
builditem7 = "all_delay"
builditem8 = "all_delay"
builditem9 = "all_supply_routes1"
builditem9availability = 32
builditem10 = "all_supply_routes2"
builditem10availability = 40
builditem11 = "all_supply_routes3"
builditem11availability = 40
builditem12 = "all_supply_routes4"
builditem12availability = 40
builditem13 = "all_supply_routes5"
builditem13availability = 8
builditem14 = "all_delay_30seconds"
builditem15 = "all_delay_60seconds"
builditem16 = "all_delay_90seconds"
pushbuilditem0 = "fed_ventureS"
pushbuilditem1 = "fed_mediterraneanXS"
pushbuilditem2 = "fed_mediterraneanXS"
weapon1 = "fedW_outpost1"
weaponhardpoints1 = "hp01" "hp02" "hp03" "hp04"
weapon2 = "fedW_outpost1"
weaponhardpoints2 = "hp05" "hp06"
weapon3 = "fedW_outpost1"
weaponhardpoints3 = "hp07" "hp08"
weapon4 = "fed_tachion_scan"
weaponhardpoints4 = "hp01"
weapon5 = "all_detection"
weaponhardpoints5 = "root"
weapon6 = "fed_outpost_upgradeD"
weaponhardpoints6 = "root"
weapon7 = "fed_outpost_upgradeW"
weaponhardpoints7 = "root"
weapon8 = "all_ai_supply"
weaponhardpoints8 = "root"
classlabel = "starbase"
unitname = "Outpost"
tooltip = "Outpost"
verbosetooltip = "AUTOTOOLTIP-fed_outpost.odf"
hotkeylabel = "GAME-HOTKEY-F1"
race = "unitedfederation"
buildtime = 150
crewcost = 1250
maxcrewgain = 5000
dilithiumcost = 2000
tritancost = 1000
worthxp = 305
maxhealth = 1552
curhealth = 1552
healthrate = 1.818
maxshields = 5197
curshields = 5197
shieldrate = 7.281
shieldgeneratorhitpoints = 413
engineshitpoints = 0
weaponshitpoints = 413
lifesupporthitpoints = 413
sensorshitpoints = 413
maxspecialenergy = 476
specialenergyrate = 3.966
fireball = "x_building2_explosion"
eventselect = "FederationOutpostSelect"
facility = 1
combat = 1
transporter = 1
builder_ship = 1
animation = 2
footprintbuffer = 120.0f
northbuffer = 170.0
overlaysod = "fed_s_shuttlesL"
attackpower = 1
intrinsicvalue = 1
buildhardpoint = "hp99"
possiblecraftnames = "Starbase 208" "Starbase 219" "Starbase 264" "Starbase 268" "Starbase 270" "Starbase 273" "Starbase 278" "Starbase 279" "Starbase 283" "Starbase 288" "Starbase 297" "Starbase 299" "Starbase 301" "Starbase 304"

"Starbase 314" "Starbase 333" "Starbase 336" "Starbase 340" "Starbase 341" "Starbase 349" "Starbase 350" "Starbase 356" "Starbase 357" "Starbase 362" "Starbase 364" "Starbase 370" "Starbase 371" "Starbase 375" "Starbase 377" "Starbase

378" "Starbase 381" "Starbase 382" "Starbase 397" "Starbase 398" "Starbase 399" "Starbase 400" "Starbase 401" "Starbase 404" "Starbase 411" "Starbase 427"
enginestargethardpoints = "hp01" "hp02" "hp03" "hp04" "hp05" "hp06" "hp07" "hp08"
lifesupporttargethardpoints = "hp09" "hp10" "hp11" "hp12" "hp13" "hp14" "hp15" "hp16"
weaponstargethardpoints = "hp01" "hp02" "hp03" "hp04" "hp05" "hp06" "hp07" "hp08"
shieldgeneratortargethardpoints = "hp17" "hp18" "hp19" "hp20" "hp21" "hp22" "hp23" "hp24"
sensorstargethardpoints = "hp25" "hp26" "hp27" "hp28" "hp29" "hp30" "hp31" "hp32"
hulltargethardpoints = "hp33" "hp34" "hp35" "hp36" "hp37" "hp38" "hp39" "hp40" "hp41" "hp42"
criticaltargethardpoints = "hp43" "hp44" "hp45" "hp46" "hp47" "hp48" "hp49" "hp50"
is_starbase = 1
ainame = "StarbaseProcess"
creditscost = 0
shielddelay = 2
damagedscan = 50.0f
avoidanceclass = 9
weldingradius = 1.0
repairyellow = 2.0f
repairred = 4.0f
enginesrepairtime = 0.25
lifesupportrepairtime = 0.0625
weaponsrepairtime = 0.25
shieldgeneratorrepairtime = 0.25
sensorsrepairtime = 0.25
enginescrewloss = 5.0f
lifesupportcrewloss = 5.0f
weaponscrewloss = 8.0f
shieldgeneratorcrewloss = 8.0f
sensorscrewloss = 5.0f
lifesupportloss = 0.5
engineshitpercent = 0.0f
lifesupporthitpercent = 7.0f
weaponshitpercent = 7.0f
shieldgeneratorhitpercent = 1.0f
sensorshitpercent = 0
crewhitpercent = 7.0f
hullhitpercent = 78.0f
has_crew = 1
has_hitpoints = 1
checkvalidresourceinterval = 10.0f
alert = 1
show_sw_autonomy = 1
show_movement_autonomy = 1
eventacknowledge = "StarbaseAcknowledge"
eventattack = "StarbaseAttack"
eventdecommission = "StarbaseDecommission"
buildablebyownerraceonly = 1
specialenergydisplaymode = 1
rangescan = 1250
shieldhit = "shield_fed_hitXL"
shieldhitcritical = "shield_fed_hitcritXL"
shielddown = "shield_fed_down"


I've also added in the appropriate sprite info into the gui_global.spr file (I hope, along with having created the relevant tga files for all this to have made sense normally)
Code: Select all
##############################                     #      
######  Avatar Buttons  ######                     #      
##############################                     #      
@reference=256                     #      
@tmaterial=interface                     #      
b_avatar_fed_risner   avatars_risner   0   0   256   256      #      
b_avatar_fed_mayson   avatars_mayson   0   0   256   256      #
b_avatar_fed_walker   avatars_walker   0   0   256   256      #   
b_avatar_rom_mijural   avatars_mijural   0   0   256   256      #      
b_avatar_rom_helev   avatars_helev   0   0   256   256      #      
b_avatar_kli_taqroja   avatars_taqroja   0   0   256   256      #      
b_avatar_kli_martok   avatars_martok   0   0   256   256      #      
b_avatar_dom_breen   avatars_breen   0   0   256   256      #      
b_avatar_dom_pure   avatars_puretech   0   0   256   256      #      
b_avatar_bor_optimize   avatars_optimize   0   0   256   256      #      
b_avatar_bor_assimilate   avatars_assimilate   0   0   256   256      #      
@reference=256                     #      
@tmaterial=interface                     #      
b_avatar_fed_risnerS   avatars_small   128   0   64   64      #      
b_avatar_fed_maysonS   avatars_small   192   0   64   64      #      
b_avatar_rom_mijuralS   avatars_small   64   64   64   64      #      
b_avatar_rom_helevS   avatars_small   0   64   64   64      #      
b_avatar_kli_taqrojaS   avatars_small   0   0   64   64      #      
b_avatar_kli_martokS   avatars_small   64   0   64   64      #      
b_avatar_dom_breenS   avatars_small   192   64   64   64      #      
b_avatar_dom_pureS   avatars_small   128   64   64   64      #      
b_avatar_bor_optimizeS   avatars_small   0   128   64   64      #      
b_avatar_bor_assimilateS   avatars_small   64   128   64   64      #      
b_avatar_ferengiS   avatars_small   192   192   64   64      #
b_avatar_fed_walkerS   avatars_small   128   128   64   64   #   
@reference=32                     #      
@tmaterial=additive                     #      
b_avatar_none   empty   0   0   32   32      #      
posted on June 13th, 2009, 3:59 am
I'm no expert and have never tried adding a third avatar, but did you by any chance add "avatar_fed_walker.odf" into the techtree files?
posted on June 13th, 2009, 4:10 am
Oh my god I feel like a dumbass, thanks! :sweatdrop:

(it's been a long time since I did any serious modding of A2)
posted on June 13th, 2009, 5:14 am
Hey that sounds kinda cool would you mind explaining who this "walker" is.
posted on June 13th, 2009, 5:25 am
lol, he's one of my Roleplaying Characters (link), figured it'd be kinda cool to get him into Armada.  ^-^

Took a screenshot, I apologize for the large file and screensize, I use 1920x1200. :sweatdrop:

Attachments

FOScreenShot_090612_222048.png
posted on June 13th, 2009, 5:29 am
hey its mac gyver what are his specials??? lol all his ships hull and subsystems regenerates faster and the borg?
posted on June 13th, 2009, 5:34 am
Dircome wrote:hey its mac gyver what are his specials??? lol all his ships hull and subsystems regenerates faster and the borg?


no... they use astroids on the map with a slingshot, which results in a instant win. :lol:
posted on June 13th, 2009, 5:36 am
Haven't gotten that far I'm afraid, for starters I was trying to make it so that his outpost had only one defense upgrade and three weapon upgrades, but something's wrong with my last set of odf's and I haven't been able to pinpoint it.

I'd planned on making him reliant on warp in ships mostly, he'd only be able to build a very limited number of actual vessels, and they'd have to come from his outpost (or another base of some kind, not planning on using shipyards). The warp-in ships would be better crewed, a little stronger, typically have more weapons, better shielding, etc... than the ones you'd build as Risner or Mayson, but you wouldn't be able to have as many of them, due to a seperate warp-in limit I'm hoping to get working.

KL0K wrote:no... they use astroids on the map with a slingshot, which results in a instant win. :lol:

LOL! I'm sure someone could make an asteroid based 'torpedo' or sorts. :D
posted on June 13th, 2009, 7:33 am
hehe the good old Jack O'Neil.

New ships  x-304 Asgard modified  :lol:
posted on June 13th, 2009, 8:28 am
:lol: :lol: :lol:

Avatar bonuses:
* Replaces all phasers with asgard beam weapons
* outfits the akira with railguns
* Quantum torpedoes replaced by Nuclear Missiles

;) :D :D :D
(^- all of this is in humor of course and it would be nice to mod in a third avatar)
posted on June 13th, 2009, 12:44 pm
he needs a chewing gum attack. btw what did he play in ST?
posted on June 13th, 2009, 1:21 pm
I'd say Admiral Ross...

Admiral Stats:
- Allows you to build the Prometheus Class Battleship
- Refits the Soveriegn Class with Tachyon Detection Grid passive ability (Like in Nemesis!)
- Increases all Eraudi yard Vessels Offensive Value by 5
- Increases all Eraudi yard Vessels Defensive Value by 4
- Increases All Eraudi yard vessels System Value by 2
- Increases the Speed of Intrepid, Akira, Excelsior II, and Defiant Classes by 60%
diver332
User avatar
posted on June 13th, 2009, 1:31 pm
1337_64M3R wrote:I'd say Admiral Ross...

Admiral Stats:
- Allows you to build the Prometheus Class Battleship
- Refits the Soveriegn Class with Tachyon Detection Grid passive ability (Like in Nemesis!)
- Increases all Eraudi yard Vessels Offensive Value by 5
- Increases all Eraudi yard Vessels Defensive Value by 4
- Increases All Eraudi yard vessels System Value by 2



I agree with these, absolutely amazing suggestions. I did kind of something similar with one of my 3 avatars.  :thumbsup:

1337_64M3R wrote:I'd say Admiral Ross...

Admiral Stats:

- Increases the Speed of Intrepid, Akira, Excelsior II, and Defiant Classes by 60%




This kind of seems a bit far fetched  :sweatdrop:
posted on June 13th, 2009, 1:35 pm
What... all of the Federation ships are laggers. They are slower than their other race counterparts. There should be something to make up fore it.
posted on June 13th, 2009, 2:30 pm
He needs a duct tape repair abilty as well....for his advatar instead of havesting suplies you should have to colect roles of duct tape chewing gum and popsicle sticks lol :thumbsup:
1, 2, 3, 4
Reply

Who is online

Users browsing this forum: No registered users and 4 guests

cron