Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
andyksaw committed Aug 11, 2019
0 parents commit 2cdd042
Show file tree
Hide file tree
Showing 162 changed files with 6,491 additions and 0 deletions.
11 changes: 11 additions & 0 deletions addoninfo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"AddonInfo"
{
"TeamCount" "2"
"IsPlayable" "1"

"maps" "tree_tag_wc3"
"tree_tag_wc3"
{
"MaxPlayers" "8"
}
}
Binary file added maps/tree_tag_wc3.vpk
Binary file not shown.
Binary file added materials/overviews/template_map.vmat_c
Binary file not shown.
Binary file not shown.
Binary file added materials/overviews/tree_tag_wc3.vmat_c
Binary file not shown.
Binary file not shown.
Binary file added materials/particle/basic_glow.vtex_c
Binary file not shown.
Binary file added materials/particle/basic_rope.vtex_c
Binary file not shown.
Binary file added materials/particle/basic_rope_energy.vtex_c
Binary file not shown.
Binary file added materials/particle/basic_smoke.vtex_c
Binary file not shown.
Binary file added materials/particle/basic_trail.vtex_c
Binary file not shown.
Binary file added models/test.vmdl_c
Binary file not shown.
Binary file added models/test.vmesh_c
Binary file not shown.
Binary file added panorama/images/custom_game/hud_png.vtex_c
Binary file not shown.
Binary file not shown.
Binary file added panorama/layout/custom_game/hud_treants.vxml_c
Binary file not shown.
Binary file added panorama/layout/custom_game/hud_treetag.vxml_c
Binary file not shown.
Binary file added panorama/scripts/custom_game/building.vjs_c
Binary file not shown.
Binary file added panorama/scripts/custom_game/unit_selection.vjs_c
Binary file not shown.
Binary file added panorama/styles/custom_game/building.vcss_c
Binary file not shown.
Binary file added panorama/styles/custom_game/hud_treants.vcss_c
Binary file not shown.
Binary file added panorama/styles/custom_game/hud_treetag.vcss_c
Binary file not shown.
Binary file added panorama_debugger.cfg
Binary file not shown.
Binary file added particles/basic_ambient/basic_ambient.vpcf_c
Binary file not shown.
Binary file added particles/basic_explosion/basic_explosion.vpcf_c
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added particles/basic_explosion/basic_explosion_flash.vpcf_c
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added particles/basic_rope/basic_rope.vpcf_c
Binary file not shown.
Binary file added particles/basic_trail/basic_trail.vpcf_c
Binary file not shown.
Binary file added resource/addon_english.txt
Binary file not shown.
79 changes: 79 additions & 0 deletions resource/flash3/custom_ui.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
"CustomUI"
{
// swf files should be published into the same folder as this file

// Add a numbered block for each swf file to load when your addon starts


//"1"
//{
// "File" "Example"
// "Depth" "50"
//}
}

// =============================================
// Depths of base Dota UI elements
// =============================================
// hud_chat: 8,

// error_msg: 10,

// voicechat: 11,
// shop: 12,
// tutorial: 13,
// herodisplay: 14,
// actionpanel: 15,
// inventory: 16,
// channelbar: 17,

// gameend: 19,
// chat_wheel: 20,
// survey: 21,
// quests: 22,
// questlog: 23,

// ti_onstage_side: 30,

// last_hit_challenge: 35,
// waitingforplayers: 36,
// highlight_reel: 37,
// stats_dropdown: 38,
// halloween: 39,
// killcam: 40, // and inspect
// scoreboard: 41,
// quickstats: 42,
// shared_units: 43,
// shared_content: 44,

// holdout: 50,

// spectator_items: 145,
// spectator_graph: 146,
// spectator_harvest: 147,
// spectator_player: 148,
// spectator_fantasy: 149,

// heroselection: 250,
// spectate_heroselection: 251,
// shared_heroselectorandloadout : 252,

// broadcaster: 364,

// spectate: 365,
// coach: 366,

// combat_log: 367,

// guide_panel: 368,

// loadgame: 380,

// report_dialogue : 381,
// popups : 382,
// matchmaking_ready : 383,

// ti_onstage_pods: 500,

// overlay: 1000
// =============================================
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resource/flash3/images/items/building_library.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resource/flash3/images/items/building_sentry.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resource/flash3/images/items/buildings.psd
Binary file not shown.
Binary file added resource/flash3/images/items/force_boots.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resource/flash3/images/items/ghost_boots.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resource/flash3/images/items/lotus_sphere.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resource/flash3/images/items/rod_refresher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions resource/overviews/template_map.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
template_map
{
material materials/overviews/template_map.vmat
pos_x -8192
pos_y 8192
scale 16.000
}

8 changes: 8 additions & 0 deletions resource/overviews/tree_tag_wc3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
tree_tag_wc3
{
material materials/overviews/tree_tag_wc3.vmat
pos_x -8192
pos_y 8192
scale 16.000
}

34 changes: 34 additions & 0 deletions scripts/changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
TO FIX:
- XP table is incorrect
- 0/0 hp wisp at centre of map
- Add levels to Ensnare
- Add levels to Flames of Speed
- Add levels to Slam Ground
- Multiplayer: Treants all dead = no win condition triggered
- Multiplayer: Check that Invisible Trees are actually invisible
- Buildings are practically invincible while being built due to percentage hp add
- Reconnect: playerID needs to be relinked with their Treant table counterpart
- Fix spawn points (currently spawns from dota_start because team is unassigned)

================================================================================================

Changes:
- All Infernal skills now have 7 levels
- Infernals no longer start with all skills maxed
- Infernals start off with 1 level in Area Tree Destroy
- Infernals start off with 1 skill point to assign
- Treants no longer die on single hit but instead when their hp reaches 0
- All buildings and units now provide xp to Infernals on death

Balancing:
- Infernal Flames of Speed bonus speed reduced
- Infernal Summon Spirits now costs mana
- Greatly reduced Infernal hp regen and starting hp

Map:
- Spawn point adjustments to accomodate for more players
- Various aesthetic tweaks

Bug Fixes:
- Fixed an issue causing Treants not to turn into Dead Ents upon death
- Fixed barracks being able to set a rallypoint before being 100% built
38 changes: 38 additions & 0 deletions scripts/npc/abilities/ability_aura_armor.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
"ability_aura_armor"
{
"BaseClass" "ability_datadriven"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
"AbilityUnitTargetTeam" "DOTA_UNIT_TARGET_TEAM_FRIENDLY"
"AbilityUnitTargetType" "DOTA_UNIT_TARGET_ALL"
"AbilityCastRange" "800"
"MaxLevel" "3"
"Modifiers"
{
"modifier_aura_armor"
{
"Passive" "1"
"IsHidden" "1"
"Aura" "modifier_aura_armor_buff"
"Aura_Radius" "800"
"Aura_Teams" "DOTA_UNIT_TARGET_TEAM_FRIENDLY"
"Aura_Types" "DOTA_UNIT_TARGET_ALL"
"Aura_ApplyToCaster" "0"
}
"modifier_aura_armor_buff"
{
"EffectName" "particles/items_fx/aura_endurance_c.vpcf"
"Properties"
{
"MODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS" "%armor"
}
}
}
"AbilitySpecial"
{
"01"
{
"var_type" "FIELD_INTEGER"
"armor" "1 3 5"
}
}
}
44 changes: 44 additions & 0 deletions scripts/npc/abilities/ability_aura_health.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
"ability_aura_health"
{
"BaseClass" "ability_datadriven"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
"AbilityUnitTargetTeam" "DOTA_UNIT_TARGET_TEAM_FRIENDLY"
"AbilityUnitTargetType" "DOTA_UNIT_TARGET_ALL"
"AbilityCastRange" "%radius"
"MaxLevel" "5"
"Modifiers"
{
"modifier_aura_health"
{
"Passive" "1"
"IsHidden" "1"
"Aura" "modifier_aura_health_buff"
"Aura_Radius" "%radius"
"Aura_Teams" "DOTA_UNIT_TARGET_TEAM_FRIENDLY"
"Aura_Types" "DOTA_UNIT_TARGET_ALL"
"Aura_ApplyToCaster" "0"
//"Aura_Flags" "DOTA_UNIT_TARGET_FLAG_NONE"
}
"modifier_aura_health_buff"
{
"EffectName" "particles/items_fx/aura_assault_ring.vpcf"
"Properties"
{
"MODIFIER_PROPERTY_HEALTH_BONUS" "%health"
}
}
}
"AbilitySpecial"
{
"01"
{
"var_type" "FIELD_INTEGER"
"radius" "450 650 800 1100 1500"
}
"02"
{
"var_type" "FIELD_INTEGER"
"health" "50 100 150 300 500"
}
}
}
38 changes: 38 additions & 0 deletions scripts/npc/abilities/ability_aura_regen.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
"ability_aura_regen"
{
"BaseClass" "ability_datadriven"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
"AbilityUnitTargetTeam" "DOTA_UNIT_TARGET_TEAM_FRIENDLY"
"AbilityUnitTargetType" "DOTA_UNIT_TARGET_ALL"
"AbilityCastRange" "800"
"MaxLevel" "3"
"Modifiers"
{
"modifier_aura_regen"
{
"Passive" "1"
"IsHidden" "1"
"Aura" "modifier_aura_regen_buff"
"Aura_Radius" "800"
"Aura_Teams" "DOTA_UNIT_TARGET_TEAM_FRIENDLY"
"Aura_Types" "DOTA_UNIT_TARGET_ALL"
"Aura_ApplyToCaster" "0"
}
"modifier_aura_regen_buff"
{
"EffectName" "particles/items_fx/aura_vlads.vpcf"
"Properties"
{
"MODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS" "%regen"
}
}
}
"AbilitySpecial"
{
"01"
{
"var_type" "FIELD_INTEGER"
"regen" "1 2 5"
}
}
}
22 changes: 22 additions & 0 deletions scripts/npc/abilities/ability_build_mine.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
"ability_build_mine"
{
"BaseClass" "ability_datadriven"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_POINT | DOTA_ABILITY_BEHAVIOR_AOE"
"AbilityTextureName" "item_rapier"
"AbilityGoldCost" "500"
"AbilityCastRange" "500"
"AOERadius" "160"
"OnSpellStart"
{
"RunScript"
{
"ScriptFile" "abilities/ability_build.lua"
"Function" "OnBuildMine"
"Target" "POINT"
"UnitName" "npc_building_mine"
"HullRadius" "192"
"BuildTime" "5"
"BuildCost" "500"
}
}
}
63 changes: 63 additions & 0 deletions scripts/npc/abilities/ability_channel_construct.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
"ability_channel_construct"
{
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_CHANNELLED | DOTA_ABILITY_BEHAVIOR_UNIT_TARGET"
"AbilityUnitTargetTeam" "DOTA_UNIT_TARGET_TEAM_FRIENDLY"
"AbilityUnitTargetType" "DOTA_UNIT_TARGET_ALL"
"BaseClass" "ability_datadriven"
"AbilityTextureName" "neutral_spell_immunity"
"MaxLevel" "25"
"AbilityChannelTime" "1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25"
"AbilityCastRange" "500"

"OnSpellStart"
{
"RunScript"
{
"Target" "TARGET"
"ScriptFile" "abilities/ability_build_channel.lua"
"Function" "OnChannelBegin"
}
"ApplyModifier"
{
"ModifierName" "modifier_channeling"
"Target" "CASTER"
}
}
"OnChannelInterrupted"
{
"RunScript"
{
"Target" "TARGET"
"ScriptFile" "abilities/ability_build_channel.lua"
"Function" "OnChannelInterrupt"
}
"RemoveModifier"
{
"ModifierName" "modifier_channeling"
"Target" "CASTER"
}
}

"Modifiers"
{
"modifier_channeling"
{
"ThinkInterval" "1.5"
"OnIntervalThink"
{
"ApplyModifier"
{
"ModifierName" "channelling_animation"
"Target" "CASTER"
}
}
}

"channelling_animation"
{
"IsHidden" "1"
"Duration" "1.4"
"OverrideAnimation" "ACT_DOTA_CAST_ABILITY_5"
}
}
}
10 changes: 10 additions & 0 deletions scripts/npc/abilities/ability_channel_upgrade.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"ability_channel_upgrade"
{
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_CHANNELLED | DOTA_ABILITY_BEHAVIOR_UNIT_TARGET"
"AbilityUnitTargetTeam" "DOTA_UNIT_TARGET_TEAM_FRIENDLY"
"AbilityUnitTargetType" "DOTA_UNIT_TARGET_ALL"
"BaseClass" "ability_datadriven"
"AbilityTextureName" "neutral_spell_immunity"
"MaxLevel" "25"
"AbilityChannelTime" "1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25"
}
Loading

0 comments on commit 2cdd042

Please sign in to comment.