Making the Chaplain Attachable... -1 reply

Please wait...

Potemkis

The Internet ends at GF

50 XP

14th February 2005

0 Uploads

120 Posts

0 Threads

#21 15 years ago

Thanks, you may have to use max 7. Someone got it to work with max 6, but I haven't tried it yet. I use both 6 and 7.

I'll try that in the AE and get back to you.




Potemkis

The Internet ends at GF

50 XP

14th February 2005

0 Uploads

120 Posts

0 Threads

#22 15 years ago

Okay, this is what I get after I changed stuff to what looked good (Like the Codex)

---------------------------------------- -- File: 'sbps\races\guard\guard_squad_command_squad.lua' -- Created by: AttributeEditor v2.0 -- Note: Do NOT edit by hand! -- (c) 2001 Relic Entertainment Inc.

GameData = Inherit([[sbps\races\guard\guard_squad.nil]]) MetaData = InheritMeta([[sbps\races\guard\guard_squad.nil]])

GameData["squad_cap_ext"]["squad_cap_usage"] = 2.00000 GameData["squad_combat_stance_ext"] = Reference([[sbpextensions\squad_combat_stance_ext.lua]]) GameData["squad_leader_ext"] = Reference([[sbpextensions\squad_leader_ext.lua]]) GameData["squad_leader_ext"]["leader_1"]["add_while_moving"] = true GameData["squad_leader_ext"]["leader_1"]["cost_time"]["cost"]["power"] = 40.00000 GameData["squad_leader_ext"]["leader_1"]["cost_time"]["cost"]["requisition"] = 80.00000 GameData["squad_leader_ext"]["leader_1"]["cost_time"]["time_seconds"] = 25.00000 GameData["squad_leader_ext"]["leader_1"]["leader"]["type"] = "ebps\\races\\guard\\troops\\guard_leaders_commissar_command_squad.lua" GameData["squad_leader_ext"]["leader_2"]["add_while_moving"] = true GameData["squad_leader_ext"]["leader_2"]["cost_time"]["cost"]["power"] = 100.00000 GameData["squad_leader_ext"]["leader_2"]["cost_time"]["cost"]["requisition"] = 100.00000 GameData["squad_leader_ext"]["leader_2"]["cost_time"]["time_seconds"] = 55.00000 GameData["squad_leader_ext"]["leader_2"]["leader"]["type"] = "ebps\\races\\guard\\troops\\guard_leaders_psyker_command_squad.lua" GameData["squad_leader_ext"]["leader_3"]["add_while_moving"] = true GameData["squad_leader_ext"]["leader_3"]["cost_time"]["cost"]["power"] = 40.00000 GameData["squad_leader_ext"]["leader_3"]["cost_time"]["cost"]["requisition"] = 90.00000 GameData["squad_leader_ext"]["leader_3"]["cost_time"]["time_seconds"] = 35.00000 GameData["squad_leader_ext"]["leader_3"]["leader"]["type"] = "ebps\\races\\guard\\troops\\guard_leaders_priest_command_squad.lua" GameData["squad_leader_ext"]["max_leaders"] = 1.00000 GameData["squad_leader_ext"]["leader_4"]["add_while_moving"] = true GameData["squad_leader_ext"]["leader_4"]["cost_time"]["cost"]["power"] = 40.00000 GameData["squad_leader_ext"]["leader_4"]["cost_time"]["cost"]["requisition"] = 90.00000 GameData["squad_leader_ext"]["leader_4"]["cost_time"]["time_seconds"] = 35.00000 GameData["squad_leader_ext"]["leader_4"]["leader"]["type"] = "ebps\\races\\guard\\troops\\guard_leaders_captain.lua" GameData["squad_leader_ext"]["max_leaders"] = 1.00000 GameData["squad_leader_ext"]["leader_5"]["add_while_moving"] = true GameData["squad_leader_ext"]["leader_5"]["cost_time"]["cost"]["power"] = 15.00000 GameData["squad_leader_ext"]["leader_5"]["cost_time"]["cost"]["requisition"] = 55.00000 GameData["squad_leader_ext"]["leader_5"]["cost_time"]["time_seconds"] = 15.00000 GameData["squad_leader_ext"]["leader_5"]["leader"]["type"] = "ebps\\races\\guard\\troops\\guard_infantry_guardsmen_sergeant.lua" GameData["squad_loadout_ext"]["async_ability"] = true GameData["squad_loadout_ext"]["trooper_base"]["type"] = "ebps\\races\\guard\\troops\\guard_infantry_guardsmen.lua" GameData["squad_loadout_ext"]["unit_max"] = 9.00000 GameData["squad_loadout_ext"]["unit_min"] = 4.00000 GameData["squad_melee_stance_ext"] = Reference([[sbpextensions\squad_melee_stance_ext.lua]]) GameData["squad_melee_stance_ext"]["default_to_melee"] = true GameData["squad_morale_ext"] = Reference([[sbpextensions\squad_morale_ext.lua]]) GameData["squad_morale_ext"]["broken_min_morale"] = 50.00000 GameData["squad_morale_ext"]["default"] = 450.00000 GameData["squad_morale_ext"]["max"] = 450.00000 GameData["squad_morale_ext"]["morale_armour"] = 0.50000 GameData["squad_morale_ext"]["rate_per_second"] = 11.00000 GameData["squad_reinforce_ext"] = Reference([[sbpextensions\squad_reinforce_ext.lua]]) GameData["squad_reinforce_ext"]["cost"]["cost"]["power"] = 25.00000 GameData["squad_reinforce_ext"]["cost"]["cost"]["requisition"] = 100.00000 GameData["squad_reinforce_ext"]["cost"]["time_seconds"] = 20.00000 GameData["squad_requirement_ext"] = Reference([[sbpextensions\squad_requirement_ext.lua]]) GameData["squad_requirement_ext"]["requirements"]["required_1"] = Reference([[requirements\required_squad_cap.lua]]) GameData["squad_requirement_ext"]["requirements"]["required_10"] = Reference([[requirements\required_structure.lua]]) GameData["squad_requirement_ext"]["requirements"]["required_10"]["is_display_requirement"] = true GameData["squad_requirement_ext"]["requirements"]["required_10"]["structure_name"] = "ebps\\races\\guard\\structures\\guard_hq.lua" GameData["squad_transportable_ext"] = Reference([[sbpextensions\squad_transportable_ext.lua]]) GameData["squad_transportable_ext"]["activate_transport_ability"] = true GameData["squad_ui_ext"]["multi_select_priority"] = 1.00000 GameData["squad_ui_ext"]["ui_info"]["help_text_list"]["text_01"] = "$693250" GameData["squad_ui_ext"]["ui_info"]["help_text_list"]["text_02"] = "$693251" GameData["squad_ui_ext"]["ui_info"]["help_text_list"]["text_03"] = "$693252" GameData["squad_ui_ext"]["ui_info"]["icon_name"] = "guard_icons/guard_squad_command_squad" GameData["squad_ui_ext"]["ui_info"]["screen_name_id"] = "$693253"

MetaData["$METADATATAG"] = {desc = [[]], type = 7, category = [[]], dispval = [[]], isLocked = false, rangeStart = 693250, rangeEnd = 693299, } MetaData["$METAcolorTAG"] = {

} MetaData["squad_combat_stance_ext"] = {desc = [[]], type = 4, category = [[]], dispval = [[]], } MetaData["squad_leader_ext"] = {desc = [[]], type = 4, category = [[]], dispval = [[]], } MetaData["squad_melee_stance_ext"] = {desc = [[]], type = 4, category = [[]], dispval = [[]], } MetaData["squad_morale_ext"] = {desc = [[]], type = 4, category = [[]], dispval = [[]], } MetaData["squad_reinforce_ext"] = {desc = [[]], type = 4, category = [[]], dispval = [[]], } MetaData["squad_requirement_ext"] = {desc = [[]], type = 4, category = [[]], dispval = [[]], } MetaData["squad_transportable_ext"] = {desc = [[]], type = 4, category = [[]], dispval = [[]], }

The AE refuses to load this file now...




Guest

I didn't make it!

0 XP

 
#23 15 years ago

What is that???!! I don't know how, just eat a gronolla bar.




Potemkis

The Internet ends at GF

50 XP

14th February 2005

0 Uploads

120 Posts

0 Threads

#24 15 years ago

Got it to load, now testing it...




Potemkis

The Internet ends at GF

50 XP

14th February 2005

0 Uploads

120 Posts

0 Threads

#25 15 years ago

Bleh... no good. It works, but only to a point. Here's what works:

--> A Guardsmen unit pops out with an upgrade for a leader. However- that leader depends on which one you have in the number one slot GameData["squad_leader_ext"]["leader_1"]["leader"]["type"] = "ebps\\races\\guard\\troops\\guard_leaders_commissar_command_squad.lua"

The Commissar ends up being the squadleader. I want to keep the command squad intact, but add a guardsmen squad to beef up the Command Squad.

Should I A: Make a renamed copy of the Guardsmen_unit (say, bodyguard_unit) and use that as the Command Squad base_squad? B: Figure a way to use the Guardsmen as a reinforcement option for the Command Squad along with the others that were already there, say for instance, a maximum of 5 Guardsmen?

Failing that, I guess I could make the actual original command squad attachable to a Guardsmen squad...




Danimator

Dread thinks I'm a special person

50 XP

8th December 2004

0 Uploads

327 Posts

0 Threads

#26 15 years ago

You left out max_leaders so you wouldn't get more than one leader also there is a hardcoded limit of 4 leaders which I should have mentioned. You also need ["async_ability"] = true as this enables the abilities of various units to work in a group like this. Try: ---------------------------------------- -- File: 'sbps\races\guard\guard_squad_command_squad.lua' -- Created by: AttributeEditor v2.0 -- Note: Do NOT edit by hand! -- (c) 2001 Relic Entertainment Inc. GameData = Inherit([[sbps\races\guard\guard_squad.nil]]) MetaData = InheritMeta([[sbps\races\guard\guard_squad.nil]]) GameData["squad_cap_ext"]["squad_cap_usage"] = 2.00000 GameData["squad_cover_ext"]["cover_heavy"]["modifiers"]["modifier_01"] = Reference([[modifiers\morale_rate_squad_modifier.lua]]) GameData["squad_cover_ext"]["cover_heavy"]["modifiers"]["modifier_01"]["value"] = 2.00000 GameData["squad_cover_ext"]["cover_heavy"]["priority"] = 10.00000 GameData["squad_cover_ext"]["cover_light"]["modifiers"]["modifier_01"] = Reference([[modifiers\morale_rate_squad_modifier.lua]]) GameData["squad_cover_ext"]["cover_light"]["modifiers"]["modifier_01"]["value"] = 1.50000 GameData["squad_cover_ext"]["cover_light"]["priority"] = 5.00000 GameData["squad_formation_ext"]["idle_formation"] = "formations\\block.lua" GameData["squad_leader_ext"] = Reference([[sbpextensions\squad_leader_ext.lua]]) GameData["squad_leader_ext"]["leader_1"]["add_while_moving"] = true GameData["squad_leader_ext"]["leader_1"]["cost_time"]["cost"]["power"] = 40.00000 GameData["squad_leader_ext"]["leader_1"]["cost_time"]["cost"]["requisition"] = 80.00000 GameData["squad_leader_ext"]["leader_1"]["cost_time"]["time_seconds"] = 25.00000 GameData["squad_leader_ext"]["leader_1"]["leader"]["type"] = "ebps\\races\\guard\\troops\\guard_leaders_commissar_command_squad.lua" GameData["squad_leader_ext"]["leader_2"]["add_while_moving"] = true GameData["squad_leader_ext"]["leader_2"]["cost_time"]["cost"]["power"] = 100.00000 GameData["squad_leader_ext"]["leader_2"]["cost_time"]["cost"]["requisition"] = 100.00000 GameData["squad_leader_ext"]["leader_2"]["cost_time"]["time_seconds"] = 55.00000 GameData["squad_leader_ext"]["leader_2"]["leader"]["type"] = "ebps\\races\\guard\\troops\\guard_leaders_psyker_command_squad.lua" GameData["squad_leader_ext"]["leader_3"]["add_while_moving"] = true GameData["squad_leader_ext"]["leader_3"]["cost_time"]["cost"]["power"] = 40.00000 GameData["squad_leader_ext"]["leader_3"]["cost_time"]["cost"]["requisition"] = 90.00000 GameData["squad_leader_ext"]["leader_3"]["cost_time"]["time_seconds"] = 35.00000 GameData["squad_leader_ext"]["leader_3"]["leader"]["type"] = "ebps\\races\\guard\\troops\\guard_leaders_priest_command_squad.lua" GameData["squad_leader_ext"]["leader_4"]["add_while_moving"] = true GameData["squad_leader_ext"]["leader_4"]["cost_time"]["cost"]["power"] = 40.00000 GameData["squad_leader_ext"]["leader_4"]["cost_time"]["cost"]["requisition"] = 90.00000 GameData["squad_leader_ext"]["leader_4"]["cost_time"]["time_seconds"] = 35.00000 GameData["squad_leader_ext"]["leader_4"]["leader"]["type"] = "ebps\\races\\guard\\troops\\guard_leaders_captain.lua" GameData["squad_leader_ext"]["max_leaders"] = 2.00000 GameData["squad_loadout_ext"]["async_ability"] = true GameData["squad_loadout_ext"]["trooper_base"]["type"] = "ebps\\races\\guard\\troops\\guard_infantry_guardsmen.lua" GameData["squad_loadout_ext"]["unit_max"] = 9.00000 GameData["squad_loadout_ext"]["unit_min"] = 4.00000 GameData["squad_melee_stance_ext"] = Reference([[sbpextensions\squad_melee_stance_ext.lua]]) GameData["squad_melee_stance_ext"]["default_to_melee"] = true GameData["squad_morale_ext"] = Reference([[sbpextensions\squad_morale_ext.lua]]) GameData["squad_morale_ext"]["broken_min_morale"] = 50.00000 GameData["squad_morale_ext"]["default"] = 450.00000 GameData["squad_morale_ext"]["max"] = 450.00000 GameData["squad_morale_ext"]["morale_armour"] = 0.50000 GameData["squad_morale_ext"]["rate_per_second"] = 11.00000 GameData["squad_reinforce_ext"] = Reference([[sbpextensions\squad_reinforce_ext.lua]]) GameData["squad_reinforce_ext"]["cost"]["cost"]["power"] = 25.00000 GameData["squad_reinforce_ext"]["cost"]["cost"]["requisition"] = 100.00000 GameData["squad_reinforce_ext"]["cost"]["time_seconds"] = 20.00000 GameData["squad_requirement_ext"] = Reference([[sbpextensions\squad_requirement_ext.lua]]) GameData["squad_requirement_ext"]["requirements"]["required_1"] = Reference([[requirements\required_squad_cap.lua]]) GameData["squad_requirement_ext"]["requirements"]["required_10"] = Reference([[requirements\required_structure.lua]]) GameData["squad_requirement_ext"]["requirements"]["required_10"]["is_display_requirement"] = true GameData["squad_requirement_ext"]["requirements"]["required_10"]["structure_name"] = "ebps\\races\\guard\\structures\\guard_hq.lua" GameData["squad_transportable_ext"] = Reference([[sbpextensions\squad_transportable_ext.lua]]) GameData["squad_transportable_ext"]["activate_transport_ability"] = true GameData["squad_ui_ext"]["multi_select_priority"] = 1.00000 GameData["squad_ui_ext"]["ui_info"]["help_text_list"]["text_01"] = "$693250" GameData["squad_ui_ext"]["ui_info"]["help_text_list"]["text_02"] = "$693251" GameData["squad_ui_ext"]["ui_info"]["help_text_list"]["text_03"] = "$693252" GameData["squad_ui_ext"]["ui_info"]["icon_name"] = "guard_icons/guard_squad_command_squad" GameData["squad_ui_ext"]["ui_info"]["screen_name_id"] = "$693253" MetaData["$METADATATAG"] = {desc = [[]], type = 7, category = [[]], dispval = [[]], isLocked = false, } MetaData["$METAcolorTAG"] = { } MetaData["squad_leader_ext"] = {desc = [[]], type = 4, category = [[]], dispval = [[]], } MetaData["squad_melee_stance_ext"] = {desc = [[]], type = 4, category = [[]], dispval = [[]], } MetaData["squad_morale_ext"] = {desc = [[]], type = 4, category = [[]], dispval = [[]], } MetaData["squad_reinforce_ext"] = {desc = [[]], type = 4, category = [[]], dispval = [[]], } MetaData["squad_requirement_ext"] = {desc = [[]], type = 4, category = [[]], dispval = [[]], } MetaData["squad_transportable_ext"] = {desc = [[]], type = 4, category = [[]], dispval = [[]], } This will give you one of each leaders if you only click each one once. This can be coded so the ai builds it like this every time and you can also make the number of leaders (max_leaders) as high as you like. There is a research which adds 2 more leaders to the squad so the max leaders is really 2+2 not 2 at the moment. Not tried this but it should work. You could make the original or even this squad attatchable just like you did the Chaplain, it still works the same for command squads. Once you have this working you could try it the other ways you mention and see which is best.




Potemkis

The Internet ends at GF

50 XP

14th February 2005

0 Uploads

120 Posts

0 Threads

#27 15 years ago

Cool, I'll try it out.




Potemkis

The Internet ends at GF

50 XP

14th February 2005

0 Uploads

120 Posts

0 Threads

#28 15 years ago

Had to reinstall everything for some odd reason...




Potemkis

The Internet ends at GF

50 XP

14th February 2005

0 Uploads

120 Posts

0 Threads

#29 15 years ago

WA keeps crashing to the desktop at the loading screen...

dammit, gonna have to uninstall and reinstall every blasted thing now...




Danimator

Dread thinks I'm a special person

50 XP

8th December 2004

0 Uploads

327 Posts

0 Threads

#30 15 years ago

It could be to do with the new squad if you made it....what does your warnings log say? do you want to post it?