Commit Graph

3556 Commits

Author SHA1 Message Date
Zimmermann Gyula
8e9370054d Add a disable option to LeavesTrails->StartDelay via negative values. 2017-01-26 11:01:35 +01:00
Paul Chote
3b4f515e2a Only remove resources when a silo/refinery is killed. 2017-01-25 20:07:15 +00:00
RoosterDragon
6a0b993fa2 Remove attackBases member from AutoTarget.
We can use the activeAttackBases member everywhere.
2017-01-25 18:29:33 +00:00
Oliver Brakmann
53c037aa53 Add OS bitness to sysinfo query 2017-01-22 21:36:32 +01:00
Oliver Brakmann
9993a235a7 Convert ResupplyAircraft into a CompositeActivity 2017-01-22 20:42:19 +01:00
Oliver Brakmann
9b0780e87c Make FlyAttack use child activities 2017-01-22 20:41:41 +01:00
Oliver Brakmann
e49b3d6458 Adjust existing activities for changed NextActivity semantics
To make sure existing checks against NextActivity don't check the parent activity by mistake
2017-01-22 20:41:37 +01:00
reaperrr
42df24a18a Introduce MapNotificationEffect 2017-01-22 17:41:55 +01:00
Oliver Brakmann
145fd2eed0 Merge pull request #12571 from reaperrr/bullet-bounce
Implement bullet bouncing logic
2017-01-21 22:06:23 +01:00
Oliver Brakmann
05475d752a Merge pull request #12503 from pchote/radarjammer
Migrate ProvidesRadar from IDisable to conditions.
2017-01-21 20:55:37 +01:00
Paul Chote
85053d8d59 Merge pull request #12601 from obrakmann/activities-pt1.5
Rename existing activity states
2017-01-21 17:32:18 +00:00
Paul Chote
1f44e91746 Migrate ProvidesRadar to conditions and remove JamsRadar. 2017-01-21 17:24:54 +00:00
Oliver Brakmann
683d3e747b Rename existing activity states 2017-01-20 22:16:25 +01:00
reaperrr
2f0b1a16d0 Upgrade Bullet bounce logic with target checking 2017-01-20 00:55:00 +01:00
reaperrr
bf47affd2e Add bounce logic to Bullet
Allows Bullet projectiles to bounce off ground.
2017-01-20 00:54:59 +01:00
RoosterDragon
867ad0fb32 Merge pull request #12572 from GraionDilach/experience-modifiers
Implement experience multipliers.
2017-01-19 20:42:48 +00:00
RoosterDragon
2428b967bf Cache coloring delegate in AppearsOnRadar.RadarSignatureCells. 2017-01-19 20:23:53 +00:00
RoosterDragon
9c59d7e255 Avoid delegate allocation in AutoTarget.
Extract a common method for deciding if an attack should happen, and avoid LINQ inside this method.
2017-01-19 20:23:52 +00:00
RoosterDragon
d1cc546f8d Avoid delegate allocation in RotationPaletteEffect.
Use a loop to perform the same check instead.
2017-01-19 20:23:50 +00:00
RoosterDragon
2239d6c88e Cache activeAttackBases query in AutoTarget. 2017-01-19 20:23:49 +00:00
RoosterDragon
a6af65f380 Avoid allocations in SelectionDecorations when we have nothing to draw.
Return an empty enumerable immediately rather than allocating a compiler generated enumerable via 'yield'. We can defer allocating these until we actually need to draw them.

Also, cache the trait lookup.
2017-01-19 20:23:48 +00:00
Zimmermann Gyula
4bce601db2 Implement reveal-on-fire. 2017-01-17 18:59:07 +01:00
Zimmermann Gyula
1544f24663 Implement experience multipliers. 2017-01-15 20:33:26 +01:00
Oliver Brakmann
bd3639e81d Merge pull request #12358 from reaperrr/cashtrickler-upgrade
Add upgrade support to CashTrickler and split off GivesCashOnCapture
2017-01-08 14:12:01 +01:00
reaperrr
8699d0fca3 Safeguard CashTrickler negative values
By making sure to never remove more cash than the player has.
2017-01-08 13:53:19 +01:00
reaperrr
7dcda5db30 CashTrickler style fixes and Period -> Interval rename 2017-01-08 13:53:17 +01:00
Zimmermann Gyula
bc1e2a7058 Revamp CashTrickler.
Added upgrade support.
Decoupled the capture bonus to a separate trait.
2017-01-08 13:53:16 +01:00
reaperrr
c76cc984dc Merge pull request #12548 from reaperrr/fix-d2k-trike-muzzle
Add InstantHit projectile and fix Trike/Raider muzzle flashes
2017-01-08 12:24:49 +01:00
reaperrr
adfe78fca5 Add simple, invisible instant-hit projectile
For melee attacks, machine guns and so on.
2017-01-07 15:12:16 +01:00
reaperrr
4a6e378390 Fix upgrade rule dates
They were merged after prep was split off.
2017-01-07 13:20:22 +01:00
Oliver Brakmann
27d45f890e Merge pull request #12533 from reaperrr/fix-air-smudges
Fix air explosions leaving smudges
2017-01-03 21:56:17 +01:00
entropai
57e5bbb448 Stance modification for engineer repair 2017-01-02 19:36:00 +01:00
reaperrr
7e3e950b5d Fix air explosions leaving smudges
LeaveSmudgeWarhead now only spawns smudges if the explosion happened at or below a certein altitude.
2017-01-01 17:14:31 +01:00
Taryn Hill
43317e0f5d Update copyright notice year to 2017 2016-12-31 23:46:13 -06:00
reaperrr
ab914b610b Merge pull request #11686 from Mailaender/zbstudio-lua-api
Added API and auto-complete description generator for ZeroBrane Studio
2016-12-31 12:00:04 +01:00
Oliver Brakmann
137359a097 Merge pull request #12355 from reaperrr/rem-nuke-DelAct
Remove DelayedAction from NukePower
2016-12-28 18:56:33 +01:00
reaperrr
f6924d740e Add RevealGeneratedShroud toggle to NukePower
To give modders a choice.
2016-12-28 18:45:50 +01:00
reaperrr
e582ba759f NukePower CameraActor removal upgrade rule 2016-12-28 18:45:49 +01:00
reaperrr
ec5c3a710d NukePower description style fixes 2016-12-28 18:45:47 +01:00
reaperrr
079908d238 Make NukePower use RevealShroudEffect instead of camera actor
Additionally, remove the DelayedAction and let the beacon remove itself
instead.
2016-12-28 18:45:45 +01:00
reaperrr
79add6113c Add RevealShroudEffect
This allows support powers etc. to reveal shroud for customizable amount
of ticks and after customizable delay, instead of spawning camera actors.
2016-12-28 18:45:44 +01:00
reaperrr
1a0f72d2b0 Merge pull request #12484 from pchote/installer-fixes
Fix asset installation on 32 bit windows and with original RA CDs.
2016-12-28 16:53:15 +01:00
reaperrr
aa53553cdf Add BeaconDelay to SupportPower 2016-12-27 17:13:54 +01:00
reaperrr
871576b300 Add delay and full duration support to beacons
Previously, support power beacons were hardcoded to unlimited duration and
then cleaned up directly by the support power. This is problematic if we
want the beacon to remove itself after a certain delay, though.
2016-12-27 17:13:53 +01:00
Oliver Brakmann
d21b805012 Merge pull request #12497 from pchote/condition-manager
Complete Upgrades -> Condition transition.
2016-12-24 13:43:15 +01:00
Paul Chote
2322d40395 Renamed Upgrades directory to Conditions. 2016-12-23 23:29:40 +00:00
Paul Chote
268ed016ab Rename UpgradableTrait to ConditionalTrait. 2016-12-23 23:28:34 +00:00
RoosterDragon
226c0a050a Dispose some sound streams. 2016-12-23 19:37:17 +00:00
Paul Chote
d0270ab866 Rename comments and documentation. 2016-12-23 15:17:02 +00:00
Paul Chote
152ae13cea Rename SelectUpgradeTarget. 2016-12-23 15:14:36 +00:00