ztz2019 1 Posted April 21, 2015 Fanatics must run and hit the target to detonate the suicide bomb, how to edit the function button that could make the suicide weapon active at the same position, no need the real target or ctrl + ground. I once tried to add new ocl which could fireweapon to kill the fanatics and set the DeathType="EXPLODED", but I think it's too complex. Share this post Link to post
Ravendark 46 Posted April 21, 2015 (edited) <SpecialPowerTemplate id="SpecialPower_72VirginsTime" ReloadTime="666s" TargetType="None" NameOfVoiceNameToUseAsInitiateIntendToDoVoice="" /> in the fanatic: (depending if you use a squad of suicice bombers or just a sing unit you might have to add this to the unit or squad and adjust the AIupdate to match that) <SpecialPower id="ModuleTag_SpecialPower_72VirginsTime" SpecialPowerTemplate="SpecialPower_72VirginsTime" UpdateModuleStartsAttack="true" SetModelCondition="User_50" SetModelConditionTime="2s" /> <AI> <AIUpdate id="ModuleTag_AI" AutoAcquireEnemiesWhenIdle="YES" AILuaEventsList="Fanatic_BombSelf_Functions"> <UnitAITargetChooserData SympathyRange="100.0" IdleScanDelay="0.01s" /> </AIUpdate> </AI> scripteventlist.xml <ModelConditionEvent Name="72Virgin_condtion"> <Conditions>+USER_50</Conditions> </ModelConditionEvent> <EventList Name="Fanatic_BombSelf_Functions" Inherit="BaseScriptFunctions"> <EventHandler EventName="72Virgin_condtion" ScriptFunctionName="kill" DebugSingleStep="false"/> </EventList> try something like this...let me know if it works Edited April 21, 2015 by Ravendark Share this post Link to post
Lauren 78 Posted April 21, 2015 Rather do a WeaponFireSpecialAbilityUpdate and just fire the NODFanaticBomb weapon. Share this post Link to post
ztz2019 1 Posted April 27, 2015 <SpecialPowerTemplate id="SpecialPower_72VirginsTime" ReloadTime="666s" TargetType="None" NameOfVoiceNameToUseAsInitiateIntendToDoVoice="" /> in the fanatic: (depending if you use a squad of suicice bombers or just a sing unit you might have to add this to the unit or squad and adjust the AIupdate to match that) <SpecialPower id="ModuleTag_SpecialPower_72VirginsTime" SpecialPowerTemplate="SpecialPower_72VirginsTime" UpdateModuleStartsAttack="true" SetModelCondition="User_50" SetModelConditionTime="2s" /> <AI> <AIUpdate id="ModuleTag_AI" AutoAcquireEnemiesWhenIdle="YES" AILuaEventsList="Fanatic_BombSelf_Functions"> <UnitAITargetChooserData SympathyRange="100.0" IdleScanDelay="0.01s" /> </AIUpdate> </AI> scripteventlist.xml <ModelConditionEvent Name="72Virgin_condtion"> <Conditions>+USER_50</Conditions> </ModelConditionEvent> <EventList Name="Fanatic_BombSelf_Functions" Inherit="BaseScriptFunctions"> <EventHandler EventName="72Virgin_condtion" ScriptFunctionName="kill" DebugSingleStep="false"/> </EventList> try something like this...let me know if it works Ahhh..., you refused to believe and no willing to die, it's embarrassing me a lot. Share this post Link to post
Ravendark 46 Posted April 27, 2015 Don't understand your answer, did it not work? Share this post Link to post
ztz2019 1 Posted April 29, 2015 Don't understand your answer, did it not work? Oh, never mind. I didn't try it because my PC isn't beside me. I just imitate the Jihadists opinion. Share this post Link to post