Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
wacked666

Shiruken decorate help

Recommended Posts

I'm working on a shiruken for my t.c. and was wondering if anyone can help me make it stick into walls, right now it just stays wherever it stops. is this do-able?



actor Shirkuen : Doomweapon 11465
{
Weapon.SelectionOrder 700
Weapon.AmmoUse1 1
Weapon.AmmoGive1 15
Weapon.AmmoType "Shell"
+NOEXTREMEDEATH
Inventory.PickupMessage "You got the Sneaker Missle System!"
Obituary "%o is now puppy chow."
attacksound "autogun/fire"
Decal "BulletChip"
Weapon.SlotNumber 5
weapon.selectionorder 143
States
{
Ready:
SHAN A 1 A_WeaponReady
Loop
Deselect:
SHAN A 1 A_Lower
Loop
Select:
SHAN A 1 A_Raise
Loop
Fire:
SHAN B 1
SHAN B 0
SHAN B 2
SHAN C 2 A_FireCustomMissile("Shiruken",0,1,0,0,0)
SHAN C 0 A_playsound ("Shir/fire")
SHAN A 15
SHAN A 3 A_Refire
goto Ready
Flash:
TNT1 A 3 Bright A_Light1
Goto LightDone
Spawn:
Shur A -1
Stop
}
}
ACTOR Shiruken
{
Game Doom
SpawnID 127
Radius 12
Height 12
Speed 20
Damage 8
Projectile
+noextremedeath
Obituary "$OB_MPROCKET" // "%o rode %k's rocket."
States
{
Spawn:
SHIR A 1 Bright
Loop
Death:
SHIR A -1
Stop
}
}

Share this post


Link to post

I think if you add this:
Death:
SHIR A 0
TNT1 A 1 A_SpawnItemEx("Shiruken",12,0,0,0,0,0,0,SXF_NOCHECKPOSITION)

Just in case, rename Shiruken to ShurukenAmmo.

Share this post


Link to post
wacked666 said:

I'm working on a shiruken for my t.c. and was wondering if anyone can help me make it stick into walls, right now it just stays wherever it stops. is this do-able?

So, do you want it to stay wherever it stop if it hits a wall, but fall on the ground or disappear when hitting a THING object, and preferably even move up/down with a door / moving floor if it sticks into its side?

The last thing mentioned is impossible. If you give the projectile a +RIPPER flag, it will fly through shootable THINGs while dealing damage to them, but it would stop on THINGs like decorations, I think. I'm afraid that what you want is not doable - not with a Shiruken as an actor. The solution is trivial if you'd be satisfied with a mere Decal, which is not plastic, though.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×