Stealth-Cancelled

A forum where you can announce your awesome project(s).

Moderator: MaxCoderz Staff

User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

Well you could prompt the user if they are using a 83+ and if so you can add this inside the engine:

Code: Select all

Output(1,1,"0=YES 1=NO
Input "THIS A 83+?",G
That is something you could do, but their are other ways (at any point of the program, like the first one, which would only be ran once).
Then in the code to slow it down do this:

Code: Select all

rand(5G
Simple eh? If they say it isn't a 83+, then it would do "rand(5" and if not, it would "rand(0" which is almost nothing.

Sounds great about the first boss, I think the last two sound cool ^^.
katmaster
Sir Posts-A-Lot
Posts: 252
Joined: Tue 09 Aug, 2005 9:34 pm
Location: south of the north pole
Contact:

Post by katmaster »

Yeah totally. I'll take number 3.
cheese=yum
Image
Floodkiller
Sir Posts-A-Lot
Posts: 245
Joined: Mon 14 Nov, 2005 9:47 pm
Location: Getting overwhelmed by everything
Contact:

Post by Floodkiller »

ok, beta tester bosses have been picked, and i will upload boss 1 (and possibly boss 2, if i finish it) onto my comp tomorrow for transfer.

In other news, progress is fine as usual. Trying to see if i can find my example code for the mgs torture boss so I can have an easier time coding it in. other than that, nothing really new
Main Projects:
Zombie Attack: 20%

Side Projects:
???-25%

Image

Staff member of Hikaru Rakuen Programming.
Floodkiller
Sir Posts-A-Lot
Posts: 245
Joined: Mon 14 Nov, 2005 9:47 pm
Location: Getting overwhelmed by everything
Contact:

Post by Floodkiller »

April 6

Feeling: bored -_-
Listening to: The teacher lecturing

Lol, I always wanted to say something like that. ok heres the news flash:

After school, im going to modify and send off boss 1 to compwiz. by tomorrow (if something dont get complicated in the programming) i should have boss 2 ready to send to kalan.

also, psycho mantis conversation before the fight is the real reason people loved him in mgs, so i gotta construct a script making fun of everything he does. plus, im going to include something that will make people tear their brains out with in order to get the boss to work (purposly, for once). Many may get flustrated, but only the fans of mgs will eventually figure out what to do :).
or you can cheat and look in the readme :(

other than that, i dont really know what else is new with the program. oh yea; kalan, with your slowdown procedure, im kinda too lazy, to admit, to enter that all back into the 84 version. yes, it will make the program smaller, but so far i havent reached a point where memory is the problem.
except if you havent paid attention to my readme which tells you specifically to only have one mission at a time, and everything else archived. in other words, what im saying is that ill keep things inneficient and understandable for me to work with on the 84, then ill switch it over to your style and learn exactly what everything means for the 83 so i can switch over from scratch on there.

that or i could learn assembly after the 84 basic version and just learn to make a better version of stealth for both calcs, plus have more knowledge so i can program assembly after that too.
Main Projects:
Zombie Attack: 20%

Side Projects:
???-25%

Image

Staff member of Hikaru Rakuen Programming.
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

Well lets get some basics down in basic first :P, don't want to get you overwelmed in Asm hehe.
Edit: Yeah I think I know what you are saying about boss 3 :P...
Floodkiller
Sir Posts-A-Lot
Posts: 245
Joined: Mon 14 Nov, 2005 9:47 pm
Location: Getting overwhelmed by everything
Contact:

Post by Floodkiller »

Boss 1 is out, and Boss 2 should be ready when I program in the actual interactive part of the boss (been working on the triggers and such)

I suck at setting deadlines
Main Projects:
Zombie Attack: 20%

Side Projects:
???-25%

Image

Staff member of Hikaru Rakuen Programming.
Floodkiller
Sir Posts-A-Lot
Posts: 245
Joined: Mon 14 Nov, 2005 9:47 pm
Location: Getting overwhelmed by everything
Contact:

Post by Floodkiller »

Two problems, one bigger than the other

Small Problem: Compwiz, the modified version i sent you got programmed in a way that it will loop forever, dont worry about it as a bug. Thats what you get for programming something at 9:50 at night

Big Problem: kalan, boss 2 has got a major bug. The variable that keeps track of the time for the torturing doesnt realize that it is supposed to stop at 0, even though i have a command set in place for it to stop. Thus, it continues into the negative times, but you wont take damage from shocks anymore after it goes into the negatives.

If you could, try to help from this information, but if it helps more, i could just send you this broken version of the program, in which you can then look at the coding and tell me what i did wrong.

Edit: I double post too much *slaps self*

Edit Edit: Anyone else who might know how to fix the time problem, please tell me.
Main Projects:
Zombie Attack: 20%

Side Projects:
???-25%

Image

Staff member of Hikaru Rakuen Programming.
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

Could you post the way you have the var counting down and how you test for it being 0 or less than?
Floodkiller
Sir Posts-A-Lot
Posts: 245
Joined: Mon 14 Nov, 2005 9:47 pm
Location: Getting overwhelmed by everything
Contact:

Post by Floodkiller »

sure: (R=problem variable, D=Trigger for next text in sequence)

Code: Select all

:While 1
:R-1->R
:Output stuff
:getKey stuff
:If R<=0:Then
:D+1->D
:prgmSBOSS2
:End
:Steve Dies stuff
:End
im kinda rushing this cause i gotta go away for the entire weekend away from the computer in a bit :(
Main Projects:
Zombie Attack: 20%

Side Projects:
???-25%

Image

Staff member of Hikaru Rakuen Programming.
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

Well, unless you change R within the program it should work. Just do this:

Code: Select all

:Repeat R
:R-1->R
:Output stuff
:getKey stuff
:End
:D+1->D
:prgmSBOSS2
:Steve dies w/e
User avatar
NanoWar
Extreme Poster
Posts: 365
Joined: Fri 17 Dec, 2004 6:39 pm
Location: #$&"%§!
Contact:

Post by NanoWar »

Wouldn't the "not(" instruction come in handy here?

Code: Select all

:Repeat not(R
is the same as

Code: Select all

:Repeat R=0
but faster.
Revolution Software
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

NanoWar wrote:Wouldn't the "not(" instruction come in handy here?

Code: Select all

:Repeat not(R
is the same as

Code: Select all

:Repeat R=0
but faster.
I put Repeat R, but I meant While R. While loops are faster (some people at UTI say), and R is <R=0 or not(R. But you are right with not(R being faster/smaller.
katmaster
Sir Posts-A-Lot
Posts: 252
Joined: Tue 09 Aug, 2005 9:34 pm
Location: south of the north pole
Contact:

Post by katmaster »

Is there a difference between While and Repeat?
cheese=yum
Image
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

While does the loop until it isn't true, and Repeat loops until the statement is true. Also While loops are faster (some people at UTI say)..
Floodkiller
Sir Posts-A-Lot
Posts: 245
Joined: Mon 14 Nov, 2005 9:47 pm
Location: Getting overwhelmed by everything
Contact:

Post by Floodkiller »

Well, the time works now, but now it created another problem:

Steve wont die.

If I put the coding inside the loop, it ignores the variable amount like it did with the time variable, and if I put it outside the loop, steve cannot die inside the minigame part, but yet will mysteriously die after it

Any help with this?
Main Projects:
Zombie Attack: 20%

Side Projects:
???-25%

Image

Staff member of Hikaru Rakuen Programming.
Post Reply