Modify message

Subject:
Message icon:

Last Edit: July 06, 2018, 01:29:09 AM
Attach:
(Clear Attachment)
(more attachments)
Restrictions: 4 per post, maximum total size 1024KB, maximum individual size 1024KB
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
Type ot the full word: TUR**:
Finish the word: Turok 2: Seeds of ****:
Finish the word: Turok Dinosaur ******:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Duke64
« on: July 06, 2018, 01:21:26 AM »

Ok I understand how to make a new animation for the secondary fire modes.

My next question: Is there a way to tell in the scripts what type of ammo you are using?

Also how exactly do you cut the firing animation off in the weapon scripts to increase the firing rate?

The type of ammo is defined in

defs>weaponinfo.txt

Weapon kWpn_Magnum
{
    offset                  "6 7 10"
    actor                   kActor_Wpn_Mag60
    defaultWeapon           FALSE
    owned                   FALSE
    allowUnderwater         FALSE
    allowLand               TRUE
    allowMultiplayer        TRUE
    icon                    "gfx/hud/weapons/h_w_mag60.png"
    ammo                    "Ammo_Bullet"
    ammoConsumption         1
    projectileParticle      kParticle_MagnumBullet
    charMeshIndex           kWpnChar_Mag60
   priority                8000
}

I wouldn't cut off firing animations there is a way you can make the firing animations speed up or any generally. Used it in my mods 'Fossil Cavern' and 'Turok lives again' scripted to fire fast.

    /*
    ==============================================================
    OnFire
    ==============================================================
    */
   
    void OnFire(void)
    {
        self.PlaySound("sounds/shaders/TOMMY.ksnd");
   self.AnimTrackComponent().ChangeSpeed(0.64f);

    }
   
    /*
Posted by: Victorious_Games
« on: July 05, 2018, 10:09:50 PM »

Ok I understand how to make a new animation for the secondary fire modes.

My next question: Is there a way to tell in the scripts what type of ammo you are using?

Also how exactly do you cut the firing animation off in the weapon scripts to increase the firing rate?
Posted by: Victorious_Games
« on: July 05, 2018, 02:12:42 PM »

Hey thanks a lot man for the reply. But when I was asking about having more then one firing animation for a weapon I was talking about an actual animation and not just a secondary fire mode like my other thread was asking about. I understand exactly how to add that secondary fire mode but I was wondering if it was possible to have a second firing animation for that secondary fire mode or does the weapon have to use the same firing animation for both fire modes?

What is the particle for the blood splat decals? I haven't been able to find which one to edit.

Posted by: Drahsid
« on: July 05, 2018, 01:39:49 PM »

Is there a way to resize blood splat decals?
Yes, edit the particle.
Is there a way to increase the firing rate for weapons?
Yes, edit the animation, or alternatively, cut the animation off earlier in the weapons script.
Is there a way to make particle effects that are created by weapons loop forever?
You cannot make particles loop forever unless of course you just spawned another upon death.
Is there a way to have more then 1 firing animation for weapons such as if I press the primary fire button you get one animation but if I press the alternate fire button ( the scope enable/disable button ) you get another firing animation? Haven't we answered this?
From my understanding, I think this is what you want. I had a mag 60 with explosive secondary and bullet primary fire on left and right mouse click lol its a killer weapon but its been awhile though since I was focused on it xD.

This would be a script function you need to do a script, search for this through the scripts to understand.

if((self.Owner().Buttons() & BC_ALTFIRE) != 0)

Its actually applied to the ridingGun.txt in scripts folder that will help to understand some I believe look for ALTFIRE in that document.
Is there a way to change a monsters skin texture when it dies like if it's killed by the flamethrower it turns black?
I haven't looked into the monster code, but you could potentially to a similar thing to what they do with limbs.
Is there a way to make the fire that gets on a monster when it's burned by the flamethrower to cover it's whole body and not just it's upper torso?
Unless it's a part of the monster's animations, edit the particle.
Is it possible to have a monster spawn another monster through scripts?
ActorFactory.Spawn(), lookit the API.
Posted by: Victorious_Games
« on: July 05, 2018, 10:52:51 AM »

These are some questions I have about modding Turok 2. I wanted to ask about them first before I go trying to implement them. I didn't want to waste my time on impossible ideas.

Is there a way to to resize blood splat decals?
Is there a way to increase the firing rate for weapons?
Is there a way to make particle effects that are created by weapons loop forever?
Is there a way to have more then 1 firing animation for weapons such as if I press the primary fire button you get one animation but if I press the alternate fire button ( the scope enable/disable button ) you get another firing animation?
Is there a way to change a monsters skin texture when it dies like if it's killed by the flamethrower it turns black?
Is there a way to make the fire that gets on a monster when it's burned by the flamethrower to cover it's whole body and not just it's upper torso?
Is it possible to have a monster spawn another monster through scripts?
SimplePortal 2.3.6 © 2008-2014, SimplePortal