Board index » Present Evidence » Games

Page 74 of 131[ 5218 posts ]
Go to page Previous  1 ... 71, 72, 73, 74, 75, 76, 77 ... 131  Next
 


Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-Topic%20Title
User avatar

That was objectionable!

Gender: Male

Rank: Decisive Witness

Joined: Wed Sep 10, 2008 10:01 pm

Posts: 176

Guest wrote:
euuh, i got AIGE, these maps:
auto
examples
log
profiles
PW
Pwlib
PWSE 0.2-1
PyWright
save
script
sounds
--------------------------------
i got Phoenix wirght Ace attorney RAR/ZIP file.

AND STILL AIGE doesnt work!


I can't believe nobody saw that! What the hell are the PWSE 0.2-1 and PyWright folders doing in there?!

KSA: That sounds like an excellent idea. Myself and others won't have to worry about making sure their texture ID hasn't already been used.
Image<--- Friend me!
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

I noticed, but it doesn't explain much of the problem.

Some of the folders are strange, yes.

PWSE 0.2-1 <<what is this??
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

News:

- (AIGE) Added (internal) microphone input volume detection. It is under tests but detect sound volume accordingly.
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

Mr. Ygrrjfjdosowhatever

Gender: Male

Location: The United States of America

Rank: Prosecutor

Joined: Sun Jan 04, 2009 8:11 pm

Posts: 609

Image(Hm... Where could he be going with this?)
:objection:
:object: The witness is planning to add microphone input to PWLib, Your Honor!
:udgy: Really? What makes you say that?
:object: Just look at the witness's statement, Your Honor.
KSA_Tech wrote:
- (AIGE) Added (internal) microphone input volume detection. It is under tests but detect sound volume accordingly.
:udgy: I'm sorry, Mr. Wright, but there is no evidence to support your far-fetched conjectures. Penalty!
:nick-sweat: (Ugh... I must be on the wrong track?)
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

News

- (AIGE) AIGE is now able to detect the volume of sound present on the microphone. Pending AHLSL exposure of the functionality, but the core is working perfectly.

-----------------------------------------
Tomorrow as I wake up I'll do the AHLSL part, as well insert the functionality to PWLib 1.2. There's no way to demonstrate it by screenshots, but the functionality is there.

@Yggdrasil
It seems my credibility is pretty low then, huh?
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

PWLib / AIGE developer

Gender: Male

Location: 127.0.0.1

Rank: Prosecutor

Joined: Tue May 01, 2007 9:27 pm

Posts: 649

KSA_Tech wrote:
Example of the 1.2 Shunku-less question (based on PWLib In A Nutshell code):
//Updated

[questionexample]
messageauto("But, what was Trucy's \nlast name again?");
setvar([pw_maxquestions],4);
setvar([pw_q1gfx],91000);
setvar([pw_q2gfx],91010);
setvar([pw_q3gfx],91020);
setvar([pw_q4gfx],91030);
runscript("pw_processquestionanswer");
if(<compare([pw_questionanswer],"equal",3)>,<jumptoscript("questionexample")>,<jumptoscript("questionexample")>);
Nimbus wrote:
Wow, that code seem much more user-friendly than it was.
That's because it's practically my code. It's even easier if KSA would have copied the thing from Case 1.1. Here is a re-worked version for you all.
Code:
[game]
definevar([pw_qresponse],"int"); // You can ignore this.
definevar([pw_choicesfx],"string"); // This is what your "choice" sound's name is.
definevar([pw_answer],"string"); // This is the script you want it to jump to.
setvar([pw_choicesfx],"sfx-selectblip2.wav"); // This is the default.

[pw_doquestion]
setvar([pw_q1gfx],30500);
setvar([pw_q2gfx],30501);
setvar([pw_q3gfx],30502);
setvar([pw_q4gfx],30503);
runscript("hidepwmenu");
runscript("pw_setupquestions");
runscript("pw_showquestion");
waitsignal("qreply",[pw_qresponse]);
definevar([blink],"string");
setvar([blink],"pw_qreply");
appendtostring([blink],[pw_qresponse]);
loadandplaysfx([pw_choicesfx],0);
placeblink([blink],"button",20,3,0);
wait(20);
runscript("pw_hideselectananswer");
runscript("hidepwmenu");
runscript("pw_showadvarrowmenu");
appendtostring([pw_answer],[pw_qresponse]);
runscript("pw_hideselectananswer");
runscript([pw_answer]);
Choosing my version of this allows you to make various responses to what they choose, rather than having a "That's right" or "That's wrong!". and it merely takes two CVARs to prepare. Below is a demonstration of how to work it.
Code:
[game]
runscript("pw_showattorneystand");
runscript("pw_setnameboxtophoenix");
runscript("pw_enablephoenixthinking");
message("Yes, Your Honor?\nYou had a question for me?");
runscript("case1_question1"); // Execute our question! we'll continue below after they have got the question right!
runscript("pw_showattorneystand");
runscript("pw_setnameboxtophoenix");
runscript("pw_enablephoenixthinking");
runscript("pw_bluemessagebox");
message("(Whew.. I'm glad I knew the answer\nto that one!");
quit();

[case1_question1]
runscript("pw_enablejudgemad"); // This is our character
runscript("pw_setnameboxtojudge"); // Characters namebox
runscript("setlipsynctochar"); // Set lip-sync to our character. (incase it was unsync'd at some point)
runscript("pw_showmessagebox"); // Show the messagebox (incase it was hidden at some point)
messageauto("Please state the name of\n$c{colorpworange}the defendant$c{colorpwwhite} in this case."); // This is his speech. It's auto so it'll go straight into the question once he's finished speaking.
setvar([pw_maxquestions],4); // We have four possible choices
replacetexture(30500,"choice1-1.png"); // we replace
replacetexture(30501,"choice2-1.png"); // the graphics of the
replacetexture(30502,"choice3-1.png"); // answers accordingly to
replacetexture(30503,"choice4-1.png"); // what we want them to be
setvar([pw_answer],"case1_q1a"); // So in this instance, we will jump to case1_q1aX where X is the choice.
runscript("pw_doquestion"); // run our pretty answer script above.

[case1_q1a1]
runscript("pw_enablejudgeshake");
message("I am sorry, Mr. Wright. That is the wrong choice.\nTry Again.");
runscript("case1_question1");

[case1_q1a2]
runscript("case1_q1a1"); // We decide we don't want different "no" for this one, so we can use the first.

[case1_q1a3]
runscript("pw_enablejudgeshock");
messageauto("I am not the defendant!");
runscript("pw_enablejudgemad");
messageappend("\nTry Again.");
runscript("case1_question1");

[case1_q1a4]
runscript("pw_enablejudgenod");
message("That is correct."); // Because we've been using runscript, it will now go back to where we started this.


YggdrasilsSword wrote:
:nick-sweat: (Ugh... I must be on the wrong track?)
I dunno, I chuckled seeing that. It was refreshing.
If you put your mind to it, you can accomplish anything!
"(Not)Guilty" for PWLib | Emergency Case Selection Fixes
Case 1-1 for PWLib | Pearl


Last edited by DDRKhat on Thu Jan 29, 2009 8:26 am, edited 1 time in total.
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title

Forever New Frontiers

Gender: None specified

Rank: Suspect

Joined: Sun Nov 30, 2008 4:33 am

Posts: 34

@KSA: I meant new characters as in not existing characters (ex. Kristoph Gavin whom I believe is not coded for), but regardless, from you answer, I'm assuming there's no code change in custom characters from 1.1 to 1.2.

Also, any chance of a in-engine generation of the 1.2 Shunku-less question, instead of pointing to a gfx? I would assume it would just involve a default blank gfx of the box (or maybe define it in code) with the font that's used, along with a variable. It would save some time (although minimal, would love it if this was applied to the case selection screen as well, but modifying images to include text is easy enough as it is.). Also, can someone tell me what font/color/opacity the nameboxes/question text are in so I can edit new names into the image to look like the others?

@DDR: I read your reply on the variables, although I haven't implemented it yet. When implemented though, will it clear the messagebox automatically, or do you have to hide it before running endcase? (cause currently the messagebox stays with me after running endcase, and a black screen shows up instead of the court selection screen's default background, says some image file is missing though so that might be the reason.)
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

PWLib / AIGE developer

Gender: Male

Location: 127.0.0.1

Rank: Prosecutor

Joined: Tue May 01, 2007 9:27 pm

Posts: 649

noian wrote:
@DDR: I read your reply on the variables, although I haven't implemented it yet. When implemented though, will it clear the messagebox automatically, or do you have to hide it before running endcase? (cause currently the messagebox stays with me after running endcase, and a black screen shows up instead of the court selection screen's default background, says some image file is missing though so that might be the reason.)
Maybe this will help, it is from case 1-1.
Code:
[case1_monologue3]
runscript("pw_setnameboxtophoenix");
runscript("setlipsynctonoone");
runscript("pw_showmessagebox");
message("And so, my first\ntrial came to a close.");
message("Larry slapped me on the back\nand said, \"Gee, Nick, it's good\nto have friends!\"");
messageauto("But I'm pretty sure he's not\ngoing to pay me, ");
wait(10);
messageappend("unless you\ncount the clock he gave Mia.");
message("...");
stopmp3(0);
message("I didn't know it then...");
message("but that clock was soon\ngoing to be at the center\nof another incident.");
message("And my promise to tell the\nchief about me and Larry...");
message("would be one promise that\nI wouldn't be able to keep.");
runscript("pw_hidemessagebox");
setbg(30529); // This is a texture with "The End" on it.
setbgsizefromtexture();
placefade("pw_bg","bg",50,"I");
wait(200);
placefade("pw_bg","bg",100,"O");
wait(100);
runscript("pw_hidemessagebox");
runscript("hidepwmenu");
setgenobjsize("aige_fadescreen","genobj",256,384);
runscript("pw_endcase");


Originally it would fade the screen and hide the messagebox but I came across the thought that different users may wish to end it in different fashions, so I left it so that users could end their case in the way they wanted to.
If you put your mind to it, you can accomplish anything!
"(Not)Guilty" for PWLib | Emergency Case Selection Fixes
Case 1-1 for PWLib | Pearl
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

@DDRKhat
No, it isn't your code. I should have looked on Case 1-1 earlier for it. Just in case, here it is:

Code:
[pw_processquestionanswer]
runscript("pw_showselectananswer");
runscript("hidepwmenu");
runscript("pw_setupquestions");
runscript("pw_showquestion");
runscript("pw_processquestionanswerex");
runscript("pw_showadvarrowmenu");

[pw_processquestionanswerex]
definevar([qreplyname],"string"); 
waitsignal("qreply",[pw_questionanswer]);
runscript("pw_hideselectananswer");
//kill al others, but show the one the user clicked!
disablebutton("pw_qreply1");
disablebutton("pw_qreply2");
disablebutton("pw_qreply3");
disablebutton("pw_qreply4");
setvar([qreplyname],"pw_qreply");
appendtostring([qreplyname],[pw_questionanswer]);
enablebutton([qreplyname]);
loadandplaysfx("sfx-selectblip2.wav",0);
placeblink("button",[qreplyname],20,3,0);
wait(21);
placeflip("button",[qreplyname],40,1,-90,0);
wait(11);
runscript("pw_hidequestionex");

[pw_hidequestionex]
runscript("pw_hidecourtrecordbtn");
wait(9);
disablebutton("pw_qreply1");
disablebutton("pw_qreply2");
disablebutton("pw_qreply3");
disablebutton("pw_qreply4");
wait(10);
hidegenobj("pw_scanlines");
hidegenobj("pw_frame");
hidegenobj("pw_eviback");
runscript("pw_allowsaving");


---------------------------------------
@noian
There are some changes, but nothing that renders 1.1 and earlier coded characters incompatible.
The changes are:
- the character object name is defined from a variable instead of the "pwchar". The variable is defaulted to "pwchar".
- the addition of the unload function for the gfx that destroys all textures used by the character. The unload function is also called after all animations are created.

Even so, those changes aren't needed for a character to work on 1.2, but are recommended to make full use of the new features.

About the in-engine generation of questions: I think I can do that easily as buttons do support a text title (I never mentioned this earlier).

I don't remember the font name exactly now. The color can be obtained with the color picker tool of any image editing software. If someone can get those information for me, I'll be thankful.
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

News

- (AIGE) Added Microphone Detection Threshold, allowing to define commands that can be triggered if a loud enough sound is produced on a valid system mic (the threshold is definable by the developer).
- (AIGE) Finished implementation of the Microphone Detection System. Now the developer will be able to run commands based on how loud the sound is input-ed on a mic.

-----------------------
Create the "Objectioner!" demonstration script that shows "Objection!" if the sound input-ed on a mic is loud enough.
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title

i will look whats in it...

in the PWSE 0.2-1 map is alot of things...
maps: Cairo
encodings
etc
gobject
gtk
lib
share
----------------------------------------
And alot of files.
In tehse maps are maps o and there in files, hard to tell because it are lots XD
==============================================================
:edgeworth: Your honor, Its True!
:udgy: Ugly Edgeworth, any proof?
:edgeworth: YES! Look at his last post.
:wtf: :udgy: Youre mistaking Edgeworth!
:edgy: How the hell you know that?
:udgy: im the Judge, im smartest of this toko!
:gotcha: :edgeworth: I dpmt care, i am...
:udgy: well then, i would say Miles Edgeworth is:
:guilty: For Saying about the last post!

:edgeworth: NOOOOOOOOOOOOOOOOOOOO! but look! Look that forum!
:udgy: i dotn have a computer, well see ya!
===============================================================
That was a Little cartoon, i think im gonna make by every post 1 :S MAYBE!
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

for PWLib, you won't need the PWSE and the PyWright folders. Delete them.

Now, explain what the problem is:

- Are you trying to run a DS pw game with PWLib?
- If you open PWLib (AIGE.exe), does it give any kind of error?
- Something else?
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

Some comments about the Integration Languages (Suigintou and Kirakishou):

Suigintou is AAO's Integration Language and is waiting for AAO v4 to begin development. It was approved by Unas.
Kirakishou is PyWright's Integration Language ans is waiting for saluk's interest on begin development. It was approved by saluk.

-------------------------------------------------------
Currently the only language that may ship with PWLib 1.2 is Shinku, but it won't really be necessary to develop a game. The developer will chose to use it or not.

The Mic system is under testing for any kind of problem it might arise, such as locking AIGE due to infinite loop or something. As of now, it is pretty stable, allowing its integration to 1.2.
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

That was objectionable!

Gender: Male

Rank: Decisive Witness

Joined: Wed Sep 10, 2008 10:01 pm

Posts: 176

KSA_Tech wrote:
I don't remember the font name exactly now. The color can be obtained with the color picker tool of any image editing software. If someone can get those information for me, I'll be thankful.


You mean the color of the text on the response buttons? RGB is 156,99,66
Image<--- Friend me!
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

Mr. Ygrrjfjdosowhatever

Gender: Male

Location: The United States of America

Rank: Prosecutor

Joined: Sun Jan 04, 2009 8:11 pm

Posts: 609

Another thing you might want to add to PWLib is reverse speed lines, for prosecutors.
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title

Gender: None specified

Rank: Prosecutor

Joined: Fri Sep 05, 2008 9:18 pm

Posts: 821

You can flip graphics.

Quote:
waiting for saluk's interest on begin development

What does that mean?

linkq: Folders. Not maps. Folders.
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

Mr. Ygrrjfjdosowhatever

Gender: Male

Location: The United States of America

Rank: Prosecutor

Joined: Sun Jan 04, 2009 8:11 pm

Posts: 609

:ack: Oh, right.
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

@YggdrasilsSword
To make the speedlines for prosecutors, you can swap the object textures references with this command:

swapobjecttexturecoordinates("bg","bg","X");

To change back to normal, change X to NONE (or anything different from X or Y).

I might do a function to call the speedlines for each side accordingly (making it easier for developers).

@MrCheeze
I did talk to saluk a long while ago about Kirakishou. He accepted, but said to wait something on pywright to be finished first before starting. So I depend on him to get it started.
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

Mr. Ygrrjfjdosowhatever

Gender: Male

Location: The United States of America

Rank: Prosecutor

Joined: Sun Jan 04, 2009 8:11 pm

Posts: 609

KSA_Tech wrote:
@YggdrasilsSword
To make the speedlines for prosecutors, you can swap the object textures references with this command:

swapobjecttexturecoordinates("bg","bg","X");

To change back to normal, change X to NONE (or anything different from X or Y).

I might do a function to call the speedlines for each side accordingly (making it easier for developers).

I had already figured it out, but thanks.
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

Someone else might need it anyway.

And here is something for you, YggdrasilsSword:

Image
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

Gender: Male

Rank: Prosecutor

Joined: Thu Mar 06, 2008 8:36 pm

Posts: 770

Yeah, there are a few PyWright features in beta 11 that might be hard to handle, but more than that I just wasn't sure how much of the PyWright commands would be changing so I didn't want KSA to write the interpreter and then find out all of the commands changed and it has to be rewritten. Currently it is looking like the commands will be 99% compatible, but it's probably still safest to wait until there is a stable version of PyWright to base it on. Plus I don't have time to help out at this time. So, yeah.
Creator of PyWright, the lovable case construction system!
Also visit the PyWright post.
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

There won't be any feature on PyWright that AHLSL won't be able to handle, so it will be fine. In case some extra support is needed, I'll just add it in a more generic way to support. Events for example in AHLSL aren't centralized over a single mode, so it may sound like certain things might not add.
Since it's named "Integration", it is supposed to support everything. And I'll make sure it will.

So be cool, Kirakishou can wait longer (so it will be better been based on a solid release of PyWright).
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

I'll be working on a credits roll for PWLib, adding everyone that helped with the project (there is a list on the PWLib page, but I decided to do this for the Mio Demonstration Game).
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title

Forever New Frontiers

Gender: None specified

Rank: Suspect

Joined: Sun Nov 30, 2008 4:33 am

Posts: 34

Quick question:
Is there a way for the flash command to only affect the "top" screen? (or is that what the blink command is?)

Also, while liberally using the search feature to figure out the variable name for the menu logo (found it), I noticed that the case1 sample uses runscript instead of jumptoscript for pw_endcase, is there any reason why one should use runscript instead of jumptoscript there?
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

PWLib / AIGE developer

Gender: Male

Location: 127.0.0.1

Rank: Prosecutor

Joined: Tue May 01, 2007 9:27 pm

Posts: 649

noian wrote:
Quick question:
Is there a way for the flash command to only affect the "top" screen? (or is that what the blink command is?)

Also, while liberally using the search feature to figure out the variable name for the menu logo (found it), I noticed that the case1 sample uses runscript instead of jumptoscript for pw_endcase, is there any reason why one should use runscript instead of jumptoscript there?
Not really, I would suppose that jumptoscript("pw_endcase"); would probably be safer, but the way the case selection screen handles itself, theres no chance it'll loop back into the case anyway so either is ok.

as for flashing only the top-screen, that should be fixed (along with fading on top-screen) in 1.2. So, for now, put up with it flashing the entire screen (Unless I solved it in 1-1 ? I don't believe I did?)
If you put your mind to it, you can accomplish anything!
"(Not)Guilty" for PWLib | Emergency Case Selection Fixes
Case 1-1 for PWLib | Pearl
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

Hmmm, I think the flash did work on 1.1 as it meant to (I need to look, since I'm not sure).

The problem with Fade was mainly because I forgot to register the fader object inside the list of generic objects (thus you couldn't find it when you needed).

Edit: the more complex an engine is, there is a tendency of forgetting certain things. Also AIGE originally was meant to be a "one screen graphic novel engine", so even if the fader object wasn't "register-able", it wasn't going to make much of a difference (since by default the fader is set to be the size of the screen). PWLib changed it all in the end (witch is a good thing).

Edit: the flash suffers the same problem as the fade had, but it was fixed on 1.2, so it won't be a problem.
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title

Forever New Frontiers

Gender: None specified

Rank: Suspect

Joined: Sun Nov 30, 2008 4:33 am

Posts: 34

Are the two bottons on the case selection screen on the bottom supposed to be slightly higher than the bottom of the screen, yet register mouse clicks below the button?

Also, how would one do a opposite of this?:

setgenobjsize("aige_fadescreen","genobj",256,384);

Lastly, for some reason, after endingcase, the intro I'm working on if restarted (select same case) doesn't show any backgrounds until the first location (only after endcase though). ???

Thanks.
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title

Umm, his name of the Judge??

I got a funny name:
Bob Billy Blunt.


-----------------------------------------
:phoenix: new cartoon again <3
:udgy: i got a bro.
:phoenix: cool.
:karma: that sucks!
:udgy: i got a sister.
:karma: want to marry me?
:phoenix: ----> |____| = NO!
:grey: what wss that monuculair frunaq dumblin gtalk?
:phoenix: what?
:udgy: omg!
:grey: ...never mind.
:phoenix: :lol:
----------------------------------------------
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title

im gonna try it again, and i hope it will work now..
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title

goddamn!
it sitll dotn works!

I got unzipped/unrarred the GFX, and the ,,Case'' thinie, just i downloafded what i got to download and un(rarred)zipped it all, and NOO!
i will get a window again, and that says that it doent work.

WHY THE HLL?!
I did a hour again for this all!!
:edgeworth: :edgeworth: :edgeworth: :edgeworth: :edgeworth: :edgeworth: :edgeworth: :edgeworth: :edgeworth: :edgeworth: TEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEELLLLLLL!!!
THAT HELL THING BRIGN ME CRAZY!
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

I hate Klaviema >_>

Gender: Male

Location: UK

Rank: Ace Attorney

Joined: Sat Aug 16, 2008 4:17 pm

Posts: 1938

I get the feeling you have no idea what the hell you're doing -_-

Put the game in the Auto folder of PWlib. What game are you trying to run?
ImageImage
ImageImage
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

@noian

DDRKhat did it, so direct your questions about the case selection to him. I noticed the higher buttons, but if I recall he said it was fine in his computer.

And opposite of this? setgenobjsize("aige_fadescreen","genobj",256,384); What do you mean?
Also if you try to work with this object, you will get "object not found" on the log due to the bug I mentioned earlier.

@Guest

PWLib doesn't say it doesn't work. I think I know what you mean: you expect an editor to pop up once you run aige.exe, but there isn't an editor for PWLib.

Also if an ERROR appears, put EXACLTY what the error window says. That makes easier to give any kind of help on how to fix it (or why it is happening!).
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title

Forever New Frontiers

Gender: None specified

Rank: Suspect

Joined: Sun Nov 30, 2008 4:33 am

Posts: 34

Another quick question:
Is there a way to center text in the messages instead of having to type in spaces for the location parts (I checked 1-1 and I couldn't see anything under the first court intro)? The typewrite sound fx sounds for the spaces as well, so it is awkward.
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

@noian

Added recently to AIGE 0.9.800a, so it will be on 1.2 when it's released. As well added Right and Justified Align.

------------------------------------------
News

- (AIGE) Added Multiple Instances configurations to AIGE. Now AIGE can be configured to prevent more then one AIGE.exe to be running, as well define how many instances max to be allowed. (the default will disallow multiple instances).
- (AIGE) Optimized further the Microphone Support, allowing it to be faster and more reliable when detecting the volume.
- (PWLib) Small optimizations.

---------------------------------------
Doing the mic support from zero was really something painful, but I hope that it will be good for those who use it on PWLib 1.2.
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-Topic%20Title
User avatar

They don't :c

Gender: Male

Location: http://www.ezilon.com/maps/images/southamerica/political-map-of-Argentina.gif

Rank: Moderators

Joined: Mon Jan 21, 2008 6:34 pm

Posts: 3188

Guest wrote:
in the PWSE 0.2-1 map is alot of things...


First, map is folder, right?

Second, for everyone's interest, if it hasn't been stated already, PWSE stands for "Phoenix Wright Source Editor", and it's a kinda-abbandoned PW1-3 ROM editor. So, you should be able to add your stuff to the ROM.

Why did you put that folder in the PWLib folder, Guest?
------
Anyway, KSA, how would the microphone support work? I mean, you should have to repeat the sfx you want AIGE to play EXACTLY the same than how it sounds, right? Or you can set "neutral" sounds for "Objection"/"Objection!"/other similitudes like "Ubjicshun/!" (Mia's) as copying-targets. You could use a word-voicing software, or the one built in to Windows XP/Vista. I think it's called "Microsoft Sam" in XP.

NOT-SO-EDIT: Yup, "Microsoft Sam".
Image
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title

Forever New Frontiers

Gender: None specified

Rank: Suspect

Joined: Sun Nov 30, 2008 4:33 am

Posts: 34

yet another quick question:
How do you turn off
runscript("pw_settypewritermsgbox");
???

Thank you.
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

To revert to the "normal method" simply set the namebox of a character. Is that what you want or you want to set it to mute?

For mute, I think I didn't set a function for it (you can still do it):

[pw_setsilentmsgbox]
recfunctionname([pw_nameboxfunc]);
setmsgboxtickersound("null.wav");
setgenobjgraphic("pwnamebox",112);
setgenobjtexturecoordinates("pwnamebox",0,0,50,14);
showgenobj("pwnamebox");

or simply

setmsgboxtickersound("null.wav");

The sound of the text is defined by the: setmsgboxtickersound command. If the sound is invalid, the ticking gets muted.

For the color, run this function: pw_whitemessagebox
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

Gender: Male

Location: Scotland

Rank: Medium-in-training

Joined: Wed Mar 05, 2008 8:48 pm

Posts: 313

umm... how dyu install this thing?
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title
User avatar

AIGE/PWLib Casemaker Developer

Gender: Male

Location: Brazil

Rank: Ace Attorney

Joined: Sun Mar 09, 2008 3:38 am

Posts: 2731

1. Get Core 1.1 and GFX 2.0
2. Depack Core 1.1 to a folder
3. Depack GFX 2.0 to the same folder as Core 1.1 (you will get the PW folder inside)
4. Run AIGE.exe to run. But read the PWLib In A Nutshell to develop a case first.

In case of error:
A. Install MS Visual Studio 2005 SP1 Redistributable (it's small, seach on microsoft site)
B. Get d3dx9_34.dll and put on the same folder as aige.exe.

Any problem? Ask it out!
PWLib 1.2 Under Development

PWLib Casemaker (Version 1.1) at http://forums.court-records.net/viewtopic.php?f=36&t=8788
Re: PWLib Casemaker (Released 1.1 at 14/09/2008 11:24PM GMT-3)Topic%20Title

Forever New Frontiers

Gender: None specified

Rank: Suspect

Joined: Sun Nov 30, 2008 4:33 am

Posts: 34

Another small issue I noticed: the back and examine text are cut off on the examine screen (half version), at least for me.

Also, would this code be correct to fade out a character?
Code:
placefade("pw_char", char, 45, "O");


Lastly, how do you change the background of the lower screen? I don't remember the bottom screen having the court bg for investigations as well.

Thanks.

Edit: While timing the intro, I used the instant command, and for some reason, the messageinstantauto command brings up the arrow icon when it shouldn't......

Edit 2: So I continued timing, and I got a really weird hobophoenix show up, non centered, and not showing all of phoenix...is this my graphics card, or is it because I used the wrong script?
Code:
#include(pwlib/pwlib.hlsl)

//general
//[pw_whitemessagebox]
//[pw_bluemessagebox]
//[pw_greenmessagebox]
//[pw_orangemessagebox]
//setmsgboxtextcolor(ALPHA, RED, GREEN, BLUE);
//FIX ISSUE with reload case.
//FIX ISSUE with center text
//FIX ISSUE with fade only top
//FIX ISSUE with typewriter not runing off.
//1 wait = 1/60 second


//startup

[game]
jumptoscript("setup");

[setup]
runscript("pw_initpwlib");
runscript("pw_initpwbgs");
setvar([pw_titlescript],"run");
setvar([pw_episodepath],"cust/"); //directory for where custom case selection is.case1.png case1bg.png episode1.png
setvar([pw_episodes],2);
runscript("charcreation");
runscript("loadcustom");
runscript("loadevidence");
runscript("loadprofile");
changetitle("Apollo Justice: Ace Apprentice");
loadandplaymp3("ccbg.mp3",0,"N");
jumptoscript("run");

//load

[loadcustom]
loadtexture(70010,"cust/background-ajlogo.png"); //Logo
loadtexture(70000,"cust/arumajikitroupe.png"); //Trio
loadtexture(70001,"cust/justterrifying.png"); //KGavin end
loadtexture(70011,"cust/placeholder.png"); //Blank
loadtexture(70003,"cust/gavinsister.png"); //currently placeholder, file does not exist
loadtexture(70004,"cust/ohnoesshot.png"); //Trio accident pic
loadtexture(70002,"PW/bg/gs4_klavieroffice.png"); //Galvin Bros. Office (to be modified)
[pw_usepwlogo]
setbg(70010);
setvar([pw_currentbackground],70010);
setbgsizefromtexture();
[pw_usegavinoffice]
setbg(70002);
setvar([pw_currentbackground],70002);
setbgsizefromtexture();
[pw_setnameboxtosystem]
setgenobjtexturecoordinates("pwnamebox",0,0,50,14); //placeholder
showgenobj("pwnamebox");
[loadevidence]
loadtexture(80901,"PW/evidence/lawyer badge.png");
loadtexture(80902,"cust/heartkeys.png");
[loadprofile]
loadtexture(90900,"PW/profile/garyuu.png"); //Kristoph
loadtexture(90901,"PW/profile/minuki.png"); //Trucy
loadtexture(90902,"PW/profile/kyouya.png"); //Klavier
[charcreation]
runscript("pw_createema");
runscript("pw_createtrucy");
runscript("pw_createhobophoenix");
[evidenceprofilecreationcase1]
 setvar([evidencenumber],900);
 setvar([evidencegfs],80901);
 setvar([evidencegfl],80901);
 setvar([evidencesup],0);
 setvar([evidencename],"Attorney's Badge");
 setvar([evidencesdesc],"Type: Other\nOne of my possessions.");
 setvar([evidenceldesc],"This is my defense attorney badge.\nI just got the replacement last week.");
 runscript("createevidence");
 setvar([evidencenumber],901);
 setvar([evidencegfs],80902);
 setvar([evidencegfl],80902);
 setvar([evidencesup],0);
 setvar([evidencename],"Klavier's Keychain");
 setvar([evidencesdesc],"Type: Other\nFound in my office.");
 setvar([evidenceldesc],"A string of keys on a heart shaped keychain");
 runscript("createevidence");
  setvar([profilenumber],800);
 setvar([profilegfs],90900);
 setvar([profilegfl],90900);
 setvar([profilename],"Kristoph Gavin");
 setvar([profilesdesc],"Age: 26\nGender: Male\nOccupation: Defense Attorney");
 setvar([profileldesc],"A calm and collected attorney. \nHas a penchant for Ariadoney nail polish.");
 runscript("createprofile");
 setvar([profilenumber],801);
 setvar([profilegfs],90901);
 setvar([profilegfl],90901);
 setvar([profilename],"Trucy Wright");
 setvar([profilesdesc],"Age: 9\nGender: Female");
 setvar([profileldesc],"A energetic carefree girl.");
 runscript("createprofile");
  setvar([profilenumber],802);
 setvar([profilegfs],90902);
 setvar([profilegfl],90902);
 setvar([profilename],"Klavier Gavin");
 setvar([profilesdesc],"Age: 18\nGender: Male\nOccupation: Prosecutor/ \nRock Band Vocalist");
 setvar([profileldesc],"A young prosecutor known for his honesty.\nKlavier is the vocalist of the Gavinners.");
 runscript("createprofile");
 
[pw_giveevidence]
setvar([pw_headeviaddmsg],"");
setvar([pw_taileviaddmsg]," was added\nto the Court Record.");
runscript("pw_startevidenceadd");

//run


[run]
runscript("pw_usepwlogo");
runscript("pw_showmain");
waitresponse();
runscript("pw_hidemain");
jumptoscript("casemenu");

[casemenu]
runscript("pw_caseselect");
waitresponse();

//case1

[begin_case1]
jumptoscript("casestartprepone");

[casestartprepone]
stopmp3(0);
runscript("evidenceprofilecreationcase1");
setvar([evidencenumber],900);
runscript("addevidence");
setvar([profilenumber],800);
runscript("addprofile");
setvar([profilenumber],802);
runscript("addprofile");
jumptoscript("enterscene1_1");

//intro

[enterscene1_1]
setbg(70011);
loadandplaymp3("case1intro.mp3",0,"N");
wait(25);
placeflash(2);
setbg(70004);
runscript("pw_showmessagebox");
runscript("pw_setnameboxtonoone");
setmsgboxtickersound("null.wav");
runscript("setlipsynctonoone");
messageauto("The death of a mother");
wait(283);
placeflash(2);
setbg(70000);
messageappendauto("\n...fallout of a trio");
wait(282);
placeflash(2);
setbg(70003);
messageappendauto("\n...trajedy of a friend.");
wait(99);
setbg(70011);
messageauto("\n.");
wait(50);
messageappendauto(".");
wait(50);
messageappendauto(".");
wait(50);
messageauto("Little did I know that everything \nwould change.");
wait(60);
messageappendauto(".");
wait(30);
messageappendauto(".");
wait(30);
messageappendauto(".");
wait(10);
setbg(70001);
placefade("pw_bg","bg",50,"I");
messageauto("It was he who introduced me to justice.");
wait(100);
placefade("pw_bg","bg",50,"O");
wait(55);
setbg(70011);
runscript("showpwchar");
runscript("pw_enablehobophoenixnormal"); //Phoenix
placefade("pw_char","char",50,"I");
messageauto("...he who destroyed a dream");
wait(240);
runscript("hidepwchar");
messageauto("...he who took justice away.");
wait(180);
placefade("pw_bg","bg",100,"O");
wait(100);
jumptoscript("case1_scene1_b");
[case1_scene1_b]
runscript("pw_usegavinoffice");
placefade("pw_bg","bg",10,"I");
wait(10);
stopmp3(0);
runscript("showpwmenu");
runscript("pw_settypewritermsgbox");
runscript("pw_greenmessagebox");
message("                       May 24, 8:20 AM \n                   Gavin Bros. Law Office");
runscript("pw_hidemessagebox");
runscript("setlipsynctonoone");
wait(15);
runscript("pw_setnameboxtonoone");
//loadandplaysfx(".wav",0); //find the surprised one
//runscript("setlipsynctochar");
//runscript("showpwchar");
//runscript("pw_enablekyouyanormal"); //Klavier
//runscript("pw_setnameboxtokyouya"); //Klavier
runscript("pw_showmessagebox");
runscript("pw_whitemessagebox");
messageauto("Hey!");
wait(5);
message("Oh, it's you.");
message("I didn't expect you to be here this early,\nKristoph.");
//runscript("pw_setnameboxtokristoph"); //Kristoph
//runscript("setlipsynctonoone"); //disable lip-sync
message("Me? You're usually practicing your guitar\nat this time Klavier.");
//runscript("pw_setnameboxtokyouya");
//runscript("setlipsynctochar");
//runscript("pw_enablekyouyalaugh"); //Klavier
messageauto("Ha ha");
//runscript("pw_enablekyouyanormal");
messageappendauto(", true.");
wait(15);
message("Actually, I'm here because I left the key to\nmy guitar case on the desk yesterday \nand I can't find it.");
message("If you're not doing anything, can you help \nme find it?");
//runscript("setlipsynctonoone);
//runscript("pw_setnameboxtokristoph")
runscript("pw_bluemessagebox");
jumptoscript("kyouya_office_force_examine");

[kyouya_office_force_examine]
message("(Hmm...I think I put a key in the evidence \ndrawer yesterday)");
setbuttonarea("pw_examinearea1",178,192,18,88); //chest of papers
setvar([pw_examinemaxplaces],1); //for now
runscript("hidepwmenu");
runscript("pw_showspecialexamine");
runscript("pw_waitexaminetouch");
if(<compare([pw_examinearea],"equal",1)>,<jumptoscript("kyouya_office_1_2")>,<jumptoscript("kyouya_office_1_1")>);

[kyouya_office_1_1]
runscript("hidepwmenu");
runscript("pw_showadvarrowmenu");
message("(Nope, no keys here.)");
jumptoscript("kyouya_office_force_examine");

[kyouya_office_1_2]
runscript("hidepwmenu");
runscript("pw_showadvarrowmenu");
message("(Found it!)");
setvar([pw_evidtoshowinbox],80902);
runscript("pw_showflyingevidboxleft");
wait(30);
runscript("pw_hideflyingevidboxleft");
setvar([evidencenumber],901);
runscript("addevidence");
setvar([evidencenumber],901);
runscript("pw_giveevidence");
runscript("pw_bluemessagebox");
message("(Now to give it to Klavier.)");
runscript("pw_whitemessagebox");
jumptoscript("kyouya_office_1_3");

[kyouya_office_1_3]
definevar([signal],"int");
 runscript("pw_setnameboxtonoone");
 runscript("pw_greenmessagebox");
 messageauto("(Give Klavier his keys!)");
 runscript("pw_forcepresent");
 waitsignal("advance",[signal]);
 runscript("pw_hidemessagebox");
 runscript("pw_raisetakethat");
 wait(6);
if(<compare([currentitemcode],"equal",901)>,<jumptoscript("kyouya_office_1_5")>,<jumptoscript("kyouya_office_1_4")>);

[kyouya_office_1_4]
runscript("pw_showmessagebox");
runscript("pw_whitemessagebox");
//runscript("pw_setnameboxtokyouya");
message("That's not my keys!");
jumptoscript("kyouya_office_1_3");

[kyouya_office_1_5]
runscript("pw_showmessagebox");
runscript("pw_whitemessagebox");
//runscript("pw_setnameboxtokyouya");
messageauto("Thanks bro,");
wait(50);
messageappendauto("\nI have to go, I'm late for practice already.");
wait(150);
messageauto("By the way, there's a message for \nyou on the computer");
wait(150);
placefade("pw_char", char, 45, "O");
wait(45);
loadandplaymp3("pp.mp3",0,"N");
jumptoscript("kyouya_office_1_6");

[kyouya_office_1_6]
runscript("hidepwmenu");
runscript("pw_hidemessagebox");
setbuttonarea("pw_examinearea1",178,192,18,88); //chest of papers
setvar([pw_examinemaxplaces],1);
setvar([pw_examineexaminefunction],"kyouya_office_investigation_1");
setbuttongraphic("pw_investigmove1",9000,9000);
 setvar([pw_moveoption1],"police_hq_1_1");
 setvar([pw_movemaxplaces],1);
 runscript("pw_showinvestigationhalf");
jumptoscript("pw_investigprocessactions");

[kyouya_office_investigation_1]

//endcase
[endcase1]
runscript("pw_hidemessagebox");
runscript("hidepwmenu");
jumptoscript("pw_endcase");

//case2

[begin_case2]
runscript("case2_setup");
[case2_setup]
jumptoscript("pw_endcase");




Last edited by noian on Sun Feb 01, 2009 2:40 am, edited 1 time in total.
Page 74 of 131 [ 5218 posts ] 
Go to page Previous  1 ... 71, 72, 73, 74, 75, 76, 77 ... 131  Next
 
Display posts from previous:  Sort by  

 Board index » Present Evidence » Games

Who is online
Users browsing this forum: No registered users and 6 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
cron
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list
Powered by phpBB

phpBB SEO