/dports/games/freeorion/freeorion-0.4.10.2/default/python/AI/character/ |
H A D | character_module.py | 304 self.aggression = aggression 326 return (self.aggression > fo.aggression.turtle 330 return self.aggression > fo.aggression.typical 377 return self.aggression >= fo.aggression.typical 400 return self.aggression < fo.aggression.typical 436 if self.aggression == fo.aggression.maniacal: 438 if self.aggression == fo.aggression.beginner: 452 if self.aggression == fo.aggression.maniacal: 464 if self.aggression == fo.aggression.maniacal: 468 elif self.aggression == fo.aggression.typical: [all …]
|
H A D | character_strings_module.py | 60 _aggression_label_suffix = {fo.aggression.beginner: "_BEGINNER", 61 fo.aggression.turtle: "_TURTLE", 62 fo.aggression.cautious: "_CAUTIOUS", 63 fo.aggression.typical: "_TYPICAL", 64 fo.aggression.aggressive: "_AGGRESSIVE", 65 fo.aggression.maniacal: "_MANIACAL"}
|
/dports/games/emptyepsilon/EmptyEpsilon-EE-2021.06.23/src/ai/ |
H A D | fighterAI.cpp | 13 aggression = random(0.0, 0.25); in FighterAI() 35 if (aggression > 0.5) in runOrders() 36 aggression -= random(0.0, 0.25); in runOrders() 68 aggression += random(0, 0.05); in runAttack() 71 timeout = 30.0f - std::min(aggression, 1.0f) * 20.0f; in runAttack() 80 if (owner->shield_level[0] < owner->shield_max[0] * (1.0f - aggression)) in runAttack() 83 aggression += random(0.1, 0.25); in runAttack() 84 timeout = 60.0f - std::min(aggression, 1.0f) * 20.0f; in runAttack()
|
/dports/games/freeorion/freeorion-0.4.10.2/default/python/AI/ |
H A D | DiplomaticCorp.py | 44 aggression = aistate.character.get_trait(Aggression) 45 if aggression.key == fo.aggression.beginner: 47 elif aggression.key == fo.aggression.turtle: 49 elif aggression.key == fo.aggression.cautious: 53 if aggression.key <= fo.aggression.typical: 83 aggression = aistate.character.get_trait(Aggression) 84 if aggression.key <= fo.aggression.typical:
|
H A D | AIDependencies.py | 439 "LRN_TRANSCEND": fo.aggression.typical, 787 "BLD_SHIPYARD_CON_NANOROBO": (fo.aggression.aggressive, "BLD_SHIPYARD_ORBITAL_DRYDOCK", 250, 5), 788 "BLD_SHIPYARD_CON_GEOINT": (fo.aggression.aggressive, "BLD_SHIPYARD_ORBITAL_DRYDOCK", 750, 5), 790 "BLD_SHIPYARD_AST": (fo.aggression.typical, "", 75, 5), 791 "BLD_SHIPYARD_AST_REF": (fo.aggression.maniacal, "BLD_SHIPYARD_AST", 500, 5), 793 … "BLD_SHIPYARD_ORG_CELL_GRO_CHAMB": (fo.aggression.aggressive, "BLD_SHIPYARD_ORG_ORB_INC", 64, 8), 794 "BLD_SHIPYARD_ORG_XENO_FAC": (fo.aggression.aggressive, "BLD_SHIPYARD_ORG_ORB_INC", 120, 8), 795 "BLD_SHIPYARD_ENRG_COMP": (fo.aggression.aggressive, "BLD_SHIPYARD_BASE", 200, 5), 796 "BLD_SHIPYARD_ENRG_SOLAR": (fo.aggression.maniacal, "BLD_SHIPYARD_ENRG_COMP", 1200, 5), 797 "BLD_NEUTRONIUM_FORGE": (fo.aggression.cautious, "BLD_SHIPYARD_BASE", 100, 3),
|
H A D | FreeOrionAI.py | 79 def startNewGame(aggression_input=fo.aggression.aggressive): # pylint: disable=invalid-name 112 diplomatic_corp_configs = {fo.aggression.beginner: DiplomaticCorp.BeginnerDiplomaticCorp, 113 fo.aggression.maniacal: DiplomaticCorp.ManiacalDiplomaticCorp} 135 aistate = create_new_aistate(fo.aggression.aggressive) 143 aistate = create_new_aistate(fo.aggression.aggressive) 152 diplomatic_corp_configs = {fo.aggression.beginner: DiplomaticCorp.BeginnerDiplomaticCorp, 153 fo.aggression.maniacal: DiplomaticCorp.ManiacalDiplomaticCorp} 307 aggression=aggression_name.capitalize()))
|
/dports/games/wesnoth/wesnoth-1.14.17/data/ai/micro_ais/cas/ |
H A D | ca_fast_combat.lua | 72 local aggression = ai.aspects.aggression 73 if (aggression > 1) then aggression = 1 end 74 local own_value_weight = 1. - aggression
|
H A D | ca_fast_combat_leader.lua | 65 local aggression = ai.aspects.aggression 66 if (aggression > 1) then aggression = 1 end 67 local own_value_weight = 1. - aggression
|
/dports/games/wesnoth/wesnoth-1.14.17/src/ai/default/ |
H A D | attack.cpp | 48 const move_map& enemy_dstsrc, double aggression) in analyze() argument 111 double m_aggression = aggression; in analyze() 276 double attack_analysis::rating(double aggression, const readonly_context& ai_obj) const in rating() argument 279 aggression = 1.0; in rating() 283 aggression = ai_obj.get_leader_aggression(); in rating() 286 double value = chance_to_kill*target_value - avg_losses*(1.0-aggression); in rating() 298 value -= exposure*(1.0-aggression); in rating() 302 …value += ((target_starting_damage/3 + avg_damage_inflicted) - (1.0-aggression)*avg_damage_taken)/1… in rating() 313 && chance_to_kill < 0.02 && aggression < 0.75 in rating()
|
/dports/games/wesnoth/wesnoth-1.14.17/data/ai/scenarios/ |
H A D | scenario-high_xp_attack.cfg | 141 … that revenant, so the AI will not attack with aggression=0.4 (the default). By contrast, with agg… 145 …e="I have a much lower chance to die and will attack even with the default setting for aggression." 151 message="What value should we use for aggression for the AI side?" 153 label="aggression 0.4 (the default)" 156 label="aggression 1.0" 161 aggression=1
|
/dports/astro/phd2/phd2-2.6.10/ |
H A D | guide_algorithm_hysteresis.cpp | 59 double aggression = pConfig->Profile.GetDouble(configPath + "/aggression", DefaultAggression); in GuideAlgorithmHysteresis() local 60 SetAggression(aggression); in GuideAlgorithmHysteresis() 148 bool GuideAlgorithmHysteresis::SetAggression(double aggression) in SetAggression() argument 154 if (aggression < 0.0 || aggression > MaxAggression) in SetAggression() 159 m_aggression = aggression; in SetAggression()
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/HDF5/src/itkhdf5/src/ |
H A D | H5Zdeflate.c | 167 int aggression; /* Compression aggression setting */ in H5Z_filter_deflate() local 170 H5_CHECKED_ASSIGN(aggression, int, cd_values[0], unsigned); in H5Z_filter_deflate() 178 status = compress2(z_dst, &z_dst_nbytes, z_src, z_src_nbytes, aggression); in H5Z_filter_deflate()
|
/dports/science/hdf5-18/hdf5-1.8.21/src/ |
H A D | H5Zdeflate.c | 167 int aggression; /* Compression aggression setting */ in H5Z_filter_deflate() local 170 H5_CHECKED_ASSIGN(aggression, int, cd_values[0], unsigned); in H5Z_filter_deflate() 178 status = compress2(z_dst, &z_dst_nbytes, z_src, z_src_nbytes, aggression); in H5Z_filter_deflate()
|
/dports/science/hdf5/hdf5-1.10.6/src/ |
H A D | H5Zdeflate.c | 167 int aggression; /* Compression aggression setting */ in H5Z_filter_deflate() local 170 H5_CHECKED_ASSIGN(aggression, int, cd_values[0], unsigned); in H5Z_filter_deflate() 178 status = compress2(z_dst, &z_dst_nbytes, z_src, z_src_nbytes, aggression); in H5Z_filter_deflate()
|
/dports/math/vtk8/VTK-8.2.0/ThirdParty/hdf5/vtkhdf5/src/ |
H A D | H5Zdeflate.c | 167 int aggression; /* Compression aggression setting */ in H5Z_filter_deflate() local 170 H5_CHECKED_ASSIGN(aggression, int, cd_values[0], unsigned); in H5Z_filter_deflate() 178 status = compress2(z_dst, &z_dst_nbytes, z_src, z_src_nbytes, aggression); in H5Z_filter_deflate()
|
/dports/math/vtk6/VTK-6.2.0/ThirdParty/hdf5/vtkhdf5/src/ |
H A D | H5Zdeflate.c | 169 int aggression; /* Compression aggression setting */ in H5Z_filter_deflate() local 172 H5_ASSIGN_OVERFLOW(aggression,cd_values[0],unsigned,int); in H5Z_filter_deflate() 180 status = compress2(z_dst, &z_dst_nbytes, z_src, z_src_nbytes, aggression); in H5Z_filter_deflate()
|
/dports/math/vtk9/VTK-9.1.0/ThirdParty/hdf5/vtkhdf5/src/ |
H A D | H5Zdeflate.c | 163 int aggression; /* Compression aggression setting */ in H5Z__filter_deflate() local 166 H5_CHECKED_ASSIGN(aggression, int, cd_values[0], unsigned); in H5Z__filter_deflate() 174 status = compress2(z_dst, &z_dst_nbytes, z_src, z_src_nbytes, aggression); in H5Z__filter_deflate()
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/ |
H A D | README.SCO | 13 GCC, as a protest against this irresponsible aggression against free 22 ignore the aggression against our community taken by a party that has 25 company's aggression against the free software community. We will
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/ |
H A D | README.SCO | 13 GCC, as a protest against this irresponsible aggression against free 22 ignore the aggression against our community taken by a party that has 25 company's aggression against the free software community. We will
|
/dports/games/scummvm/scummvm-2.5.1/engines/saga2/ |
H A D | player.h | 236 void setAggression(PlayerActorID player, bool aggression); 239 inline void setCenterActorAggression(bool aggression) { in setCenterActorAggression() argument 240 setAggression(getCenterActorPlayerID(), aggression); in setCenterActorAggression()
|
/dports/games/openjk/OpenJK-07675e2/code/game/ |
H A D | AI_Howler.cpp | 538 self->NPC->stats.aggression += damage; in NPC_Howler_Pain() 616 if ( NPCInfo->stats.aggression > 0 ) in NPC_BSHowler_Default() 620 NPCInfo->stats.aggression--; in NPC_BSHowler_Default() 649 else if ( NPCInfo->stats.aggression >= Q_irand( 75, 125 ) ) in NPC_BSHowler_Default() 668 NPCInfo->stats.aggression += 2; in NPC_BSHowler_Default() 675 NPCInfo->stats.aggression++; in NPC_BSHowler_Default() 802 if ( NPCInfo->stats.aggression > 0 ) in NPC_BSHowler_Default() 806 NPCInfo->stats.aggression--; in NPC_BSHowler_Default()
|
/dports/games/wesnoth/wesnoth-1.14.17/data/campaigns/Heir_To_The_Throne/scenarios/ |
H A D | 23_Test_of_the_Clans.cfg | 132 aggression=0.6 136 aggression=0.4 161 aggression=0.6 165 aggression=0.4 190 aggression=0.6 194 aggression=0.4 219 aggression=0.6 223 aggression=0.4
|
/dports/audio/infamous-plugins-lv2/infamousPlugins-0.3.0-7-g778e591/src/cheapdist/ |
H A D | cheapdist_ui.fl | 48 Fl_Dial aggression { 49 callback {write_function(controller,AGGRESSION,sizeof(float),0,&aggression->floatvalue);}
|
/dports/science/hdf5-18/hdf5-1.8.21/hl/test/ |
H A D | test_dset_opt.c | 132 int aggression = 9; /* Compression aggression setting */ in test_direct_chunk_write() local 160 if((status = H5Pset_deflate( cparms, (unsigned) aggression)) < 0) in test_direct_chunk_write() 197 ret = compress2(z_dst, &z_dst_nbytes, z_src, z_src_nbytes, aggression); in test_direct_chunk_write() 490 int aggression = 9; /* Compression aggression setting */ in test_skip_compress_write1() local 521 if((status = H5Pset_deflate( cparms, (unsigned ) aggression)) < 0) in test_skip_compress_write1() 743 int aggression = 9; /* Compression aggression setting */ in test_skip_compress_write2() local 783 if((status = H5Pset_deflate( cparms, (unsigned) aggression)) < 0) in test_skip_compress_write2() 1164 int aggression = 9; /* Compression aggression setting */ in test_invalid_parameters() local 1230 if((status = H5Pset_deflate( cparms, (unsigned ) aggression)) < 0) in test_invalid_parameters() 1408 if((status = H5Pset_deflate( cparms, (unsigned) aggression)) < 0) in test_direct_chunk_read_no_cache() [all …]
|
/dports/games/wesnoth/wesnoth-1.14.17/data/campaigns/The_Rise_Of_Wesnoth/scenarios/ |
H A D | 17c_Troll_Hole.cfg | 48 aggression=0.75 69 aggression=0.75 90 aggression=0.75 111 aggression=0.75
|