Author Topic: Turok 2 Seeds of Evil WIP Projects  (Read 11761 times)

Offline Raptor Dan

  • Iguana
  • *
  • Posts: 38
  • T:REP 144
  • Murder time, fun time!
Re: Turok 2 Seeds of Evil WIP Projects
« Reply #60 on: June 24, 2018, 05:54:39 PM »


Remade my old T2 FEAR SFX replacement, changing several sounds around and making liberal use of the .ksnd text editing so there's less conflicting usage of sounds compared to outright replacing them.

- New menu sounds, ammo pick up sounds, and health pick up sounds
- MAG60 has its sound changed to the ceiling turret's firing sound, as it's previous sound had a burst of 5, not 3. Plus it needed some more beef.
- Tranquilizer and Charge Rifle has completely new sounds
- Shredder has an amalgamation of sounds put together (nail gun, metal thunk, cannon rotation), not too sure what to do with it but I'll leave it for now.
- Plasma Rifle had the double sound removed and sounds a lot cleaner.
- Firestorm Cannon had the entirety of its sound overhauled, almost 1:1 to the Minigun from Perseus Mandate.
- Grenade Launcher had its reload sound changed, but I might change it back to what it was previously.
- Scorpion is still WIP once I figure out how its draw and holster servos work, new reload servo sounds.
- Explosions have been tweaked some.
- New impact effects, ricochets, and gib effects.
« Last Edit: June 24, 2018, 06:04:56 PM by Raptor Dan »

Offline Raptor Dan

  • Iguana
  • *
  • Posts: 38
  • T:REP 144
  • Murder time, fun time!
Re: Turok 2 Seeds of Evil WIP Projects
« Reply #61 on: July 25, 2018, 10:28:46 PM »
I have a question, but is there a way to add in a Low Health indicator, much like the Low Oxygen indicator where Adon would tell you you're running out of air?

Offline Victorious_Games

  • Raptor
  • ***
  • Posts: 119
  • T:REP 385
  • I AM TUROK!!
Re: Turok 2 Seeds of Evil WIP Projects
« Reply #62 on: July 25, 2018, 10:45:40 PM »
If u don’t get an answer by the the time I can do some modding tomorrow I’ll try to whip something up for u that u can drop into the ontick section of the player script.
Turok 2 Ascension MODDB Page: https://www.moddb.com/mods/turok-2-ascension

Offline Raptor Dan

  • Iguana
  • *
  • Posts: 38
  • T:REP 144
  • Murder time, fun time!
Re: Turok 2 Seeds of Evil WIP Projects
« Reply #63 on: July 26, 2018, 10:16:47 AM »
Another question, and it's a feature I sorely miss in the first Turok, but how does one get enemies to make impact sounds when they melee you?
It's entirely absent in 2 and the attacks feel less impactful.

Offline Victorious_Games

  • Raptor
  • ***
  • Posts: 119
  • T:REP 385
  • I AM TUROK!!
Re: Turok 2 Seeds of Evil WIP Projects
« Reply #64 on: July 26, 2018, 10:36:14 AM »
That's something I'll be adding for my own project. The only way I can think of doing it is by going into each enemies melee animations and adding a flag that spawns a particle projectile.  The projectile only goes so far before destroying itself. If it hits an object it makes a sound and spawns blood or sparks or whatever. I've done this for the warblade, razor wind, and nuke weapons already but I did it by way of script. I'm sure it can be done using the Fireseed model and animation editor for monsters which I think is the best way to do it.
Turok 2 Ascension MODDB Page: https://www.moddb.com/mods/turok-2-ascension

Offline Victorious_Games

  • Raptor
  • ***
  • Posts: 119
  • T:REP 385
  • I AM TUROK!!
Re: Turok 2 Seeds of Evil WIP Projects
« Reply #65 on: July 26, 2018, 07:42:57 PM »
Ok here man this will do things when the player's health is below whatever you want. Place it anywhere in the OnTick section of the players script file which you must add yourself if you haven't yet:

Code: [Select]
float PlayerHealth = self.Health();

if (PlayerHealth <= 10 && ShowOnce != 1)
{
      Hud.AddMessage("Danger Low Health",120);
ShowOnce = 1;
}
else if (PlayerHealth > 10 && ShowOnce == 1)
{
ShowOnce = 0;
}

Just change the 10 to whatever you want as well as the "Danger Low Health" message. You'll also need to put this:

Code: [Select]
int ShowOnce = 0;
up in the top section of the player script where other variables are declared.
« Last Edit: July 26, 2018, 07:43:45 PM by Victorious_Games »
Turok 2 Ascension MODDB Page: https://www.moddb.com/mods/turok-2-ascension

Offline Raptor Dan

  • Iguana
  • *
  • Posts: 38
  • T:REP 144
  • Murder time, fun time!
Re: Turok 2 Seeds of Evil WIP Projects
« Reply #66 on: July 26, 2018, 09:32:19 PM »
Ok here man this will do things when the player's health is below whatever you want. Place it anywhere in the OnTick section of the players script file which you must add yourself if you haven't yet:

Code: [Select]
float PlayerHealth = self.Health();

if (PlayerHealth <= 10 && ShowOnce != 1)
{
      Hud.AddMessage("Danger Low Health",120);
ShowOnce = 1;
}
else if (PlayerHealth > 10 && ShowOnce == 1)
{
ShowOnce = 0;
}

Just change the 10 to whatever you want as well as the "Danger Low Health" message. You'll also need to put this:

Code: [Select]
int ShowOnce = 0;
up in the top section of the player script where other variables are declared.

My problem with adding stuff like that is finding the file I need to edit in the first place, where exactly do I find the script that edits the player?
Is it the one that's in the game/defs/actors?

Offline Victorious_Games

  • Raptor
  • ***
  • Posts: 119
  • T:REP 385
  • I AM TUROK!!
Re: Turok 2 Seeds of Evil WIP Projects
« Reply #67 on: July 26, 2018, 10:19:20 PM »
You have to define a script to the player.def file so it can use new scripts. I’m not sure if this is for u right now. Maybe start using BehemothProgrammer’s MP addon as a base. It has everything already separated into scripts. U can easily drop your new sounds into it with no problem.
Turok 2 Ascension MODDB Page: https://www.moddb.com/mods/turok-2-ascension

Offline Raptor Dan

  • Iguana
  • *
  • Posts: 38
  • T:REP 144
  • Murder time, fun time!
Re: Turok 2 Seeds of Evil WIP Projects
« Reply #68 on: July 29, 2018, 08:32:34 PM »

More progress

Offline Raptor Dan

  • Iguana
  • *
  • Posts: 38
  • T:REP 144
  • Murder time, fun time!
Re: Turok 2 Seeds of Evil WIP Projects
« Reply #69 on: August 12, 2018, 10:57:39 PM »
EVEN MORE PROGRESS!