Serious Sam Fusion 2017 (beta)

Serious Sam Fusion 2017 (beta)

[Gamemode/Resource Pack] T&C Co-Op
 This topic has been pinned, so it's probably important
Cyborg.SeriousSite  [developer] 16 Jul, 2022 @ 2:20pm
Using T&C Co-Op enemies in custom maps
Beginning
Enemy usage from this pack has no problems, except for both variations of Kamikaze Boss, Boss Version of Blue Mechanoid, Elite and Boss versions of Werebull, Elite version of Beheaded Bomber and Boss version of Beheaded Firecracker. Without special script they haven't some functionality

List of Scripted Functionality:
  • Kamikaze Common Boss Variation - Aim Dodge
  • Blue Biomechanoid Boss Vartiation - Lightning Discharge Attack
  • Werebull Elite Variation - Spine Cannon Attack
  • Werebull Boss Variation - Spine Triple-Cannon Attack
  • Beheaded Bomber Elite Variation - Drop Some Grenades On Death
  • Kamikaze Rare Boss Variation - AAA-aaaugh attack
  • Beheaded Firecracker Boss Variation - Laser Ray Attacks
  • MGR Gnaar Boss - Full Behaviour
  • Any Shadow Version of Enemy, Trollge, Silent Ripper Kleer - Destructions
  • Drone Carrier - Passengers
  • Shadow Player - Full Behaviour Logic, Switching Weapons, Inventory

How to enable scripted features
1. Standard with script on map
  1. You must place "Script" entity on your map
  2. Change the script property "Auto run" from "On host" to "Always"
  3. Select ready T&C Co-op script TCCoop_InitFeatures.lua or InitEnemyScripts.lua (DEPRECATED) located in directory "Content/Shared/Scripts/TCCoopGamemode/Special/"
  4. Have fun
2. CustomWorldScript variant
Be careful! If you do not checking level through from, for example, by worldGlobals.worldInfo:GetWorldFileName() condition in your code, it will be started on any title custom and vanilla level!
  1. Create world script in Content\SeriousSamHD\Scripts\CustomWorldScripts
  2. Use "worldGlobals.preEnableTCCoopScripts = true" in code
  3. Be cool
3. Function in worldInfo (NEW)
  1. You must place "Script" entity on your map
  2. Change the script property "Auto run" from "On host" to "Always"
  3. Just call the function: worldInfo:EnableTCCoopScripts()
  4. CHICKEN JOCKEY



https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2836182849
Last edited by Cyborg.SeriousSite; 29 Apr @ 12:46pm