A couple of questions

Pizza

Member
How do i make flight and have it connected to a hud bar then when drained it stops flying

How do i make projectile work i've looked at the tutorial and i don't know how to get it to work and how do i make it a beam sorta like the kamehameha

How do i put a cap number on the hud bar

Thank anyone if they can help me with this

And I'll give credit

P.s this is for a character I'm making
 
Projectiles baffled me a bit too. This is one I finally was able to make (or an older version of it):

MT_NANI

State S_TURRETLASER
SpriteName = ARMA
SpriteFrame = A
Duration = 70
Next = S_POSS_RUN2
Action = A_ShootBullet

Object MT_NANI
SpawnState = S_TURRETLASER
SeeState = S_NULL
SeeSound = sfx_None
AttackSound = sfx_None
PainState = S_NULL
PainSound = sfx_None
MeleeState = S_NULL
MissileState = S_NULL
DeathState = S_TURRETLASEREXPLODE1
XDeathState = S_NULL
DeathSound = sfx_turhit
ActiveSound = sfx_None
RaiseState = S_NULL
SpawnHealth = 1000
ReactionTime = 8
PainChance = 0
Speed = 20*FRACUNIT
Radius = 16*FRACUNIT
Height = 8*FRACUNIT
DispOffset = 300
Mass = 0
Damage = 1
Flags = MF_NOBLOCKMAP|MF_MISSILE|MF_NOGRAVITY
The sprite name uses the Armageddon shield sprite - https://wiki.srb2.org/wiki/List_of_sprites look through here to find something more fitting for a laser beam. Looks like you'll want S_LASER for the state and to check through the actions - That's part of the trick with this, finding the right actions and states and figuring out how to use it

https://wiki.srb2.org/wiki/Actions#List_of_actions


Note that I myself am still doing tweaks to my current version, let alone this one, but if you're experimenting to see what works, I'd suggest changing just one field at a time to see what happens
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top