- 3 Июн 2017
- 45
- 0
- Проект
- Dotomemium Phoenix
Хочу добавить рошана в свою кастомку, но есть две проблемы:
1. Изменение характеристик npc_dota_roshan в нпс юнитс кастом не меняет рошана, который спавнится с помощью рошан спавнера в хаммере
2. Метод выдачи предметов описанный в гайде не работает даже на обычных крипах, на которых действует изменение характеристик в нпс юнитс кастом(инвентарь я им добавил, он у них есть).
P.S. Мне надо, чтобы они с него падали
Код крипа такой, спавню с помощью консоли:
Код рошана:
1. Изменение характеристик npc_dota_roshan в нпс юнитс кастом не меняет рошана, который спавнится с помощью рошан спавнера в хаммере
2. Метод выдачи предметов описанный в гайде не работает даже на обычных крипах, на которых действует изменение характеристик в нпс юнитс кастом(инвентарь я им добавил, он у них есть).
P.S. Мне надо, чтобы они с него падали
Код крипа такой, спавню с помощью консоли:
Код:
"npc_dota_creep_badguys_ranged"
{
// General
//
"BaseClass" "npc_dota_creep_lane" // Class of entity of link to.
"Model" "models/creeps/lane_creeps/creep_bad_ranged/lane_dire_ranged.vmdl" // Model.
"SoundSet" "Creep_Bad_Range" // Name of sound set.
"ModelScale" "0.93"
"Level" "2"
// Abilities
//----------------------------------------------------------------
"Ability1" "" // Ability 1.
"Ability2" "" // Ability 2.
"Ability3" "" // Ability 3.
"Ability4" "" // Ability 4.
"Ability5" "" // Ability 5.
"Ability6" "" // Ability 6 - Extra.
"Ability7" "" // Ability 7 - Extra.
"Ability8" "" // Ability 8 - Extra.
// Armor
//----------------------------------------------------------------
"ArmorPhysical" "0" // Physical protection.
"MagicalResistance" "0" // Magical protection.
// Attack
//----------------------------------------------------------------
"AttackCapabilities" "DOTA_UNIT_CAP_RANGED_ATTACK"
"AttackDamageMin" "21" // Damage range min.
"AttackDamageMax" "26" // Damage range max.
"AttackDamageType" "DAMAGE_TYPE_ArmorPhysical"
"AttackRate" "1" // Speed of attack.
"AttackAnimationPoint" "0.5" // Normalized time in animation cycle to attack.
"AttackAcquisitionRange" "600" // Range within a target can be acquired.
"AttackRange" "500" // Range within a target can be attacked.
"ProjectileModel" "particles/base_attacks/ranged_badguy.vpcf" // Particle system model for projectile.
"ProjectileSpeed" "900" // Speed of projectile.
// Attributes
//----------------------------------------------------------------
"AttributePrimary" "DOTA_ATTRIBUTE_STRENGTH"
"AttributeBaseStrength" "0" // Base strength
"AttributeStrengthGain" "0" // Strength bonus per level.
"AttributeBaseIntelligence" "0" // Base intelligence
"AttributeIntelligenceGain" "0" // Intelligence bonus per level.
"AttributeBaseAgility" "0" // Base agility
"AttributeAgilityGain" "0" // Agility bonus per level.
// Bounty
//----------------------------------------------------------------
"BountyXP" "69" // Experience earn.
"BountyGoldMin" "48" // Gold earned min.
"BountyGoldMax" "58" // Gold earned max.
// Bounds
//----------------------------------------------------------------
"BoundsHullName" "DOTA_HULL_SIZE_SMALL" // Hull type used for navigation/locomotion.
"RingRadius" "45"
"HealthBarOffset" "150"
// Movement
//----------------------------------------------------------------
"MovementCapabilities" "DOTA_UNIT_CAP_MOVE_GROUND" // Type of locomotion - ground, air
"MovementSpeed" "325" // Speed
"MovementTurnRate" "0.5" // Turning rate.
// Status
//----------------------------------------------------------------
"StatusHealth" "3000" // Base health.
"StatusHealthRegen" "2" // Health regeneration rate.
"StatusMana" "500" // Base mana.
"StatusManaRegen" "0.75" // Mana regeneration rate.
// Team
//----------------------------------------------------------------
"TeamName" "DOTA_TEAM_BADGUYS" // Team name.
"CombatClassAttack" "DOTA_COMBAT_CLASS_ATTACK_PIERCE"
"CombatClassDefend" "DOTA_COMBAT_CLASS_DEFEND_BASIC"
"UnitRelationshipClass" "DOTA_NPC_UNIT_RELATIONSHIP_TYPE_DEFAULT"
// Vision
//----------------------------------------------------------------
"VisionDaytimeRange" "750" // Range of vision during day light.
"VisionNighttimeRange" "750" // Range of vision at night time.
//Inventory
"HasInventory" "1"
"EquippedItems"
{
"ForceStaff" { "Item" "item_force_staff" }
"PhaseBoots" { "Item" "item_phase_boots" }
"Drums"
{
"Item" "item_ancient_janggo"
"Charges" "10"
}
"Urn"
{
"Item" "item_urn_of_shadows"
"Charges" "10"
}
}
Код:
"npc_dota_roshan"
{
// General
//
"BaseClass" "npc_dota_roshan" // Class of entity of link to.
"Model" "models/creeps/roshan/roshan.vmdl" // Model.
"SoundSet" "Roshan" // Name of sound set.
"ModelScale" "1"
"Level" "30"
"IsAncient" "1"
// Abilities
//----------------------------------------------------------------
"Ability1" "roshan_spell_block" // Ability 1.
"Ability2" "roshan_bash" // Ability 2.
"Ability3" "roshan_slam" // Ability 3.
"Ability4" "roshan_inherent_buffs" // Ability 4.
"Ability5" "roshan_devotion" // Ability 5.
"Ability6" "" // Ability 6 - Extra.
"Ability7" "" // Ability 7 - Extra.
"Ability8" "" // Ability 8 - Extra.
// Armor
//----------------------------------------------------------------
"ArmorPhysical" "18.0" // Physical protection.
"MagicalResistance" "55" // Magical protection (percentage).
// Attack
//----------------------------------------------------------------
"AttackCapabilities" "DOTA_UNIT_CAP_MELEE_ATTACK"
"AttackDamageMin" "75" // Damage range min.
"AttackDamageMax" "75" // Damage range max.
"AttackDamageType" "DAMAGE_TYPE_ArmorPhysical"
"AttackRate" "2.0" // Speed of attack.
"AttackAnimationPoint" "0.6" // Normalized time in animation cycle to attack.
"AttackAcquisitionRange" "150" // Range within a target can be acquired.
"AttackRange" "150" // Range within a target can be attacked.
"ProjectileModel" "particles/base_attacks/ranged_goodguy.vpcf" // Particle system model for projectile.
"ProjectileSpeed" "1000" // Speed of projectile.
// Bounty
//----------------------------------------------------------------
"BountyXP" "750" // Experience earn.
"BountyGoldMin" "150" // Gold earned min.
"BountyGoldMax" "400" // Gold earned max.
// Bounds
//----------------------------------------------------------------
"BoundsHullName" "DOTA_HULL_SIZE_HERO" // Hull type used for navigation/locomotion.
"RingRadius" "110"
"HealthBarOffset" "400"
// Movement
//----------------------------------------------------------------
"MovementCapabilities" "DOTA_UNIT_CAP_MOVE_GROUND" // Type of locomotion - ground, air
"MovementSpeed" "270" // Speed
"MovementTurnRate" "1.0" // Turning rate.
// Status
//----------------------------------------------------------------
"StatusHealth" "6000" // Base health.
"StatusHealthRegen" "20" // Health regeneration rate.
"StatusMana" "0" // Base mana.
"StatusManaRegen" "0" // Mana regeneration rate.
// Team
//----------------------------------------------------------------
"TeamName" "DOTA_TEAM_NEUTRALS" // Team name.
"CombatClassAttack" "DOTA_COMBAT_CLASS_ATTACK_HERO"
"CombatClassDefend" "DOTA_COMBAT_CLASS_DEFEND_HERO"
"UnitRelationshipClass" "DOTA_NPC_UNIT_RELATIONSHIP_TYPE_DEFAULT"
// Vision
//----------------------------------------------------------------
"VisionDaytimeRange" "1400" // Range of vision during day light.
"VisionNighttimeRange" "1400" // Range of vision at night time.
// Inventory
//----------------------------------------------------------------
"HasInventory" "1"
"EquippedItems"
{
"ForceStaff" { "Item" "item_force_staff" }
"PhaseBoots" { "Item" "item_phase_boots" }
"Drums"
{
"Item" "item_ancient_janggo"
"Charges" "10"
}
"Urn"
{
"Item" "item_urn_of_shadows"
"Charges" "10"
}
}
}
Последнее редактирование: