SRB2 Message Board  

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

Reply
 
Thread Tools Search this Thread
Old 02-16-2015   #1
"Lat'"
AAAAAAAAAAAAAAAAAAA
 
"Lat'"'s Avatar
Default Lat' does bullshit~

Remember that "a little question" thread?
Here's the result of my experiment with it.

1: An HP bar (finally something interresting "from me", because I'd say I got some help with it ^^')
it's easy to understand: Rings = HP. Hit = -10 HP. If hit and less than 10 HP = dead.



2: Tac- I mean a "spin" that drains rings, and that works for players that don't have CA2_SPIN. (As simple as giving CA2_SPIN for a tic, doing a spin, and getting back to CA2_NONE)


3: Without forgetting to introduce my lovely DUMBPLACEHOLDER. Everything is in its name. It has sprites ripped straight from the internet to remind me what they're supposed to be, so I recorded in firstperson because they are ugly. Also they're going to stay for a VERY LONG (forever in fact) while. (Everyone who saw my catastrophes on the post/art pics thread will know why :P)
__________________
Quote:
Originally Posted by Bronydude2k5 View Post
If you make me a Sash Lilac wad, I'll make you a sonic sprite hack of any choice.

Last edited by "Lat'"; 07-29-2015 at 06:35 AM.
"Lat'" is offline   Reply With Quote
Old 02-16-2015   #2
Xkower8181
btw do not touch the sonic
 
Xkower8181's Avatar
Default

Wow that's great this could make SRB2's Match more like Team Fortress 2 just add hats and it's done! XD
But what actually is it?
Okay, stupid question and jokes aside but this just amazing!
__________________
Spoiler:
hi you just wasted some second of your live on this
enjoy
Xkower8181 is offline   Reply With Quote
Old 02-16-2015   #3
"Lat'"
AAAAAAAAAAAAAAAAAAA
 
"Lat'"'s Avatar
Default

TF2? 50 HPs?
But what IS THIS now? Well you can find out by finding from where the HP graphics were actually taken from, or if I decide to show you those ugly sprites, or you can even look at my ... oops almost told it ^^
__________________
Quote:
Originally Posted by Bronydude2k5 View Post
If you make me a Sash Lilac wad, I'll make you a sonic sprite hack of any choice.
"Lat'" is offline   Reply With Quote
Old 02-16-2015   #4
Xkower8181
btw do not touch the sonic
 
Xkower8181's Avatar
Default

I know it's some Pokemon because of that Tac thing you typed ;D
__________________
Spoiler:
hi you just wasted some second of your live on this
enjoy
Xkower8181 is offline   Reply With Quote
Old 02-16-2015   #5
TheDoctor
 
TheDoctor's Avatar
Default

That health bar looks very similar to the pokemon mystery dungeon health bars
Spoiler:


Never will forget that look of those games. Great games indeed.

This means if you ever do release it, it could go well with a sprite rip I made some time ago
Spoiler:
__________________
Portal Disco Anyone?:
https://www.youtube.com/watch?v=sCVs...ature=youtu.be

Last edited by TheDoctor; 02-16-2015 at 09:01 PM.
TheDoctor is offline   Reply With Quote
Old 02-16-2015   #6
"Lat'"
AAAAAAAAAAAAAAAAAAA
 
"Lat'"'s Avatar
Default

Shit I got spotted.Anyway I'm affraid that original PMD sprites won't fit SRB2's camera. I'd have to make the camera with a top down angle, I'm affraid that this would rip the concept of the upcoming TopDown mod, and I don't have the required lua skills to even reproduce PMD's movement mechanics.


However I have a little idea of what I might turn all of this into, and I'll also reveal the identity of DUMBPLACEHOLDER soon.

EDIT: Also that Pikachu X)
__________________
Quote:
Originally Posted by Bronydude2k5 View Post
If you make me a Sash Lilac wad, I'll make you a sonic sprite hack of any choice.
"Lat'" is offline   Reply With Quote
Old 02-16-2015   #7
Larztard
Yeah...
 
Larztard's Avatar
Default

Will there be hunger?
__________________
YouTube
Larztard is offline   Reply With Quote
Old 02-17-2015   #8
"Lat'"
AAAAAAAAAAAAAAAAAAA
 
"Lat'"'s Avatar
Default

I told ya I really sucked with Lua, how could I even set up an hunger system (even if I'd like to :< ), but the HP bar now supports "overheal", even if it lasts very short even with 500 HPs (I spammed a move too so...) it will endure any hit without you to lose any real HP. Oh and also the Moo- I mean a nuke that kills nasty robots.


Yup, the "spin" and that "nuke" both drain HPs (That's strange huh.)
Sure, I'm probably not gonna let the jump happen, or if it's here, it will probably not damage enemies, to make those two moves have a reason to exist.

Also not gargoyle-based nuke :P
__________________
Quote:
Originally Posted by Bronydude2k5 View Post
If you make me a Sash Lilac wad, I'll make you a sonic sprite hack of any choice.
"Lat'" is offline   Reply With Quote
Old 02-17-2015   #9
semi.colon
Default

Would this work as a hunger system?
Quote:
addHook("MobjSpawn", function(player)
player.hunger = 10
player.hungertimer = 0
player.healthtimer = 0
player.lasthealth = 0
end, MT_PLAYER)

addHook("MobjThinker", function(player)
if (player.hunger > 0)
and (player.hungertimer >= TICRATE)
player.hunger = $ - 1
player.hungertimer = 0
end
player.hungertimer = $ + 1

if (player.hunger <= 0)
and (player.health > 1)
and (player.healthtimer >= TICRATE)
player.health = $ - 1
player.healthtimer = 0
end
player.healthtimer = $ + 1
end, MT_PLAYER)

addHook("ThinkFrame", function()
for player in players.iterate do
player.health = player.mo.health --update HUD

if (player.mo.health > player.mo.lasthealth) --test method to gain hunger
player.mo.hunger = $ + player.mo.health - player.mo.lasthealth
end
player.mo.lasthealth = player.mo.health
end
end)
Maybe use the TouchSpecial hook to get hunger when touching a custom object?

Last edited by semi.colon; 02-17-2015 at 10:26 AM.
semi.colon is offline   Reply With Quote
Old 02-17-2015   #10
"Lat'"
AAAAAAAAAAAAAAAAAAA
 
"Lat'"'s Avatar
Default

Well, I guess this hunger script will go surprisingly well with what I intended to do.
Sweet~


Yup, an Insta-Regen and an Invincibility candy. They can totally interact with Hunger actually :P

EDIT: Also I should probably add a HUD for the hunger because it's confusing to start losing HPs for no reasons X)
EDIT2: With the way that the test method to gain hunger works, the InstaRegen candy is OP.

---------- Post added at 01:15 PM ---------- Previous post was at 12:18 PM ----------

And sorry for double post, but before I have to go, I added a little HUNGER counter
(ikr, it's really ugly, buy I will improve it this evening because I have to go)



(See, I told ya instaregen was op)
__________________
Quote:
Originally Posted by Bronydude2k5 View Post
If you make me a Sash Lilac wad, I'll make you a sonic sprite hack of any choice.

Last edited by "Lat'"; 02-17-2015 at 12:06 PM.
"Lat'" is offline   Reply With Quote
Old 02-17-2015   #11
Jay
I'm lazy, let's face it
 
Jay's Avatar
Default

Wow, this looks interesting! I made a health script like this around a week or two ago for testing, and even though mine has fancy graphics and stuff, I actually think yours looks better. Perhaps because yours isn't as huge as mine and actually fits SRB2's style a lot more.

Do you plan to include leveling up or anything of the sort? If so, you could use the player's score for EXP.

Another thing, too: I think you might be able to make the slash beside the health bar red (to match TheDoctor's screenshot) by replacing
Code:
player.health.."/50"
with
Code:
player.health.."\x85/\x8050"
or something similar. To put it simply, you'd have to add a red color code (\x85) before the slash and a white one (\x80) after it. I can't say for sure as I haven't done that, but I'm fairly certain it'll work.
__________________
Quote:
Originally Posted by Jay
breaking news
acativision shoves out another yearly release for Cape CoD

Last edited by Jay; 02-17-2015 at 07:06 PM.
Jay is offline   Reply With Quote
Old 02-17-2015   #12
"Lat'"
AAAAAAAAAAAAAAAAAAA
 
"Lat'"'s Avatar
Default

I'm not planning any level up system, but I can eventually start to work on one if I have some time.
Also I tried what you told me to do with the string color, it works but for some reasons, there's a "P" coming out of nowhere. ( HP xx / P 50 )

Anyway, as semi.colon said that I needed objects to really interact with Hunger...



That apple is sure filling, but I didn't remember I told it to fill more than 20 hunger points (I am so pro at Lua) But at least it works...

EDIT: Also as for now, moves are draining Hunger instead of HPs, it makes much more sense.
EDIT2: Concerning the red "/" I can eventually just insert it as a regular HUD, it'll make the same thing.
__________________
Quote:
Originally Posted by Bronydude2k5 View Post
If you make me a Sash Lilac wad, I'll make you a sonic sprite hack of any choice.

Last edited by "Lat'"; 02-17-2015 at 07:34 PM.
"Lat'" is offline   Reply With Quote
Old 02-17-2015   #13
VirtualBlitz546
The infractions whore ;)
 
VirtualBlitz546's Avatar
Default

Watching your work makes me think I will never be so experienced in Lua :v I always get guided by other people's codes so I can get what I want to be done.

By the way, I have a random question here. How the f*** do you say "volcan(spanish word)" in english? In spanish, the name of it is said "Volcán" and just that. But I get confused with the english word, what do I have to say? Volcan or volcano?
__________________
Quote:
<TheDoctor> Mlg? My lovely Gangster? Mega Lick Grope?
<ChaosX79> My Long Gabba
VirtualBlitz546 is offline   Reply With Quote
Old 02-17-2015   #14
Goldenhog
Wandering Protagonist
 
Goldenhog's Avatar
Default

Quote:
By the way, I have a random question here. How the f*** do you say "volcan(spanish word)" in english? In spanish, the name of it is said "Volcán" and just that. But I get confused with the english word, what do I have to say? Volcan or volcano?
It's "Volcano". You know, like Red Volcano Zone? :P

On-topic: So, is this supposed to be a Minecraft mod for SRB2?
__________________
Quote:
Originally Posted by Asagi Asagiri
I need power over the people! The stupid, STUPID people!
Goldenhog is offline   Reply With Quote
Old 02-17-2015   #15
Katwover
typicality nonsensical
 
Katwover's Avatar
Default

Quote:
Originally Posted by VirtualBlitz546 View Post
By the way, I have a random question here. How the f*** do you say "volcan(spanish word)" in english? In spanish, the name of it is said "Volcán" and just that. But I get confused with the english word, what do I have to say? Volcan or volcano?
...uhh... according to Bing Translator, "volcán" is "volcano" in English. I should probably know this by now, as I'm in a Spanish class myself. I only diverged from the topic to help you in that case, so... don't ask off-topic questions again, I guess?

EDIT: ninja'd once more
Katwover is offline   Reply With Quote
Old 02-17-2015   #16
"Lat'"
AAAAAAAAAAAAAAAAAAA
 
"Lat'"'s Avatar
Default

Well Virtual, do you even think I wrote all this shit? I just took everything from existing WADs and modified to suit my needs.The HUD is a modified version of the buffgauge (unlikely), the way used to fill hunger was ripped straight from Quickman, as the one used to take damage too, without forgetting the Hunger code someone made for me without I even ask to.


Concerning your random question...
1: WTF is it doing there?
2: It's Volcano. (Volcan is French.)

---------- Post added at 09:44 PM ---------- Previous post was at 09:41 PM ----------

Quote:
Originally Posted by Goldenhog View Post
It's "Volcano". You know, like Red Volcano Zone? :P

On-topic: So, is this supposed to be a Minecraft mod for SRB2?
Double post srry.


DUMBPLACEHOLDER = Steve... with an HP bar... and Tackle? Weird.
__________________
Quote:
Originally Posted by Bronydude2k5 View Post
If you make me a Sash Lilac wad, I'll make you a sonic sprite hack of any choice.
"Lat'" is offline   Reply With Quote
Old 02-18-2015   #17
"Lat'"
AAAAAAAAAAAAAAAAAAA
 
"Lat'"'s Avatar
Default

Triple post, sorry again.
Anyway here is more food related content, yup, apples, a thin one, a big one and a golden one. I also added two others candies that fill different ammount of health... I guess I can start working on levels, now.



Another thing, if your hunger goes under 20, the message "Getting hungry..." prints into the console, "Getting dizzy from hunger..." prints if it goes below 10.

01000100011101010110110101100010010100000110110001 10000101100011011001010110100001101111011011000110 01000110010101110010001000000110100101110011001000 00010100110111100101101100011101100110010101101111 01101110001011000010000001101001011101000010000001 11011101100001011100110010000001101111011000100111 01100110100101101111011101010111001100100000011011 00011011110110110000101110001000000100001001110101 01110100001000000110010001101111011011100010011101 11010000100000011101000110010101101100011011000010 00000110100101110100001000000110111101101110001000 00011101000110100001100101001000000111010001101000 01110010011001010110000101100100001000000011101001 001111
__________________
Quote:
Originally Posted by Bronydude2k5 View Post
If you make me a Sash Lilac wad, I'll make you a sonic sprite hack of any choice.

Last edited by "Lat'"; 02-18-2015 at 01:50 PM. Reason: Added things.
"Lat'" is offline   Reply With Quote
Old 02-18-2015   #18
Arcade Gamer
Acts like a mature adult
 
Arcade Gamer's Avatar
Default

Keep in mind that the MB doesn't allow sprite rips. In the final product all of the sprite rips have to be changed.
Arcade Gamer is offline   Reply With Quote
Old 02-18-2015   #19
MascaraSnake
aka SpiritCrusher
Moderator
 
MascaraSnake's Avatar
Default

We allow ripped sprites. What we don't allow are submissions (e.g. custom characters) that consist of nothing but ripped sprites.
MascaraSnake is offline   Reply With Quote
Old 02-18-2015   #20
"Lat'"
AAAAAAAAAAAAAAAAAAA
 
"Lat'"'s Avatar
Default

Well I actually have some scripts around there, so it should be allowed if it comes down to submissions one day.
__________________
Quote:
Originally Posted by Bronydude2k5 View Post
If you make me a Sash Lilac wad, I'll make you a sonic sprite hack of any choice.
"Lat'" 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 11:14 AM.


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