SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Editing > Editing Help

Reply
 
Thread Tools Search this Thread
Old 1 Week Ago   #1
Pizza
 
Pizza's Avatar
Default A couple of questions

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
Pizza is offline   Reply With Quote
Old 1 Week Ago   #2
Shadowater
Default

Projectiles baffled me a bit too. This is one I finally was able to make (or an older version of it):

Quote:
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
__________________
Wow my account was edgy. Working on a revamp of my old Tails Doll mod
Shadowater is offline   Reply With Quote
Old 1 Week Ago   #3
Pizza
 
Pizza's Avatar
Default

Thanks but it didn't work
Pizza is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:37 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.