1.3 update and whatnot.
This commit is contained in:
parent
608be2e2c9
commit
2f56442ffb
47 changed files with 153 additions and 178 deletions
|
|
@ -206,14 +206,12 @@ Class Seeds : UnrealInventory
|
|||
override bool Use( bool pickup )
|
||||
{
|
||||
if ( pickup ) return false;
|
||||
Vector3 x, y, z;
|
||||
[x, y, z] = dt_Utility.GetAxes(Owner.angle,Owner.pitch,Owner.roll);
|
||||
Vector3 origin = level.Vec3Offset(Owner.Vec2OffsetZ(0,0,Owner.player.viewz),x*10-z*8);
|
||||
Vector3 origin = dt_Utility.GetFireOffset(self,10,0,-8);
|
||||
let a = Spawn("SeedProj",origin);
|
||||
a.target = Owner;
|
||||
a.angle = Owner.angle;
|
||||
a.pitch = Owner.pitch;
|
||||
a.vel += x*a.speed;
|
||||
a.vel += dt_Utility.Vec3FromAngle(a.angle,a.pitch)*a.speed;
|
||||
return true;
|
||||
}
|
||||
States
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue