diff --git a/Shogun Warfare/0.png b/Shogun Warfare/0.png new file mode 100644 index 0000000..9014e53 Binary files /dev/null and b/Shogun Warfare/0.png differ diff --git a/Shogun Warfare/audio/base_attack.wav b/Shogun Warfare/audio/base_attack.wav new file mode 100644 index 0000000..b7f479a Binary files /dev/null and b/Shogun Warfare/audio/base_attack.wav differ diff --git a/Shogun Warfare/audio/bomb01.ogg b/Shogun Warfare/audio/bomb01.ogg new file mode 100644 index 0000000..9ec2021 Binary files /dev/null and b/Shogun Warfare/audio/bomb01.ogg differ diff --git a/Shogun Warfare/audio/bow/bow01.ogg b/Shogun Warfare/audio/bow/bow01.ogg new file mode 100644 index 0000000..18978f3 Binary files /dev/null and b/Shogun Warfare/audio/bow/bow01.ogg differ diff --git a/Shogun Warfare/audio/defeat01.ogg b/Shogun Warfare/audio/defeat01.ogg new file mode 100644 index 0000000..03d036a Binary files /dev/null and b/Shogun Warfare/audio/defeat01.ogg differ diff --git a/Shogun Warfare/audio/defeat01.wav b/Shogun Warfare/audio/defeat01.wav new file mode 100644 index 0000000..ccb5a37 Binary files /dev/null and b/Shogun Warfare/audio/defeat01.wav differ diff --git a/Shogun Warfare/audio/explode/explode01.ogg b/Shogun Warfare/audio/explode/explode01.ogg new file mode 100644 index 0000000..d2835ee Binary files /dev/null and b/Shogun Warfare/audio/explode/explode01.ogg differ diff --git a/Shogun Warfare/audio/explode/explode02.ogg b/Shogun Warfare/audio/explode/explode02.ogg new file mode 100644 index 0000000..b3eee17 Binary files /dev/null and b/Shogun Warfare/audio/explode/explode02.ogg differ diff --git a/Shogun Warfare/audio/explode/launch01.ogg b/Shogun Warfare/audio/explode/launch01.ogg new file mode 100644 index 0000000..46569ea Binary files /dev/null and b/Shogun Warfare/audio/explode/launch01.ogg differ diff --git a/Shogun Warfare/audio/explode/launch02.ogg b/Shogun Warfare/audio/explode/launch02.ogg new file mode 100644 index 0000000..7c0896e Binary files /dev/null and b/Shogun Warfare/audio/explode/launch02.ogg differ diff --git a/Shogun Warfare/audio/matchlocks/projectile01.ogg b/Shogun Warfare/audio/matchlocks/projectile01.ogg new file mode 100644 index 0000000..3a5b0d7 Binary files /dev/null and b/Shogun Warfare/audio/matchlocks/projectile01.ogg differ diff --git a/Shogun Warfare/audio/scan01.ogg b/Shogun Warfare/audio/scan01.ogg new file mode 100644 index 0000000..7924cc8 Binary files /dev/null and b/Shogun Warfare/audio/scan01.ogg differ diff --git a/Shogun Warfare/audio/skills/bloodLust.ogg b/Shogun Warfare/audio/skills/bloodLust.ogg new file mode 100644 index 0000000..aecc151 Binary files /dev/null and b/Shogun Warfare/audio/skills/bloodLust.ogg differ diff --git a/Shogun Warfare/audio/treeFall.ogg b/Shogun Warfare/audio/treeFall.ogg new file mode 100644 index 0000000..48fe26d Binary files /dev/null and b/Shogun Warfare/audio/treeFall.ogg differ diff --git a/Shogun Warfare/audio/victory01.ogg b/Shogun Warfare/audio/victory01.ogg new file mode 100644 index 0000000..78cb2b8 Binary files /dev/null and b/Shogun Warfare/audio/victory01.ogg differ diff --git a/Shogun Warfare/buildings.template b/Shogun Warfare/buildings.template index 534ac76..acf2202 100644 --- a/Shogun Warfare/buildings.template +++ b/Shogun Warfare/buildings.template @@ -4,6 +4,7 @@ soundOnNewSelection: ROOT:audio\click1.wav [graphics] image_shield: ROOT:images\noshield.png +icon_build:icon.png [decal_circle] basePosition: self.getOffsetRelative(diroffset=self.timeAlive()*50) @@ -12,25 +13,33 @@ imageScale: 1.7 frame_width: 32 frame_height: 32 teamColors: true - onlyWithZoomLevelOrMore: 0.4 onlyWhileActive: true onlyWhileAlive: true -#onlyTeam: own teamColors: true layer: shadow alpha: 0.5 [decal_selection] -imageStack: ROOT:images\select.png*1 +imageStack: ROOT:images\select3.png*1 imageScale: 2 frame_width: 32 frame_height: 32 +alpha: 0.5 layer: beforeUI teamColors: true onlyWhenSelectedByAnyPlayer: true -[hiddenAction_baseUnderAttack] +[hiddenAction_baseUnderAttack1] resetCustomTimer: true -autoTrigger: if self.hasTakenDamage(withinSeconds=1) and self.customTimer(laterThanSeconds=10) -playSoundToPlayer: ROOT:audio\base_attack.ogg \ No newline at end of file +autoTrigger: if self.hasTakenDamage(withinSeconds=1) and self.customTimer(laterThanSeconds=5) +playSoundToPlayer: ROOT:audio\scan01.ogg: 1 + +[hiddenAction_killIfDefeat] +autoTrigger: if self.numberOfUnitsInTeam(withTag='camp', lessThan=1) +setResourcesWithLogic: hp=0 + + +#[ai] +#lowPriorityTargetForOtherUnits: true + diff --git a/Shogun Warfare/faction-camp.template b/Shogun Warfare/faction-camp.template index e8b14fc..0029c3f 100644 --- a/Shogun Warfare/faction-camp.template +++ b/Shogun Warfare/faction-camp.template @@ -1,14 +1,13 @@ [core] copyFrom:ROOT:buildings.template class:CustomUnitMetadata +tags: camp name: displayText: displayDescription: - - isPickableStartingUnit:true -numBitsOnDeath: 5 -selfRegenRate: 0.1 +numBitsOnDeath: 10 +selfRegenRate: 0 price: gold=100, wood=100 maxHp: 8000 mass: 30000 @@ -27,47 +26,83 @@ generation_resources: gold=1, wood=1, rice=1 generation_delay: 40 exit_x:0 exit_y:-10 + [graphics] -total_frames: 1 +total_frames: 6 icon_build: image.png image: image.png +icon_build:ROOT:images\iconFactionCamp.png image_back: image.png -image_wreak: image.png +image_wreak: baseRoof1.png image_shadow: shadow.png +animation_idle_start: 0 +animation_idle_end: 5 +animation_idle_speed: 5 +animation_idle_pingPong: true shadowOffsetX: 0 shadowOffsetY: 0 +drawLayer: bottom + [attack] canAttack: false canAttackFlyingUnits: false canAttackLandUnits: false canAttackUnderwaterUnits: false + [movement] movementType: NONE moveSpeed: 0 + [ai] buildPriority: 2 + [hiddenAction_resource] autoTriggerOnEvent: created -[hiddenAction_ai_extra1] +[hiddenAction_aiExtraIncome] autoTrigger: if self.isControlledByAI() -requireConditional: if self.isControlledByAI() -addResources: gold=8, wood=8, rice=8 +addResources: wood=+15, gold=+15, rice=+15 +[hiddenAction_onDestroyed] +autoTriggerOnEvent: destroyed +spawnEffects: CUSTOM: destroyedCastle + [decal_circle] @copyFrom_skipThisSection: true [decal_castleImp] -@define TimeAliveMultipler: 200 -@define scaleVariance: 0.01 -layer:shadow -imageStack: ROOT:images\tcircle01.png*1 -imageScale: 0.3+cos(self.timeAlive()*${TimeAliveMultipler})*${scaleVariance} +layer: shadow +order: 0 +imageStack: ROOT:images\tCircleCastle.png*1 +imageScale: 0.3 teamColors: true onlyWhenSelectedByAnyPlayer: true +#[decal_castleImp] +#@define TimeAliveMultipler: 200 +#@define scaleVariance: 0.01 +#layer:shadow +#imageStack: ROOT:images\tcircle01.png*1 +#imageScale: 0.3+cos(self.timeAlive()*${TimeAliveMultipler})*${scaleVariance} +#teamColors: true +#onlyWhenSelectedByAnyPlayer: true [decal_FLAGS020fC78KVK] layer:beforeUi -order: 2 +order: 3 imageStack:clanflag.png yOffsetRelative: 30 onlyWhenSelectedByAnyPlayer: true +[decal_roofBlock2] +image: baseRoof2.png +layer: beforeUI +order: 2 +alpha: 0.2 +imageScale: 1 +teamColors: true +isVisible: true +[decal_roofBlock3] +image: baseRoof1.png +layer: beforeUI +order: 2 +imageScale: 1 +teamColors: true +isVisible: if self.numberOfUnitsInTeam(withTag='infantry', lessThan=1, withinRange=60) [canBuild_0] name: setRally @@ -94,8 +129,33 @@ isVisible: if self.isControlledByAI() name: yari_ashigaru_exp isVisible: if self.isControlledByAI() - #[hiddenAction_yearCalendar] ## will be used later in game ## #autoTriggerOnEvent: created #isActive:true -#addResources:year=1 \ No newline at end of file +#addResources:year=1 +### Victory / Defeated Sounds ### +#[hiddenAction_baseOwnDefeated] +#autoTriggerOnEvent: destroyed +#playSoundToPlayer: ROOT:audio\defeat01.ogg: 1 +#debugMessage: [You have been destroyed!] +#[hiddenAction_baseOwnVictory] +#autoTrigger: if self.numberOfUnitsInEnemyTeam(withTag="camp") < 1 +#playSoundToPlayer: ROOT:audio\victory01.ogg: 1 +#debugMessage: [You are victorious!] + +[effect_destroyedCastle] +image: ROOT:images\destroyed2.png +priority: high +drawUnderUnits: false +life: 400 +alpha: 1 +scaleFrom: 0.3 +scaleTo: 0.3 +fadeOut: true +hSpeed: 0.2 +attachedToUnit: true +createWhenZoomedOut: true +spawnChance: 100 + + + diff --git a/Shogun Warfare/faction/faction_selector/faction.ini b/Shogun Warfare/faction/faction_selector/faction.ini index d801602..d866022 100644 --- a/Shogun Warfare/faction/faction_selector/faction.ini +++ b/Shogun Warfare/faction/faction_selector/faction.ini @@ -1,11 +1,10 @@ [core] overrideAndReplace: commandCenter name: Faction Selection -copyFrom:ROOT:all-units.template +copyFrom: ROOT:all-units.template isPickableStartingUnit:true displayText: Select Your Clan -#displayDescription: - -tags:selector +tags: camp, selector, factionSelection class: CustomUnitMetadata price: 0 maxHp: 500 @@ -29,7 +28,7 @@ isBuilding: true convertTo: Takeda Camp displayType: upgrade text: Takeda Clan -buildSpeed: 5s +buildSpeed: 3s highPriorityQueue: true ai_isHighPriority: true iconImage: takeda.png @@ -39,7 +38,7 @@ addResources: gold=50, wood=50, rice=50 convertTo: Otomo Camp displayType: upgrade text: Otomo Clan -buildSpeed: 5s +buildSpeed: 3s highPriorityQueue: true ai_isHighPriority: true iconImage: otomo.png @@ -49,7 +48,7 @@ addResources: gold=50, wood=50, rice=50 convertTo: Shimazu Camp displayType: upgrade text: Shimazu Clan -buildSpeed: 5s +buildSpeed: 3s highPriorityQueue: true ai_isHighPriority: true iconImage: shimazu.png @@ -59,7 +58,7 @@ addResources: gold=50, wood=50, rice=50 convertTo: Hojo Camp displayType: upgrade text: Hojo Clan -buildSpeed: 5s +buildSpeed: 3s highPriorityQueue: true ai_isHighPriority: true iconImage: hojo.png @@ -69,7 +68,7 @@ addResources: gold=50, wood=50, rice=50 convertTo: Oda Camp displayType: upgrade text: Oda Clan -buildSpeed: 5s +buildSpeed: 3s highPriorityQueue: true ai_isHighPriority: true iconImage: oda.png @@ -79,7 +78,7 @@ addResources: gold=50, wood=50, rice=50 convertTo: Ikko Ikki Camp displayType: upgrade text: Ikko Ikki Clan -buildSpeed: 5s +buildSpeed: 3s highPriorityQueue: true ai_isHighPriority: true iconImage: ikkoikki.png @@ -125,3 +124,6 @@ teamColors: true alwaysStartDirAtZero: true yOffsetAbsolute: 30 imageScale: 1 + + + diff --git a/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/baseRoof1.png b/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/baseRoof1.png new file mode 100644 index 0000000..98a25f7 Binary files /dev/null and b/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/baseRoof1.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/baseRoof2.png b/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/baseRoof2.png new file mode 100644 index 0000000..d9582f8 Binary files /dev/null and b/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/baseRoof2.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/camp.ini b/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/camp.ini index 73fc4a4..dbca6a3 100644 --- a/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/camp.ini +++ b/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/camp.ini @@ -3,5 +3,5 @@ name: Hojo Camp class: CustomUnitMetadata displayText: Hojo Camp displayDescription: - Main Camp for Hojo -tags: building, structure, hojo +tags: building, structure, hojo, camp, maincamp, mainCamp copyFrom:ROOT:faction-camp.template \ No newline at end of file diff --git a/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/image.png b/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/image.png index 0be1ec9..343db15 100644 Binary files a/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/image.png and b/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/image.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/shadow.png b/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/shadow.png index d5448a8..16b1e41 100644 Binary files a/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/shadow.png and b/Shogun Warfare/faction/main/Faction Camps/Hojo Camp/shadow.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/baseRoof1.png b/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/baseRoof1.png new file mode 100644 index 0000000..321cc85 Binary files /dev/null and b/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/baseRoof1.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/baseRoof2.png b/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/baseRoof2.png new file mode 100644 index 0000000..d9582f8 Binary files /dev/null and b/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/baseRoof2.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/camp.ini b/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/camp.ini index 3a466f5..def2797 100644 --- a/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/camp.ini +++ b/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/camp.ini @@ -3,5 +3,5 @@ name: Ikko Ikki Camp class: CustomUnitMetadata displayText: Ikko Ikki Camp displayDescription: - Main Camp for Ikko Ikki -tags: building, structure, ikko ikki +tags: building, structure, ikkoikkiCamp, ikko ikki, camp, maincamp, mainCamp copyFrom:ROOT:faction-camp.template \ No newline at end of file diff --git a/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/image.png b/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/image.png index 0429387..343db15 100644 Binary files a/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/image.png and b/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/image.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/shadow.png b/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/shadow.png index d5448a8..16b1e41 100644 Binary files a/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/shadow.png and b/Shogun Warfare/faction/main/Faction Camps/Ikko Ikki/shadow.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Oda Camp/baseRoof1.png b/Shogun Warfare/faction/main/Faction Camps/Oda Camp/baseRoof1.png new file mode 100644 index 0000000..69d49f4 Binary files /dev/null and b/Shogun Warfare/faction/main/Faction Camps/Oda Camp/baseRoof1.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Oda Camp/baseRoof2.png b/Shogun Warfare/faction/main/Faction Camps/Oda Camp/baseRoof2.png new file mode 100644 index 0000000..d9582f8 Binary files /dev/null and b/Shogun Warfare/faction/main/Faction Camps/Oda Camp/baseRoof2.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Oda Camp/camp.ini b/Shogun Warfare/faction/main/Faction Camps/Oda Camp/camp.ini index 7b3d7b2..71330af 100644 --- a/Shogun Warfare/faction/main/Faction Camps/Oda Camp/camp.ini +++ b/Shogun Warfare/faction/main/Faction Camps/Oda Camp/camp.ini @@ -3,5 +3,5 @@ name: Oda Camp class: CustomUnitMetadata displayText: Oda Camp displayDescription: - Main Camp for Oda -tags: building, structure, Oda +tags: building, structure, oda, odacamp, camp, maincamp, mainCamp copyFrom:ROOT:faction-camp.template \ No newline at end of file diff --git a/Shogun Warfare/faction/main/Faction Camps/Oda Camp/image.png b/Shogun Warfare/faction/main/Faction Camps/Oda Camp/image.png index c403477..343db15 100644 Binary files a/Shogun Warfare/faction/main/Faction Camps/Oda Camp/image.png and b/Shogun Warfare/faction/main/Faction Camps/Oda Camp/image.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Oda Camp/shadow.png b/Shogun Warfare/faction/main/Faction Camps/Oda Camp/shadow.png index d5448a8..16b1e41 100644 Binary files a/Shogun Warfare/faction/main/Faction Camps/Oda Camp/shadow.png and b/Shogun Warfare/faction/main/Faction Camps/Oda Camp/shadow.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/baseRoof1.png b/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/baseRoof1.png new file mode 100644 index 0000000..dc0d692 Binary files /dev/null and b/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/baseRoof1.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/baseRoof2.png b/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/baseRoof2.png new file mode 100644 index 0000000..d9582f8 Binary files /dev/null and b/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/baseRoof2.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/camp.ini b/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/camp.ini index d8eaa3d..75c78fc 100644 --- a/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/camp.ini +++ b/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/camp.ini @@ -3,5 +3,5 @@ name: Otomo Camp class: CustomUnitMetadata displayText: Otomo Camp displayDescription: - Main Camp for Otomo -tags: building, structure, otomo +tags: building, structure, otomo, camp, maincamp, mainCamp copyFrom:ROOT:faction-camp.template \ No newline at end of file diff --git a/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/image.png b/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/image.png index 69a1339..343db15 100644 Binary files a/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/image.png and b/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/image.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/shadow.png b/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/shadow.png index d5448a8..16b1e41 100644 Binary files a/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/shadow.png and b/Shogun Warfare/faction/main/Faction Camps/Otomo Camp/shadow.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/baseRoof1.png b/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/baseRoof1.png new file mode 100644 index 0000000..eae840e Binary files /dev/null and b/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/baseRoof1.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/baseRoof2.png b/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/baseRoof2.png new file mode 100644 index 0000000..d9582f8 Binary files /dev/null and b/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/baseRoof2.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/camp.ini b/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/camp.ini index ef3dd9d..09314c2 100644 --- a/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/camp.ini +++ b/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/camp.ini @@ -3,5 +3,5 @@ name: Shimazu Camp class: CustomUnitMetadata displayText: Shimazu Camp displayDescription: - Main Camp for Shimazu -tags: building, structure, shimazu +tags: building, structure, shimazu, camp, maincamp, mainCamp copyFrom:ROOT:faction-camp.template \ No newline at end of file diff --git a/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/image.png b/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/image.png index 9229446..343db15 100644 Binary files a/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/image.png and b/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/image.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/shadow.png b/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/shadow.png index d5448a8..16b1e41 100644 Binary files a/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/shadow.png and b/Shogun Warfare/faction/main/Faction Camps/Shimazu Camp/shadow.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/baseRoof1.png b/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/baseRoof1.png new file mode 100644 index 0000000..c90be6e Binary files /dev/null and b/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/baseRoof1.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/baseRoof2.png b/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/baseRoof2.png new file mode 100644 index 0000000..d9582f8 Binary files /dev/null and b/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/baseRoof2.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/camp.ini b/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/camp.ini index 76e3273..ca3dea5 100644 --- a/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/camp.ini +++ b/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/camp.ini @@ -3,5 +3,5 @@ name: Takeda Camp class: CustomUnitMetadata displayText: Takeda Camp displayDescription: - Main Camp for Takeda -tags: building, structure, takeda +tags: building, structure, takeda, camp, maincamp, mainCamp copyFrom:ROOT:faction-camp.template \ No newline at end of file diff --git a/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/image - Old.png b/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/image - Old.png new file mode 100644 index 0000000..29ec34a Binary files /dev/null and b/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/image - Old.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/image.aseprite b/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/image.aseprite new file mode 100644 index 0000000..e602a98 Binary files /dev/null and b/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/image.aseprite differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/image.png b/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/image.png index 29ec34a..343db15 100644 Binary files a/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/image.png and b/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/image.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/shadow - Copy.png b/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/shadow - Copy.png new file mode 100644 index 0000000..d5448a8 Binary files /dev/null and b/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/shadow - Copy.png differ diff --git a/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/shadow.png b/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/shadow.png index d5448a8..16b1e41 100644 Binary files a/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/shadow.png and b/Shogun Warfare/faction/main/Faction Camps/Takeda Camp/shadow.png differ diff --git a/Shogun Warfare/faction/main/Infantry/bow/bow_ashigaru/base.png b/Shogun Warfare/faction/main/Infantry/bow/bow_ashigaru/base.png index 15c382c..a0c6abb 100644 Binary files a/Shogun Warfare/faction/main/Infantry/bow/bow_ashigaru/base.png and b/Shogun Warfare/faction/main/Infantry/bow/bow_ashigaru/base.png differ diff --git a/Shogun Warfare/faction/main/Infantry/bow/bow_ashigaru/bow_ashigaru.ini b/Shogun Warfare/faction/main/Infantry/bow/bow_ashigaru/bow_ashigaru.ini index 7d5b77e..a4edc5a 100644 --- a/Shogun Warfare/faction/main/Infantry/bow/bow_ashigaru/bow_ashigaru.ini +++ b/Shogun Warfare/faction/main/Infantry/bow/bow_ashigaru/bow_ashigaru.ini @@ -59,7 +59,7 @@ image: arrow.png directDamage: 15 life: 150 instant: false -pushForce: 400 +#pushForce: 400 speed: 3 ballistic: true ballistic_delaymove_height: 15 diff --git a/Shogun Warfare/faction/main/Infantry/bow/bow_ashigaru_garrison/bow_ashigaru_garrison.ini b/Shogun Warfare/faction/main/Infantry/bow/bow_ashigaru_garrison/bow_ashigaru_garrison.ini index 0bab431..83051d0 100644 --- a/Shogun Warfare/faction/main/Infantry/bow/bow_ashigaru_garrison/bow_ashigaru_garrison.ini +++ b/Shogun Warfare/faction/main/Infantry/bow/bow_ashigaru_garrison/bow_ashigaru_garrison.ini @@ -18,7 +18,7 @@ displayRadius: 10 selfRegenRate: 0.01 effectOnDeath: blood*5, dsound01 -isUnselectable: false +isUnselectable: true @memory Rank: float @@ -73,7 +73,7 @@ image: arrow.png directDamage: 15 life: 150 instant: false -pushForce: 650 +#pushForce: 400 speed: 3 ballistic: true ballistic_delaymove_height: 15 diff --git a/Shogun Warfare/faction/main/Infantry/bow/bow_ashigaru_garrison_level2/bow_ashigaru_garrison_level2.ini b/Shogun Warfare/faction/main/Infantry/bow/bow_ashigaru_garrison_level2/bow_ashigaru_garrison_level2.ini index d101638..f629f68 100644 --- a/Shogun Warfare/faction/main/Infantry/bow/bow_ashigaru_garrison_level2/bow_ashigaru_garrison_level2.ini +++ b/Shogun Warfare/faction/main/Infantry/bow/bow_ashigaru_garrison_level2/bow_ashigaru_garrison_level2.ini @@ -18,7 +18,7 @@ displayRadius: 10 selfRegenRate: 0.01 effectOnDeath: blood*5, dsound01 -isUnselectable: false +isUnselectable: true @memory Rank: float @@ -73,7 +73,7 @@ image: arrow.png directDamage: 15 life: 150 instant: false -pushForce: 500 +#pushForce: 400 speed: 3 ballistic: true ballistic_delaymove_height: 15 diff --git a/Shogun Warfare/faction/main/Infantry/bow/bow_hero/bow_hero.ini b/Shogun Warfare/faction/main/Infantry/bow/bow_hero/bow_hero.ini index 5f0df0a..f9f65f1 100644 --- a/Shogun Warfare/faction/main/Infantry/bow/bow_hero/bow_hero.ini +++ b/Shogun Warfare/faction/main/Infantry/bow/bow_hero/bow_hero.ini @@ -60,7 +60,7 @@ image: arrow.png directDamage: 45 life: 150 instant: false -pushForce: 400 +#pushForce: 400 speed: 3 ballistic: true ballistic_delaymove_height: 15 diff --git a/Shogun Warfare/faction/main/Infantry/bow/bow_samurai/bow_samurai.ini b/Shogun Warfare/faction/main/Infantry/bow/bow_samurai/bow_samurai.ini index 026a301..d2264eb 100644 --- a/Shogun Warfare/faction/main/Infantry/bow/bow_samurai/bow_samurai.ini +++ b/Shogun Warfare/faction/main/Infantry/bow/bow_samurai/bow_samurai.ini @@ -59,7 +59,7 @@ image: arrow.png directDamage: 30 life: 150 instant: false -pushForce: 400 +#pushForce: 400 speed: 3 ballistic: true ballistic_delaymove_height: 15 diff --git a/Shogun Warfare/faction/main/Infantry/cavalry/bow_cavalry/bow_cavalry.ini b/Shogun Warfare/faction/main/Infantry/cavalry/bow_cavalry/bow_cavalry.ini index 12e3147..9976cd0 100644 --- a/Shogun Warfare/faction/main/Infantry/cavalry/bow_cavalry/bow_cavalry.ini +++ b/Shogun Warfare/faction/main/Infantry/cavalry/bow_cavalry/bow_cavalry.ini @@ -6,7 +6,7 @@ tags: lightinfantry, cavalry, bow_cavalry, bow, ranged, infantry copyFrom:ROOT:\templates\ranged.template, ROOT:\templates\infantry.template price: gold=40, rice=40, wood=40 -maxHp: 100 +maxHp: 120 mass: 600 techLevel: 1 buildSpeed: 5s @@ -16,7 +16,7 @@ displayRadius: 13 softCollisionOnAll: 1 fogOfWarSightRange: 30 - +armour: 5 [graphics] total_frames: 10 @@ -63,7 +63,7 @@ image: arrow.png directDamage: 15 life: 150 instant: false -pushForce: 300 +#pushForce: 400 speed: 3 ballistic: true ballistic_delaymove_height: 15 diff --git a/Shogun Warfare/faction/main/Infantry/cavalry/heavy_cavalry/heavy_cavalry.ini b/Shogun Warfare/faction/main/Infantry/cavalry/heavy_cavalry/heavy_cavalry.ini index b9d30a0..6a4482e 100644 --- a/Shogun Warfare/faction/main/Infantry/cavalry/heavy_cavalry/heavy_cavalry.ini +++ b/Shogun Warfare/faction/main/Infantry/cavalry/heavy_cavalry/heavy_cavalry.ini @@ -16,7 +16,7 @@ displayRadius: 13 softCollisionOnAll: 1 fogOfWarSightRange: 30 -armour: 4 +armour: 7 [graphics] total_frames: 10 @@ -60,7 +60,7 @@ recoilReturnTime: 10 directDamage: 30 life: 60 instant: true -pushForce: 750 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: lightinfantry, light_infantry, katana mutator[multiplier]_directDamageMultiplier: 2 diff --git a/Shogun Warfare/faction/main/Infantry/cavalry/katana_cavalry/katana_cavalry.ini b/Shogun Warfare/faction/main/Infantry/cavalry/katana_cavalry/katana_cavalry.ini index 651a21a..e4cf691 100644 --- a/Shogun Warfare/faction/main/Infantry/cavalry/katana_cavalry/katana_cavalry.ini +++ b/Shogun Warfare/faction/main/Infantry/cavalry/katana_cavalry/katana_cavalry.ini @@ -6,7 +6,7 @@ tags: lightinfantry, cavalry, katana_cavalry, katana, melee, infantry copyFrom:ROOT:\templates\melee.template, ROOT:\templates\infantry.template price: gold=40, rice=40, wood=40 -maxHp: 140 +maxHp: 160 mass: 600 techLevel: 1 buildSpeed: 5s @@ -16,7 +16,7 @@ displayRadius: 13 softCollisionOnAll: 1 fogOfWarSightRange: 30 - +armour: 6 [graphics] total_frames: 10 @@ -60,7 +60,7 @@ recoilReturnTime: 10 directDamage: 20 life: 60 instant: true -pushForce: 550 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: katana mutator[multiplier]_directDamageMultiplier: 2 diff --git a/Shogun Warfare/faction/main/Infantry/cavalry/light_cavalry/light_cavalry.ini b/Shogun Warfare/faction/main/Infantry/cavalry/light_cavalry/light_cavalry.ini index e1c88ad..fc796dc 100644 --- a/Shogun Warfare/faction/main/Infantry/cavalry/light_cavalry/light_cavalry.ini +++ b/Shogun Warfare/faction/main/Infantry/cavalry/light_cavalry/light_cavalry.ini @@ -16,7 +16,7 @@ displayRadius: 13 softCollisionOnAll: 1 fogOfWarSightRange: 30 - +armour: 4 [graphics] total_frames: 10 @@ -60,7 +60,7 @@ recoilReturnTime: 10 directDamage: 20 life: 60 instant: true -pushForce: 500 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: katana mutator[multiplier]_directDamageMultiplier: 2 diff --git a/Shogun Warfare/faction/main/Infantry/cavalry/takeda_fire_cavalry/base_BloodLust.png b/Shogun Warfare/faction/main/Infantry/cavalry/takeda_fire_cavalry/base_BloodLust.png new file mode 100644 index 0000000..c9985a5 Binary files /dev/null and b/Shogun Warfare/faction/main/Infantry/cavalry/takeda_fire_cavalry/base_BloodLust.png differ diff --git a/Shogun Warfare/faction/main/Infantry/cavalry/takeda_fire_cavalry/takeda_fire_cavalry _bloodLust.ini b/Shogun Warfare/faction/main/Infantry/cavalry/takeda_fire_cavalry/takeda_fire_cavalry _bloodLust.ini index ffcafa2..b849bda 100644 --- a/Shogun Warfare/faction/main/Infantry/cavalry/takeda_fire_cavalry/takeda_fire_cavalry _bloodLust.ini +++ b/Shogun Warfare/faction/main/Infantry/cavalry/takeda_fire_cavalry/takeda_fire_cavalry _bloodLust.ini @@ -1,9 +1,9 @@ [core] name: takeda_fire_cavalry_bloodLust displayText: [Blood Lust Fire Cavalry] -displayDescription: - Fast and can spot units at longer range than other units. \n - These cavalry are a sword in their general’s hand, ready to slice into a battle line. +displayDescription: - You are death marked and currently losing health every seconds until you die. \n - Movement Speeed is unmatched at this state at the cost of your ability to regenerate your health. \n - Find a nearest Temple or Monk Healer to regenerate and bring back your healthy state or charge at the enemies! -tags: heavyinfantry, cavalry, takeda_fire_cavalry, spear, melee, infantry, unitlocked, takeda_fire_cavalry_bloodLust +tags: heavyinfantry, cavalry, takeda_fire_cavalry_bloodLust, spear, melee, infantry, unitlocked, takeda_fire_cavalry_bloodLust copyFrom:ROOT:\templates\melee.template, ROOT:\templates\infantry.template price: gold=70, rice=60, wood=60 @@ -17,13 +17,13 @@ displayRadius: 13 softCollisionOnAll: 1 fogOfWarSightRange: 30 -armour: 6 +armour: 9 -#selfRegenRate: 0 $testing$ +selfRegenRate: -0.009 [graphics] total_frames: 10 -image: base.png +image: base_BloodLust.png image_turret: NONE animation_moving_start: 1 animation_moving_end: 3 @@ -66,7 +66,7 @@ recoilReturnTime: 10 directDamage: 40 life: 60 instant: true -pushForce: 800 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: katana mutator[multiplier]_directDamageMultiplier: 2.2 @@ -102,8 +102,11 @@ ySpeedRelative: 1 useAsHarvester: true whenUsingAsHarvester_recommendedInEachBase: 15 -[action_upgradeDmg2] -isVisible: false -autoTrigger: if self.hp() > self.maxHp/2 and self.tags(includes="takeda_fire_cavalry") +[hiddenAction_upgradeDmg2] +autoTrigger: if self.hp() > self.maxHp/2 and self.tags(includes="takeda_fire_cavalry_bloodLust") convertTo: takeda_fire_cavalry +[hiddenAction_onCreated] +autoTriggerOnEvent: created +playSoundAtUnit: ROOT:audio\skills\bloodLust.ogg:0.5 + diff --git a/Shogun Warfare/faction/main/Infantry/cavalry/takeda_fire_cavalry/takeda_fire_cavalry.ini b/Shogun Warfare/faction/main/Infantry/cavalry/takeda_fire_cavalry/takeda_fire_cavalry.ini index 3cbc57d..0301d68 100644 --- a/Shogun Warfare/faction/main/Infantry/cavalry/takeda_fire_cavalry/takeda_fire_cavalry.ini +++ b/Shogun Warfare/faction/main/Infantry/cavalry/takeda_fire_cavalry/takeda_fire_cavalry.ini @@ -1,6 +1,6 @@ [core] name: takeda_fire_cavalry -displayText: [Blood Lust Fire Cavalry] +displayText: [takeda_fire_cavalry] displayDescription: - Fast and can spot units at longer range than other units. \n - These cavalry are a sword in their general’s hand, ready to slice into a battle line. tags: heavyinfantry, cavalry, takeda_fire_cavalry, spear, melee, infantry, unitlocked @@ -17,7 +17,7 @@ displayRadius: 13 softCollisionOnAll: 1 fogOfWarSightRange: 30 -armour: 6 +armour: 9 #selfRegenRate: 0 $testing$ @@ -63,7 +63,7 @@ recoilReturnTime: 10 directDamage: 40 life: 60 instant: true -pushForce: 800 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: katana mutator[multiplier]_directDamageMultiplier: 2.2 @@ -103,5 +103,6 @@ whenUsingAsHarvester_recommendedInEachBase: 15 isVisible: false autoTrigger: if self.hp() < self.maxHp/2 and self.tags(includes="takeda_fire_cavalry") convertTo: takeda_fire_cavalry_bloodLust +playSoundToPlayer: ROOT:audio\skills\bloodLust.ogg diff --git a/Shogun Warfare/faction/main/Infantry/matchlock/matchlock_ashigaru/matchlock_ashigaru.ini b/Shogun Warfare/faction/main/Infantry/matchlock/matchlock_ashigaru/matchlock_ashigaru.ini index 232a12d..ca0d906 100644 --- a/Shogun Warfare/faction/main/Infantry/matchlock/matchlock_ashigaru/matchlock_ashigaru.ini +++ b/Shogun Warfare/faction/main/Infantry/matchlock/matchlock_ashigaru/matchlock_ashigaru.ini @@ -3,7 +3,7 @@ name: matchlock_ashigaru displayDescription: - Strong against Damaging Light Infantry Units Deals x2 Damage, But weak against Melee Combat. \n - These ashigaru troops are armed with matchlock arquebuses and pepper the enemy with long range, mass volleys. tags: lightinfantry, infantry, matchlock_ashigaru, matchlock, ranged -copyFrom:ROOT:\templates\ranged.template, ROOT:\templates\infantry.template +copyFrom:ROOT:\templates\ranged.template, ROOT:\templates\infantry.template, ROOT:\templates\matchlock004AD32C.template price: gold=30, rice=30, wood=50 maxHp: 100 @@ -51,7 +51,7 @@ recoilReturnTime: 10 projectile: 1 shoot_flame: smoke -shoot_sound: ROOT:audio\musket01.ogg +shoot_sound: ROOT:audio\matchlocks\projectile01.ogg shoot_sound_vol: 0.3 [projectile_1] @@ -59,7 +59,7 @@ image: bullet.png directDamage: 25 life: 100 instant: false -pushForce: 900 +#pushForce: 400 speed: 8 ballistic: false targetGroundSpread: 5 diff --git a/Shogun Warfare/faction/main/Infantry/matchlock/matchlock_samurai/matchlock_samurai.ini b/Shogun Warfare/faction/main/Infantry/matchlock/matchlock_samurai/matchlock_samurai.ini index 6cbd6f9..4787327 100644 --- a/Shogun Warfare/faction/main/Infantry/matchlock/matchlock_samurai/matchlock_samurai.ini +++ b/Shogun Warfare/faction/main/Infantry/matchlock/matchlock_samurai/matchlock_samurai.ini @@ -3,7 +3,7 @@ name: matchlock_samurai displayDescription: - Strong against Damaging Light Infantry Units Deals x2.5 Damage, But weak against Melee Combat. \n - These samurai are armed with matchlock guns and harass the enemy with long range, massed volleys of fire. tags: lightinfantry, infantry, matchlock_samurai, matchlock, ranged -copyFrom:ROOT:\templates\ranged.template, ROOT:\templates\infantry.template +copyFrom:ROOT:\templates\ranged.template, ROOT:\templates\infantry.template, ROOT:\templates\matchlock004AD32C.template price: gold=40, rice=35, wood=55 maxHp: 130 @@ -52,7 +52,7 @@ recoilReturnTime: 10 projectile: 1 shoot_flame: smoke -shoot_sound: ROOT:audio\musket01.ogg +shoot_sound: ROOT:audio\matchlocks\projectile01.ogg shoot_sound_vol: 0.5 [projectile_1] @@ -60,7 +60,7 @@ image: bullet.png directDamage: 25 life: 100 instant: false -pushForce: 900 +#pushForce: 400 speed: 8 ballistic: false targetGroundSpread: 5 diff --git a/Shogun Warfare/faction/main/Infantry/matchlock/matchlock_warrior_monk/matchlock_warrior_monk.ini b/Shogun Warfare/faction/main/Infantry/matchlock/matchlock_warrior_monk/matchlock_warrior_monk.ini index f2e3ce3..f49dc84 100644 --- a/Shogun Warfare/faction/main/Infantry/matchlock/matchlock_warrior_monk/matchlock_warrior_monk.ini +++ b/Shogun Warfare/faction/main/Infantry/matchlock/matchlock_warrior_monk/matchlock_warrior_monk.ini @@ -3,7 +3,7 @@ name: matchlock_warrior_monk displayDescription: - Strong against Damaging Light Infantry Units Deals x2.3 Damage, But weak against Melee Combat. \n - Warrior monks armed with matchlocks that fire devastating massed volleys into enemy ranks. tags: lightinfantry, infantry, matchlock_warrior_monk, matchlock, ranged -copyFrom:ROOT:\templates\ranged.template, ROOT:\templates\infantry.template +copyFrom:ROOT:\templates\ranged.template, ROOT:\templates\infantry.template, ROOT:\templates\matchlock004AD32C.template price: gold=50, rice=30, wood=50 maxHp: 130 @@ -52,7 +52,7 @@ recoilReturnTime: 10 projectile: 1 shoot_flame: smoke -shoot_sound: ROOT:audio\musket01.ogg +shoot_sound: ROOT:audio\matchlocks\projectile01.ogg shoot_sound_vol: 0.5 [projectile_1] @@ -60,7 +60,7 @@ image: bullet.png directDamage: 25 life: 100 instant: false -pushForce: 900 +#pushForce: 400 speed: 8 ballistic: false targetGroundSpread: 5 diff --git a/Shogun Warfare/faction/main/Infantry/matchlock/tokitakas_tanegashima/tokitakas_tanegashima.ini b/Shogun Warfare/faction/main/Infantry/matchlock/tokitakas_tanegashima/tokitakas_tanegashima.ini index 580f57b..f5ffe72 100644 --- a/Shogun Warfare/faction/main/Infantry/matchlock/tokitakas_tanegashima/tokitakas_tanegashima.ini +++ b/Shogun Warfare/faction/main/Infantry/matchlock/tokitakas_tanegashima/tokitakas_tanegashima.ini @@ -3,7 +3,7 @@ name: tokitakas_tanegashima displayDescription: - Strong against Damaging Light Infantry Units Deals x3.5 Damage, But weak against Melee Combat. \n - Armed with a beautifully crafted gun, a hero puts his marksmanship to deadly use. tags: lightinfantry, infantry, tokitakas_tanegashima, matchlock, ranged -copyFrom:ROOT:\templates\ranged.template, ROOT:\templates\infantry.template +copyFrom:ROOT:\templates\ranged.template, ROOT:\templates\infantry.template, ROOT:\templates\matchlock004AD32C.template price: gold=70, rice=55, wood=70 maxHp: 150 @@ -52,7 +52,7 @@ recoilReturnTime: 10 projectile: 1 shoot_flame: smoke -shoot_sound: ROOT:audio\musket01.ogg +shoot_sound: ROOT:audio\matchlocks\projectile01.ogg shoot_sound_vol: 0.5 [projectile_1] @@ -60,7 +60,7 @@ image: bullet.png directDamage: 25 life: 100 instant: false -pushForce: 900 +#pushForce: 400 speed: 8 ballistic: false targetGroundSpread: 5 diff --git a/Shogun Warfare/faction/main/Infantry/ninjaThrower.aseprite b/Shogun Warfare/faction/main/Infantry/ninjaThrower.aseprite new file mode 100644 index 0000000..4c3536b Binary files /dev/null and b/Shogun Warfare/faction/main/Infantry/ninjaThrower.aseprite differ diff --git a/Shogun Warfare/faction/main/Infantry/spear/benkeis_blades/benkeis_blades.ini b/Shogun Warfare/faction/main/Infantry/spear/benkeis_blades/benkeis_blades.ini index a29683a..804feda 100644 --- a/Shogun Warfare/faction/main/Infantry/spear/benkeis_blades/benkeis_blades.ini +++ b/Shogun Warfare/faction/main/Infantry/spear/benkeis_blades/benkeis_blades.ini @@ -59,7 +59,7 @@ image: projectile.png directDamage: 45 life: 60 instant: true -pushForce: 500 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: cavalry mutator[multiplier]_directDamageMultiplier: 2 diff --git a/Shogun Warfare/faction/main/Infantry/spear/date_bulletproof_samurai/date_bulletproof_samurai.ini b/Shogun Warfare/faction/main/Infantry/spear/date_bulletproof_samurai/date_bulletproof_samurai.ini index 84b2a88..8c0842d 100644 --- a/Shogun Warfare/faction/main/Infantry/spear/date_bulletproof_samurai/date_bulletproof_samurai.ini +++ b/Shogun Warfare/faction/main/Infantry/spear/date_bulletproof_samurai/date_bulletproof_samurai.ini @@ -1,8 +1,8 @@ [core] name: date_bulletproof_samurai -displayDescription: - Take less damage to Matchlock Units and Have more health. \n- These ashigaru are armed with long spears for use in close combat or to make an almost-impenetrable defence against cavalry. \n - Strong against Cavalry Units 2x Damage. \n - Weak to Bow Units. +displayDescription: - Take less damage with great resistance to "Matchlock Units". \n- These ashigaru are armed with long spears for use in close combat or to make an almost-impenetrable defence against cavalry units. \n - Strong against "Cavalry Units" and deals 2x Damage. \n - Weak to Katana and Missile Units. -tags: heavyifantry, infantry, date_bulletproof_samurai, melee, spear +tags: heavyifantry, infantry, date_bulletproof_samurai, melee, spear, bulletproof copyFrom:ROOT:\templates\melee.template, ROOT:\templates\infantry.template price: gold=35, rice=35, wood=40 @@ -59,7 +59,7 @@ image: projectile.png directDamage: 25 life: 60 instant: true -pushForce: 500 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: cavalry mutator[multiplier]_directDamageMultiplier: 2 diff --git a/Shogun Warfare/faction/main/Infantry/spear/naginata_marathon_monk/naginata_marathon_monk.ini b/Shogun Warfare/faction/main/Infantry/spear/naginata_marathon_monk/naginata_marathon_monk.ini index 79df68a..3bbd997 100644 --- a/Shogun Warfare/faction/main/Infantry/spear/naginata_marathon_monk/naginata_marathon_monk.ini +++ b/Shogun Warfare/faction/main/Infantry/spear/naginata_marathon_monk/naginata_marathon_monk.ini @@ -13,7 +13,7 @@ buildSpeed: 5s radius: 10 displayRadius: 10 -selfRegenRate: 0.25 +selfRegenRate: 0.15 armour: 2 @@ -60,7 +60,7 @@ image: projectile.png directDamage: 20 life: 60 instant: true -pushForce: 500 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: cavalry mutator[multiplier]_directDamageMultiplier: 2 diff --git a/Shogun Warfare/faction/main/Infantry/spear/naginata_samurai/naginata_samurai.ini b/Shogun Warfare/faction/main/Infantry/spear/naginata_samurai/naginata_samurai.ini index 5c1b2ae..19b7498 100644 --- a/Shogun Warfare/faction/main/Infantry/spear/naginata_samurai/naginata_samurai.ini +++ b/Shogun Warfare/faction/main/Infantry/spear/naginata_samurai/naginata_samurai.ini @@ -59,7 +59,7 @@ image: projectile.png directDamage: 20 life: 60 instant: true -pushForce: 500 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: cavalry mutator[multiplier]_directDamageMultiplier: 2 diff --git a/Shogun Warfare/faction/main/Infantry/spear/naginata_warrior_monk/naginata_warrior_monk.ini b/Shogun Warfare/faction/main/Infantry/spear/naginata_warrior_monk/naginata_warrior_monk.ini index 1e4893b..f1058b0 100644 --- a/Shogun Warfare/faction/main/Infantry/spear/naginata_warrior_monk/naginata_warrior_monk.ini +++ b/Shogun Warfare/faction/main/Infantry/spear/naginata_warrior_monk/naginata_warrior_monk.ini @@ -13,7 +13,7 @@ buildSpeed: 8s radius: 10 displayRadius: 10 -selfRegenRate: 0.25 +selfRegenRate: 0.15 armour: 2 @@ -60,7 +60,7 @@ image: projectile.png directDamage: 25 life: 60 instant: true -pushForce: 500 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: cavalry mutator[multiplier]_directDamageMultiplier: 2 diff --git a/Shogun Warfare/faction/main/Infantry/spear/yari_ashigaru/yari_ashigaru.ini b/Shogun Warfare/faction/main/Infantry/spear/yari_ashigaru/yari_ashigaru.ini index 9d05759..5a27efb 100644 --- a/Shogun Warfare/faction/main/Infantry/spear/yari_ashigaru/yari_ashigaru.ini +++ b/Shogun Warfare/faction/main/Infantry/spear/yari_ashigaru/yari_ashigaru.ini @@ -59,7 +59,7 @@ image: projectile.png directDamage: 15 life: 60 instant: true -pushForce: 500 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: cavalry mutator[multiplier]_directDamageMultiplier: 2 diff --git a/Shogun Warfare/faction/main/Infantry/spear/yari_hero/yari_hero.ini b/Shogun Warfare/faction/main/Infantry/spear/yari_hero/yari_hero.ini index 2416d8d..3ffa75f 100644 --- a/Shogun Warfare/faction/main/Infantry/spear/yari_hero/yari_hero.ini +++ b/Shogun Warfare/faction/main/Infantry/spear/yari_hero/yari_hero.ini @@ -60,7 +60,7 @@ image: projectile.png directDamage: 45 life: 60 instant: true -pushForce: 500 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: cavalry mutator[multiplier]_directDamageMultiplier: 2 diff --git a/Shogun Warfare/faction/main/Infantry/special/bomb_thrower/base - Copy.png b/Shogun Warfare/faction/main/Infantry/special/bomb_thrower/base - Copy.png new file mode 100644 index 0000000..4dab6df Binary files /dev/null and b/Shogun Warfare/faction/main/Infantry/special/bomb_thrower/base - Copy.png differ diff --git a/Shogun Warfare/faction/main/Infantry/special/bomb_thrower/base.png b/Shogun Warfare/faction/main/Infantry/special/bomb_thrower/base.png index 4dab6df..5d3fee0 100644 Binary files a/Shogun Warfare/faction/main/Infantry/special/bomb_thrower/base.png and b/Shogun Warfare/faction/main/Infantry/special/bomb_thrower/base.png differ diff --git a/Shogun Warfare/faction/main/Infantry/special/bomb_thrower/bomb_thrower.ini b/Shogun Warfare/faction/main/Infantry/special/bomb_thrower/bomb_thrower.ini index 99a769a..f6ab8da 100644 --- a/Shogun Warfare/faction/main/Infantry/special/bomb_thrower/bomb_thrower.ini +++ b/Shogun Warfare/faction/main/Infantry/special/bomb_thrower/bomb_thrower.ini @@ -3,10 +3,10 @@ name: bomb_thrower displayDescription: - Devastating Damage but short range attack and has low health. \n - Weak against Melee Infatry. \n - Deals 3x AOE damage to Infatry! \n - Deals 5x AOE damage to Structures! \n - It takes a brave man to swing an explosive around on a rope! These men honour their lord by hurling dangerous loads of fire at the enemy! tags: lightinfantry, infantry, bomb_thrower, ranged, bomb -copyFrom:ROOT:\templates\ranged.template, ROOT:\templates\infantry.template +copyFrom:ROOT:\templates\ranged.template, ROOT:\templates\infantry.template, ROOT:\templates\effects.template -price: gold=70, rice=50, wood=50 -maxHp: 120 +price: gold=70, rice=50, wood=70 +maxHp: 70 mass: 300 techLevel: 1 buildSpeed: 10s @@ -35,8 +35,8 @@ canAttackLandUnits: true canAttackUnderwaterUnits: false turretSize: 20 turretTurnSpeed: 5 -maxAttackRange: 150 -shootDelay: 170 +maxAttackRange: 250 +shootDelay: 250 aimOffsetSpread: 0 isFixedFiring: true turretRotateWithBody: true @@ -59,39 +59,37 @@ projectile: 1 recoilOffset: -2 recoilOutTime: 0 recoilReturnTime: 10 +shoot_sound: ROOT:audio\bomb01.ogg: 1 + [projectile_1] image: bullet.png -life: 150 -pushForce: 900 +life: 250 speed: 3 - -explodeEffect: CUSTOM:effect1, smallExplosion, shockwave - -areaDamage: 70 -areaRadius: 55 -initialUnguidedSpeedHeight: 2 -leadTargetingSpeedCalculation: 5 -gravity: 3 +pushForce: 700 +gravity:0.20 +areaDamage: 60 +areaRadius: 90 +targetGround: true +targetGroundSpread: 50 +initialUnguidedSpeedHeight: 1 largeHitEffect: true -targetGroundSpread: 5 - drawSize: 1.2 trailEffect: true -trailEffectRate: 15 - -mutator[multiplier1]_ifUnitWithTags: lightinfantry -mutator[multiplier1]_directDamageMultiplier: 3 +trailEffectRate: 5 +explodeEffect: CUSTOM:effect1, smallExplosion, shockwave, CUSTOM: effectSmokeLarge1 +mutatorX_areaDamageMultiplier: 1 +mutatorX_ifUnitWithTags: lightinfantry +mutator2_areaDamageMultiplier: 2 +mutator2_ifUnitWithTags: buildings, building -mutator[multiplier2]_ifUnitWithTags: buildings -mutator[multiplier2]_directDamageMultiplier: 5 [movement] movementType: LAND moveSpeed: 0.8 moveAccelerationSpeed: 0.07 moveDecelerationSpeed: 0.12 -maxTurnSpeed: 40 +maxTurnSpeed: 30 turnAcceleration: 1.50 moveSlidingMode :false moveIgnoringBody:false diff --git a/Shogun Warfare/faction/main/Infantry/special/bomb_thrower/smoke.png b/Shogun Warfare/faction/main/Infantry/special/bomb_thrower/smoke.png new file mode 100644 index 0000000..a5e8643 Binary files /dev/null and b/Shogun Warfare/faction/main/Infantry/special/bomb_thrower/smoke.png differ diff --git a/Shogun Warfare/faction/main/Infantry/special/bomb_thrower/smokeLarge.png b/Shogun Warfare/faction/main/Infantry/special/bomb_thrower/smokeLarge.png new file mode 100644 index 0000000..3232b7f Binary files /dev/null and b/Shogun Warfare/faction/main/Infantry/special/bomb_thrower/smokeLarge.png differ diff --git a/Shogun Warfare/faction/main/Infantry/special/monk_healer/monk_healer.ini b/Shogun Warfare/faction/main/Infantry/special/monk_healer/monk_healer.ini index a1bf7f4..a0a5a34 100644 --- a/Shogun Warfare/faction/main/Infantry/special/monk_healer/monk_healer.ini +++ b/Shogun Warfare/faction/main/Infantry/special/monk_healer/monk_healer.ini @@ -1,19 +1,18 @@ [core] name: monk_healer -displayDescription: - Tanky but not suitable for combat use and does not retaliate when attacked. \n - Heals your Team or Allies and gains [+5 Armor Buff to non Hero Untis] when near him in 100 Radius. \n - A single grain of rice holds all the truths of the world. +displayDescription: - Tanky but not suitable for combat use and does not retaliate when attacked. \n - Heals your Own-Units and gains [+5 Armor_Buff to all units] when near him in a 100 circle radius. \n - A single grain of rice holds all the truths of the world. tags: lightinfantry, infantry, monk_healer, healer, stave, monk, melee copyFrom:ROOT:\templates\melee.template, ROOT:\templates\infantry.template -price: gold=65, rice=40, wood=40 +price: gold=70, rice=120, wood=80 maxHp: 200 mass: 300 techLevel: 1 buildSpeed: 10s radius: 7 -#displayRadius: 100 display the radius circle. -selfRegenRate: 0.050 +selfRegenRate: 0.030 armour: 5 @@ -43,9 +42,9 @@ animation_attack_pingPong: false lock_body_rotation_with_main_turret: true ### REPAIR ### -repairEffect: repair1 -repairEffectAtTarget: repair2 -repairEffectRate: 30 +repairEffect: repair +repairEffectAtTarget: repair +repairEffectRate: 100 [attack] isMelee: true @@ -58,21 +57,42 @@ isFixedFiring: true turretSize: 20 turretTurnSpeed: 5 maxAttackRange: 10 -shootDelay: 30 +shootDelay: 60 +## attack ## [turret_1] x: 0 y: 0 recoilOffset: -3 recoilOutTime: 0 recoilReturnTime: 10 +projectile: 1 [projectile_1] image: projectile.png directDamage: 8 life: 60 instant: true -pushForce: 300 -explodeEffect: CUSTOM:effect1 +pushForce: 400 +explodeEffect: CUSTOM:attack + +## heal ### +[turret_2] +x: 0 +y: 0 +recoilOffset: 0 +recoilOutTime: 0 +recoilReturnTime: 0 +projectile: 2 +[projectile_2] +image:projectile.png +directDamage:0 +life:100 +instant:false +friendlyFire:only-ignoreEnemy +areaRadius:100 +explodeEffect: CUSTOM:repair +spawnProjectilesOnExplode: 1 + [movement] movementType: LAND @@ -86,28 +106,29 @@ moveIgnoringBody:true moveSlidingDir: 181 reverseSpeedPercentage:0 -[effect_repair1] -attachedToUnit:false -life:50 + +## Effects ## +[effect_repair] +attachedToUnit:true +life:100 physics:false scaleFrom:1 -scaleTo:3 +scaleTo:1 alwayStartDirAtZero: true image:ROOT:images\heal1.png -drawUnderUnits:true -[effect_repair2] -attachedToUnit:false -life:100 -physics:false -scaleFrom:1.2 -scaleTo:0.5 -alpha: 0.8 -yOffsetAbsolute: -1 +drawUnderUnits:false ySpeedAbsolute: -0.2 +[effect_attack] +attachedToUnit:true +life:50 +physics:false +scaleFrom:1 +scaleTo:1 +alpha: 1 alwayStartDirAtZero: true image:ROOT:images\heal2.png drawUnderUnits:false -hOffset: 5 +ySpeedAbsolute: 0.4 #[hiddenAction_convert_conversion_re] @@ -131,23 +152,6 @@ hOffset: 5 #fireTurretXAtGround: 2 #setUnitStats: armour=5 #fireTurretXAtGround_withTarget: nearestUnit(withinRange=200, withTag='infantry', relation='own') -[turret_2] -x: 0 -y: 0 -recoilOffset: 0 -recoilOutTime: 0 -recoilReturnTime: 0 -projectile: 2 -[projectile_2] -image:projectile.png -directDamage:0 -life:100 -instant:false -pushForce:0 -friendlyFire:only-ignoreEnemy -areaRadius:100 -explodeEffect: CUSTOM:repair2 -spawnProjectilesOnExplode: 2 [decal_buffRadius] layer:shadow diff --git a/Shogun Warfare/faction/main/Infantry/special/peasant_ashigaru/peasant_ashigaru.ini b/Shogun Warfare/faction/main/Infantry/special/peasant_ashigaru/peasant_ashigaru.ini index 2f9412a..6d51841 100644 --- a/Shogun Warfare/faction/main/Infantry/special/peasant_ashigaru/peasant_ashigaru.ini +++ b/Shogun Warfare/faction/main/Infantry/special/peasant_ashigaru/peasant_ashigaru.ini @@ -23,14 +23,14 @@ canReclaimResources: true canReclaimResourcesNextSearchRange: 2000 #canReclaimResourcesNextSearchRange: 5700 -nanoRepairSpeed: 0.5 +nanoRepairSpeed: 0.2 nanoBuildSpeed: 1 nanoRangeForReclaim: 5 resourceReclaimMultiplier: 1 nanoRangeForReclaimIsMelee: true nanoRangeForRepairIsMelee:true nanoRange: 30 -nanoRangeForRepair: 25 +nanoRangeForRepair: 40 builtFrom_1_name: Takeda Camp, Otomo Camp builtFrom_1_pos: 0.1 @@ -79,8 +79,8 @@ pos: 12 [canBuild_ArcherTower] name:archertowerL1 -isLocked: if numberOfUnitsInTeam(withTag="archertowerL1") <= 10 -isLockedMessage: [Maximum Towers Reached!] +isLocked: if numberOfUnitsInTeam(withTag="archertowerL1") >= 10 +isLockedMessage: [Maximum Towers Built] pos: 4 @@ -96,13 +96,13 @@ addWaypoint_maxTime: 30s debugMessage: "Peasant - Action1" resetCustomTimer: true [hiddenAction_attack] -autoTrigger: if self.hasTakenDamage(withinSeconds=3) +autoTrigger: if self.hasTakenDamage(withinSeconds=3) and self.isControlledByAI() requireConditional: if self.isControlledByAI() clearActiveWaypoint: true -addWaypoint_type: attack +addWaypoint_type: follow addWaypoint_target_nearestUnit_tagged: infantry, cavalry, heavyinfantry, tower, archertower -addWaypoint_target_nearestUnit_team: enemy -addWaypoint_target_nearestUnit_maxRange: 60 +addWaypoint_target_nearestUnit_team: ally +addWaypoint_target_nearestUnit_maxRange: 20000 resetCustomTimer: true [hiddenAction_chatter1] autoTriggerOnEvent: newWaypointGivenByPlayer @@ -113,7 +113,7 @@ resetCustomTimer: true [hiddenAction_goldLow] -autoTrigger: if self.isControlledByAI() and self.resource(type='gold') >= 50 and self.customTimer(laterThanSeconds=60) +autoTrigger: if self.isControlledByAI() and self.resource(type='gold') >= 50 and self.customTimer(laterThanSeconds=20) addWaypoint_type: reclaim addWaypoint_target_nearestUnit_tagged: goldmine addWaypoint_target_nearestUnit_team: own @@ -123,7 +123,7 @@ addWaypoint_maxTime: 30s debugMessage: "Peasant - Action2" resetCustomTimer: true [hiddenAction_woodLow] -autoTrigger: if self.isControlledByAI() and self.resource(type='wood') >= 50 and self.customTimer(laterThanSeconds=60) +autoTrigger: if self.isControlledByAI() and self.resource(type='wood') >= 50 and self.customTimer(laterThanSeconds=20) addWaypoint_type: reclaim addWaypoint_target_nearestUnit_tagged: lumbercamp addWaypoint_target_nearestUnit_team: own @@ -133,7 +133,7 @@ addWaypoint_maxTime: 30s debugMessage: "Peasant - Action3" resetCustomTimer: true [hiddenAction_riceLow] -autoTrigger: if self.isControlledByAI() and self.resource(type='rice') >= 50 and self.customTimer(laterThanSeconds=60) +autoTrigger: if self.isControlledByAI() and self.resource(type='rice') >= 50 and self.customTimer(laterThanSeconds=20) addWaypoint_type: reclaim addWaypoint_target_nearestUnit_tagged: ricefield, golden_ricefield, goldenricefield addWaypoint_target_nearestUnit_team: own @@ -172,9 +172,6 @@ reclaimEffectRate: 50 reclaimEffect:CUSTOM:smoke*1 [attack] -showRangeUIGuide: true -meleeEngangementDistance: 100 - isMelee: true canAttack: true canAttackFlyingUnits: false @@ -198,7 +195,7 @@ image: projectile.png directDamage: 5 life: 60 instant: true -pushForce: 600 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: goldmine, ricefield, lumbercamp, golden_ricefield, goldenricefield mutator[multiplier]_directDamageMultiplier: 15 diff --git a/Shogun Warfare/faction/main/Infantry/special/tadakatsus_tetsubo/tadakatsus_tetsubo.ini b/Shogun Warfare/faction/main/Infantry/special/tadakatsus_tetsubo/tadakatsus_tetsubo.ini index 29b2b10..6a10a3e 100644 --- a/Shogun Warfare/faction/main/Infantry/special/tadakatsus_tetsubo/tadakatsus_tetsubo.ini +++ b/Shogun Warfare/faction/main/Infantry/special/tadakatsus_tetsubo/tadakatsus_tetsubo.ini @@ -14,7 +14,7 @@ buildSpeed: 10s radius: 10 displayRadius: 10 -armour: 4 +armour: 6 [graphics] total_frames: 10 @@ -59,12 +59,11 @@ image: projectile.png directDamage: 40 life: 60 instant: true -pushForce: 900 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: lightinfantry mutator[multiplier]_directDamageMultiplier: 2 - -mutator[buildings]_ifUnitWithTags: tower, defense, buildings, building +mutator[buildings]_ifUnitWithTags: tower, defense, buildings, building, structures mutator[buildings]_directDamageMultiplier: 1.5 [movement] @@ -98,4 +97,8 @@ ySpeedRelative: 0.5 useAsHarvester: true whenUsingAsHarvester_recommendedInEachBase: 3 +[hiddenAction_rotateAttack] +autoTriggerOnEvent: tookDamage() +setBodyRotation: 360 + diff --git a/Shogun Warfare/faction/main/Infantry/sword/hanzos_shadow/hanzos_shadow.ini b/Shogun Warfare/faction/main/Infantry/sword/hanzos_shadow/hanzos_shadow.ini index 4f85acd..2ed45fc 100644 --- a/Shogun Warfare/faction/main/Infantry/sword/hanzos_shadow/hanzos_shadow.ini +++ b/Shogun Warfare/faction/main/Infantry/sword/hanzos_shadow/hanzos_shadow.ini @@ -58,7 +58,7 @@ image: projectile.png directDamage: 40 life: 60 instant: true -pushForce: 600 +#pushForce: 400 mutator[heroDamage]_ifUnitWithTags: katana_hero, yari_hero, bow_hero, peasant mutator[heroDamage]_directDamageMultiplier: 4 diff --git a/Shogun Warfare/faction/main/Infantry/sword/katana_ashigaru/katana_ashigaru.ini b/Shogun Warfare/faction/main/Infantry/sword/katana_ashigaru/katana_ashigaru.ini index e616d98..f468feb 100644 --- a/Shogun Warfare/faction/main/Infantry/sword/katana_ashigaru/katana_ashigaru.ini +++ b/Shogun Warfare/faction/main/Infantry/sword/katana_ashigaru/katana_ashigaru.ini @@ -58,7 +58,7 @@ image: projectile.png directDamage: 15 life: 60 instant: true -pushForce: 500 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: bow mutator[multiplier]_directDamageMultiplier: 2 diff --git a/Shogun Warfare/faction/main/Infantry/sword/katana_hero/katana_hero.ini b/Shogun Warfare/faction/main/Infantry/sword/katana_hero/katana_hero.ini index a212b41..02a3c69 100644 --- a/Shogun Warfare/faction/main/Infantry/sword/katana_hero/katana_hero.ini +++ b/Shogun Warfare/faction/main/Infantry/sword/katana_hero/katana_hero.ini @@ -60,7 +60,7 @@ image: projectile.png directDamage: 40 life: 60 instant: true -pushForce: 500 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: bow mutator[multiplier]_directDamageMultiplier: 2 diff --git a/Shogun Warfare/faction/main/Infantry/sword/katana_samurai/katana_samurai.ini b/Shogun Warfare/faction/main/Infantry/sword/katana_samurai/katana_samurai.ini index 8d4097a..3efb29b 100644 --- a/Shogun Warfare/faction/main/Infantry/sword/katana_samurai/katana_samurai.ini +++ b/Shogun Warfare/faction/main/Infantry/sword/katana_samurai/katana_samurai.ini @@ -60,7 +60,7 @@ image: projectile.png directDamage: 25 life: 60 instant: true -pushForce: 500 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: bow mutator[multiplier]_directDamageMultiplier: 2 diff --git a/Shogun Warfare/faction/main/Infantry/sword/kisho_ninja/kisho_ninja.ini b/Shogun Warfare/faction/main/Infantry/sword/kisho_ninja/kisho_ninja.ini index caaa78e..71be920 100644 --- a/Shogun Warfare/faction/main/Infantry/sword/kisho_ninja/kisho_ninja.ini +++ b/Shogun Warfare/faction/main/Infantry/sword/kisho_ninja/kisho_ninja.ini @@ -58,7 +58,7 @@ image: projectile.png directDamage: 25 life: 60 instant: true -pushForce: 500 +#pushForce: 400 mutator[heroDamage]_ifUnitWithTags: katana_hero, yari_hero, bow_hero, peasant mutator[heroDamage]_directDamageMultiplier: 2 diff --git a/Shogun Warfare/faction/main/Infantry/sword/nodachi_samurai/nodachi_samurai.ini b/Shogun Warfare/faction/main/Infantry/sword/nodachi_samurai/nodachi_samurai.ini index b516d7a..fafd16f 100644 --- a/Shogun Warfare/faction/main/Infantry/sword/nodachi_samurai/nodachi_samurai.ini +++ b/Shogun Warfare/faction/main/Infantry/sword/nodachi_samurai/nodachi_samurai.ini @@ -60,7 +60,7 @@ image: projectile.png directDamage: 55 life: 60 instant: true -pushForce: 500 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: yari, cavalry, spear mutator[multiplier]_directDamageMultiplier: 2 diff --git a/Shogun Warfare/faction/main/Infantry/sword/sashimono_ashigaru/sashimono_ashigaru.ini b/Shogun Warfare/faction/main/Infantry/sword/sashimono_ashigaru/sashimono_ashigaru.ini index eadafab..1a5dd4e 100644 --- a/Shogun Warfare/faction/main/Infantry/sword/sashimono_ashigaru/sashimono_ashigaru.ini +++ b/Shogun Warfare/faction/main/Infantry/sword/sashimono_ashigaru/sashimono_ashigaru.ini @@ -60,7 +60,7 @@ image: projectile.png directDamage: 15 life: 60 instant: true -pushForce: 500 +#pushForce: 400 mutator[multiplier]_ifUnitWithTags: bow mutator[multiplier]_directDamageMultiplier: 2 diff --git a/Shogun Warfare/faction/main/Siege Weapons/european_cannons/european_cannons.ini b/Shogun Warfare/faction/main/Siege Weapons/european_cannons/european_cannons.ini index 58ba614..d9162e9 100644 --- a/Shogun Warfare/faction/main/Siege Weapons/european_cannons/european_cannons.ini +++ b/Shogun Warfare/faction/main/Siege Weapons/european_cannons/european_cannons.ini @@ -2,15 +2,16 @@ name: european_cannon displayDescription: - Bang! Bang! and Boom! Boom! everyone in your way!. \n - Extremely slow movement speed and reload. \n - Weak to all units. \n - Deals 2x damage to Structures! \n - Deals 5x damage to Infatry! +copyFrom:ROOT:\templates\siegeweapons.template, ROOT:\templates\effects.template tags: siege, siegeweapon, europeancannon, cannon -copyFrom:ROOT:\templates\siegeweapons.template +class: CustomUnitMetadata price: gold=150, rice=50, wood=130 maxHp: 70 mass: 2000 techLevel: 1 fogOfWarSightRange: 20 -buildSpeed: 25s +buildSpeed: 35s radius: 13 displayRadius: 13 @@ -69,8 +70,8 @@ slave: true invisible: true warmup: 4 shoot_flame: CUSTOM:smoke1 -shoot_sound:missile_fire -shoot_sound_vol:2 +shoot_sound: ROOT:audio\explode\launch01.ogg: 5 + [projectile_1] image: projectile.png @@ -78,21 +79,19 @@ life: 400 speed: 4 pushForce: 1200 gravity:0.18 - areaDamage: 100 areaRadius: 100 targetGround: true targetGroundSpread: 20 initialUnguidedSpeedHeight: 1.2 - mutatorX_ifUnitWithTags: buildings, structure, resources, base, structures, decoration, tower mutatorX_areaDamageMultiplier: 2 - -explodeEffect: smallExplosion, shockwave, CUSTOM:effect1, effect2*1 +explodeEffect: smallExplosion, shockwave, CUSTOM:effect1, CUSTOM:effectSiegeSmoke, CUSTOM:effectSmokeLarge1 trailEffect: CUSTOM:projectileTrail trailEffectRate:1 largeHitEffect: true frame: 4 +tags: siegeweapon [movement] movementType: LAND @@ -109,34 +108,17 @@ moveIgnoringBody:false image: projectile2.png attachedToUnit: false drawUnderUnits: false -life: 120 +life: 200 spawnChance: 1 color: #ffffff alpha: 1 physics: false fadeOut: true scaleFrom: 2 -scaleTo: 0.2 +scaleTo: 0 priority: low -xSpeedRelative: 0.1 -alwayStartDirAtZero: true - -[effect_effect2] -image: projectileSmoke.png -priority:high -drawUnderUnits:false -life: 250 -alpha: 1 -scaleFrom: 5 -scaleTo: 1 -fadeOut: true -hSpeed: 0 -physics: true -attachedToUnit: false -xSpeedRelativeRandom: 0.3 -ySpeedRelativeRandom: 0.3 -createWhenZoomedOut: false -spawnChance: 1 +dirOffset: 60 +dirSpeed: 0.2 [effect_projectileTrail] image: projectileTrail.png @@ -168,7 +150,10 @@ priority: low dirOffsetRandom: 80 dirSpeed: 1 - [ai] useAsHarvester: true whenUsingAsHarvester_recommendedInEachBase: 1 + +[hiddenAction_destroyed] +autoTriggerOnEvent: destroyed +spawnEffects: CUSTOM:yeetedAshigaru diff --git a/Shogun Warfare/faction/main/Siege Weapons/european_cannons/projectileSmoke.png b/Shogun Warfare/faction/main/Siege Weapons/european_cannons/projectileSmoke.png index 82afd36..a0e6232 100644 Binary files a/Shogun Warfare/faction/main/Siege Weapons/european_cannons/projectileSmoke.png and b/Shogun Warfare/faction/main/Siege Weapons/european_cannons/projectileSmoke.png differ diff --git a/Shogun Warfare/faction/main/Siege Weapons/mangonel/base_dead - Copy (2).png b/Shogun Warfare/faction/main/Siege Weapons/mangonel/base_dead - Copy (2).png new file mode 100644 index 0000000..a678e63 Binary files /dev/null and b/Shogun Warfare/faction/main/Siege Weapons/mangonel/base_dead - Copy (2).png differ diff --git a/Shogun Warfare/faction/main/Siege Weapons/mangonel/base_dead - Copy.png b/Shogun Warfare/faction/main/Siege Weapons/mangonel/base_dead - Copy.png new file mode 100644 index 0000000..d414a32 Binary files /dev/null and b/Shogun Warfare/faction/main/Siege Weapons/mangonel/base_dead - Copy.png differ diff --git a/Shogun Warfare/faction/main/Siege Weapons/mangonel/base_dead.png b/Shogun Warfare/faction/main/Siege Weapons/mangonel/base_dead.png index d414a32..089d14e 100644 Binary files a/Shogun Warfare/faction/main/Siege Weapons/mangonel/base_dead.png and b/Shogun Warfare/faction/main/Siege Weapons/mangonel/base_dead.png differ diff --git a/Shogun Warfare/faction/main/Siege Weapons/mangonel/mangonel.ini b/Shogun Warfare/faction/main/Siege Weapons/mangonel/mangonel.ini index 5295f27..a304bb0 100644 --- a/Shogun Warfare/faction/main/Siege Weapons/mangonel/mangonel.ini +++ b/Shogun Warfare/faction/main/Siege Weapons/mangonel/mangonel.ini @@ -1,8 +1,8 @@ [core] name: mangonel displayDescription: - KaBang! KaBang! and KaBoom! KaBoom! everyone in your way! \n - The Apex fortress destroyer! \n - Destruction bringer! \n - Deals 7x damage to Structures! \n - Deals 4x damage to Infatry! -copyFrom:ROOT:\templates\siegeweapons.template +copyFrom:ROOT:\templates\siegeweapons.template, ROOT:\templates\effects.template tags: siege, siegeweapon, mangonel, trebuchet class: CustomUnitMetadata @@ -11,7 +11,7 @@ maxHp: 120 mass: 5700 techLevel: 1 fogOfWarSightRange: 40 -buildSpeed: 25s +buildSpeed: 15s radius: 25 displayRadius: 25 @@ -45,7 +45,7 @@ canAttackLandUnits:true canAttackUnderwaterUnits:false turretSize: 1 turretTurnSpeed: 10 -maxAttackRange: 415 +maxAttackRange: 400 shootDelay: 600 aimOffsetSpread: 1 turretRotateWithBody: true @@ -68,7 +68,7 @@ attachedTo: 1 slave: true invisible: true warmup: 4 -shoot_sound:missile_fire +shoot_sound: ROOT:audio\explode\launch02.ogg: 5 shoot_sound_vol:0.2 shoot_flame:NONE [turret_3] @@ -91,21 +91,19 @@ life: 300 speed: 3 pushForce: 1200 gravity:0.18 - areaDamage: 100 areaRadius: 110 targetGround: true targetGroundSpread: 15 initialUnguidedSpeedHeight: 1.2 - mutatorX_ifUnitWithTags: building, structure, structures, buildings -mutatorX_areaDamageMultiplier: 7 - -explodeEffect: smallExplosion, shockwave, CUSTOM:effect1 +mutatorX_areaDamageMultiplier: 6 +explodeEffect: smallExplosion, shockwave, CUSTOM:effect1, CUSTOM:effectSiegeSmoke, CUSTOM:effectSmokeLarge1 trailEffect: CUSTOM:projectileTrail trailEffectRate:1 largeHitEffect: true frame: 4 +tags: siegeweapon [movement] movementType: LAND @@ -122,17 +120,18 @@ moveIgnoringBody:false image: projectile2.png attachedToUnit: false drawUnderUnits: false -life: 120 +life: 200 spawnChance: 1 color: #ffffff alpha: 1 physics: false fadeOut: true scaleFrom: 2 -scaleTo: 0.2 +scaleTo: 0 priority: low -xSpeedRelative: 0.1 -alwayStartDirAtZero: true +dirOffset: 60 +dirSpeed: 0.2 + [effect_projectileTrail] image: projectileTrail.png attachedToUnit: false @@ -151,6 +150,10 @@ priority: low useAsHarvester: true whenUsingAsHarvester_recommendedInEachBase: 1 +[hiddenAction_destroyed] +autoTriggerOnEvent: destroyed +spawnEffects: CUSTOM:yeetedAshigaru + diff --git a/Shogun Warfare/faction/main/Siege Weapons/mangonel/projectile2.png b/Shogun Warfare/faction/main/Siege Weapons/mangonel/projectile2.png index 77a7ea9..5ec076c 100644 Binary files a/Shogun Warfare/faction/main/Siege Weapons/mangonel/projectile2.png and b/Shogun Warfare/faction/main/Siege Weapons/mangonel/projectile2.png differ diff --git a/Shogun Warfare/faction/main/Structures/archertowerL1/archertowerL1.ini b/Shogun Warfare/faction/main/Structures/archertowerL1/archertowerL1.ini index 679a6da..691363f 100644 --- a/Shogun Warfare/faction/main/Structures/archertowerL1/archertowerL1.ini +++ b/Shogun Warfare/faction/main/Structures/archertowerL1/archertowerL1.ini @@ -6,6 +6,8 @@ tags: structure, building, tower, archertower, archertowerL1 displayText: [Archer Tower Level 1] displayDescription: - Defensive Range Tower, Good against light Infantry. \n - Vulnerable to Heavy Infantry \n - Weakest to Siege Weapons and Missiles. +copyFrom: ROOT:\templates\effects.template, ROOT:buildings.template + price: gold=0, wood=0, rice=0 maxHp: 1000 mass: 5000 @@ -14,8 +16,8 @@ footprint: -1, -1, 1, 1 constructionFootprint: -2, -2, 2, 2 techLevel: 1 buildSpeed: 15s -radius: 40 -displayRadius: 40 +radius: 55 +displayRadius: 55 buildingSelectionOffset: -8 selfRegenRate: 0.05 isBio: false @@ -29,7 +31,6 @@ convertToNeutralIfNotTransporting: false maxTransportingUnits: 1 transportUnitsRequireTag: archer, bow, matchlock, gun, ranged - [attachment_a] x: 0 y: 6 @@ -41,6 +42,8 @@ canBeAttackedAndDamaged: false keepAliveWhenParentDies: false keepWaypointsNeedingMovement: false +[decal_circle] +yOffsetAbsolute: 10 [attack] canAttack: false @@ -52,7 +55,7 @@ showRangeUIGuide: true [action_destroy] text: [Destroy Building] -buildSpeed: 2s +buildSpeed: 5s ai_isDisabled: true setResourcesWithLogic: hp=0 @@ -72,7 +75,6 @@ animation_idle_pingPong:true showHealthBar: true showEnergyBar: false showTransportBar: false - icon_build:icon.png [movement] @@ -87,18 +89,16 @@ turnAcceleration: 0 buildPriority: 0.47 noneInBaseExtraPriority: 0.35 noneGlobalExtraPriority: 0.6 - -maxEachBase: 6 -maxGlobal: 16 - +maxEachBase: 15 +#maxGlobal: 16 recommendedInEachBaseNum: 4 recommendedInEachBasePriorityIfUnmet: 6 - +lowPriorityTargetForOtherUnits: false [action_upgradeT2] convertTo: archertowerL2 attachments_deleteNumUnits: 1 -price: gold=100 +price: gold=200, wood=100 text: i:gui.actions.upgradeT2 description: - 2 more archers to defend \n with extra attack range. \n - +600 Health. \n - Roof protection from sun rays. displayType: Upgrade @@ -106,5 +106,10 @@ buildSpeed: 5s iconExtraImage: SHARED:icon_upgrade_top.png iconExtraColor: #AAFFFFFF +[hiddenAction_destroyed] +autoTriggerOnEvent: destroyed +spawnEffects: CUSTOM:yeetedAshigaru + + diff --git a/Shogun Warfare/faction/main/Structures/archertowerL2/archertowerL2.ini b/Shogun Warfare/faction/main/Structures/archertowerL2/archertowerL2.ini index 968a34f..79a8fe3 100644 --- a/Shogun Warfare/faction/main/Structures/archertowerL2/archertowerL2.ini +++ b/Shogun Warfare/faction/main/Structures/archertowerL2/archertowerL2.ini @@ -6,16 +6,18 @@ tags: structure, building, tower, archertower, archertowerL2 displayText: [Archer Tower level 2] displayDescription: - Defensive Range Tower, Good against light Infantry. \n - Vulnerable to Heavy Infantry \n - Weakest to Siege Weapons and Missiles. +copyFrom: ROOT:\templates\effects.template, ROOT:buildings.template + price: gold=0, wood=0, rice=0 -maxHp: 1600 -mass: 5000 +maxHp: 2000 +mass: 10000 footprint: -1, -1, 1, 1 constructionFootprint: -2, -2, 2, 2 techLevel: 1 buildSpeed: 15s -radius: 40 -displayRadius: 40 +radius: 55 +displayRadius: 55 buildingSelectionOffset: -8 selfRegenRate: 0.010 isBio: false @@ -29,7 +31,6 @@ convertToNeutralIfNotTransporting: false maxTransportingUnits: 1 transportUnitsRequireTag: archer, bow, matchlock, gun, ranged - [attachment_aa1] x: 10 y: 8 @@ -52,6 +53,9 @@ canBeAttackedAndDamaged: false keepAliveWhenParentDies: false keepWaypointsNeedingMovement: false +[decal_circle] +yOffsetAbsolute: 10 + [decal_roofBlock1] imageStack: block1.png layer: beforeUi @@ -60,7 +64,6 @@ yOffsetRelative: 15 imageScale: 1.5 teamColors: true alpha: 0.5 - [decal_roofBlock2] imageStack: block1.png layer: beforeUi @@ -74,8 +77,6 @@ isVisible: if self.numberOfUnitsInEnemyTeam(lessThan=1, withinRange=350) autoTrigger: if self.lastConverted() > 0 attachments_addNewUnits: bow_ashigaru_garrison_level2*2 - - [attack] canAttack: false maxAttackRange: 0 @@ -86,7 +87,7 @@ showRangeUIGuide: true [action_destroy] text: [Destroy Building] -buildSpeed: 2s +buildSpeed: 5s ai_isDisabled: true setResourcesWithLogic: hp=0 @@ -106,7 +107,6 @@ animation_idle_pingPong:true showHealthBar: true showEnergyBar: false showTransportBar: false - icon_build:icon.png [movement] @@ -121,10 +121,15 @@ turnAcceleration: 0 buildPriority: 0.47 noneInBaseExtraPriority: 0.35 noneGlobalExtraPriority: 0.6 - -maxEachBase: 6 -maxGlobal: 16 - +maxEachBase: 15 +#maxGlobal: 16 recommendedInEachBaseNum: 4 recommendedInEachBasePriorityIfUnmet: 6 +lowPriorityTargetForOtherUnits: false + +[hiddenAction_destroyed] +autoTriggerOnEvent: destroyed +spawnEffects: CUSTOM:yeetedAshigaru*2 + + diff --git a/Shogun Warfare/faction/main/Structures/archery_dojo/archery_dojo.ini b/Shogun Warfare/faction/main/Structures/archery_dojo/archery_dojo.ini index 2a9d3fb..21a5b18 100644 --- a/Shogun Warfare/faction/main/Structures/archery_dojo/archery_dojo.ini +++ b/Shogun Warfare/faction/main/Structures/archery_dojo/archery_dojo.ini @@ -13,9 +13,10 @@ price: gold= 50, wood=70, rice=70 maxHp: 1000 mass: 20000 -radius: 50 -displayRadius: 50 -softCollisionOnAll: 20 +radius: 70 +displayRadius: 70 +softCollisionOnAll: 1 + isBio: false isBuilding: true numBitsOnDeath: 5 @@ -23,13 +24,13 @@ numBitsOnDeath: 5 exit_x:0 exit_y:10 -footprint: -2,-2,1,2 +footprint: -2,-2,1,1 constructionFootprint: -3,-3,2,2 buildingToFootprintOffsetX: 0 buildingToFootprintOffsetY: 0 [graphics] -total_frames: 1 +total_frames: 20 image:base.png image_wreak: NONE showEnergyBar: false @@ -39,9 +40,13 @@ image_shadow: shadow.png shadowOffsetX:0 shadowOffsetY:0 +animation_idle_start: 0 +animation_idle_end: 19 +animation_idle_speed: 4 +animation_idle_pingPong: false + showHealthBar: true -drawLayer: experimentals -icon_build:icon.png +drawLayer: bottom [attack] canAttack: false @@ -51,7 +56,7 @@ canAttackUnderwaterUnits: false maxAttackRange: 0 [movement] -movementType: NONE +movementType: BUILDING moveSpeed: 0 moveAccelerationSpeed: 0.01 moveDecelerationSpeed: 0.01 @@ -62,11 +67,10 @@ turnAcceleration: 0.1 buildPriority: 0.30 noneInBaseExtraPriority: 0.36 noneGlobalExtraPriority: 0.10 -maxEachBase: 3 -maxGlobal: 3 -recommendedInEachBaseNum: 2 -recommendedInEachBasePriorityIfUnmet: 1 +maxEachBase: 2 +recommendedInEachBaseNum: 1 +recommendedInEachBasePriorityIfUnmet: 2 [decal_circle] @copyFrom_skipThisSection: true @@ -89,3 +93,21 @@ pos: 3 name: setRally pos: 0 + +[decal_roofBlock2] +image: baseRoof2.png +layer: beforeUI +order: 2 +alpha: 0.2 +imageScale: 1 +teamColors: true +isVisible: true +[decal_roofBlock3] +image: baseRoof.png +layer: beforeUI +order: 2 +imageScale: 1 +teamColors: true +isVisible: if self.numberOfUnitsInTeam(withTag='infantry', lessThan=1, withinRange=60) + + diff --git a/Shogun Warfare/faction/main/Structures/archery_dojo/base - Copy (2).aseprite b/Shogun Warfare/faction/main/Structures/archery_dojo/base - Copy (2).aseprite new file mode 100644 index 0000000..bcfc9b5 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/archery_dojo/base - Copy (2).aseprite differ diff --git a/Shogun Warfare/faction/main/Structures/archery_dojo/base - Copy.aseprite b/Shogun Warfare/faction/main/Structures/archery_dojo/base - Copy.aseprite new file mode 100644 index 0000000..8978bed Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/archery_dojo/base - Copy.aseprite differ diff --git a/Shogun Warfare/faction/main/Structures/archery_dojo/base - Copy.png b/Shogun Warfare/faction/main/Structures/archery_dojo/base - Copy.png new file mode 100644 index 0000000..abdbeab Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/archery_dojo/base - Copy.png differ diff --git a/Shogun Warfare/faction/main/Structures/archery_dojo/base.aseprite b/Shogun Warfare/faction/main/Structures/archery_dojo/base.aseprite new file mode 100644 index 0000000..1890e1a Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/archery_dojo/base.aseprite differ diff --git a/Shogun Warfare/faction/main/Structures/archery_dojo/base.png b/Shogun Warfare/faction/main/Structures/archery_dojo/base.png index 66fc76c..02fbb2e 100644 Binary files a/Shogun Warfare/faction/main/Structures/archery_dojo/base.png and b/Shogun Warfare/faction/main/Structures/archery_dojo/base.png differ diff --git a/Shogun Warfare/faction/main/Structures/archery_dojo/baseRoof - old.png b/Shogun Warfare/faction/main/Structures/archery_dojo/baseRoof - old.png new file mode 100644 index 0000000..66fc76c Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/archery_dojo/baseRoof - old.png differ diff --git a/Shogun Warfare/faction/main/Structures/archery_dojo/baseRoof.png b/Shogun Warfare/faction/main/Structures/archery_dojo/baseRoof.png new file mode 100644 index 0000000..7c3ca63 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/archery_dojo/baseRoof.png differ diff --git a/Shogun Warfare/faction/main/Structures/archery_dojo/baseRoof2.aseprite b/Shogun Warfare/faction/main/Structures/archery_dojo/baseRoof2.aseprite new file mode 100644 index 0000000..8db85f2 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/archery_dojo/baseRoof2.aseprite differ diff --git a/Shogun Warfare/faction/main/Structures/archery_dojo/baseRoof2.png b/Shogun Warfare/faction/main/Structures/archery_dojo/baseRoof2.png new file mode 100644 index 0000000..e3f9b27 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/archery_dojo/baseRoof2.png differ diff --git a/Shogun Warfare/faction/main/Structures/archery_dojo/shadow.png b/Shogun Warfare/faction/main/Structures/archery_dojo/shadow.png index eaab174..43b7523 100644 Binary files a/Shogun Warfare/faction/main/Structures/archery_dojo/shadow.png and b/Shogun Warfare/faction/main/Structures/archery_dojo/shadow.png differ diff --git a/Shogun Warfare/faction/main/Structures/buddhist_temple/base - Copy.png b/Shogun Warfare/faction/main/Structures/buddhist_temple/base - Copy.png new file mode 100644 index 0000000..0a55245 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/buddhist_temple/base - Copy.png differ diff --git a/Shogun Warfare/faction/main/Structures/buddhist_temple/base2 - Copy.aseprite b/Shogun Warfare/faction/main/Structures/buddhist_temple/base2 - Copy.aseprite new file mode 100644 index 0000000..8d3397e Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/buddhist_temple/base2 - Copy.aseprite differ diff --git a/Shogun Warfare/faction/main/Structures/buddhist_temple/base2.png b/Shogun Warfare/faction/main/Structures/buddhist_temple/base2.png new file mode 100644 index 0000000..cde538d Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/buddhist_temple/base2.png differ diff --git a/Shogun Warfare/faction/main/Structures/buddhist_temple/baseRoof - OLD.png b/Shogun Warfare/faction/main/Structures/buddhist_temple/baseRoof - OLD.png new file mode 100644 index 0000000..4ba0a55 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/buddhist_temple/baseRoof - OLD.png differ diff --git a/Shogun Warfare/faction/main/Structures/buddhist_temple/baseRoof.png b/Shogun Warfare/faction/main/Structures/buddhist_temple/baseRoof.png new file mode 100644 index 0000000..a016c31 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/buddhist_temple/baseRoof.png differ diff --git a/Shogun Warfare/faction/main/Structures/buddhist_temple/baseRoof2 - OLD.png b/Shogun Warfare/faction/main/Structures/buddhist_temple/baseRoof2 - OLD.png new file mode 100644 index 0000000..afc31b3 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/buddhist_temple/baseRoof2 - OLD.png differ diff --git a/Shogun Warfare/faction/main/Structures/buddhist_temple/baseRoof2.png b/Shogun Warfare/faction/main/Structures/buddhist_temple/baseRoof2.png new file mode 100644 index 0000000..a016c31 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/buddhist_temple/baseRoof2.png differ diff --git a/Shogun Warfare/faction/main/Structures/buddhist_temple/buddhist_temple.ini b/Shogun Warfare/faction/main/Structures/buddhist_temple/buddhist_temple.ini index ab61bce..8722b96 100644 --- a/Shogun Warfare/faction/main/Structures/buddhist_temple/buddhist_temple.ini +++ b/Shogun Warfare/faction/main/Structures/buddhist_temple/buddhist_temple.ini @@ -4,7 +4,7 @@ class: CustomUnitMetadata displayText: [Buddhist Temple] displayDescription: - Allows training of Monks with helaing powers. -tags: building, structure, buddhist_temple +tags: building, structure, buddhist_temple, temple copyFrom:ROOT:buildings.template techLevel: 1 @@ -13,17 +13,18 @@ price: gold=130, wood=120, rice=30 maxHp: 1000 mass: 20000 -radius: 40 -displayRadius: 40 -softCollisionOnAll: 90 +radius: 60 +displayRadius: 60 +softCollisionOnAll: 50 + isBio: false isBuilding: true numBitsOnDeath: 5 #exit_x:0 -exit_y:15 +exit_y:-25 -footprint: -2,-2,1,2 +footprint: -2,-2,1,1 constructionFootprint: -3,-3,2,2 buildingToFootprintOffsetX: 0 buildingToFootprintOffsetY: 0 @@ -33,8 +34,7 @@ maxTransportingUnits: 6 transportUnitsRequireTag: infantry transportUnitsAddUnloadOption: true transportUnitsKillOnDeath: false -transportUnitsHealBy: 20 - +transportUnitsHealBy: 0.5 transportUnitsUnloadDelayBetweenEachUnit: 2 @@ -42,27 +42,84 @@ transportUnitsUnloadDelayBetweenEachUnit: 2 #autoTrigger: if self.customTimer(laterThanSeconds = 5) #startUnloadingTransport: true #resetCustomTimer: true - +#[hiddenAction_unloadTemple] +#autoTrigger: if self.attachment(withTag='infantry').attachment.hp <= attachment.maxHp and self.isControlledByAI() +#startUnloadingTransport: true #[hiddenAction_unloadTemple] #autoTrigger: if parent.hp() == parent.maxHp() #requireConditional: if self.isControlledByAI() and self.transportingUnitWithTags(includes='infantry') #startUnloadingTransport: true + + + [attachment_a] +x: -20 +y: -0 +canAttack: false +deattachIfWantingToMove: true +isUnselectable: false +addTransportedUnits: true +canBeAttackedAndDamaged: false +keepAliveWhenParentDies: true + +[attachment_b] +x: 20 +y: -20 +canAttack: false +deattachIfWantingToMove: true +isUnselectable: false +addTransportedUnits: true +canBeAttackedAndDamaged: false +keepAliveWhenParentDies: true + +[attachment_c] +x: -20 +y: -20 +canAttack: false +deattachIfWantingToMove: true +isUnselectable: false +addTransportedUnits: true +canBeAttackedAndDamaged: false +keepAliveWhenParentDies: true + +[attachment_d] +x: 20 +y: 0 +canAttack: false +deattachIfWantingToMove: true +isUnselectable: false +addTransportedUnits: true +canBeAttackedAndDamaged: false +keepAliveWhenParentDies: true + +[attachment_e] x: 0 y: 0 canAttack: false -#onCreateSpawnUnitOf: bow_ashigaru_garrison deattachIfWantingToMove: true isUnselectable: false addTransportedUnits: true canBeAttackedAndDamaged: false keepAliveWhenParentDies: true +[attachment_f] +x: 0 +y: -20 +canAttack: false +deattachIfWantingToMove: true +isUnselectable: false +addTransportedUnits: true +canBeAttackedAndDamaged: false +keepAliveWhenParentDies: true + + + + [graphics] -total_frames: 1 -image:base.png +total_frames: 5 +image:base2.png image_wreak: NONE showEnergyBar: false image_offsetX:0 @@ -71,9 +128,13 @@ image_shadow: shadow.png shadowOffsetX:0 shadowOffsetY:0 +animation_idle_start: 0 +animation_idle_end: 4 +animation_idle_speed: 5 +animation_idle_pingPong: true + showHealthBar: true -drawLayer: experimentals -icon_build:icon.png +drawLayer: bottom [attack] canAttack: false @@ -83,7 +144,7 @@ canAttackUnderwaterUnits: false maxAttackRange: 0 [movement] -movementType: NONE +movementType: BUILDING moveSpeed: 0 moveAccelerationSpeed: 0 moveDecelerationSpeed: 0 @@ -91,34 +152,42 @@ maxTurnSpeed: 0 turnAcceleration: 0 [ai] -buildPriority: 0.28 -noneInBaseExtraPriority: 0.26 -noneGlobalExtraPriority: 0.5 -maxEachBase: 1 -maxGlobal: 4 +buildPriority: 0.30 +noneInBaseExtraPriority: 0.35 +noneGlobalExtraPriority: 0.30 +maxGlobal: 8 +maxEachBase: 1 recommendedInEachBaseNum: 1 recommendedInEachBasePriorityIfUnmet: 1 [decal_circle] @copyFrom_skipThisSection: true + + +[canBuild_0] +name: setRally +pos: 0 [canBuild_monk_healer] name: monk_healer pos: 1 [canBuild_naginata_warrior_monk] name: naginata_warrior_monk +isLocked: if self.numberOfUnitsInTeam(withTag='ikko ikki', lessThan=1) +isLockedMessage: [Ikko Ikki Special Unit] pos: 2 [canBuild_naginata_marathon_monk] name: naginata_marathon_monk +isLocked: if self.numberOfUnitsInTeam(withTag='ikko ikki', lessThan=1) +isLockedMessage: [Ikko Ikki Special Unit] pos: 3 [canBuild_matchlock_warrior_monk] name: matchlock_warrior_monk +isLocked: if self.numberOfUnitsInTeam(withTag='ikko ikki', lessThan=1) +isLockedMessage: [Ikko Ikki Special Unit] pos: 4 -[canBuild_0] -name: setRally -pos: 0 #### ACTION #### @@ -128,3 +197,22 @@ pos: 0 #requireConditional: if self.isControlledByAI() and self.hasParent(withTag="infantry") #forceUnloadTransportNow: true + +[decal_roofBlock2] +image: baseRoof2.png +layer: beforeUI +order: 2 +alpha: 0.2 +imageScale: 1 +teamColors: true +isVisible: true +[decal_roofBlock3] +image: baseRoof.png +layer: beforeUI +order: 2 +imageScale: 1 +teamColors: true +isVisible: if self.numberOfUnitsInTeam(withTag='infantry', lessThan=1, withinRange=60) + + + diff --git a/Shogun Warfare/faction/main/Structures/buddhist_temple/shadow.png b/Shogun Warfare/faction/main/Structures/buddhist_temple/shadow.png index 5dfe5de..ad8da56 100644 Binary files a/Shogun Warfare/faction/main/Structures/buddhist_temple/shadow.png and b/Shogun Warfare/faction/main/Structures/buddhist_temple/shadow.png differ diff --git a/Shogun Warfare/faction/main/Structures/goldmine/goldmine.ini b/Shogun Warfare/faction/main/Structures/goldmine/goldmine.ini index a4cb53a..0c3ebba 100644 --- a/Shogun Warfare/faction/main/Structures/goldmine/goldmine.ini +++ b/Shogun Warfare/faction/main/Structures/goldmine/goldmine.ini @@ -14,7 +14,7 @@ displayRadius: 15 price: gold=20 maxHp: 200 mass: 5000 -maxShield: 300 +maxShield: 100 shieldRegen: 0.01 displayFootprint: -0,-0,0,0 @@ -86,14 +86,11 @@ buildPriority: 0.40 noneInBaseExtraPriority: 0.60 noneGlobalExtraPriority: 0.28 -maxEachBase: 10 +maxEachBase: 30 maxGlobal: 10 recommendedInEachBaseNum: 10 recommendedInEachBasePriorityIfUnmet: 10 - - - #[hiddenAction_goldSpark] #resetCustomTimer: true #autoTrigger: if self.customTimer(laterThanSeconds=1) diff --git a/Shogun Warfare/faction/main/Structures/harbour/harbour.ini b/Shogun Warfare/faction/main/Structures/harbour/harbour.ini index 24c35e6..b3e1aa1 100644 --- a/Shogun Warfare/faction/main/Structures/harbour/harbour.ini +++ b/Shogun Warfare/faction/main/Structures/harbour/harbour.ini @@ -13,9 +13,9 @@ price: gold=30, wood=80 maxHp: 1000 mass: 20000 -radius: 35 +radius: 40 displayRadius: 35 -softCollisionOnAll: 10 +softCollisionOnAll: 5 isBio: false isBuilding: true numBitsOnDeath: 5 @@ -49,8 +49,7 @@ pos: 2 [canBuild_HeavyBune] name:heavybune pos: 3 - -isLocked: if self.numberOfUnitsInTeam(withTag='heavybune', greaterThan=10) +isLocked: if self.numberOfUnitsInTeam(withTag='heavybune') >= 1 isLockedMessage: [Maximum Unit Capped] @@ -98,16 +97,13 @@ targetHeightDrift: 1 [ai] buildPriority: 0.30 -noneInBaseExtraPriority: 0.25 -noneGlobalExtraPriority: 0.15 -maxEachBase: 1 -maxGlobal: 6 +noneInBaseExtraPriority: 0.22 +noneGlobalExtraPriority: 0.20 +maxEachBase: 1 recommendedInEachBaseNum: 1 recommendedInEachBasePriorityIfUnmet: 1 -#useAsTransport: true - [decal_circle] @copyFrom_skipThisSection: true diff --git a/Shogun Warfare/faction/main/Structures/jujutsu_dojo/Base0001.png b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/Base0001.png new file mode 100644 index 0000000..a29e60a Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/Base0001.png differ diff --git a/Shogun Warfare/faction/main/Structures/jujutsu_dojo/Base0002.png b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/Base0002.png new file mode 100644 index 0000000..242d25a Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/Base0002.png differ diff --git a/Shogun Warfare/faction/main/Structures/jujutsu_dojo/base - Copy.png b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/base - Copy.png new file mode 100644 index 0000000..f263e5a Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/base - Copy.png differ diff --git a/Shogun Warfare/faction/main/Structures/jujutsu_dojo/base-copy.aseprite b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/base-copy.aseprite new file mode 100644 index 0000000..9c1e0f8 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/base-copy.aseprite differ diff --git a/Shogun Warfare/faction/main/Structures/jujutsu_dojo/base.png b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/base.png index 242d25a..63c769f 100644 Binary files a/Shogun Warfare/faction/main/Structures/jujutsu_dojo/base.png and b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/base.png differ diff --git a/Shogun Warfare/faction/main/Structures/jujutsu_dojo/baseRoof.png b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/baseRoof.png new file mode 100644 index 0000000..e8ab193 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/baseRoof.png differ diff --git a/Shogun Warfare/faction/main/Structures/jujutsu_dojo/baseRoof2.png b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/baseRoof2.png new file mode 100644 index 0000000..01bdce9 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/baseRoof2.png differ diff --git a/Shogun Warfare/faction/main/Structures/jujutsu_dojo/base_buddhist_BaseAnimation.png b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/base_buddhist_BaseAnimation.png new file mode 100644 index 0000000..16af9a0 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/base_buddhist_BaseAnimation.png differ diff --git a/Shogun Warfare/faction/main/Structures/jujutsu_dojo/jujutsu_dojo.ini b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/jujutsu_dojo.ini index b68e988..4a0d1f8 100644 --- a/Shogun Warfare/faction/main/Structures/jujutsu_dojo/jujutsu_dojo.ini +++ b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/jujutsu_dojo.ini @@ -13,9 +13,10 @@ price: gold= 80, wood=90, rice=30 maxHp: 1000 mass: 20000 -radius: 50 -displayRadius: 50 -softCollisionOnAll: 20 +radius: 60 +displayRadius: 60 +softCollisionOnAll: 50 + isBio: false isBuilding: true numBitsOnDeath: 5 @@ -23,13 +24,13 @@ numBitsOnDeath: 5 exit_x:0 exit_y:10 -footprint: -2,-2,1,2 +footprint: -2,-2,1,1 constructionFootprint: -3,-3,2,2 buildingToFootprintOffsetX: 0 buildingToFootprintOffsetY: 0 [graphics] -total_frames: 1 +total_frames: 5 image:base.png image_wreak: NONE showEnergyBar: false @@ -39,9 +40,13 @@ image_shadow: shadow.png shadowOffsetX:0 shadowOffsetY:0 -showHealthBar: false -drawLayer: ground2 -icon_build:icon.png +animation_idle_start: 0 +animation_idle_end: 4 +animation_idle_speed: 5 +animation_idle_pingPong: true + +showHealthBar: true +drawLayer: bottom [attack] canAttack: false @@ -51,7 +56,7 @@ canAttackUnderwaterUnits: false maxAttackRange: 0 [movement] -movementType: NONE +movementType: BUILDING moveSpeed: 0 moveAccelerationSpeed: 0.01 moveDecelerationSpeed: 0.01 @@ -62,11 +67,10 @@ turnAcceleration: 0.1 buildPriority: 0.28 noneInBaseExtraPriority: 0.23 noneGlobalExtraPriority: 0.5 -maxEachBase: 1 -maxGlobal: 4 +maxEachBase: 1 recommendedInEachBaseNum: 1 -recommendedInEachBasePriorityIfUnmet: 1 +recommendedInEachBasePriorityIfUnmet: 2 [decal_circle] @copyFrom_skipThisSection: true @@ -84,3 +88,25 @@ pos: 1 [canBuild_0] name: setRally pos: 1 + + +[decal_roofBlock2] +image: baseRoof2.png +layer: beforeUI +order: 2 +alpha: 0.2 +imageScale: 1 +teamColors: true +isVisible: true +[decal_roofBlock3] +image: baseRoof.png +layer: beforeUI +order: 2 +imageScale: 1 +teamColors: true +isVisible: if self.numberOfUnitsInTeam(withTag='infantry', lessThan=1, withinRange=60) + + + + + diff --git a/Shogun Warfare/faction/main/Structures/jujutsu_dojo/shadow.png b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/shadow.png index 5dfe5de..6679015 100644 Binary files a/Shogun Warfare/faction/main/Structures/jujutsu_dojo/shadow.png and b/Shogun Warfare/faction/main/Structures/jujutsu_dojo/shadow.png differ diff --git a/Shogun Warfare/faction/main/Structures/lumbercamp/lumbercamp.ini b/Shogun Warfare/faction/main/Structures/lumbercamp/lumbercamp.ini index 8dd8caa..33c0ba4 100644 --- a/Shogun Warfare/faction/main/Structures/lumbercamp/lumbercamp.ini +++ b/Shogun Warfare/faction/main/Structures/lumbercamp/lumbercamp.ini @@ -87,12 +87,10 @@ buildPriority: 0.32 noneInBaseExtraPriority: 0.40 noneGlobalExtraPriority: 0.1 -maxEachBase: 5 -maxGlobal: 5 -recommendedInEachBaseNum: 5 -recommendedInEachBasePriorityIfUnmet: 5 - - +maxGlobal: 10 +maxEachBase: 3 +recommendedInEachBaseNum: 3 +recommendedInEachBasePriorityIfUnmet: 4 [decal_circle] @copyFrom_skipThisSection: true @@ -108,8 +106,10 @@ onlyWhileAlive: true teamColors: true layer: shadow alpha: 0.5 + [decal_roof01] imageStack: base.png -layer: beforeUi +layer: beforeUI + diff --git a/Shogun Warfare/faction/main/Structures/ninjutsu_school/base - Copy (2).png b/Shogun Warfare/faction/main/Structures/ninjutsu_school/base - Copy (2).png new file mode 100644 index 0000000..d630bfc Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/ninjutsu_school/base - Copy (2).png differ diff --git a/Shogun Warfare/faction/main/Structures/ninjutsu_school/base - Copy (3).png b/Shogun Warfare/faction/main/Structures/ninjutsu_school/base - Copy (3).png new file mode 100644 index 0000000..5549260 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/ninjutsu_school/base - Copy (3).png differ diff --git a/Shogun Warfare/faction/main/Structures/ninjutsu_school/base.aseprite b/Shogun Warfare/faction/main/Structures/ninjutsu_school/base.aseprite new file mode 100644 index 0000000..321e012 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/ninjutsu_school/base.aseprite differ diff --git a/Shogun Warfare/faction/main/Structures/ninjutsu_school/base.png b/Shogun Warfare/faction/main/Structures/ninjutsu_school/base.png index d630bfc..1f0ee0b 100644 Binary files a/Shogun Warfare/faction/main/Structures/ninjutsu_school/base.png and b/Shogun Warfare/faction/main/Structures/ninjutsu_school/base.png differ diff --git a/Shogun Warfare/faction/main/Structures/ninjutsu_school/baseRoof.png b/Shogun Warfare/faction/main/Structures/ninjutsu_school/baseRoof.png new file mode 100644 index 0000000..df2ce4f Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/ninjutsu_school/baseRoof.png differ diff --git a/Shogun Warfare/faction/main/Structures/ninjutsu_school/baseRoof2.png b/Shogun Warfare/faction/main/Structures/ninjutsu_school/baseRoof2.png new file mode 100644 index 0000000..2351e97 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/ninjutsu_school/baseRoof2.png differ diff --git a/Shogun Warfare/faction/main/Structures/ninjutsu_school/ninjutsu_school.ini b/Shogun Warfare/faction/main/Structures/ninjutsu_school/ninjutsu_school.ini index c4f1320..1d7b1c6 100644 --- a/Shogun Warfare/faction/main/Structures/ninjutsu_school/ninjutsu_school.ini +++ b/Shogun Warfare/faction/main/Structures/ninjutsu_school/ninjutsu_school.ini @@ -13,9 +13,10 @@ price: gold=60, wood=60, rice=75 maxHp: 1000 mass: 20000 -radius: 50 -displayRadius: 50 -softCollisionOnAll: 20 +radius: 60 +displayRadius: 60 +softCollisionOnAll: 50 + isBio: false isBuilding: true numBitsOnDeath: 5 @@ -29,7 +30,7 @@ buildingToFootprintOffsetX: 0 buildingToFootprintOffsetY: 0 [graphics] -total_frames: 1 +total_frames: 6 image:base.png image_wreak: NONE showEnergyBar: false @@ -39,9 +40,14 @@ image_shadow: shadow.png shadowOffsetX:0 shadowOffsetY:0 -showHealthBar: false -drawLayer: ground2 -icon_build:icon.png +animation_idle_start: 0 +animation_idle_end: 5 +animation_idle_speed: 5 +animation_idle_pingPong: FALSE + +showHealthBar: true +drawLayer: bottom + [attack] canAttack: false @@ -51,7 +57,7 @@ canAttackUnderwaterUnits: false maxAttackRange: 0 [movement] -movementType: NONE +movementType: BUILDING moveSpeed: 0 moveAccelerationSpeed: 0.01 moveDecelerationSpeed: 0.01 @@ -62,14 +68,11 @@ turnAcceleration: 0.1 buildPriority: 0.27 noneInBaseExtraPriority: 0.23 noneGlobalExtraPriority: 0.9 -maxEachBase: 1 -maxGlobal: 1 +maxEachBase: 1 recommendedInEachBaseNum: 1 recommendedInEachBasePriorityIfUnmet: 1 -[decal_circle] -@copyFrom_skipThisSection: true [canBuild_1] name: kisho_ninja @@ -77,7 +80,68 @@ pos: 1 [canBuild_2] name: hanzos_shadow pos: 2 - [canBuild_0] name: setRally pos: 1 + + +[decal_circle] +@copyFrom_skipThisSection: true + + +[decal_statue01] +@define frame_start: 0 +@define frame_end: 4 +@define framesPerSec: 4 +imageStack: ROOT:images\decoration01Animated.png +xOffsetAbsolute: 30 +yOffsetAbsolute: 60 +onlyWhileActive: true +layer: beforeUI +total_frames: 5 +frame: int((self.timeAlive()*${framesPerSec})%${frame_end-frame_start+1})+${frame_start} +[decal_statue02] +@define frame_start: 0 +@define frame_end: 4 +@define framesPerSec: 4 +imageStack: ROOT:images\decoration01Animated.png +xOffsetAbsolute: -30 +yOffsetAbsolute: 60 +onlyWhileActive: true +layer: beforeUI +total_frames: 5 +frame: int((self.timeAlive()*${framesPerSec})%${frame_end-frame_start+1})+${frame_start} + + +[decal_roofBlock2] +image: baseRoof2.png +layer: beforeUI +order: 2 +alpha: 0.2 +imageScale: 1 +teamColors: true +isVisible: true +[decal_roofBlock3] +image: baseRoof.png +layer: beforeUI +order: 2 +imageScale: 1 +teamColors: true +isVisible: if self.numberOfUnitsInTeam(withTag='infantry', lessThan=1, withinRange=60) + +[decal_crowsDecal] +@define frame_start: 0 +@define frame_end: 3 +@define framesPerSec: 8 +imageStack: ROOT:images\crowsDecal.png +layer: beforeUI +order: 4 +alpha: 1 +imageScale: 0.5 +total_frames: 4 +teamColors: true +isVisible: true +yOffsetRelative: -25 +basePosition: self.getOffsetRelative(dirOffset=self.timeAlive*150) +frame: int((self.timeAlive()*${framesPerSec})%${frame_end-frame_start+1})+${frame_start} + diff --git a/Shogun Warfare/faction/main/Structures/ninjutsu_school/shadow.png b/Shogun Warfare/faction/main/Structures/ninjutsu_school/shadow.png index d451339..7ccf7d5 100644 Binary files a/Shogun Warfare/faction/main/Structures/ninjutsu_school/shadow.png and b/Shogun Warfare/faction/main/Structures/ninjutsu_school/shadow.png differ diff --git a/Shogun Warfare/faction/main/Structures/ricefield/ricefield.ini b/Shogun Warfare/faction/main/Structures/ricefield/ricefield.ini index adabe8a..933e1ad 100644 --- a/Shogun Warfare/faction/main/Structures/ricefield/ricefield.ini +++ b/Shogun Warfare/faction/main/Structures/ricefield/ricefield.ini @@ -87,10 +87,10 @@ buildPriority: 0.33 noneInBaseExtraPriority: 0.40 noneGlobalExtraPriority: 0.1 -maxEachBase: 5 -maxGlobal: 5 -recommendedInEachBaseNum: 5 -recommendedInEachBasePriorityIfUnmet: 5 +maxGlobal: 10 +maxEachBase: 3 +recommendedInEachBaseNum: 3 +recommendedInEachBasePriorityIfUnmet: 3 [decal_outline] imageStack: outline.png*1 diff --git a/Shogun Warfare/faction/main/Structures/siege_workshop/siege_workshop.ini b/Shogun Warfare/faction/main/Structures/siege_workshop/siege_workshop.ini index fc36ff6..bee383e 100644 --- a/Shogun Warfare/faction/main/Structures/siege_workshop/siege_workshop.ini +++ b/Shogun Warfare/faction/main/Structures/siege_workshop/siege_workshop.ini @@ -9,8 +9,8 @@ copyFrom:ROOT:buildings.template techLevel: 1 buildSpeed: 20s -radius: 45 -displayRadius: 45 +radius: 60 +displayRadius: 60 price: gold=100, wood=120, rice=55 maxHp: 1200 mass: 5000 @@ -41,7 +41,7 @@ shadowOffsetX:0 shadowOffsetY:0 showHealthBar: true -drawLayer: experimentals +drawLayer: bottom [attack] canAttack: false @@ -51,7 +51,7 @@ canAttackUnderwaterUnits: false maxAttackRange: 0 [movement] -movementType: NONE +movementType: BUILDING moveSpeed: 0 moveAccelerationSpeed: 0.01 moveDecelerationSpeed: 0.01 @@ -59,12 +59,13 @@ maxTurnSpeed: 0 turnAcceleration: 0.1 [ai] -buildPriority: 0.30 +buildPriority: 0.28 noneInBaseExtraPriority: 0.30 -maxEachBase: 1 -maxGlobal: 2 +noneGlobalExtraPriority: 0.35 -recommendedInEachBaseNum: 1 +maxEachBase: 2 +maxGlobal: 2 +recommendedInEachBaseNum: 2 recommendedInEachBasePriorityIfUnmet: 1 [decal_outline] @@ -87,19 +88,27 @@ isVisible: if self.numberOfUnitsInEnemyTeam(lessThan=1, withTag="infantry", with @copyFrom_skipThisSection: true +[canBuild_0] +name: setRally +pos: 1 + [canBuild_1] -name: bomb_thrower -pos: 0 -[canBuild_2] name: european_cannon -pos: 1 +pos: 2 isLocked: if self.numberOfUnitsInTeam(withTag='europeancannon') >= 3 isLockedMessage: [Siege Weapons Limit at Max!] -[canBuild_3] +[canBuild_2] name: mangonel -pos: 2 +pos: 3 isLocked: if self.numberOfUnitsInTeam(withTag='mangonel') >= 3 isLockedMessage: [Siege Weapons Limit at Max!] +[canBuild_lockedUnit] +name: bomb_thrower +pos: 4 +isLocked: if self.numberOfUnitsInTeam(withTag='oda', lessThan=1) +#isVisible: if self.numberOfUnitsInTeam(withTag='oda', greaterThan=0) +isLockedMessage: [Oda Special Unit] + [animation_harvest] diff --git a/Shogun Warfare/faction/main/Structures/sword_school/baseCC01 - Copy.png b/Shogun Warfare/faction/main/Structures/sword_school/baseCC01 - Copy.png new file mode 100644 index 0000000..1f5bedb Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/sword_school/baseCC01 - Copy.png differ diff --git a/Shogun Warfare/faction/main/Structures/sword_school/baseCC01.aseprite b/Shogun Warfare/faction/main/Structures/sword_school/baseCC01.aseprite new file mode 100644 index 0000000..579c8b9 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/sword_school/baseCC01.aseprite differ diff --git a/Shogun Warfare/faction/main/Structures/sword_school/baseCC01.png b/Shogun Warfare/faction/main/Structures/sword_school/baseCC01.png new file mode 100644 index 0000000..50a4f66 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/sword_school/baseCC01.png differ diff --git a/Shogun Warfare/faction/main/Structures/sword_school/baseRoof - Copy.png b/Shogun Warfare/faction/main/Structures/sword_school/baseRoof - Copy.png new file mode 100644 index 0000000..37f34ab Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/sword_school/baseRoof - Copy.png differ diff --git a/Shogun Warfare/faction/main/Structures/sword_school/baseRoof.png b/Shogun Warfare/faction/main/Structures/sword_school/baseRoof.png new file mode 100644 index 0000000..09eaabb Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/sword_school/baseRoof.png differ diff --git a/Shogun Warfare/faction/main/Structures/sword_school/baseRoof2 - Copy.png b/Shogun Warfare/faction/main/Structures/sword_school/baseRoof2 - Copy.png new file mode 100644 index 0000000..d5dc35c Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/sword_school/baseRoof2 - Copy.png differ diff --git a/Shogun Warfare/faction/main/Structures/sword_school/baseRoof2.png b/Shogun Warfare/faction/main/Structures/sword_school/baseRoof2.png new file mode 100644 index 0000000..98e27c3 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/sword_school/baseRoof2.png differ diff --git a/Shogun Warfare/faction/main/Structures/sword_school/shadow.png b/Shogun Warfare/faction/main/Structures/sword_school/shadow.png index 5dfe5de..b09b830 100644 Binary files a/Shogun Warfare/faction/main/Structures/sword_school/shadow.png and b/Shogun Warfare/faction/main/Structures/sword_school/shadow.png differ diff --git a/Shogun Warfare/faction/main/Structures/sword_school/sword_school.ini b/Shogun Warfare/faction/main/Structures/sword_school/sword_school.ini index ca4b3ad..5672a96 100644 --- a/Shogun Warfare/faction/main/Structures/sword_school/sword_school.ini +++ b/Shogun Warfare/faction/main/Structures/sword_school/sword_school.ini @@ -13,9 +13,10 @@ price: gold=50, wood=70, rice=70 maxHp: 1000 mass: 20000 -radius: 50 -displayRadius: 50 -softCollisionOnAll: 20 +radius: 60 +displayRadius: 60 +softCollisionOnAll: 50 + isBio: false isBuilding: true numBitsOnDeath: 5 @@ -23,14 +24,14 @@ numBitsOnDeath: 5 exit_x:0 exit_y:10 -footprint: -2,-2,1,2 +footprint: -2,-2,1,1 constructionFootprint: -3,-3,2,2 buildingToFootprintOffsetX: 0 buildingToFootprintOffsetY: 0 [graphics] -total_frames: 1 -image:base.png +total_frames: 6 +image:baseCC01.png image_wreak: NONE showEnergyBar: false image_offsetX:0 @@ -39,9 +40,13 @@ image_shadow: shadow.png shadowOffsetX:0 shadowOffsetY:0 +animation_idle_start: 0 +animation_idle_end: 5 +animation_idle_speed: 5 +animation_idle_pingPong: false + showHealthBar: true -drawLayer: experimentals -icon_build:icon.png +drawLayer: bottom [attack] canAttack: false @@ -51,7 +56,7 @@ canAttackUnderwaterUnits: false maxAttackRange: 0 [movement] -movementType: NONE +movementType: BUILDING moveSpeed: 0 moveAccelerationSpeed: 0.01 moveDecelerationSpeed: 0.01 @@ -62,11 +67,10 @@ turnAcceleration: 0.1 buildPriority: 0.32 noneInBaseExtraPriority: 0.32 noneGlobalExtraPriority: 0.10 -maxEachBase: 3 -maxGlobal: 3 -recommendedInEachBaseNum: 2 -recommendedInEachBasePriorityIfUnmet: 1 +maxEachBase: 2 +recommendedInEachBaseNum: 1 +recommendedInEachBasePriorityIfUnmet: 2 [decal_circle] @copyFrom_skipThisSection: true @@ -99,3 +103,22 @@ pos: 6 [canBuild_0] name: setRally pos: 1 + + +[decal_roofBlock2] +image: baseRoof2.png +layer: beforeUI +order: 2 +alpha: 0.2 +imageScale: 1 +teamColors: true +isVisible: true +[decal_roofBlock3] +image: baseRoof.png +layer: beforeUI +order: 2 +imageScale: 1 +teamColors: true +isVisible: if self.numberOfUnitsInTeam(withTag='infantry', lessThan=1, withinRange=60) + + diff --git a/Shogun Warfare/faction/main/Structures/warhorse_stables/base - noFlag - Copy.png b/Shogun Warfare/faction/main/Structures/warhorse_stables/base - noFlag - Copy.png new file mode 100644 index 0000000..756b938 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/warhorse_stables/base - noFlag - Copy.png differ diff --git a/Shogun Warfare/faction/main/Structures/warhorse_stables/base.png b/Shogun Warfare/faction/main/Structures/warhorse_stables/base.png index ad64499..7aaa429 100644 Binary files a/Shogun Warfare/faction/main/Structures/warhorse_stables/base.png and b/Shogun Warfare/faction/main/Structures/warhorse_stables/base.png differ diff --git a/Shogun Warfare/faction/main/Structures/warhorse_stables/baseRoof.png b/Shogun Warfare/faction/main/Structures/warhorse_stables/baseRoof.png new file mode 100644 index 0000000..2d2d190 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/warhorse_stables/baseRoof.png differ diff --git a/Shogun Warfare/faction/main/Structures/warhorse_stables/baseRoof2.png b/Shogun Warfare/faction/main/Structures/warhorse_stables/baseRoof2.png new file mode 100644 index 0000000..756b938 Binary files /dev/null and b/Shogun Warfare/faction/main/Structures/warhorse_stables/baseRoof2.png differ diff --git a/Shogun Warfare/faction/main/Structures/warhorse_stables/shadow.png b/Shogun Warfare/faction/main/Structures/warhorse_stables/shadow.png index be6225e..996dafb 100644 Binary files a/Shogun Warfare/faction/main/Structures/warhorse_stables/shadow.png and b/Shogun Warfare/faction/main/Structures/warhorse_stables/shadow.png differ diff --git a/Shogun Warfare/faction/main/Structures/warhorse_stables/warhorse_stables.ini b/Shogun Warfare/faction/main/Structures/warhorse_stables/warhorse_stables.ini index be1d734..0cb241d 100644 --- a/Shogun Warfare/faction/main/Structures/warhorse_stables/warhorse_stables.ini +++ b/Shogun Warfare/faction/main/Structures/warhorse_stables/warhorse_stables.ini @@ -13,9 +13,10 @@ price: gold=50, wood=70, rice=70 maxHp: 1000 mass: 20000 -radius: 50 -displayRadius: 50 -softCollisionOnAll: 20 +radius: 70 +displayRadius: 70 +softCollisionOnAll: 50 + isBio: false isBuilding: true numBitsOnDeath: 5 @@ -23,7 +24,7 @@ numBitsOnDeath: 5 exit_x:0 exit_y:10 -footprint: -2,-2,1,2 +footprint: -2,-2,1,1 constructionFootprint: -3,-3,2,2 buildingToFootprintOffsetX: 0 buildingToFootprintOffsetY: 0 @@ -40,8 +41,7 @@ shadowOffsetX:0 shadowOffsetY:0 showHealthBar: true -drawLayer: experimentals -icon_build:icon.png +drawLayer: bottom [attack] canAttack: false @@ -51,7 +51,7 @@ canAttackUnderwaterUnits: false maxAttackRange: 0 [movement] -movementType: NONE +movementType: BUILDING moveSpeed: 0 moveAccelerationSpeed: 0.01 moveDecelerationSpeed: 0.01 @@ -62,11 +62,10 @@ turnAcceleration: 0.1 buildPriority: 0.30 noneInBaseExtraPriority: 0.32 noneGlobalExtraPriority: 0.3 -maxEachBase: 3 -maxGlobal: 3 -recommendedInEachBaseNum: 2 -recommendedInEachBasePriorityIfUnmet: 1 +maxEachBase: 2 +recommendedInEachBaseNum: 1 +recommendedInEachBasePriorityIfUnmet: 2 [decal_circle] @copyFrom_skipThisSection: true @@ -83,6 +82,12 @@ pos: 3 [canBuild_katana_cavalry] name: katana_cavalry pos: 4 +[canBuild_lockedUnit] +name: takeda_fire_cavalry +pos: 5 +isLocked: if self.numberOfUnitsInTeam(withTag='takeda', lessThan=1) +#isVisible: if self.numberOfUnitsInTeam(withTag='takeda', greaterThan=0) +isLockedMessage: [Takeda Special Unit] [canBuild_0] name: setRally @@ -92,15 +97,23 @@ pos: 1 #[canBuild_takeda_fire_cavalry] #name: takeda_fire_cavalry #pos: 5 - - -[canBuild_lockedUnit] -name: takeda_fire_cavalry -pos: 5 -isLocked: if self.numberOfUnitsInTeam(withTag='takeda', lessThan=1) -isVisible: if self.numberOfUnitsInTeam(withTag='takeda', greaterThan=0) -isLockedMessage: [Takeda Unit] - #[hiddenAction_buildThis] #autoTrigger: if self.numberOfUnitsInEnemyTeam(withTag='katana', greaterThan=5) -#requireConditional: if self.isControlledByAI() \ No newline at end of file +#requireConditional: if self.isControlledByAI() + +[decal_roofBlock2] +image: baseRoof2.png +layer: beforeUI +order: 2 +alpha: 0.2 +imageScale: 1 +teamColors: true +isVisible: true +[decal_roofBlock3] +image: baseRoof.png +layer: beforeUI +order: 2 +imageScale: 1 +teamColors: true +isVisible: if self.numberOfUnitsInTeam(withTag='infantry', lessThan=1, withinRange=60) + diff --git a/Shogun Warfare/faction/main/Wako Pirates/waku_boat/bodyEmpty.png b/Shogun Warfare/faction/main/Wako Pirates/waku_boat/bodyEmpty.png index 85e1289..5d36bcb 100644 Binary files a/Shogun Warfare/faction/main/Wako Pirates/waku_boat/bodyEmpty.png and b/Shogun Warfare/faction/main/Wako Pirates/waku_boat/bodyEmpty.png differ diff --git a/Shogun Warfare/faction/main/Wako Pirates/waku_boat/bodyEmpty22.png b/Shogun Warfare/faction/main/Wako Pirates/waku_boat/bodyEmpty22.png new file mode 100644 index 0000000..85e1289 Binary files /dev/null and b/Shogun Warfare/faction/main/Wako Pirates/waku_boat/bodyEmpty22.png differ diff --git a/Shogun Warfare/faction/main/Wako Pirates/waku_boat/waku_boat.ini b/Shogun Warfare/faction/main/Wako Pirates/waku_boat/waku_boat.ini index 4667d9d..a3dd559 100644 --- a/Shogun Warfare/faction/main/Wako Pirates/waku_boat/waku_boat.ini +++ b/Shogun Warfare/faction/main/Wako Pirates/waku_boat/waku_boat.ini @@ -1,6 +1,6 @@ [core] name: waku_boat -displayText: Waku-Waku Boat +displayText: Waku-Waku Bandit Boat displayDescription: - Built for cheap and not for speed! class: CustomUnitMetadata tags: boat, smallship, waku_boat, transport, water @@ -92,22 +92,21 @@ reverseSpeedPercentage: 0 maxTurnSpeed: 55 turnAcceleration: 0.9 + [hiddenAction_newTransportingDrop] autoTrigger: if self.transportingCount(greaterThan=0) clearAllWaypoints: true addWaypoint_type: move -addWaypoint_target_nearestUnit_tagged: infantry, building +addWaypoint_target_nearestUnit_tagged: infantry, resource, resources, camp addWaypoint_target_nearestUnit_team: enemy addWaypoint_target_nearestUnit_maxRange: 5000 - [hiddenAction_findLand] autoTrigger: if self.isOverWater() and self.numberOfAttachedUnits(greaterThan=1) clearAllWaypoints: true addWaypoint_type: move -addWaypoint_target_nearestUnit_tagged: infantry, resource, resources +addWaypoint_target_nearestUnit_tagged: infantry, resource, resources, camp addWaypoint_target_nearestUnit_team: enemy addWaypoint_target_nearestUnit_maxRange: 5000 - [hiddenAction_notTransporting] autoTrigger: if self.transportingCount(lessThan=2) resetCustomTimer: true @@ -117,23 +116,28 @@ addWaypoint_target_randomUnit_tagged: idle #addWaypoint_target_nearestUnit_team: own addWaypoint_target_nearestUnit_maxRange: 15000 -[hiddenAction_unload] -resetCustomTimer: true -autoTrigger: if self.isOverOpenLand() and self.customTimer() >= 20 -ai_isHighPriority: if self.isOverOpenLand() -startUnloadingTransport: true +#[hiddenAction_unload] +#resetCustomTimer: true +#autoTrigger: if self.isOverOpenLand() and self.customTimer() >= 20 +#ai_isHighPriority: if self.isOverOpenLand() +#startUnloadingTransport: true [hiddenAction_attackIfInRadius] autoTrigger: if self.numberOfUnitsInEnemyTeam(withinRange=200) > 0 and self.isOverOpenLand() attachments_unload: true resetCustomTimer: true - [hiddenAction_TriggerSpawnUnits] autoTriggerOnEvent: created addUnitsIntoTransport: waku_katana*2 price: energy=1 - [hiddenAction_death] autoTrigger: if self.hp(lessThan=1) setResourcesWithLogic: hp=0 + +[hiddenAction_abbandonBoat] +autoTrigger: if self.isOverOpenLand() and self.hp() <= 200 and self.numberOfAttachedUnits(lessThan=1) +produceUnits: waku_builder +convertTo: waku_boat_danger + + diff --git a/Shogun Warfare/faction/main/Wako Pirates/waku_boat/waku_boat_danger.ini b/Shogun Warfare/faction/main/Wako Pirates/waku_boat/waku_boat_danger.ini new file mode 100644 index 0000000..38093c4 --- /dev/null +++ b/Shogun Warfare/faction/main/Wako Pirates/waku_boat/waku_boat_danger.ini @@ -0,0 +1,64 @@ +[core] +name: waku_boat_danger +displayText: Waku-Waku Bandit Boat Abbandoned +displayDescription: - Built for cheap and not for speed! +class: CustomUnitMetadata +tags: boat, smallship, waku_boat_danger, transport, water + +price: gold=0 +fogOfWarSightRange:1000 +maxHp: 200 +mass: 5000 +techLevel: 1 +buildSpeed: 1s +radius: 20 +isBio: false +softCollisionOnAll: 10 +selfRegenRate:0 +numBitsOnDeath: 5 + +armour: 6 + +createOnAggressiveTeam: true +energyMax:2 + + + +[graphics] +drawLayer: bottom +total_frames: 1 +image: bodyEmpty22.png +image_wreak: none +image_turret: NONE +image_shadow:shadow.png +shadowOffsetX:0 +shadowOffsetY:0 +teamColorsOnTurret: true +splastEffect:false +dustEffect:false + + +[attack] +canAttack: false +canAttackFlyingUnits: false +canAttackLandUnits: false +canAttackUnderwaterUnits: false +turretSize: 18 +turretTurnSpeed: 0 +maxAttackRange: 10 +shootDelay: 0s + +[movement] +movementType: HOVER +moveSpeed: 0 +moveAccelerationSpeed: 0 +moveDecelerationSpeed: 0 +reverseSpeedPercentage: 0 +maxTurnSpeed: 0 +turnAcceleration: 0 + + +[hiddenAction_death] +autoTrigger: if self.hp(lessThan=1) +setResourcesWithLogic: hp=0 + diff --git a/Shogun Warfare/faction/main/Wako Pirates/waku_builder/base.png b/Shogun Warfare/faction/main/Wako Pirates/waku_builder/base.png new file mode 100644 index 0000000..79e91a3 Binary files /dev/null and b/Shogun Warfare/faction/main/Wako Pirates/waku_builder/base.png differ diff --git a/Shogun Warfare/faction/main/Wako Pirates/waku_builder/icon.png b/Shogun Warfare/faction/main/Wako Pirates/waku_builder/icon.png new file mode 100644 index 0000000..4994ca9 Binary files /dev/null and b/Shogun Warfare/faction/main/Wako Pirates/waku_builder/icon.png differ diff --git a/Shogun Warfare/faction/main/Wako Pirates/waku_builder/projectile.png b/Shogun Warfare/faction/main/Wako Pirates/waku_builder/projectile.png new file mode 100644 index 0000000..e602bc1 Binary files /dev/null and b/Shogun Warfare/faction/main/Wako Pirates/waku_builder/projectile.png differ diff --git a/Shogun Warfare/faction/main/Wako Pirates/waku_builder/smoke.png b/Shogun Warfare/faction/main/Wako Pirates/waku_builder/smoke.png new file mode 100644 index 0000000..2fabb3a Binary files /dev/null and b/Shogun Warfare/faction/main/Wako Pirates/waku_builder/smoke.png differ diff --git a/Shogun Warfare/faction/main/Wako Pirates/waku_builder/waku_builder.ini b/Shogun Warfare/faction/main/Wako Pirates/waku_builder/waku_builder.ini new file mode 100644 index 0000000..a5c16e1 --- /dev/null +++ b/Shogun Warfare/faction/main/Wako Pirates/waku_builder/waku_builder.ini @@ -0,0 +1,169 @@ +[core] +name: waku_builder +displayText: [Angry Peasant] +displayDescription: - A random peasant. + +tags: lightinfantry, infantry, peasant, waku_builder, builder, worker, harvester +copyFrom:ROOT:\templates\melee.template, ROOT:\templates\infantry.template + +price: gold=0, rice=0, wood=0 +maxHp: 100 +mass: 300 +techLevel: 1 +buildSpeed: 3s +radius: 10 +displayRadius: 10 + +isBuilder: true +canRepairBuildings: true +canRepairUnits : false +autoRepair: true +canReclaimResources: true +canReclaimResourcesNextSearchRange: 2000 +nanoRepairSpeed: 0.5 +nanoBuildSpeed: 1 +nanoRangeForReclaim: 5 +resourceReclaimMultiplier: 1 +nanoRangeForReclaimIsMelee: true +nanoRangeForRepairIsMelee:true +nanoRange: 30 +nanoRangeForRepair: 25 + +armour: 4 + +createOnAggressiveTeam: true + + +[hiddenAction_reclaim] +autoTrigger: if self.isControlledByAI() and self.customTimer(laterThanSeconds=10) +addWaypoint_type: reclaim +addWaypoint_target_nearestUnit_team: own +addWaypoint_target_mapMustBeReachable: true +addWaypoint_target_nearestUnit_maxRange: 100 +addWaypoint_target_nearestUnit_tagged: ricefield, lumbercamp, goldmine +addWaypoint_maxTime: 30s +debugMessage: "Peasant - Action1" +resetCustomTimer: true +[hiddenAction_attack] +autoTrigger: if self.hasTakenDamage(withinSeconds=3) +requireConditional: if self.isControlledByAI() +clearActiveWaypoint: true +addWaypoint_type: attack +addWaypoint_target_nearestUnit_tagged: infantry, cavalry, heavyinfantry, tower, archertower +addWaypoint_target_nearestUnit_team: enemy +addWaypoint_target_nearestUnit_maxRange: 60 +resetCustomTimer: true +[hiddenAction_chatter1] +autoTriggerOnEvent: newWaypointGivenByPlayer +requireConditional: if self.customTimer(laterThanSeconds=5) +spawnEffects: chat1 +resetCustomTimer: true + + +[graphics] +total_frames: 10 +image: base.png +image_turret: NONE +animation_moving_start: 1 +animation_moving_end: 3 +animation_moving_speed: 2 +animation_moving_pingPong: true +animation_idle_start: 0 +animation_idle_end: 0 +animation_idle_speed: 5 +animation_idle_pingPong: true +animation_attack_start: 4 +animation_attack_end: 6 +animation_attack_speed: 10 +animation_attack_pingPong: true +lock_body_rotation_with_main_turret: true +repairEffectRate: 50 +repairEffect:CUSTOM:smoke*1 +reclaimEffectRate: 50 +reclaimEffect:CUSTOM:smoke*1 + + +[attack] +showRangeUIGuide: true +meleeEngangementDistance: 1000 +isMelee: true +canAttack: true +canAttackFlyingUnits: false +canAttackLandUnits: true +canAttackUnderwaterUnits: false +isFixedFiring: true +turretSize: 20 +turretTurnSpeed: 0 +maxAttackRange: 8 +shootDelay: 40 + + +[turret_1] +x: 0 +y: 0 +recoilOffset: -3 +recoilOutTime: 0 +recoilReturnTime: 10 +[projectile_1] +image: projectile.png +directDamage: 5 +life: 60 +instant: true +pushForce: 600 +mutator[multiplier]_ifUnitWithTags: goldmine, ricefield, lumbercamp, golden_ricefield, goldenricefield +mutator[multiplier]_directDamageMultiplier: 15 + + +[movement] +movementType: LAND +moveSpeed: 1 +moveAccelerationSpeed: 0.09 +moveDecelerationSpeed: 0.12 +maxTurnSpeed: 60 +turnAcceleration: 1.20 +moveSlidingMode :true +moveIgnoringBody:true +moveSlidingDir: 181 +reverseSpeedPercentage:0 + + +[ai] +useAsBuilder: true +useAsHarvester: true + + +[animation_harvest] +onActions : reclaim +body_0s: {frame:7} +body_0.5s: {frame:8} +body_0.7s: {frame:9} +effect_0.9s: {name:CUSTOM|smoke,x:0,y:0} +pingPong: false +[animation_building] +onActions : repair +body_0s: {frame:7} +body_0.5s: {frame:8} +body_0.7s: {frame:9} +effect_0.9s: {name:CUSTOM|smoke,x:0,y:0} +pingPong: false + + +[effect_smoke] +image: smoke.png +priority:high +drawUnderUnits:false +life: 100 +alpha: 1 +scaleFrom: 3 +scaleTo: 0.1 +fadeOut: true +hSpeed: 1 +physics: true +attachedToUnit: false +xSpeedRelativeRandom: 0.3 +ySpeedRelativeRandom: 0.3 +createWhenZoomedOut: false +spawnChance: 0.5 + + + diff --git a/Shogun Warfare/faction/main/Wako Pirates/waku_katana/waku_katana.ini b/Shogun Warfare/faction/main/Wako Pirates/waku_katana/waku_katana.ini index 8ebb88c..0482510 100644 --- a/Shogun Warfare/faction/main/Wako Pirates/waku_katana/waku_katana.ini +++ b/Shogun Warfare/faction/main/Wako Pirates/waku_katana/waku_katana.ini @@ -6,7 +6,7 @@ tags: lightinfantry, infantry, waku_katana, melee, katana, samurai copyFrom:ROOT:\templates\melee.template, ROOT:\templates\infantry.template price: gold=0 -maxHp: 100 +maxHp: 60 mass: 450 techLevel: 1 buildSpeed: 5s @@ -16,7 +16,7 @@ displayRadius: 10 selfRegenRate:0 softCollisionOnAll: 2 -armour: 4 +armour: 2 createOnAggressiveTeam: true @@ -41,11 +41,12 @@ lock_body_rotation_with_main_turret: true [attack] isMelee: true -meleeEngangementDistance: 900 +meleeEngangementDistance: 300 canAttack: true canAttackFlyingUnits: false canAttackLandUnits: true canAttackUnderwaterUnits: false +canOnlyAttackUnitsWithTags: infantry, resource, resources, siege, boat, camp, mainCamp, maincamp isFixedFiring: true turretSize: 20 turretTurnSpeed: 5 diff --git a/Shogun Warfare/images/blank.png b/Shogun Warfare/images/blank.png new file mode 100644 index 0000000..c586be9 Binary files /dev/null and b/Shogun Warfare/images/blank.png differ diff --git a/Shogun Warfare/images/body_ui.png b/Shogun Warfare/images/body_ui.png new file mode 100644 index 0000000..2727729 Binary files /dev/null and b/Shogun Warfare/images/body_ui.png differ diff --git a/Shogun Warfare/images/body_ui_build.png b/Shogun Warfare/images/body_ui_build.png new file mode 100644 index 0000000..866ab94 Binary files /dev/null and b/Shogun Warfare/images/body_ui_build.png differ diff --git a/Shogun Warfare/images/cancel_module.png b/Shogun Warfare/images/cancel_module.png new file mode 100644 index 0000000..f46623f Binary files /dev/null and b/Shogun Warfare/images/cancel_module.png differ diff --git a/Shogun Warfare/images/crowsDecal.png b/Shogun Warfare/images/crowsDecal.png new file mode 100644 index 0000000..e9f9e2c Binary files /dev/null and b/Shogun Warfare/images/crowsDecal.png differ diff --git a/Shogun Warfare/images/debris.png b/Shogun Warfare/images/debris.png new file mode 100644 index 0000000..36e6937 Binary files /dev/null and b/Shogun Warfare/images/debris.png differ diff --git a/Shogun Warfare/images/decoration01.aseprite b/Shogun Warfare/images/decoration01.aseprite new file mode 100644 index 0000000..b51ea83 Binary files /dev/null and b/Shogun Warfare/images/decoration01.aseprite differ diff --git a/Shogun Warfare/images/decoration01.png b/Shogun Warfare/images/decoration01.png new file mode 100644 index 0000000..c849262 Binary files /dev/null and b/Shogun Warfare/images/decoration01.png differ diff --git a/Shogun Warfare/images/decoration01Animated.png b/Shogun Warfare/images/decoration01Animated.png new file mode 100644 index 0000000..d050720 Binary files /dev/null and b/Shogun Warfare/images/decoration01Animated.png differ diff --git a/Shogun Warfare/images/destroyed.png b/Shogun Warfare/images/destroyed.png new file mode 100644 index 0000000..c704ed3 Binary files /dev/null and b/Shogun Warfare/images/destroyed.png differ diff --git a/Shogun Warfare/images/destroyed2.png b/Shogun Warfare/images/destroyed2.png new file mode 100644 index 0000000..6e3f6bb Binary files /dev/null and b/Shogun Warfare/images/destroyed2.png differ diff --git a/Shogun Warfare/images/hb1.png b/Shogun Warfare/images/hb1.png new file mode 100644 index 0000000..bb0ffc4 Binary files /dev/null and b/Shogun Warfare/images/hb1.png differ diff --git a/Shogun Warfare/images/hb2.png b/Shogun Warfare/images/hb2.png new file mode 100644 index 0000000..c3c1f85 Binary files /dev/null and b/Shogun Warfare/images/hb2.png differ diff --git a/Shogun Warfare/images/heal0.png b/Shogun Warfare/images/heal0.png new file mode 100644 index 0000000..4323655 Binary files /dev/null and b/Shogun Warfare/images/heal0.png differ diff --git a/Shogun Warfare/images/heal1.png b/Shogun Warfare/images/heal1.png index 4323655..35e12ed 100644 Binary files a/Shogun Warfare/images/heal1.png and b/Shogun Warfare/images/heal1.png differ diff --git a/Shogun Warfare/images/heal2.png b/Shogun Warfare/images/heal2.png index 35e12ed..65e537b 100644 Binary files a/Shogun Warfare/images/heal2.png and b/Shogun Warfare/images/heal2.png differ diff --git a/Shogun Warfare/images/healthBar.png b/Shogun Warfare/images/healthBar.png new file mode 100644 index 0000000..c17a5d6 Binary files /dev/null and b/Shogun Warfare/images/healthBar.png differ diff --git a/Shogun Warfare/images/healthBar2.png b/Shogun Warfare/images/healthBar2.png new file mode 100644 index 0000000..68cb579 Binary files /dev/null and b/Shogun Warfare/images/healthBar2.png differ diff --git a/Shogun Warfare/images/healthBar3.png b/Shogun Warfare/images/healthBar3.png new file mode 100644 index 0000000..ac4efe4 Binary files /dev/null and b/Shogun Warfare/images/healthBar3.png differ diff --git a/Shogun Warfare/images/healthBar4.png b/Shogun Warfare/images/healthBar4.png new file mode 100644 index 0000000..725a575 Binary files /dev/null and b/Shogun Warfare/images/healthBar4.png differ diff --git a/Shogun Warfare/images/healthBar5.png b/Shogun Warfare/images/healthBar5.png new file mode 100644 index 0000000..05d388a Binary files /dev/null and b/Shogun Warfare/images/healthBar5.png differ diff --git a/Shogun Warfare/images/iconFactionCamp.png b/Shogun Warfare/images/iconFactionCamp.png new file mode 100644 index 0000000..9647c79 Binary files /dev/null and b/Shogun Warfare/images/iconFactionCamp.png differ diff --git a/Shogun Warfare/images/icon_downgrade.png b/Shogun Warfare/images/icon_downgrade.png new file mode 100644 index 0000000..a300a02 Binary files /dev/null and b/Shogun Warfare/images/icon_downgrade.png differ diff --git a/Shogun Warfare/images/icon_selected.png b/Shogun Warfare/images/icon_selected.png new file mode 100644 index 0000000..60f87c2 Binary files /dev/null and b/Shogun Warfare/images/icon_selected.png differ diff --git a/Shogun Warfare/images/icon_sell_top.png b/Shogun Warfare/images/icon_sell_top.png new file mode 100644 index 0000000..ede4b5d Binary files /dev/null and b/Shogun Warfare/images/icon_sell_top.png differ diff --git a/Shogun Warfare/images/modules_SW/antinuke.png b/Shogun Warfare/images/modules_SW/antinuke.png new file mode 100644 index 0000000..d770776 Binary files /dev/null and b/Shogun Warfare/images/modules_SW/antinuke.png differ diff --git a/Shogun Warfare/images/modules_SW/blink.png b/Shogun Warfare/images/modules_SW/blink.png new file mode 100644 index 0000000..20d0637 Binary files /dev/null and b/Shogun Warfare/images/modules_SW/blink.png differ diff --git a/Shogun Warfare/images/modules_SW/fabricatorT1.png b/Shogun Warfare/images/modules_SW/fabricatorT1.png new file mode 100644 index 0000000..6a4698f Binary files /dev/null and b/Shogun Warfare/images/modules_SW/fabricatorT1.png differ diff --git a/Shogun Warfare/images/modules_SW/fabricatorT2.png b/Shogun Warfare/images/modules_SW/fabricatorT2.png new file mode 100644 index 0000000..18085ca Binary files /dev/null and b/Shogun Warfare/images/modules_SW/fabricatorT2.png differ diff --git a/Shogun Warfare/images/modules_SW/laser_defense.png b/Shogun Warfare/images/modules_SW/laser_defense.png new file mode 100644 index 0000000..61f208e Binary files /dev/null and b/Shogun Warfare/images/modules_SW/laser_defense.png differ diff --git a/Shogun Warfare/images/modules_SW/module_antiairT1.png b/Shogun Warfare/images/modules_SW/module_antiairT1.png new file mode 100644 index 0000000..8e0c781 Binary files /dev/null and b/Shogun Warfare/images/modules_SW/module_antiairT1.png differ diff --git a/Shogun Warfare/images/modules_SW/module_antiairT1_base.png b/Shogun Warfare/images/modules_SW/module_antiairT1_base.png new file mode 100644 index 0000000..4ca1c2c Binary files /dev/null and b/Shogun Warfare/images/modules_SW/module_antiairT1_base.png differ diff --git a/Shogun Warfare/images/modules_SW/module_antiairT2.png b/Shogun Warfare/images/modules_SW/module_antiairT2.png new file mode 100644 index 0000000..ca03a3a Binary files /dev/null and b/Shogun Warfare/images/modules_SW/module_antiairT2.png differ diff --git a/Shogun Warfare/images/modules_SW/module_antiairT3.png b/Shogun Warfare/images/modules_SW/module_antiairT3.png new file mode 100644 index 0000000..75b5cb3 Binary files /dev/null and b/Shogun Warfare/images/modules_SW/module_antiairT3.png differ diff --git a/Shogun Warfare/images/modules_SW/module_dopelT1.png b/Shogun Warfare/images/modules_SW/module_dopelT1.png new file mode 100644 index 0000000..3014a71 Binary files /dev/null and b/Shogun Warfare/images/modules_SW/module_dopelT1.png differ diff --git a/Shogun Warfare/images/modules_SW/module_shieldgenT1.png b/Shogun Warfare/images/modules_SW/module_shieldgenT1.png new file mode 100644 index 0000000..f9ee20e Binary files /dev/null and b/Shogun Warfare/images/modules_SW/module_shieldgenT1.png differ diff --git a/Shogun Warfare/images/modules_SW/module_steamgenT1.png b/Shogun Warfare/images/modules_SW/module_steamgenT1.png new file mode 100644 index 0000000..bfe6fd1 Binary files /dev/null and b/Shogun Warfare/images/modules_SW/module_steamgenT1.png differ diff --git a/Shogun Warfare/images/modules_SW/module_steamgenT2.png b/Shogun Warfare/images/modules_SW/module_steamgenT2.png new file mode 100644 index 0000000..13c4a50 Binary files /dev/null and b/Shogun Warfare/images/modules_SW/module_steamgenT2.png differ diff --git a/Shogun Warfare/images/modules_SW/shieldGen.png b/Shogun Warfare/images/modules_SW/shieldGen.png new file mode 100644 index 0000000..1a7c69b Binary files /dev/null and b/Shogun Warfare/images/modules_SW/shieldGen.png differ diff --git a/Shogun Warfare/images/modules_SW/shield_eff01 - Copy.png b/Shogun Warfare/images/modules_SW/shield_eff01 - Copy.png new file mode 100644 index 0000000..68ae070 Binary files /dev/null and b/Shogun Warfare/images/modules_SW/shield_eff01 - Copy.png differ diff --git a/Shogun Warfare/images/modules_SW/shield_eff01.png b/Shogun Warfare/images/modules_SW/shield_eff01.png new file mode 100644 index 0000000..23f0fea Binary files /dev/null and b/Shogun Warfare/images/modules_SW/shield_eff01.png differ diff --git a/Shogun Warfare/images/modules_SW/tbase - Copy.png b/Shogun Warfare/images/modules_SW/tbase - Copy.png new file mode 100644 index 0000000..61f208e Binary files /dev/null and b/Shogun Warfare/images/modules_SW/tbase - Copy.png differ diff --git a/Shogun Warfare/images/modules_SW/tbase.png b/Shogun Warfare/images/modules_SW/tbase.png new file mode 100644 index 0000000..438ab5c Binary files /dev/null and b/Shogun Warfare/images/modules_SW/tbase.png differ diff --git a/Shogun Warfare/images/modules_SW/turret_t1.png b/Shogun Warfare/images/modules_SW/turret_t1.png new file mode 100644 index 0000000..6bcc324 Binary files /dev/null and b/Shogun Warfare/images/modules_SW/turret_t1.png differ diff --git a/Shogun Warfare/images/modules_SW/turret_t2.png b/Shogun Warfare/images/modules_SW/turret_t2.png new file mode 100644 index 0000000..82f32e6 Binary files /dev/null and b/Shogun Warfare/images/modules_SW/turret_t2.png differ diff --git a/Shogun Warfare/images/modules_SW/turret_t3.png b/Shogun Warfare/images/modules_SW/turret_t3.png new file mode 100644 index 0000000..9defc69 Binary files /dev/null and b/Shogun Warfare/images/modules_SW/turret_t3.png differ diff --git a/Shogun Warfare/images/select3.png b/Shogun Warfare/images/select3.png new file mode 100644 index 0000000..a040e81 Binary files /dev/null and b/Shogun Warfare/images/select3.png differ diff --git a/Shogun Warfare/images/siegeSmoke.png b/Shogun Warfare/images/siegeSmoke.png new file mode 100644 index 0000000..82afd36 Binary files /dev/null and b/Shogun Warfare/images/siegeSmoke.png differ diff --git a/Shogun Warfare/images/smoke.png b/Shogun Warfare/images/smoke.png new file mode 100644 index 0000000..a5e8643 Binary files /dev/null and b/Shogun Warfare/images/smoke.png differ diff --git a/Shogun Warfare/images/smokeLarge.png b/Shogun Warfare/images/smokeLarge.png new file mode 100644 index 0000000..3232b7f Binary files /dev/null and b/Shogun Warfare/images/smokeLarge.png differ diff --git a/Shogun Warfare/images/speed.png b/Shogun Warfare/images/speed.png new file mode 100644 index 0000000..61159b8 Binary files /dev/null and b/Shogun Warfare/images/speed.png differ diff --git a/Shogun Warfare/images/tCircleCastle.png b/Shogun Warfare/images/tCircleCastle.png new file mode 100644 index 0000000..ff6e05b Binary files /dev/null and b/Shogun Warfare/images/tCircleCastle.png differ diff --git a/Shogun Warfare/images/yeetedUnit01.png b/Shogun Warfare/images/yeetedUnit01.png new file mode 100644 index 0000000..8c6b146 Binary files /dev/null and b/Shogun Warfare/images/yeetedUnit01.png differ diff --git a/Shogun Warfare/lvlup1.ini b/Shogun Warfare/lvlup1.ini index d7aa05b..d25de56 100644 --- a/Shogun Warfare/lvlup1.ini +++ b/Shogun Warfare/lvlup1.ini @@ -2,7 +2,7 @@ name: lvlup1 mass: 999 price: 999 -maxHp: 5 +maxHp: 999 radius: 0 [attack] diff --git a/Shogun Warfare/mod-info.txt b/Shogun Warfare/mod-info.txt index 8bb683b..c3f644f 100644 --- a/Shogun Warfare/mod-info.txt +++ b/Shogun Warfare/mod-info.txt @@ -1,14 +1,17 @@ [mod] -title: Shogun Warfare II - The Rice of the Samurai -description: Shogun Warfare II by: satobi. This mod is a samurai era themed mod for Rusted Warfare which introduces samurai units on the battlefield and rat infested ricefield. Be a local warlord in your area or a rice farmer, build settlements like rice field, lumber camp and gold mine to gain resources to build unstoppable and unstoppable samurai forces fight territory with swords, bows or blast em off with cannons or mangonels! +title: Shogun Warfare: Rice of The Samurai +description: Shogun Warfare - Is a samurai era civilization themed mod for Rusted Warfare which introduces savage and destructive samurai units on the battlefield and some few of those rat infested ricefield. Be a local warlord in your region or live a life like Gigachado rice farmer, build settlements like rice field, lumber camp and gold mine to gain resources and to build unstoppable, impenetrable, godlike samurai forces to fight your foes for your territory! fight with swords, bows or blast-em off to the space with cannons or mangonels! + +In this mod you are the General and the Daimyo and you can build structures and defend your fortress from hostile clans, conquer all other generals base and destroy them with glory, or you can control a horde of trained legendary samurai or super powerful siege weapons to destroy their castle and bring great victory to your people, all the choices is in your hands. + +-Samurai with Katana, Yari, Bows and attached with C4? check ✓ +-Samurai with loyalty implanted on their brains? check ✓ +-Samurai riding in horses or horses... horses riding in boats? check ✓ +-Samurai on boats with automatic self-defense? check ✓ +-A very relaxing or chaotic Samurai themed background music? check ✓ +-AI samurai that will burn your empire? check ✓ +-Japanese anime samurai in drip? check ✓ -samurai with swords check ✓ -samurai with bows check ✓ -samurai in horses check ✓ -samurai in boats check ✓ -samurai with hand cannon check ✓ -samurai jack check ✓ -fat samurai in drip check ✓ Music Used: Shogun II: Total War OST by Jeff van Dyck @@ -16,9 +19,10 @@ Artist: Jeff van Dyck / SEGA Release date: April 11, 2011 minVersion: 1.15p9 -tags: units, katana, samurai, totalconversion, total conversion, joe, ricefield, asian, japanese, shogun, rice +tags: units, katana, samurai, totalconversion, total-conversion, joe, ricefield, asian, japanese, shogun, rice thumbnail: thumbnail.png + Credits and Special thanks to: SioxerNikita and ZetterZet for helping me so much! diff --git a/Shogun Warfare/none.png b/Shogun Warfare/none.png index 7f53534..16378f6 100644 Binary files a/Shogun Warfare/none.png and b/Shogun Warfare/none.png differ diff --git a/Shogun Warfare/others/sakura_tree/base2.png b/Shogun Warfare/others/sakura_tree/base2.png new file mode 100644 index 0000000..fc6d667 Binary files /dev/null and b/Shogun Warfare/others/sakura_tree/base2.png differ diff --git a/Shogun Warfare/others/sakura_tree/sakura_tree.ini b/Shogun Warfare/others/sakura_tree/sakura_tree.ini index 7ad99ed..a116953 100644 --- a/Shogun Warfare/others/sakura_tree/sakura_tree.ini +++ b/Shogun Warfare/others/sakura_tree/sakura_tree.ini @@ -10,14 +10,15 @@ stayNeutral: true createNeutral: true price: wood = 1 maxHp: 1 -mass: 5 +mass: 100000 techLevel: 1 buildSpeed: 0.001 -radius: 0 +radius: 1 isBio: true isBug: false -isBuilding: true -softCollisionOnAll: 0 +isBuilding: false +softCollisionOnAll: 100 +#disableAllUnitCollisions: true isUnselectable: true explodeOnDeath: false hideScorchMark: true @@ -35,6 +36,8 @@ image_shadow: baseShadow.png shadowOffsetX:0 shadowOffsetY:0 +drawLayer: experimentals + [attack] canAttack: false canAttackFlyingUnits: false @@ -70,7 +73,43 @@ createWhenOffscreen: false createWhenZoomedOut: false priority: low +[effect_treeFall] +attachedToUnit: true +life: 10000 +physics: true +physicsGravity: 0.04 +scaleFrom: 1.3 +scaleTo: 1.3 +alpha: 1 +dirOffset: 180 +dirOffsetRandom: -180 +xOffsetRelativeRandom: 0 +yOffsetRelativeRandom: 0 +hSpeed: 0 +hOffset: 5 +image: base2.png +drawUnderUnits: true +createWhenOffscreen: false +createWhenZoomedOut: false +priority: low + [animation_idle] onActions: idle effect_0.1s: {name:CUSTOM|spark, x: 0,y: 20} -pingPong: true \ No newline at end of file +pingPong: true + +[hiddenAction_removeTree1] +autoTrigger: if self.numberOfUnitsInAllTeams(withTag="infantry", withinRange=8) > 0 +spawnEffects: spark*5, treeFall +deleteSelf: true +playSoundAtUnit: ROOT:audio\treeFall.ogg: 0.2 +[hiddenAction_removeTree2] +autoTrigger: if self.numberOfUnitsInAllTeams(withTag="building", withinRange=40) > 0 +spawnEffects: spark*5, treeFall +deleteSelf: true +playSoundAtUnit: ROOT:audio\treeFall.ogg: 0.2 +[hiddenAction_removeTree3] +autoTrigger: if self.numberOfUnitsInAllTeams(withTag="siege", withinRange=40) > 0 +spawnEffects: spark*5, treeFall +deleteSelf: true +playSoundAtUnit: ROOT:audio\treeFall.ogg: 0.2 \ No newline at end of file diff --git a/Shogun Warfare/pointer2.png b/Shogun Warfare/pointer2.png new file mode 100644 index 0000000..38437cb Binary files /dev/null and b/Shogun Warfare/pointer2.png differ diff --git a/Shogun Warfare/shieldBuff01.ini b/Shogun Warfare/shieldBuff01.ini new file mode 100644 index 0000000..d4fe4c0 --- /dev/null +++ b/Shogun Warfare/shieldBuff01.ini @@ -0,0 +1,23 @@ +[core] +name: shieldBuff01 +mass: 999 +price: 999 +maxHp: 999 +radius: 0 + +[attack] +canAttack: false + +[movement] +movementType: BUILDING + +[graphics] +image: ROOT:none.png + +[decal_buffDecal] +imageStack: ROOT:images\armorbuff2.png +imageScale: 1 +teamColors: true +alwaysStartDirAtZero: true +yOffsetAbsolute: -15 +basePosition: self diff --git a/Shogun Warfare/templates/Effects.template b/Shogun Warfare/templates/Effects.template index 8944301..c3d8196 100644 --- a/Shogun Warfare/templates/Effects.template +++ b/Shogun Warfare/templates/Effects.template @@ -9,7 +9,6 @@ spawnChance: 1 alpha: 1 createWhenOffscreen: false createWhenZoomedOut: false -priority: high alwayStartDirAtZero: true dirSpeed: 5 xSpeedRelative:0.3 @@ -18,11 +17,36 @@ physics: true physicsGravity: 1 hSpeed: 3 dirOffsetRandom: -90 -fadeOut: false +fadeOut: true scaleFrom: 0.7 scaleTo: 0.7 priority: low + + +[effect_yeetedAshigaru] +image: ROOT:images\yeetedUnit01.png +attachedToUnit: false +drawUnderUnits: false +life: 200 +spawnChance: 1 +alpha: 1 +createWhenOffscreen: false +createWhenZoomedOut: false +priority: high alwayStartDirAtZero: true +dirSpeed: 8 +physics: true +physicsGravity: 1 +hSpeed: 4 +hOffsetRandom: 5 +dirOffsetRandom: -360 +fadeOut: true +scaleFrom: 1 +scaleTo: 1 +teamColorRatio: 1 +xSpeedRelativeRandom: 1 +ySpeedRelativeRandom: 1 + [effect_bloodLustEffect] image: ROOT:images\bl02.png @@ -43,3 +67,39 @@ ySpeedRelative:0 yOffsetRelative: -4 +[effect_effectSmokeLarge1] +image: ROOT:images\smokeLarge.png +priority: high +drawUnderUnits: false +life: 200 +alpha: 1 +scaleFrom: 3 +scaleTo: 5 +fadeOut: true +hSpeed: 0.2 +attachedToUnit: false +dirOffsetRandom: 40 +dirSpeedRandom: 0.5 +createWhenZoomedOut: false +spawnChance: 1 +alsoPlaySound: ROOT:audio\explode\explode01.ogg: 0.5 +[effect_effectSiegeSmoke] +image: ROOT:images\siegeSmoke.png +priority:high +drawUnderUnits:false +life: 250 +alpha: 1 +scaleFrom: 5 +scaleTo: 1 +fadeOut: true +hSpeed: 0 +physics: true +attachedToUnit: false +xSpeedRelativeRandom: 0.3 +ySpeedRelativeRandom: 0.3 +createWhenZoomedOut: false +spawnChance: 1 +alsoPlaySound: ROOT:audio\explode\explode02.ogg: 3 + + + diff --git a/Shogun Warfare/templates/Infantry.template b/Shogun Warfare/templates/Infantry.template index 67db704..d182fcc 100644 --- a/Shogun Warfare/templates/Infantry.template +++ b/Shogun Warfare/templates/Infantry.template @@ -9,12 +9,13 @@ selfRegenRate: 0.01 effectOnDeath: CUSTOM:dsound01, blood*3 fogOfWarSightRange: 10 softCollisionOnAll: 1 - shieldRenderRadius: 10 copyFrom: ROOT:\templates\buffs.template, ROOT:\templates\effects.template +ignoreInUnitCapCalculation: true @memory Rank: float +@memory infantry: float ### AI ACTION GOES HERE ### #[action_infantry_icon] @@ -37,7 +38,6 @@ copyFrom: ROOT:\templates\buffs.template, ROOT:\templates\effects.template #autoTrigger: if self.kills(greaterThan=10) #convertTo: lvl1_unit #convertTo_keepCurrentTags: true - #[hiddenAction_cantReach] #autoTrigger: if self.isInWater() and self.isControlledByAI() #addWaypoint_type: loadInto @@ -45,7 +45,6 @@ copyFrom: ROOT:\templates\buffs.template, ROOT:\templates\effects.template #addWaypoint_target_nearestUnit_tagged: boat, heavy_bune, heavybune, ship #addWaypoint_target_nearestUnit_maxRange: 1000 #addWaypoint_target_mapMustBeReachable: false - #[hiddenAction_notMoving] #autoTrigger: if not self.isMoving() and self.isControlledByAI() and self.customTimer(laterThanSeconds=20) and not self.tags(includes='peasant') #addWaypoint_type: attackMove @@ -54,7 +53,6 @@ copyFrom: ROOT:\templates\buffs.template, ROOT:\templates\effects.template #addWaypoint_target_nearestUnit_maxRange: 2500 #addWaypoint_target_mapMustBeReachable: true #addWaypoint_maxTime: 60s - #[hiddenAction_cantReach] #autoTrigger: if not self.hasActiveWaypoint(type='') and self.isControlledByAI() #addWaypoint_prepend: true @@ -65,14 +63,12 @@ copyFrom: ROOT:\templates\buffs.template, ROOT:\templates\effects.template #addWaypoint_target_mapMustBeReachable: true #addWaypoint_maxTime: 30s #resetCustomTimer: true - #[hiddenAction_cantReach] OLD #autoTrigger: if not self.isOverPassableTile() and self.isControlledByAI() #addWaypoint_type: loadInto #addWaypoint_target_nearestUnit_tagged: boat #addWaypoint_target_nearestUnit_maxRange: 500 #addWaypoint_target_mapMustBeReachable: true - #[hiddenAction_ifTargetNotReachable] #autoTrigger: if self.isControlledByAI() and distanceBetween(self, activeWaypointTarget) < 100 and self.isOverwater() #clearActiveWaypoint:true @@ -82,33 +78,44 @@ copyFrom: ROOT:\templates\buffs.template, ROOT:\templates\effects.template #addWaypoint_target_nearestUnit_tagged: boat, heavy_bune, heavybune, ship #addWaypoint_target_nearestUnit_maxRange: 1000 - [hiddenAction_goHeal] #autoTrigger: if self.hp(lessThan=50) and self.customTimer() >= 1 OLD -autoTrigger: if self.hp() < self.maxHp/2 and self.isControlledByAI() -requireConditional: if self.isControlledByAI() +autoTrigger: if self.hp() < self.maxHp/2 and self.isControlledByAI() and self.numberOfUnitsInTeam(withTag='temple', greaterThan=0) clearActiveWaypoint: true -addWaypoint_prepend: true addWaypoint_type: loadInto -addWaypoint_maxTime: 60s +addWaypoint_maxTime: 100s addWaypoint_target_nearestUnit_tagged: buddhist_temple addWaypoint_target_nearestUnit_team: own addWaypoint_target_nearestUnit_maxRange: 5000 addWaypoint_target_mapMustBeReachable: true #debugMessage: "Hp.Low - Finding temple to heal!" - -[hiddenAction_unloadTemple] -autoTrigger: if self.hp() == self.maxHp() and self.isControlledByAI() and self.hasParent(withTag="buddhist_temple") -requireConditional: if self.isControlledByAI() -disconnectFromParent: true +[hiddenAction_resetDirOnBuilding] +autoTrigger: if self.hasParent(withTag="buddhist_temple") +setBodyRotation: -90 +[hiddenAction_killedWithMissile] +autoTrigger: if self.hp() < 1 and lastDamagedBy.tags(includes='siege') +spawnEffects: CUSTOM:yeetedAshigaru +#[hiddenAction_unloadTemple] +#autoTrigger: if self.hp() == self.maxHp() and self.isControlledByAI() and self.hasParent(withTag="buddhist_temple") +#requireConditional: if self.isControlledByAI() +#disconnectFromParent: true #resetCustomTimer: true +#[hiddenAction_unloadTemple] +#autoTrigger: If self.hp == self.maxHp and self.isControlledByAI() and self.hasParent(withTag="buddhist_temple") +#startUnloadingTransport: true +#[hiddenAction_unloadTemple] +#autoTrigger: if self.hasParent(withTag="buddhist_temple") and self.hp() == self.maxHp() and self.isControlledByAI() +#disconnectFromParent: true + +[hiddenAction_killIfDefeat] +autoTrigger: if self.numberOfUnitsInTeam(withTag='camp', lessThan=1) +setResourcesWithLogic: hp=0 -### GRAPHICS GOES HERE ### +### graphics ### [graphics] image_wreak:ROOT:images\base_dead.png -#image_shadow: SHADOW:ROOT:images\shadow.png teamColoringMode: pureGreen teamColorsOnTurret: true icon_build: icon.png @@ -119,12 +126,16 @@ shadowOffsetX: 0 shadowOffsetY: 0 dustEffect: true movementEffectRate: 20 +drawLayer: ground +showHealthBar: true -### PROJECTILES GOES HERE ### -### EFFECTS GOES HERE ### - +### attack ### +[attack] +showRangeUIGuide: true +#meleeEngangementDistance: 100 +### effects ### [effect_blood] attachedToUnit:false life:150 @@ -137,7 +148,6 @@ hSpeed:2 image:ROOT:images\blood.png drawUnderUnits:false alpha: 1.5 - [effect_chat1] attachedToUnit:false life:150 @@ -151,8 +161,7 @@ image:ROOT:images\chat1.png drawUnderUnits:false -#### >>> LEVEL UP CODE <<< #### - +#### >>> Level-up <<< #### #[attachment_slo11] ### Old Attachments of Star Decals Not Used### #x:-10 #y:0 @@ -172,6 +181,7 @@ drawUnderUnits:false #setDrawLayerOnTop:true #addTransportedUnits:true + [hiddenAction_RankUp1] @define killsPerRank: 5 @define maxRank: 5 @@ -181,6 +191,7 @@ requireConditional: if (self.kills() >=${killsPerRank}+memory.Rank*${killsPerRan setUnitStats: armour+=3, maxHp+=5, hp+=5 ###attachments_addNewUnits: lvlup1 ### old add-attachments (do not use)### + [decal_rank1] layer:beforeUI imageStack: ROOT:images\star1.png*1 @@ -232,6 +243,60 @@ yOffsetAbsolute:-30 isVisible: if self.kills() >=25 onlyWhileAlive: true + + +#### Height decal pip Healtbars by Sioxer ### +###[decal_healthbarNinja] +###@define maxPips: 25 +###imageStack: ROOT:images\healthBar2.png*${maxPips} +###stack_hOffset: 0.2 +###layer: beforeUI +###stack_indexCount: self.hp/self.maxHp*${maxPips} +###alwaysStartDirAtZero: true +###imageScale: 0.2 +###dirOffset: 90 +###xOffsetAbsolute: 20 +###yOffsetAbsolute: 2 +###isVisible: if self.tags(includes="ninja") +###[decal_healthbarKatana] +###@define maxPips: 25 +###imageStack: ROOT:images\healthBar3.png*${maxPips} +###stack_hOffset: 0.2 +###layer: beforeUI +###stack_indexCount: self.hp/self.maxHp*${maxPips} +###alwaysStartDirAtZero: true +###imageScale: 0.4 +###dirOffset: 0 +###xOffsetAbsolute: 20 +###yOffsetAbsolute: 0 +###isVisible: if self.tags(includes="katana") and not self.tags(includes="ninja") +###[decal_healthbarYari] +###@define maxPips: 25 +###imageStack: ROOT:images\healthBar4.png*${maxPips} +###stack_hOffset: 0.2 +###layer: beforeUI +###stack_indexCount: self.hp/self.maxHp*${maxPips} +###alwaysStartDirAtZero: true +###imageScale: 0.4 +###dirOffset: 0 +###xOffsetAbsolute: 20 +###yOffsetAbsolute: 0 +###isVisible: if self.tags(includes="spear") +###[decal_healthbarBow] +###@define maxPips: 25 +###imageStack: ROOT:images\healthBar5.png*${maxPips} +###stack_hOffset: 0.2 +###layer: beforeUI +###stack_indexCount: self.hp/self.maxHp*${maxPips} +###alwaysStartDirAtZero: true +###imageScale: 0.4 +###dirOffset: 0 +###xOffsetAbsolute: 20 +###yOffsetAbsolute: 0 +###isVisible: if self.tags(includes="bow") + + + ### UNUSED CODES ### #setUnitStats: (Insert your stat increases here, ex. shootDelayMultiplier+=0.1, does 10% faster shooting per Rank) #[hiddenAction_levelup1] @@ -278,37 +343,44 @@ onlyWhenSelectedByAnyPlayer:true ### SFX Sound Effects on Death ### [effect_dsound01] -life: 200 +life: 0 +image: none spawnChance: 0.05 alsoPlaySound: ROOT:audio\wilhelmScream.ogg createWhenOffscreen: false ifSpawnFailsEmitEffects: dsound02 [effect_dsound02] -life: 200 +life: 0 +image: none spawnChance: 0.05 alsoPlaySound: ROOT:audio\pain\rps1.wav createWhenOffscreen: false ifSpawnFailsEmitEffects: dsound03 [effect_dsound03] -life: 200 +life: 0 +image: none spawnChance: 0.05 alsoPlaySound: ROOT:audio\pain\rps2.wav createWhenOffscreen: false ifSpawnFailsEmitEffects: dsound04 [effect_dsound04] -life: 200 +life: 0 +image: none spawnChance: 0.05 alsoPlaySound: ROOT:audio\pain\rps3.wav createWhenOffscreen: false ifSpawnFailsEmitEffects: dsound05 [effect_dsound05] -life: 200 +life: 0 +image: none spawnChance: 0.05 alsoPlaySound: ROOT:audio\pain\rps4.wav createWhenOffscreen: false ifSpawnFailsEmitEffects: dsound06 [effect_dsound06] -life: 200 +life: 0 +image: none spawnChance: 1 alsoPlaySound: ROOT:audio\pain\rps5.wav -createWhenOffscreen: false \ No newline at end of file +createWhenOffscreen: false + diff --git a/Shogun Warfare/templates/buffs.template b/Shogun Warfare/templates/buffs.template index 6599cfc..3674811 100644 --- a/Shogun Warfare/templates/buffs.template +++ b/Shogun Warfare/templates/buffs.template @@ -1,17 +1,13 @@ -ROOT:\templates\effects.template - - -#[hiddenAction_buff00AD] -#autoTrigger: if self.numberOfUnitsInTeam(greaterThan=0, withTag='monk_healer', withinRange=100) -#setUnitStats: armour+=5 - +#ROOT:\templates\effects.template [hiddenAction_armorBuff] -autoTrigger: if self.numberOfUnitsInTeam(greaterThan=0, withTag='monk_healer', withinRange=100) and not self.tags(includes="katana_hero") and not self.tags(includes="bow_hero") and not self.tags(includes="yari_hero") -setUnitStats: armour=+5 -[hiddenAction_armorBuffgone] -autoTrigger: if self.numberOfUnitsInTeam(lessThan=1, withTag='monk_healer', withinRange=100) and not self.tags(includes="katana_hero") and self.tags(includes="bow_hero") and self.tags(includes="yari_hero") -resetUnitStats: true +autoTrigger: if self.numberOfUnitsInTeam(greaterThan=0, withTag='monk_healer', withinRange=100) and not self.tags(includes='armorBuff') +setUnitStats: armour+=5 +temporarilyAddTags: armorBuff +[hiddenAction_armorBuffGone] +autoTrigger: if self.numberOfUnitsInTeam(lessThan=1, withTag='monk_healer', withinRange=100) and self.tags(includes='armorBuff') +setUnitStats: armour-=5 +temporarilyRemoveTags: armorBuff [hiddenAction_tfcSkill01Player] @@ -19,6 +15,7 @@ autoTrigger: if self.hp() < self.maxHp/2 and not self.isControlledByAI() and sel requireConditional: if not self.isControlledByAI() setUnitStats: moveSpeed=3.4 debugMessage: "Hp.Low.TakedaFC Player" +onlyOneUnitAtATime: false [hiddenAction_tfcSkill01AI] autoTrigger: if self.hp() < self.maxHp/2 and self.isControlledByAI() and self.tags(includes="takeda_fire_cavalry_bloodLust") requireConditional: if self.isControlledByAI() diff --git a/Shogun Warfare/templates/matchlock004AD32C.template b/Shogun Warfare/templates/matchlock004AD32C.template new file mode 100644 index 0000000..6780ab3 --- /dev/null +++ b/Shogun Warfare/templates/matchlock004AD32C.template @@ -0,0 +1,6 @@ +### RANGED DAMAGE NUMBERS AND ACTION GOES HERE ### + +[projectile_1] +armourIgnoreAmount: -10 +#mutatorX_ifUnitWithTags: date_bulletproof_samurai, bulletproof +#mutatorX_directDamageMultiplier: -0.5 \ No newline at end of file diff --git a/Shogun Warfare/templates/melee.template b/Shogun Warfare/templates/melee.template index d67442d..0b9d0d9 100644 --- a/Shogun Warfare/templates/melee.template +++ b/Shogun Warfare/templates/melee.template @@ -1,14 +1,14 @@ ### MELEE DAMAGE NUMBERS AND ACTION GOES HERE ### -[hiddenAction_attack_attacker] -resetCustomTimer: true -autoTrigger: if self.hasTakenDamage(laterThanSeconds=2) and self.isControlledByAI() -requireConditional: if self.isControlledByAI() -addWaypoint_type: attackMove -addWaypoint_target_nearestUnit_team: enemy -addWaypoint_target_nearestUnit_tagged: infantry, archertower, tower, siegeweapons, siege, siegeweapon, heavy, bow, melee, cavalry, heavy, heavyinfantry -addWaypoint_target_nearestUnit_maxRange: 120 -addWaypoint_target_mapMustBeReachable: true +#[hiddenAction_attack_attacker] +#resetCustomTimer: true +#autoTrigger: if self.hasTakenDamage(laterThanSeconds=2) and self.isControlledByAI() +#requireConditional: if self.isControlledByAI() +#addWaypoint_type: attackMove +#addWaypoint_target_nearestUnit_team: enemy +#addWaypoint_target_nearestUnit_tagged: infantry, archertower, tower, siegeweapons, siege, siegeweapon, heavy, bow, melee, cavalry, heavy, heavyinfantry +#addWaypoint_target_nearestUnit_maxRange: 120 +#addWaypoint_target_mapMustBeReachable: true [turret_1] shoot_sound: ROOT:audio\blade1.ogg, ROOT:audio\blade2.ogg, ROOT:audio\blade3.ogg, ROOT:audio\blade4.ogg diff --git a/Shogun Warfare/templates/ranged.template b/Shogun Warfare/templates/ranged.template index e542458..116968f 100644 --- a/Shogun Warfare/templates/ranged.template +++ b/Shogun Warfare/templates/ranged.template @@ -1,26 +1,26 @@ ### RANGED DAMAGE NUMBERS AND ACTION GOES HERE ### -[hiddenAction_attack_attacker] -resetCustomTimer: true -autoTrigger: if self.hasTakenDamage(laterThanSeconds=2) and self.isControlledByAI() -requireConditional: if self.isControlledByAI() -addWaypoint_type: attackMove -addWaypoint_target_nearestUnit_team: enemy -addWaypoint_target_nearestUnit_tagged: infantry, archertower, tower, siegeweapons, siege, siegeweapon, heavy, bow, melee, cavalry, heavy, heavyinfantry -addWaypoint_target_nearestUnit_maxRange: 180 -addWaypoint_target_mapMustBeReachable: true +#[hiddenAction_attack_attacker] +#resetCustomTimer: true +#autoTrigger: if self.hasTakenDamage(laterThanSeconds=2) and self.isControlledByAI() +#requireConditional: if self.isControlledByAI() +#addWaypoint_type: attackMove +#addWaypoint_target_nearestUnit_team: enemy +#addWaypoint_target_nearestUnit_tagged: infantry, archertower, tower, siegeweapons, siege, siegeweapon, heavy, bow, melee, cavalry, heavy, heavyinfantry +#addWaypoint_target_nearestUnit_maxRange: 120 +#addWaypoint_target_mapMustBeReachable: true -[hiddenAction_findtowerTower] -resetCustomTimer: true -autoTriggerOnEvent: created -autoTrigger: if self.customTimer(laterThanSeconds=20) and self.isControlledByAI() -requireConditional: if self.isControlledByAI() -addWaypoint_type: loadInto -addWaypoint_target_nearestUnit_team: own -addWaypoint_target_nearestUnit_tagged: archertower_empty -addWaypoint_target_nearestUnit_maxRange: 1500 -addWaypoint_target_mapMustBeReachable: true -addWaypoint_maxTime: 30s +#[hiddenAction_findtowerTower] +#resetCustomTimer: true +#autoTriggerOnEvent: created +#autoTrigger: if self.customTimer(laterThanSeconds=20) and self.isControlledByAI() +#requireConditional: if self.isControlledByAI() +#addWaypoint_type: loadInto +#addWaypoint_target_nearestUnit_team: own +#addWaypoint_target_nearestUnit_tagged: archertower_empty +#addWaypoint_target_nearestUnit_maxRange: 1500 +#addWaypoint_target_mapMustBeReachable: true +#addWaypoint_maxTime: 30s ### TRANSPORT ### #[hiddenAction_deattached]