0
Paranoiaprison
Started by Sean, Jan 02 2006 01:49 PM
79 replies to this topic
#17
Posted 05 January 2006 - 07:00 PM
Todays Update:
Learnt some basic scripting, I've picked up a lot today and although this script is primitive and doesn't demonstrate what I've learnt it's all I need.
I'll finish it up by adding approiate sounds and graphics tommorow, then a select few will have this version sent out to them by sunday. After I've added the 2nd Puzzle. If you'd be interested in testing, lemme know.
- Sean
Learnt some basic scripting, I've picked up a lot today and although this script is primitive and doesn't demonstrate what I've learnt it's all I need.
Script said:
PlayMusic(1);
Wait(80);
DisplayMessage(19);
DisplayMessage(20);
FadeOut(30);
Wait(10);
FadeIn(10);
FadeOut(30);
Wait(10);
FadeIn(10);
FadeOut(30);
Wait(10);
FadeIn(10);
FadeOut(30);
Wait(10);
FadeIn(10);
FadeOut(30);
Wait(10);
FadeIn(10);
character[PLAYER1].Think("The lights, they're flickering.");
FadeOut(30);
Wait(80);
FadeIn(10);
character[PLAYER1].Think("The door. It's open... what the?");
FadeOut(30);
Wait(10);
FadeIn(10);
Display ("Hello?");
Wait(10);
FadeIn(10);
FadeOut(30);
Wait(10);
FadeIn(10);
FadeOut(30);
Wait(10);
FadeIn(10);
FadeOut(30);
Display ("Is anybody there?");
FadeOut(30);
Wait(10);
FadeIn(10);
Display ("I can't hear anything.");
Wait(120);
StopMusic();
Wait(80);
DisplayMessage(19);
DisplayMessage(20);
FadeOut(30);
Wait(10);
FadeIn(10);
FadeOut(30);
Wait(10);
FadeIn(10);
FadeOut(30);
Wait(10);
FadeIn(10);
FadeOut(30);
Wait(10);
FadeIn(10);
FadeOut(30);
Wait(10);
FadeIn(10);
character[PLAYER1].Think("The lights, they're flickering.");
FadeOut(30);
Wait(80);
FadeIn(10);
character[PLAYER1].Think("The door. It's open... what the?");
FadeOut(30);
Wait(10);
FadeIn(10);
Display ("Hello?");
Wait(10);
FadeIn(10);
FadeOut(30);
Wait(10);
FadeIn(10);
FadeOut(30);
Wait(10);
FadeIn(10);
FadeOut(30);
Display ("Is anybody there?");
FadeOut(30);
Wait(10);
FadeIn(10);
Display ("I can't hear anything.");
Wait(120);
StopMusic();
I'll finish it up by adding approiate sounds and graphics tommorow, then a select few will have this version sent out to them by sunday. After I've added the 2nd Puzzle. If you'd be interested in testing, lemme know.
- Sean
Me>You
#18
Posted 05 January 2006 - 07:09 PM
I'll let you go on by yourself, but you need to learn how to loop certain parts of scripting, it'll make it much easier.
(I used AGS for a few years).
If you don't mind doing it that way, it's fine, and what you've got will work quite nicely, but there's a way to do it faster.
P.S. - ME WANT TEST
(I used AGS for a few years).
If you don't mind doing it that way, it's fine, and what you've got will work quite nicely, but there's a way to do it faster.
P.S. - ME WANT TEST
Knight of the PICKLEWAESEL order!!1!21
Best Topics Ever: Aywanez Splenda Women PICKLEWESSEL Signs OMG
#20
Posted 06 January 2006 - 12:38 AM
that scripting reminds me of back in the day of spaghetti coding, only sans the line numbers.
..<[[[Tofu Ninja of the Pickasldawessle Order]]]>..
doodoodoo!!!
QUOTE (Tai - in response to DD on how people who fear change are like cats)
you mean the "you moved my litterbox, so I'm going to pee in your clothes hamper" attitude?
Yes, I just quoted myself. ph34r my T4i-F00!!. doodoodoo!!!
#24
Posted 06 January 2006 - 03:56 PM
I'll look into 'looping' parts of script but I'm not planning on keeping the fade sequence anyway. I'm planning on activating an animated background instead You could always teach me how to loop stuff ya know
I still need to make the second puzzle and add some ambient noises but I reckon I should have something worth running through by sunday. I think I might add quite a few puzzles before the next 'test' though, I'm not sure
I still need to make the second puzzle and add some ambient noises but I reckon I should have something worth running through by sunday. I think I might add quite a few puzzles before the next 'test' though, I'm not sure
Me>You
#25
Posted 06 January 2006 - 07:24 PM
I optimized the code a little and added the room transition.
I've done a few bits and bobs to do but I'm not in a very work heavy mood, the next stage requires quite a bit of work.. the blood'll be a pain
If anybody could help me with sounds I'd be greatful. Archives and converters would be cool.
Thanks!
Optimized Script said:
PlayMusic(1);
Wait(80);
DisplayMessage(19);
DisplayMessage(20);
FadeOut(30);
Wait(200);
character[PLAYER1].ChangeRoom(7);
FadeIn(10);
character[PLAYER1].Think("The lights have come back on. ");
character[PLAYER1].Think("The gate is opening!");
StopMusic();
Wait(80);
DisplayMessage(19);
DisplayMessage(20);
FadeOut(30);
Wait(200);
character[PLAYER1].ChangeRoom(7);
FadeIn(10);
character[PLAYER1].Think("The lights have come back on. ");
character[PLAYER1].Think("The gate is opening!");
StopMusic();
I've done a few bits and bobs to do but I'm not in a very work heavy mood, the next stage requires quite a bit of work.. the blood'll be a pain
If anybody could help me with sounds I'd be greatful. Archives and converters would be cool.
Thanks!
Me>You
#26
Posted 06 January 2006 - 08:59 PM
Blood-Pigggy, on Jan 6 2006, 01:47 PM, said:
What I love about AGS scripting is how simple it is, the commands are understandable and they make sense.
In C++ for example, what does std:cout mean anyway?
In C++ for example, what does std:cout mean anyway?
#27
Posted 08 January 2006 - 08:15 AM
Yeah, hang on Sean. I just installed AGS, and the prison guy should come alog today or tomorrow. Do you want entire walkng aimations? Or just a straight sprite?
Heh, it took me a while to change this...
Credit goes to TheVoid for creating my wonderful avatar/personal pic.
Credit goes to TheVoid for creating my wonderful avatar/personal pic.
#28
Posted 08 January 2006 - 01:16 PM
Entire walking animations, if that's not too much to ask.
Also
Mini-Update: I've now got a concrete 'design-plan' to follow. I've written down in chronological order all that is going to happen, now I just need to implement it and think of some puzzles to add along the way.
Also
Mini-Update: I've now got a concrete 'design-plan' to follow. I've written down in chronological order all that is going to happen, now I just need to implement it and think of some puzzles to add along the way.
Me>You
#30
Posted 08 January 2006 - 03:09 PM
Yes, it is.
Might actually be completed sooner than I originally thought, won't get ahead of myself though. I don't really mind how long it takes aslong as a few people like it when it's finished. Also, I should welcome Bobbin to the team. He's hard at work on the character model.
Might actually be completed sooner than I originally thought, won't get ahead of myself though. I don't really mind how long it takes aslong as a few people like it when it's finished. Also, I should welcome Bobbin to the team. He's hard at work on the character model.
Me>You