Christoph Oelckers
1462cb5e9d
- refactored some of WW2GI's gamewar stuff so that it is accessible to ZScript as well.
...
The features here are useful, the way they were handled not so much. What is there now can also be set from proper definition files instead of CON hacks.
2023-04-16 16:53:50 +02:00
Christoph Oelckers
ac1d1a90e0
- transfer the nofloorfire flag to the flame actor.
...
When checked on the owner it can fall victim to garbage collection.
2023-04-16 16:53:33 +02:00
Christoph Oelckers
f2b13410a5
fixed offset in grower
2023-04-16 12:26:18 +02:00
Christoph Oelckers
de5e779c50
- fixed offset in shrinker
2023-04-16 12:26:08 +02:00
Christoph Oelckers
1597cf5400
- exported the grower's shoot function and moved stuff to a separate file.
2023-04-16 11:49:47 +02:00
Christoph Oelckers
073c7e79e4
- Duke: remove redundant super.Initialize call from Liztrooper.
...
This function is a no-op for enemies and not needed.
2023-04-16 11:47:57 +02:00
Christoph Oelckers
77d14ec721
- scriptified shootshrinker and moved all shrinker code to a separate file.
2023-04-16 11:47:56 +02:00
Mitchell Richters
93e84ec49d
- Apply ESyncBit::SB_QUICK_KICK
change from 4d82a0effa
to ZScript copy.
2023-04-16 17:15:17 +10:00
Christoph Oelckers
e15517cf57
- fixed some issues with projectile ownership.
...
Some init code was run here that should not be run. Added a new flag to handle this case without major code explosion.
2023-04-16 07:54:26 +02:00
Christoph Oelckers
c73830992f
- added a few exports and properties for weapon shooting and added missing 'const' annotations for ShootThis overrides.
2023-04-15 23:23:09 +02:00
Christoph Oelckers
24fc780ede
- fixed ZScript compilation.
2023-04-15 13:16:48 +02:00
Christoph Oelckers
ecd0c8c1ff
- fixed a few bad scaling values.
2023-04-15 12:20:10 +02:00
Christoph Oelckers
f58d45dbe0
- text update.
2023-04-15 11:59:02 +02:00
Christoph Oelckers
1304577dac
- Duke: do not call DukeActor's OnInitialize function for projectiles.
...
This is performing some incompatible setup.
2023-04-15 10:54:18 +02:00
Christoph Oelckers
aad6c3da90
- RR: RedneckExplosion3 was not fully initialized.
2023-04-15 10:00:21 +02:00
Christoph Oelckers
812b9d76d6
- Blood: display the charge meter for the dynamite also on the alternative HUD.
2023-04-15 09:33:46 +02:00
Christoph Oelckers
8de44573b0
- added some missing stuff for World Tour.
2023-04-12 22:03:24 +02:00
Christoph Oelckers
0a91a9a199
- route checkhitsprite fully through the virtual interface so that the player class can finally be exported.
2023-04-12 22:02:01 +02:00
Christoph Oelckers
60af1b4c62
- renamed temp_data[0] to 'counter' and map temp_data[5] to the now free temp_data[0].
...
This not only matches its use in CON but seems to be used as a counter in most other places as well.
The main reason is to improve readability of CON to ZScript conversions.
2023-04-12 21:54:33 +02:00
Christoph Oelckers
c5c8ed16a3
- RR's keys also need 'noskill'.
2023-04-12 21:50:24 +02:00
Kevin Caccamo
854ecd1616
Keycards need the noskill flag
...
Otherwise, maps like E2L2 will have missing keycards
2023-04-12 21:48:50 +02:00
Christoph Oelckers
ebf7b4a121
- copy the CON defined info into the actual actors.
...
Only using the strength value right now.
2023-04-12 20:29:37 +02:00
Christoph Oelckers
8c831de9be
- Duke: deleted the obsolete script side actor flag definitions
2023-04-12 20:10:13 +02:00
Christoph Oelckers
62ace9371f
- moved the 3 actor properties out of the global data.
2023-04-12 20:07:12 +02:00
Christoph Oelckers
0c17a369db
- Duke: changed skill filter to be solely controlled by the spawnclasses definitions.
...
All classes with no skill filter now need an explicit noskill declaration.
The only exception is inert sprites using DukeActor directly, these will never get filtered by skill.
2023-04-12 20:06:25 +02:00
Christoph Oelckers
f7d1838266
- Duke: tweaked the egg a little so that it does not run through the enemy init logic.
2023-04-11 21:30:12 +02:00
Christoph Oelckers
09cdc497bd
- Duke: Inherit DukeReactor2Spark from DukeReactorSpark so that the checks for making it disappear work.
2023-04-11 21:24:23 +02:00
Christoph Oelckers
660227e175
- Duke: restrict skill filter to those actors which originally handled it.
...
For flexibility there now is a flag that can be set on any actor class, but due to precedent it needs to be off by default.
2023-04-11 20:14:02 +02:00
Christoph Oelckers
f7122e7f73
- updated the SB_* constants on the script side.
...
Commit 272dfa762d
changed a few on the native side but forgot to update the script version of it.
This caused all checks for SB_FIRE to fail.
2023-04-10 19:46:05 +02:00
Christoph Oelckers
684fb5eb74
- added a few things missing for RR and Route 66.
...
R66's gator was also added - this is the only completely new actor in this mod.
2023-04-09 09:46:10 +02:00
Christoph Oelckers
dc15418f37
- added missing elements for RR.
...
A few of Duke's actors which are not used in RR had to be included because some stale CON code still accesses them.
2023-04-09 09:46:10 +02:00
Christoph Oelckers
886683bc1b
- added definitions for all remaining original Duke CON based actors.
2023-04-09 09:46:10 +02:00
Christoph Oelckers
1738e9e4f5
- added skeleton definitions for several decorations that CON references by name
2023-04-09 09:46:10 +02:00
Christoph Oelckers
f700fd61d6
- added two actors referenced by CON
2023-04-09 09:46:10 +02:00
Christoph Oelckers
7f758eef2b
- got rid of the script-side flag wrappers.
2023-04-09 09:46:09 +02:00
Christoph Oelckers
a014b3436b
- implemented GetRadiusDamageType virtuals.
2023-04-09 09:46:09 +02:00
Christoph Oelckers
da0b429751
- migrated attackertype to class objects.
2023-04-09 09:46:09 +02:00
Christoph Oelckers
ae4ef6401c
- use the actual actor flags.
...
Not fully working yet...
2023-04-09 09:45:42 +02:00
Christoph Oelckers
510afe16fb
- NODAMAGEPUSH is the default for RR.
...
The game never had this feature
2023-04-09 09:35:38 +02:00
Christoph Oelckers
b908ede470
- reviewed actor flags and applied several fixes.
2023-04-09 09:35:37 +02:00
Christoph Oelckers
8172a9ac0c
- moved all flags into the actor definitions.
2023-04-09 09:35:37 +02:00
Christoph Oelckers
281dbfb14c
- added BADGUY/KILLCOUNT combos to all enemies.
2023-04-09 09:35:37 +02:00
Christoph Oelckers
672374c5f4
- added fullbright flags where appropriate
2023-04-09 09:35:37 +02:00
Christoph Oelckers
f4c176988a
- first round of flag additions.
2023-04-09 09:35:36 +02:00
Christoph Oelckers
7d747489ec
- fixed a typo
2023-04-09 09:35:27 +02:00
Christoph Oelckers
307276a276
- WIP for a default scale property.
...
For now a NOP, we need to get a little further with the scriptification work before this can be made operational.
2023-04-08 09:38:46 +02:00
Christoph Oelckers
9ba0b18013
- moved the 3 health related instructions out of the CON interpreter.
...
This code can be shared with ZScript so it needs to be elsewhere.
2023-04-07 13:15:06 +02:00
Christoph Oelckers
980b3f257a
- converted the final set of actor classes the native code needs to reference.
2023-04-07 13:15:06 +02:00
Christoph Oelckers
2ba204444c
- merged the spawn init code now that all differences are externalized
2023-04-07 13:15:06 +02:00
Christoph Oelckers
aae2c2dc3c
- exported RR's enemies
2023-04-07 13:15:06 +02:00