Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; sn
- (defconst sn-food-modifier-percentage 156)
- (defconst sn-gold-modifier-percentage 159)
- (defconst sn-special-attack-influence2 110)
- (defconst sn-special-attack-influence3 111)
- (defconst sn-stone-modifier-percentage 158)
- (defconst sn-wood-modifier-percentage 157)
- (defrule
- (true)
- =>
- (chat-local-to-self "DEBUG: Setting Strategic Numbers")
- (disable-self)
- )
- (defrule
- (true)
- =>
- (set-strategic-number sn-do-not-scale-for-difficulty-level 1) ; this is VERY IMPORTANT to do FIRST!
- (set-difficulty-parameter ability-to-dodge-missiles 0) ; meh...
- (set-difficulty-parameter ability-to-maintain-distance 0) ; meh...
- (disable-self)
- )
- (defrule
- (true)
- =>
- (set-strategic-number sn-allow-adjacent-dropsites 1)
- (set-strategic-number sn-allow-capturing-gaia-units 1)
- (set-strategic-number sn-allow-civilian-defense 2)
- (set-strategic-number sn-allow-civilian-offense 2)
- (set-strategic-number sn-allow-gathering-sea-fish-with-villagers 1)
- (set-strategic-number sn-allow-serjeant-building 1)
- (set-strategic-number sn-attack-group-gather-spacing 1)
- (set-strategic-number sn-attack-group-size-randomness 0)
- (set-strategic-number sn-attack-intelligence 0)
- (set-strategic-number sn-attack-winning-player 0) ; important?
- (set-strategic-number sn-attack-winning-player-factor 0) ; is this out of 100% or the full value of 32767? assuming 100% for now...
- (set-strategic-number sn-blot-exploration-map 0)
- (set-strategic-number sn-blot-size 255)
- (set-strategic-number sn-boar-lure-destination 6)
- (set-strategic-number sn-building-targeting-mode 0)
- (set-strategic-number sn-camp-max-distance 255)
- (set-strategic-number sn-cap-civilian-builders 100)
- (set-strategic-number sn-cap-civilian-explorers 100)
- (set-strategic-number sn-cap-civilian-gatherers 100)
- (set-strategic-number sn-consecutive-idle-unit-limit 0)
- (set-strategic-number sn-coop-share-attacking 0)
- (set-strategic-number sn-coop-share-attacking-interval 120)
- (set-strategic-number sn-coop-share-information 1)
- (set-strategic-number sn-defer-dropsite-update 0)
- (set-strategic-number sn-disable-attack-groups 1)
- (set-strategic-number sn-disable-builder-assistance 1)
- (set-strategic-number sn-disable-defend-groups 15) ; i assume 15 disables everything?
- (set-strategic-number sn-disable-sighted-response-cap 1)
- (set-strategic-number sn-disable-tower-priority 1) ; lets try 1.
- (set-strategic-number sn-disable-trade-evasion 1)
- (disable-self)
- )
- (defrule
- (true)
- =>
- (set-strategic-number sn-disable-villager-garrison 3)
- (set-strategic-number sn-do-not-transport-from-same-zone 1) ; I guess I will enable this?
- (set-strategic-number sn-dock-avoidance-factor 1000)
- (set-strategic-number sn-dock-placement-mode -1)
- (set-strategic-number sn-dock-proximity-factor 1000)
- (set-strategic-number sn-dock-training-filter 2)
- (set-strategic-number sn-dropsite-separation-distance 5)
- (set-strategic-number sn-easier-reaction-percentage 100)
- (set-strategic-number sn-easiest-reaction-percentage 100)
- (set-strategic-number sn-enable-boar-hunting 1)
- (set-strategic-number sn-enable-new-building-system 1)
- (set-strategic-number sn-enable-offensive-priority 0)
- (set-strategic-number sn-enable-patrol-attack 0)
- (set-strategic-number sn-enable-research-queue 0)
- (set-strategic-number sn-enable-training-queue 0)
- (set-strategic-number sn-enemy-sighted-response-distance 50)
- (set-strategic-number sn-filter-under-attack 0)
- (set-strategic-number sn-focus-player-number 0) ; might be used later...
- (set-strategic-number sn-food-dropsite-distance 5)
- (set-strategic-number sn-food-gatherer-percentage 45)
- (set-strategic-number sn-food-modifier-percentage 45)
- (set-strategic-number sn-free-siege-targeting 0)
- (set-strategic-number sn-garrison-rams 0)
- (set-strategic-number sn-gate-type-for-wall 0)
- (set-strategic-number sn-gather-defense-units 0) ; useful for center game modes
- (set-strategic-number sn-gather-idle-soldiers-at-center 0) ; useful for center game modes
- (set-strategic-number sn-gold-dropsite-distance 5)
- (set-strategic-number sn-gold-gatherer-percentage 20)
- (set-strategic-number sn-gold-modifier-percentage 20)
- (set-strategic-number sn-group-commander-selection-method 2)
- (disable-self)
- )
- (defrule
- (true)
- =>
- (set-strategic-number sn-group-form-distance 30)
- (set-strategic-number sn-group-leader-defense-distance 255)
- (set-strategic-number sn-home-exploration-time 300)
- (set-strategic-number sn-ignore-attack-group-under-attack 1)
- (set-strategic-number sn-ignore-tower-elevation 0)
- (set-strategic-number sn-initial-attack-delay 0)
- (set-strategic-number sn-initial-attack-delay-type 0)
- (set-strategic-number sn-initial-exploration-required 0)
- (set-strategic-number sn-keystates 1) ; I will be using this.
- (set-strategic-number sn-livestock-to-town-center 0)
- (set-strategic-number sn-local-targeting-mode 0)
- (set-strategic-number sn-lumber-camp-max-distance 0)
- (set-strategic-number sn-max-retask-gather-amount 10)
- (set-strategic-number sn-maximum-attack-group-size 0)
- (set-strategic-number sn-maximum-boat-attack-group-size 0)
- (set-strategic-number sn-maximum-fish-boat-drop-distance -1)
- (set-strategic-number sn-maximum-food-drop-distance -1)
- (set-strategic-number sn-maximum-gaia-attack-response 1)
- (set-strategic-number sn-maximum-garrison-fill 20)
- (set-strategic-number sn-maximum-gold-drop-distance -1)
- (set-strategic-number sn-maximum-hunt-drop-distance -1)
- (set-strategic-number sn-maximum-patrol-distance -1)
- (set-strategic-number sn-maximum-stone-drop-distance -1)
- (set-strategic-number sn-maximum-town-size 5) ; important
- (set-strategic-number sn-maximum-wood-drop-distance -1)
- (set-strategic-number sn-mill-max-distance 255)
- (set-strategic-number sn-minimum-attack-group-size 0)
- (set-strategic-number sn-minimum-boar-hunt-group-size 8)
- (set-strategic-number sn-minimum-boar-lure-group-size 8)
- (set-strategic-number sn-minimum-boat-attack-group-size 0)
- (disable-self)
- )
- (defrule
- (true)
- =>
- (set-strategic-number sn-minimum-civilian-explorers 1)
- (set-strategic-number sn-minimum-number-hunters 8)
- (set-strategic-number sn-minimum-town-size 0) ; important
- (set-strategic-number sn-minimum-water-body-size-for-dock 10) ; important
- (set-strategic-number sn-mining-camp-max-distance 0)
- (set-strategic-number sn-mule-cart-dropsite-placement lumber-camp) ; new
- (set-strategic-number sn-number-attack-groups 0)
- (set-strategic-number sn-number-boat-attack-groups 0)
- (set-strategic-number sn-number-boat-explore-groups 0)
- (set-strategic-number sn-number-civilian-militia 100)
- (set-strategic-number sn-number-explore-groups 0)
- (set-strategic-number sn-number-forward-builders 100)
- (set-strategic-number sn-number-garrison-units 40)
- (set-strategic-number sn-number-tasked-units 0)
- (set-strategic-number sn-object-repair-level 32767)
- (set-strategic-number sn-percent-attack-boats 0)
- (set-strategic-number sn-percent-attack-soldiers 0)
- (set-strategic-number sn-percent-building-cancellation 100)
- (set-strategic-number sn-percent-civilian-builders 100)
- (set-strategic-number sn-percent-civilian-explorers 100)
- (set-strategic-number sn-percent-civilian-gatherers 100)
- (set-strategic-number sn-percent-enemy-sighted-response 0)
- (set-strategic-number sn-percent-exploration-required 100)
- (set-strategic-number sn-percent-half-exploration 50)
- (set-strategic-number sn-placement-fail-delta 1)
- (set-strategic-number sn-placement-to-center 0) ; important
- (set-strategic-number sn-placement-zone-size 1)
- (set-strategic-number sn-preferred-mill-placement 0)
- (set-strategic-number sn-preferred-trade-distance 255)
- (set-strategic-number sn-random-placement-factor 0)
- (disable-self)
- )
- (defrule
- (true)
- =>
- (set-strategic-number sn-retask-gather-amount 10)
- (set-strategic-number sn-safe-town-size 5) ; important
- (set-strategic-number sn-scale-maximum-attack-group-size 0)
- (set-strategic-number sn-scale-minimum-attack-group-size 0)
- (set-strategic-number sn-scaling-frequency 2)
- (set-strategic-number sn-sentry-distance 0)
- (set-strategic-number sn-sentry-distance-variation 0)
- (set-strategic-number sn-special-attack-influence1 0) ; important?
- (set-strategic-number sn-special-attack-influence2 0) ; define me: 110
- (set-strategic-number sn-special-attack-influence3 0) ; define me: 111
- (set-strategic-number sn-special-attack-type1 0) ; targets relics/monks/monasteries
- (set-strategic-number sn-special-attack-type2 -1) ; object id (king: 434, monument: 826, relic: 285, monk/relic: 286, monastery: 104, wonder: 276)
- (set-strategic-number sn-special-attack-type3 0) ; targets wonders
- (set-strategic-number sn-stone-dropsite-distance 5)
- (set-strategic-number sn-stone-gatherer-percentage 10)
- (set-strategic-number sn-stone-modifier-percentage 10)
- (set-strategic-number sn-target-player-number 0) ; important
- (set-strategic-number sn-target-point-adjustment 5)
- (set-strategic-number sn-task-ungrouped-soldiers 0) ; important?
- (set-strategic-number sn-total-number-explorers 0)
- (set-strategic-number sn-town-center-placement 0)
- (set-strategic-number sn-ttkfactor-scalar 50) ; lets try 50
- (set-strategic-number sn-unexplored-construction 0)
- (set-strategic-number sn-use-by-type-max-gathering 1)
- (set-strategic-number sn-villager-attack-reset 0)
- (set-strategic-number sn-wall-targeting-mode 1)
- (set-strategic-number sn-warship-targeting-mode 1)
- (set-strategic-number sn-wild-animal-exploration 1)
- (set-strategic-number sn-wood-dropsite-distance 5)
- (set-strategic-number sn-wood-gatherer-percentage 25)
- (disable-self)
- )
- (defrule
- (true)
- =>
- (set-strategic-number sn-wood-modifier-percentage 25)
- (set-strategic-number sn-zero-priority-distance 127)
- (disable-self)
- )
- (defrule
- (true)
- =>
- (up-assign-builders c: farm c: 1)
- (up-assign-builders c: house c: 1)
- (up-assign-builders c: town-center-foundation c: 1)
- (up-assign-builders c: mill c: 1)
- (up-assign-builders c: mining-camp c: 1)
- (up-assign-builders c: lumber-camp c: 1)
- (up-assign-builders c: dock c: 1)
- (up-assign-builders c: barracks c: 1)
- (up-assign-builders c: archery-range c: 1)
- (up-assign-builders c: stable c: 1)
- (up-assign-builders c: blacksmith c: 1)
- (up-assign-builders c: market c: 1)
- (up-assign-builders c: stone-wall-line c: 1)
- (up-assign-builders c: watch-tower c: 1)
- (up-assign-builders c: guard-tower c: 1)
- (up-assign-builders c: keep c: 1)
- (up-assign-builders c: donjon c: 1)
- (up-assign-builders c: gate c: 1)
- (up-assign-builders c: monastery c: 1)
- (up-assign-builders c: university c: 1)
- (up-assign-builders c: siege-workshop c: 1)
- (up-assign-builders c: castle c: 1)
- (up-assign-builders c: krepost c: 1)
- (up-assign-builders c: bombard-tower c: 1)
- (up-assign-builders c: feitoria c: 1)
- (up-assign-builders c: wonder c: 100)
- (disable-self)
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement