2025-08-29 14:04 CEST

spring: develop 39fe9b7a Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
trepan trepan develop 2007-11-15 03:19:03 develop 0ee9d48e
Changeset * Applied lurker's mantis patch 0000680 (with a few touchups)
  - allows for negative damages
  - adds [experience] { experienceMult = 1.0; } to modrules
  - adds [flankingBonus] { defaultMode = 1; } to modrules
  - replaces the old bonus shield system with flanking bonus
  - new unitDef parameters:
      int flankingBonusMode
      float flankingBonusMax
      float flankingBonusMin
      float flankingBonusMobilityAdd
      float3 flankingBonusDir
  - new COB GET/SETS
      FLANK_B_MODE 120 // set or get
      FLANK_B_DIR 121 // set or get, set is through get for multiple args
      FLANK_B_MOBILITY_ADD 122 // set or get
      FLANK_B_MAX_DAMAGE 123 // set or get
      FLANK_B_MIN_DAMAGE 124 // set or get
  - removed the temporary 'bonusShieldEnabled' unitDef var
* Replaced modrules.tdf with modrules.lua
* Fixed LuaParser so that LuaTable calls will work for invalid parsers
* Changed the global modInfo variable to be a direct reference
* Preprocessed the modrules transportability settings to avoid wasted cycles


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@4794 37977431-3df6-0310-b722-df95706aa16b
mod - installer/builddata/springcontent/gamedata/defs.lua Diff ] File ]
add - installer/builddata/springcontent/gamedata/modrules.lua Diff ] File ]
mod - rts/ExternalAI/AICallback.cpp Diff ] File ]
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/UI/GameInfo.cpp Diff ] File ]
mod - rts/Lua/LuaConstGame.cpp Diff ] File ]
mod - rts/Lua/LuaParser.cpp Diff ] File ]
mod - rts/Lua/LuaParser.h Diff ] File ]
mod - rts/Sim/Misc/Feature.cpp Diff ] File ]
mod - rts/Sim/ModInfo.cpp Diff ] File ]
mod - rts/Sim/ModInfo.h Diff ] File ]
mod - rts/Sim/Units/COB/CobFile.cpp Diff ] File ]
mod - rts/Sim/Units/COB/CobInstance.cpp Diff ] File ]
mod - rts/Sim/Units/CommandAI/CommandAI.cpp Diff ] File ]
mod - rts/Sim/Units/CommandAI/TransportCAI.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.h Diff ] File ]
mod - rts/Sim/Units/UnitDef.h Diff ] File ]
mod - rts/Sim/Units/UnitDefHandler.cpp Diff ] File ]
mod - rts/Sim/Units/UnitLoader.cpp Diff ] File ]
mod - rts/Sim/Units/UnitTypes/Builder.cpp Diff ] File ]
mod - rts/Sim/Weapons/Weapon.cpp Diff ] File ]