Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

New to the forum? Say hello in this topic! Also make sure to read the rules.

Superfighters Deluxe 1.3.6 is out!

Status updates from MythoLogic Interactive about the game progress.
Forum rules
By using the forum you agree to the following rules.
Post Reply
User avatar
Hjarpe
Lead Designer
Lead Designer
Posts: 480
Joined: Sun Feb 28, 2016 8:02 pm
Started SFD: The grey dawn of time
Gender:
Age: 33
Contact:

Superfighters Deluxe 1.3.6 is out!

Post by Hjarpe » Sun Apr 26, 2020 3:25 pm

* Fixed a bug preventing the player from attacking, blocking or grabbing after blocking and catching an unequippable item (pills, slo-mo, strength boost, etc.)

ScriptAPI:
* Added IPlayer.IsHoldingActiveThrowable, IPlayer.GetActiveThrowableWeaponItem(), IPlayer.SetActiveThrowableTimer(..), IPlayer.DisarmActiveThrowable(..) to be able to read and disarm current active throwables on a player.
* Updated IPlayer.Disarm(..). It will now disarm any active throwables first. Also included an optional parameter 'out IObject disarmedActiveThrowable' to be able to read the disarmed active throwable (if any). This returns the same object as calling IPlayer.DisarmActiveThrowable() first. This is done to keep backwards compatibility with existing code.
* Added IObjectGrenadeThrown.GetExplosionTimer(), IObjectGrenadeThrown.SetExplosionTimer() to be able to change the explosion timer on thrown grenades (and "reactivate" duds by calling SetExplosionTimer after the first timer runs out).
* Added IPlayer.GetCorpseHealth(), SetCorpseHealth(float value), GetCorpseMaxHealth() to be able to update the durability of a dead player's corpse.
* Added IObjectWeaponItem.GetCurrentAmmo(), IObjectWeaponItem.GetMaxAmmo() to be able to read ammo from current item.
* Added IObjectWeaponItem.RifleWeapon|HandgunWeapon|RangedWeapon|ThrownWeapon|PowerupItem|InstantPickupWeaponItem which returns the item information struct about the specified item.
* Added MeleeWeaponItem.CurrentValue, CurrentValue.MaxValue to read durability (0-100).
* Updated ProjectileHitCallback to handle deflections by:
- Adding ProjectileHitArgs.IsDeflection, ProjectileHitArgs.DeflectionNormal to be able to read if a projectile hit is a deflection.
- Updating ProjectileHitArgs.RemoveFlag so it's now false during deflections.
- Updating ProjectileHitCallback so it's now fired when projectiles are blocked or deflected by players and deflected on ProjectileDeflectZone.
* Added IProjectile.PowerupTotalBounces to read projectile's maximum total bounces that can be performed. IProjectile.BounceCount can now be written to to change current amount of bounces.
* Players deflecting a bullet now counts towards the bullet's total bounce count as if it bounced on a wall.
* Moved IPlayer.DealDamage() to base IObject.DealDamage() and added bool IObject.Destructable readonly property to be able to deal damage to objects in a more convenient way.
* Added IPlayer.CurrentPrimaryRangedWeapon and IPlayer.CurrentSecondaryRangedWeapon. Both return a RangedWeaponItem struct containing the same properties as RifleWeaponItem and HandgunWeaponItem.
* Added LazerEquipped property to RangedWeaponItem, RifleWeaponItem and HandgunWeaponItem to be able to read if a ranged weapon has a lazer upgrade attached.
* Removed IGame.WriteToConsole(string text) in favor of the new IGame.WriteToConsole(object param[] args) to avoid ambiguous calls between the two.
* IGame.WriteToConsole now prints <null> for null values.
* IGame.WriteToConsoleF no longer crashes if you input an invalid format, instead a default format will be generated and used.
* Fixed a bug where SupplyCrates created in the editor or ScriptAPI would show the wrong category icon for lazer, bouncing fire and explosive fire powerups.
* Fixed Events.PlayerWeaponRemovedActionCallback not running correctly when a player gets gibbed or removed in certain situations.
* Fixed a bug where projectiles created inside ProjectileCreatedCallbackEvent wouldn't work properly.
* Fixed a bug causing IGame.GetColorPackage() to always return null.
* Fixed a bug that showed the wrong exception when a stacktrace from map scripts couldn't be parsed correctly.
* Fixed a bug with IObjectPlayerSpawnTrigger.SetSpawnWeaponItem*(..) causing exceptions when calling Trigger().
5 x
Quinterball: Vigorously shaking a tile while rapidly tapping CTRL causes the selected tile to randomly flash red.
MythoLogic Interactive: By design.

User avatar
Noble
Moderator
Moderator
Posts: 482
Joined: Wed Mar 30, 2016 6:46 pm
Title: Modest guy
SFD Alias: Best player
Location: Brazil
Gender:

Post by Noble » Sun Apr 26, 2020 7:31 pm

WOW
That was actually a really big update. I wonder what new maps, scripts and campaigns will be created with these new functions
2 x
When I was 22 I read this book
And I swore
"I'll stay my way, I'll stay my way"

Post Reply