Board index » Present Evidence » Games

Page 19 of 131[ 5218 posts ]
Go to page Previous  1 ... 16, 17, 18, 19, 20, 21, 22 ... 131  Next
 


Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)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

KSA_Tech wrote:
Let me see your code. (I'll register this line someday :minuki: )


CODES
File-"tutogame.hlsl"

Code
Code:
#include(pwlib/pwlib.hlsl)

[game]
runscript("pw_initpwlib");
runscript("pw_initpwbgs");
runscript("pw_createema");
changetitle("PWLib Tutorial Game");
jumptoscript("run");

[run]
runscript("showpwchar");
runscript("pw_showmessagebox");
runscript("pw_usepwbgcourthall");
runscript("pw_setnameboxtoema");
runscript("setlipsynctochar");
runscript("pw_enableemanormal");
runscript("pw_showadvarrowmenu");
message("Yes!");
message("My name is Ema Skye!");


File-"startup.aigehls"

Code
Code:
//    This program is free software: you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation, either version 3 of the License, or
//    (at your option) any later version.

//    This program is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.

//    You should have received a copy of the GNU General Public License
//    along with this program.  If not, see <http://www.gnu.org/licenses/>.

//This file is the entrypoint file for any AIGE game: startup.aigehls
//First we include the game's starting script

#include(tutogame.hlsl)

//Just like most languages, an entrypoint function is defined. In AIGE HLSL this function is [main]
//You're not obligated to put the main function in this file, but it is recommended to do so.
[main]
//Render and Process System Events to protect not found scripts
render();
processsystemevents();
//We are jumping to the function game that must be present on the game's files. (using runscript here isn't recommended)
jumptoscript("game");

Image
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

Where did you put the tutogame file? Here the code works.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

End Quote.

Gender: Male

Location: UK

Rank: Decisive Witness

Joined: Mon Feb 25, 2008 9:11 pm

Posts: 201

KSA, in response to an earlier query, I couldn't find any settings about non-pow2 textures with regards to my gfx card's settings. Is there anyway to force this on with the use of a shortcut command for example? It'd be nice to get rid of this weird streching/blur as it's one out of the very few issues I have with PWLib.

The only other issue I have is that the lipsync speed is a bit quick.. the blinking idle animations are about right, but the lipsync animations seems to be about double speed of what I remember it on Phoenix Wright.. is there anyway to edit this?
Image
ImageImage
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)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

KSA_Tech wrote:
Where did you put the tutogame file? Here the code works.


"tutogame.hlsl" is in the same folder as AIGE.exe, the PW, pwlib and sounds folders, config, "startup.aigehls", d3dx9_36.dll, license and aigelog.

Is that alright?
Image
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

Hmm, strange. AIGE tries using non-pow2 and i can't force it. If the D3DX function fails, I can't use it or force it.

You can edit, in pwlib's source, the animation definitons for the character on their files (phoenix is on the attorney's file).

The files that are part of the "Standard Character Set" are: attorneys, prosecutors, witnesses, assistants, police, people. If you read Customization Tutorial 01, you will understand their content.

Yes, it is correct.
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.0 at 14/June/2008 2:23AM 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

DeMatador: msn, please. I want to see the aigelog file.
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.0 at 14/June/2008 2:23AM GMT-3)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

KSA_Tech wrote:
Yes, it is correct.


Now I'm confused.
AIGE gives me from 32 to 60 FPS, 2 T and 1 O. Is that around the average? BTW, what are "T" and "O".

EDIT BTW KSA, did you add the chapter selection screen or not?
Image


Last edited by DeMatador on Sat Jun 14, 2008 10:56 pm, edited 1 time in total.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

FPS is good at 60. (may get higher after a while)

T are triangles drawn.
O are AIGE Objects been drawn.

The 1 in O is for the AIGE Console.
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.0 at 14/June/2008 2:23AM GMT-3)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

Oh, right
Image
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

What is my liiiife?!?

Gender: Male

Location: UK

Rank: Admin

Joined: Tue Feb 27, 2007 11:02 am

Posts: 2504

KSA_Tech wrote:
Yes, it is. I forgot to mention that on the tutorial. Will update it later.

setanimationframesfx("Phoenix_HitTable",2,"sfx-deskslam.wav",3);

Animation Name, frame, sfx path, sfx lane (use 2/3/4 if possible)


Gavel sound sorted. But ran into a new problem. A terrible one at that.

Somehow AIGE_S has turned into a memory eater. It got up to about 500 000k memory usage before I was forced to shut it down to stop it overwhelming my entire computer. It doesn't even open. Somethings gone wrong with it I think. Maybe I removed a line I should'nt have or something like that. :(

Edit: Tried it again, here's photo proof.
Image
Oh dear oh dear oh dear :(
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

What did you do exactly?

I left aige running for quite a while and never got so high memory usage.
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.0 at 14/June/2008 2:23AM 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

At frist loo, it sounds like a system-helped issue. Some exes can have issues and stay up eating memory.
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.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

What is my liiiife?!?

Gender: Male

Location: UK

Rank: Admin

Joined: Tue Feb 27, 2007 11:02 am

Posts: 2504

I played around with the PWLib files. Silly moi, I guess theres a lesson for us all in that:

If you have to do it to customise things, always create a backup file first, or get someone who knows how to do it to do it for you. Probably the second if you haven't read the tutorial or aren't used to programming. We have been warned!
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

Now with Glasses!

Gender: Male

Rank: Desk Jockey

Joined: Thu Oct 11, 2007 4:10 am

Posts: 135

Hey, is anyone getting the error that when you start you case and everything loads the game crashes and closes with no error?
Is there something wrong with what I'm doing? Yes, I have updated driver, yes I've talked to KSA, yes everything necessary is installed.
Here's my code:
Code:
#include(pwlib/pwlib.hlsl)
 
[game]
runscript("pw_initpwlib");
runscript("pw_initpwbgs");
runscript("pw_createema");
changetitle("PWLIB Tutorial Game");
jumptoscript("run");

[run]
runscript("showpwchar");
runscript("pw_showmessagebox");
runscript("pw_usepwbgcourthall");
runscript("pw_setnameboxtoema");
runscript("setlipsynctochar");
runscript("pw_enableemanormal");
runscript("pw_showadvarrowmenu");
message("I am Ema, the scientist!");

Back, check out LOZ AA.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

What is my liiiife?!?

Gender: Male

Location: UK

Rank: Admin

Joined: Tue Feb 27, 2007 11:02 am

Posts: 2504

Missed out that tincy little ';' on the initialiser. :)

Edit: Duh, that wasn't right. >.< Not having a good early morning here.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM 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

So warning to everyone: don't try to edit to the PWLib source. It can cause issues like this one from Gerkuman. always to customizations on separated files.

Klavice, your issue is a bit strange to me, because it isn't supposed to happen. I'll have to gaze upon the code to see if it was expected to happen in an error-close point (and why).
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.0 at 14/June/2008 2:23AM 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

@ DeMatador
No, I didn't add the selection screen yet.

------------
Statistics
135 PWLib Hayase Downloads :keiko:
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.0 at 14/June/2008 2:23AM 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 just added the switch for text rendering (now no need to use two exes).

As I wake up, i'll work on the debug control so I can get a grip of what's failing to load on some systems. Those who had issues with AIGE not running can help me with that as testers. :maya: :keiko:

I'll try my best to make AIGE work on as many configurations as possible. I don't want to leave people out of the PWLib Casemaker.
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.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

Gender: Male

Rank: Suspect

Joined: Tue Feb 27, 2007 4:05 pm

Posts: 32

DeMatador, check if your "tutogame.hlsl" is really "tutogame.hlsl" and not "tutogame.hlsl.txt". I had that problem. You have to go to "File > Save as..." and write "tutogame.hlsl" while choosing "All types" in the "Save as type" drop-down menu. And I recommend you erase the name and write it again, just to be sure xD
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

I may or may not be here.

Gender: Male

Location: Drinking a mug of hot chocolate

Rank: Ace Attorney

Joined: Thu Nov 29, 2007 11:58 pm

Posts: 4916

KSA_Tech wrote:
Those who had issues with AIGE not running can help me with that as testers. :maya: :keiko:

I'll try my best to make AIGE work on as many configurations as possible. I don't want to leave people out of the PWLib Casemaker.

Tester #1 reporting for duty! :salute:
ImageImage
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

What is my liiiife?!?

Gender: Male

Location: UK

Rank: Admin

Joined: Tue Feb 27, 2007 11:02 am

Posts: 2504

It's not the code modifications that killed me, it really is my file. No idea why it's bricking AIGE though. I'll post the code here.

Code:
#include(pwlib/pwlib.hlsl)

[game]
jumptoscript("setup");

[setup]
runscript("pw_initpwlib");
runscript("pw_initpwbgs");
runscript("charcreation");
runscript("load");
runscript("evidenceprofilecreation");
changetitle("I'm a Trendy Tote Bag!");
jumptoscript("run");

[load]
loadtexture(80900,"PW/evidence/gun.png");
loadtexture(80901,"PW/evidence/lawyer badge.png");
loadtexture(80902,"PW/evidence/photo.png");
loadtexture(90900,"PW/profile/ema.png");
loadtexture(90901,"PW/profile/minuki.png");
loadtexture(70000,"cust/trucygs4.jpg");
loadtexture(70010,"cust/PWLibTutoMain.png");
loadtexture(-7000, "PW/CRO/CROIris.png");
loadtexture(-7001, "PW/CRO/CROJudge.png");
loadtexture(-7002, "PW/CRO/CROPayne.png");
loadtexture(-7003, "PW/CRO/CROPhoenixMaya.png");

[charcreation]
runscript("pw_createema");
runscript("pw_createtrucy");

[evidenceprofilecreation]
setvar([evidencenumber],900);
setvar([evidencegfs],80901);
setvar([evidencegfl],80901);
setvar([evidencesup],0);
setvar([evidencename],"Attorney's Badge");
setvar([evidencesdesc],"Type: Other\n One of my possessions.");
setvar([evidenceldesc],"It's my all important badge.\nIt shows that I'm a defense attorney.");
runscript("createevidence");

setvar([evidencenumber],901);
setvar([evidencegfs],80900);
setvar([evidencegfl],80900);
setvar([evidencesup],0);
setvar([evidencename],"Gun");
setvar([evidencesdesc],"Type:
Weapons\n Submitted as evidence\n by Prosecutor Von Karma.");
setvar([evidenceldesc],"The murder weapon.\nIt was shot once.");
runscript("createevidence");

setvar([evidencenumber],902);
setvar([evidencegfs],80902);
setvar([evidencegfl],80902);
setvar([evidencesup],1);
setvar([evidencename],"Trucy GS4 Promo");
setvar([evidencesdesc],"Type: Photo\nReceived from Trucy Wright.");
setvar([evidenceldesc],"A promo photo of Gyakuten Saiban \n4.");
runscript("createevidence");
setvar([evidencestex],7000);
runscript("setevidencepagesimple");

setvar([profilenumber],800);
setvar([profilegfs],90900);
setvar([profilegfl],90900);
setvar([profilename],"Ema Skye");
setvar([profilesdesc],"Age: 19\nGender: Female");
setvar([profileldesc],"An energetic girl that wants to be a \nforensic detective.");
runscript("createprofile");

setvar([profilenumber],801);
setvar([profilegfs],90901);
setvar([profilegfl],90901);
setvar([profilename],"Trucy Wright");
setvar([profilesdesc],"Age: 15\nGender: Female");
setvar([profileldesc],"A cheerful magician paradox.");
runscript("createprofile");

[run]
setbg(70010);
runscript("pw_showmain");
waitresponse();
runscript("pw_hidemain");
jumptoscript("casestart");

[casestart]
setvar([evidencenumber],900);
runscript("addevidence");
setvar([evidencenumber],901);
runscript("addevidence");
setvar([profilenumber],800);
runscript("addprofile");
setvar([profilenumber],801);
runscript("addprofile");
jumptoscript("enterscene1");

[enterscene1]
runscript("pw_usepwbgcourthall");
runscript("pw_showadvarrowmenu");
loadandplaymp3("music/02 Courtroom Lobby ~ New Prelude.mp3",0,"N");
jumptoscript("court");

[scene1]
runscript("setlipsynctochar");
runscript("showpwchar");
runscript("pw_showmessagebox");
runscript("pw_enableemanormal");
runscript("pw_setnameboxtoema");
message("Hi, I'm a Mac.");
runscript("pw_setnameboxtotrucy");
runscript("pw_enabletrucynormal");
message("And I'm a PC.");
runscript("pw_enableemaexcited");
runscript("pw_setnameboxtoema");
message("Have you ever wondered what \nit would be like to live under \nthe sea?");
runscript("pw_setnameboxtotrucy");
runscript("pw_enabletrucynormal");
message("That doesn't even fit.");
runscript("setlipsynctonoone");
runscript("pw_setnameboxtophoenix");
message("To be honest I'm more of a \nDOS sort of person really.");
runscript("setlipsynctochar");
runscript("pw_enableemaexcited");
runscript("pw_setnameboxtoema");
message("That's because you're old!");
runscript("pw_setnameboxtotrucy");
runscript("pw_enabletrucynormal");
message("That's from the dark ages even.");
runscript("setlipsynctonoone");
runscript("pw_setnameboxtophoenix");
message("Hey! I was born around then!");
runscript("setlipsynctochar");
runscript("pw_setnameboxtotrucy");
runscript("pw_enabletrucynormal");
message("Then that makes you a caveman.");
message("Here's a random picture of me, \ndaddy.");
runscript("addevidence");
setvar([evidencenumber],902);
setvar([pw_headeviaddmsg],"");
setvar([pw_taileviaddmsg]," was added\nto the Court Record.");
runscript("pw_startevidenceadd");
runscript("pw_hidemessagebox");
runscript("pw_raiseholdit");
runscript("pw_showmessagebox");
runscript("setlipsynctonoone");
runscript("pw_setnameboxtophoenix");
message("Daddy?!?");
runscript("pw_setnameboxtotrucy");
runscript("pw_enabletrucynormal");
message("It's easy to prove.");
jumptoscript("presenttrucyevidence");

[presenttrucyevidence]
definevar([signal],"int");
runscript("pw_setnameboxtonoone");
messageauto("(Show what proves that Trucy is \n Phoenix's paradox daughter!)");
runscript("pw_forcepresent");
waitsignal("advance",[signal]);
runscript("pw_hidemessagebox");
loadandplaysfx("01_Phoenix - takethat.wav",0);
runscript("pw_raisetakethat");
wait(6);
if(<compare([currentitemcode],"equal",902)>,<jumptoscript("presenttrucyevidencecorrect")>,<jumptoscript("presenttrucyevidencewrong")>);

[presenttrucyevidencecorrect]
runscript("pw_showmessagebox");
runscript("pw_setnameboxtophoenix");
message("What about this?");
runscript("setlipsynctochar");
runscript("pw_setnameboxtoema");
runscript("pw_enableemahappy");
message("See! You have the same ears!");
runscript("pw_setnameboxtotrucy");
runscript("pw_enabletrucynormal");
message("Well, actually I'm adopted.");
message("Ok, so who am I?");
jumptoscript("presenttrucyprofile");

[presenttrucyevidencewrong]
runscript("pw_showmessagebox");
runscript("pw_setnameboxtophoenix");
message("What about this?");
runscript("setlipsynctochar");
runscript("pw_setnameboxtoema");
runscript("pw_enableemanormal");
message("Nope.");
message("Now we'll have to start all \nover again.");
jumptoscript("scene1");

[presenttrucyprofile]
definevar([signal],"int");
runscript("pw_setnameboxtonoone");
runscript("setlipsynctonoone");
messageauto("(Answer the Obvious Question.)");
setvar([pwonetypepresent],2);
runscript("pw_forcepresent");
waitsignal("advance",[signal]);
runscript("pw_hidemessagebox");
loadandplaysfx("01_Phoenix - takethat.wav",0);
runscript("pw_raisetakethat");
wait(6);
if(<compare([currentitemcode],"equal",801)>,<jumptoscript("presenttrucyprofilecorrect")>,<jumptoscript("presenttrucyprofilewrong")>);

[presenttrucyprofilecorrect]
runscript("pw_showmessagebox");
runscript("pw_setnameboxtophoenix");
message("What about this?");
runscript("setlipsynctochar");
runscript("pw_setnameboxtoema");
runscript("pw_enableemahappy");
runscript("setlipsynctochar");
message("You got it!");
runscript("pw_setnameboxtotrucy");
runscript("pw_enabletrucynormal");
message("I think it's time for an \narbitrary area search");
jumptoscript("simpleexamine");

[presenttrucyprofilewrong]
runscript("pw_showmessagebox");
runscript("pw_setnameboxtophoenix");
message("What about this?");
runscript("setlipsynctochar");
runscript("pw_setnameboxtoema");
runscript("pw_enableemamad");
message("...");
message("Out of two possible easy choices \nyou got it wrong?");
message("We'll have to start again!");
jumptoscript("scene1");

[simpleexamine]
runscript("pw_showmessagebox");
setbuttonarea("pw_examinearea1",0,192,100,100);
setvar([pw_examinemaxplaces],1);
runscript("pw_showtouchananswer");
messageauto("So, what is wrong in this place?");
runscript("hidepwmenu");
runscript("pw_showspecialexamine");
runscript("pw_waitexaminetouch");
runscript("hidepwmenu");
runscript("pw_showadvarrowmenu");
runscript("pw_hidetouchananswer");
if(<compare([pw_examinearea],"equal",1)>,<jumptoscript("simpleexaminecorrect")>,<jumptoscript("simpleexaminewrong")>);

[simpleexaminecorrect]
("pw_showmessagebox");
runscript("pw_setnameboxtophoenix");
message("Here!");
runscript("setlipsynctochar");
runscript("pw_setnameboxtoema");
runscript("pw_enableemahappy");
runscript("setlipsynctochar");
message("All my brains are belong to you!");
runscript("setlipsynctonoone");
runscript("pw_setnameboxtophoenix");
message("Um, thanks... I guess");
runscript("setlipsynctochar");
runscript("pw_setnameboxtotrucy");
runscript("pw_enabletrucynormal");
message("Well, I guess it's time for a...");
message("POP QUIZ!");
runscript("pw_setnameboxtoema");
runscript("pw_enableemahappy");
message("Yay!");
jumptoscript("questionexample");

[simpleexaminewrong]
runscript("pw_showmessagebox");
runscript("setlipsynctonoone");
runscript("pw_setnameboxtophoenix");
message("This is what proves... er...");
runscript("setlipsynctochar");
runscript("pw_setnameboxtoema");
runscript("pw_enableemanormal");
runscript("setlipsynctochar");
message("Sorry Mr. Wright.");
message("It looks like...");
runscript("setlipsynctonoone");
runscript("pw_setnameboxtophoenix");
message("I know, I know.");
message("You'll have to start again");
runscript("setlipsynctochar");
runscript("pw_setnameboxtotrucy");
runscript("pw_enabletrucynormal");
message("You're learning");
jumptoscript("scene1");

[questionexample]
definevar([qreplysignal],"int");
messageauto("But, what was Trucy's \nlast name again?");
runscript("pw_showselectananswer");
setvar([pw_maxquestions],4);
setvar([pw_q1gfx],91000);
setvar([pw_q2gfx],91010);
setvar([pw_q3gfx],91020);
setvar([pw_q4gfx],91030);
runscript("hidepwmenu");
runscript("pw_setupquestions");
runscript("pw_showquestion");
waitsignal("qreply",[qreplysignal]);
runscript("pw_hideselectananswer");
runscript("hidepwmenu");
runscript("pw_showadvarrowmenu");
if(<compare([qreplysignal],"equal",3)>,<jumptoscript("questionexamplecorrect")>,<jumptoscript("questionexamplewrong")>);

[questionexamplewrong]
message("Sorry, thats incorrect.");
message("Obviously")
runscript("setlipsynctonoone");
runscript("pw_setnameboxtophoenix");
message("And I spent so long checking \nin random places too...");
jumptoscript("scene1");

[questionexamplecorrect]
message("You're winner!");
runscript("pw_setnameboxtotrucy");
runscript("pw_enabletrucynormal");
message("Anyway, I need to go back in my \ntime machine");
message("Catch you in a year or so Nick!");
message("Well, sorta. I'll be 8 at the time");
runscript("pw_setnameboxtoema");
runscript("pw_enableemaexcited");
message("Well, lets go and fight that case!");
message("The one we just got now!");
message("That they're not paying you for!");
message("I should stop now but I can't!");
fadescreen(120,"O");
stopmp3(0);
jumptoscript("court");

[court]
loadandplaymp3("music/03 Gyakuten Saiban 4 - Trial.mp3",0,"N");
runscript("showpwchar");
runscript("pw_showmessagebox");
runscript("pw_showattorneystand");
runscript("pw_setnameboxtoema");
runscript("pw_enableemaunsure");
message("Sound Off!");
setvar([sld_targetcharanim],"pw_enableemanormal");
runscript("pw_slideattoneytowitness");
message("One Potato");
setvar([sld_targetcharanim],"pw_enableemamad");
runscript("pw_slidewitnesstoprosecutor");
message("Two Potato");
runscript("pw_showattorneystand");
setvar([sld_targetcharanim],"pw_enableemaunsure");
runscript("pw_slideattoneytoprosecutor");
message("Three Potato");
setvar([sld_targetcharanim],"pw_enableemasurprised");
runscript("pw_slideprosecutortoattoney");
message("Four!");

setgenobjgraphic("pw_crowitness",-7000);
setgenobjgraphic("pw_crojudge",-7001);
setgenobjgraphic("pw_croprosecutor",-7002);
setgenobjgraphic("pw_croattorney",-7003);
runscript("pw_showcourtroomoverview");
messageauto("I'm the urban spaceman!");
wait(60);
runscript("pw_hidecourtroomoverview");
loadandplaysfx("sfx_gavel.wav",1);
runscript("pw_showgavelhit");
loadandplaysfx("sfx_gavel.wav",1);
loadandplaysfx("sfx_gavel.wav",1);
loadandplaysfx("sfx_gavel.wav",1);
runscript("pw_showgaveltriplehit");
loadandplaysfx("sfx_gavel.wav",1);
runscript("pw_showgavelhit");
loadandplaysfx("sfx_gavel.wav",1);
loadandplaysfx("sfx_gavel.wav",1);
loadandplaysfx("sfx_gavel.wav",1);
runscript("pw_showgaveltriplehit");
loadandplaysfx("sfx_gavel.wav",1);
runscript("pw_showgavelhit");
loadandplaysfx("sfx_gavel.wav",1);
loadandplaysfx("sfx_gavel.wav",1);
loadandplaysfx("sfx_gavel.wav",1);
runscript("pw_showgaveltriplehit");
loadandplaysfx("sfx_gavel.wav",1);
loadandplaysfx("sfx_gavel.wav",1);
loadandplaysfx("sfx_gavel.wav",1);
runscript("pw_showgaveltriplehit");
loadandplaysfx("sfx_gavel.wav",1);
runscript("pw_showgavelhit");
stopmp3(0);
runscript("witnesstestimonytest1");

[witnesstestimonytest1]
runscript("showpwchar");
runscript("pw_showwitnessstand");
setmsgboxtextcolor(255,0,255,0);
runscript("pw_showmessagebox");
runscript("pw_setnameboxtonoone");
runscript("pw_enableemadown");
messageinstantauto("\n --The Knife--");
setmsgboxtextcolor(255,255,255,255);
runscript("pw_showwitnesstestimony");
runscript("pw_showtestimony");
loadandplaymp3("music/04 Questioning ~ Moderato 2007.mp3",0,"N");
runscript("pw_setnameboxtoema");
runscript("pw_enableemanormal");
message("I bought the knife from a \nlocal seller.");
message("It cost me about  $4,59.");
runscript("pw_enableemadown");
message("But the handle broke when I used \nit the first time.");
runscript("pw_enableemanormal");
message("I didn't threw it away because its \ncutting was very good.");
wait(10);
stopmp3(0);
runscript("pw_hidetestimony");
jumptoscript("talks2");

[talks2]
runscript("pw_showjudgetable");
loadandplaymp3("music/10 Seeing Through ~ Surge, Glance.mp3",0,"N");
message("For millions of years, man thought \nthe moon was made of cheese.");
message("In 1969, we went there and \ndiscovered it was made of rock.");
message("We haven't been back since.");
stopmp3(0);
jumptoscript("crossstart");

[crossstart]
runscript("pw_showwitnessstand");
setvar([pw_crossexamattorneycode],36);
setvar([pw_crossexamprosecutorcode],35);
runscript("hidepwmenu");
runscript("pw_showmessagebox");
runscript("pw_setnameboxtonoone");
messageinstantauto("\n --The Knife--");
runscript("pw_showcrossexaminationvs");
runscript("pw_showpwmenubasicrec");
waitresponse();
jumptoscript("crossbegin");

[crossbegin]
runscript("hidepwmenu");
runscript("begincrossexamination");
setvar([pwcrossexamstages],4);
jumptoscript("cross1=1");

[cross1-1]
definevar([signal],"int");
setmsgboxtextcolor(255,0,255,0);
runscript("pw_enableemanormal");
runscript("pw_setnameboxtoema");
message("I bought the knife from a local seller.");
waitsignal("advance",[signal]);
if(<compare([signal],"equal",1)>,<jumptoscript("cross1-1present")>,<null()>); //present if(<compare([signal],"equal",2)>,<jumptoscript("cross1-1press")>,<null()>); //press if(<compare([signal],"equal",4)>,<jumptoscript("cross1-2")>,<null()>); //next

[cross1-1press]
runscript("nextpwcrossexamsimple");
jumptoscript("cross1-2");
[cross1-1present]
jumptoscript("cross1-1");
[cross1-2]
definevar([signal],"int");
setmsgboxtextcolor(255,0,255,0);
runscript("pw_enableemanormal");
runscript("pw_setnameboxtoema");
message("It cost me about U$D: 4,59.");
waitsignal("advance",[signal]);
if(<compare([signal],"equal",1)>,<jumptoscript("cross1-2present")>,<null()>); //present if(<compare([signal],"equal",2)>,<jumptoscript("cross1-2press")>,<null()>); //press if(<compare([signal],"equal",3)>,<jumptoscript("cross1-1")>,<null()>); //prev if(<compare([signal],"equal",4)>,<jumptoscript("cross1-3")>,<null()>); //next [cross1-2press] runscript("nextpwcrossexamsimple"); jumptoscript("cross1-3");

[cross1-2present]
jumptoscript("cross1-2");

[cross1-3] definevar([signal],"int");
setmsgboxtextcolor(255,0,255,0);
runscript("pw_enableemadown");
runscript("pw_setnameboxtoema");
message("But the handle broke when I used it the first time.");
waitsignal("advance",[signal]);
if(<compare([signal],"equal",1)>,<jumptoscript("cross1-3present")>,<null()>); //present if(<compare([signal],"equal",2)>,<jumptoscript("cross1-3press")>,<null()>); //press if(<compare([signal],"equal",3)>,<jumptoscript("cross1-2")>,<null()>); //prev if(<compare([signal],"equal",4)>,<jumptoscript("cross1-4")>,<null()>); //next
[cross1-3press]
runscript("nextpwcrossexamsimple");
jumptoscript("cross1-4");

[cross1-3present]
jumptoscript("cross1-3");

[cross1-4]
definevar([signal],"int");
setmsgboxtextcolor(255,0,255,0);
runscript("pw_enableemanormal");
("pw_setnameboxtoema");
message("I didn't threw it away because its cutting was very good.");
waitsignal("advance",[signal]);
if(<compare([signal],"equal",1)>,<jumptoscript("cross1-4present")>,<null()>); //present if(<compare([signal],"equal",2)>,<jumptoscript("cross1-4press")>,<null()>); //press if(<compare([signal],"equal",3)>,<jumptoscript("cross1-3")>,<null()>); //prev if(<compare([signal],"equal",4)>,<jumptoscript("crossend")>,<null()>); //next

[cross1-4press]
runscript("nextpwcrossexamsimple");
jumptoscript("crossend");

[cross1-4present]
jumptoscript("cross1-4");

[crossend]
runscript("resumepwcrossexamsimple");
jumptoscript("cross1-1");


It happened after the Cross Examination bit was added so the problem should be there.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

you are already guilty.

Gender: None specified

Rank: Decisive Witness

Joined: Thu Apr 17, 2008 9:30 am

Posts: 151

Is there some kind of limitation on the talking frames? I tried to make Franziska blink when she talks too, but she never does, and i noticed while i left the talking animation blank that her normal idle pose still ocassionally blinks in. I'm guessing the blinking while talking is unneeded in that case?
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title

The truth's in THERE, not out THERE.

Gender: Male

Rank: Decisive Witness

Joined: Fri May 16, 2008 7:50 pm

Posts: 205

Donald Serrot wrote:
KSA_Tech wrote:
Those who had issues with AIGE not running can help me with that as testers. :maya: :keiko:

I'll try my best to make AIGE work on as many configurations as possible. I don't want to leave people out of the PWLib Casemaker.

Tester #1 reporting for duty! :salute:


Tester #2, sir! :meekins:
Reunion of Lawyers Writer - Case 3 (Turnabout Twins)
Mah Sprites
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title

Gender: None specified

Rank: Suspect

Joined: Wed Jun 04, 2008 9:12 pm

Posts: 45

I have only 1 more problem with Trucys Namebox.

Here a part of the code:

Code:
runscript("pw_setnameboxtotrucy");
runscript("pw_enabletrucynormal");
message("Who say this? \nHmmm...?");
message("How i can proof it?");


But Trucys name on message-box is a "???" whats wrong?
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

you are already guilty.

Gender: None specified

Rank: Decisive Witness

Joined: Thu Apr 17, 2008 9:30 am

Posts: 151

Trucy's name isn't in the files yet. Only aa1 names were ripped at the time of the release. I got all others yesterday, so perhaps in the next version (possibly the one with fixed pow2 image scale) it'll be in.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

Four is Death

Gender: Male

Location: Wales. That little place next to England.

Rank: Ace Attorney

Joined: Thu Jul 05, 2007 9:14 pm

Posts: 2284

Is it possible to place OC sprites and OC nameboxes, as well as alternate objections into the engine for fangames?
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title

The truth's in THERE, not out THERE.

Gender: Male

Rank: Decisive Witness

Joined: Fri May 16, 2008 7:50 pm

Posts: 205

I'd've thought the Customization tutorial would have covered that. :lana:
Reunion of Lawyers Writer - Case 3 (Turnabout Twins)
Mah Sprites
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

^ Ji Hye Jang

Gender: None specified

Location: Your mom

Rank: Medium-in-training

Joined: Tue Dec 18, 2007 4:16 am

Posts: 535

It covers sprites well, but doesn't do a very good job of explaining name boxes and the objection seems to be absent altogether.

EDIT: Yeah, I'm available for testing as well, if you wanna test the text issue specifically (I have no problems just getting PWLib running, and now with updated drivers no sprite problems, it's just severe text glitches now).
Proud creator of the first released PWLib-made fangame! ^_^
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title

Gender: None specified

Rank: Suspect

Joined: Wed Jun 04, 2008 9:12 pm

Posts: 45

I dont understand this: "loadtexture(70010,"cust/PWLibTutoMain.png");"

Folder cust? Where is this folder? I don't have it.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

No talking in the Fortress Of Doom!

Gender: None specified

Rank: Suspect

Joined: Mon May 19, 2008 8:26 am

Posts: 4

Well, I did manage to bodge up a custom namebox for Maya already by sticking it in the blank box in the provided PWNameBoxes.png graphic and making a pointer in the pw_assistants.hlsl file...but in the process it killed the transparency. Now I've got white bits all around the characters' names. :payne: I assume one could make a whole new sheet for OCs and make pointers that point to the new file and positions in the same fashion, just don't commit transparicide like I did.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

you are already guilty.

Gender: None specified

Rank: Decisive Witness

Joined: Thu Apr 17, 2008 9:30 am

Posts: 151

Quote:
I dont understand this: "loadtexture(70010,"cust/PWLibTutoMain.png");"

It loads the texture from folder cust/ with a name PWLibTutoMain.png and sets it as texture #70010. The folder is not there, create it and put your own image there. It's kinda also to help you add your own content to it. :P

Quote:
but in the process it killed the transparency. Now I've got white bits all around the characters' names.
Yeah, the name image uses alpha channels for that.

Would it be possible for pwlib to handle making the image half transluscent with code, and keep the source one opaque for easier customizing?
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title

Gender: None specified

Rank: Suspect

Joined: Wed Jun 04, 2008 9:12 pm

Posts: 45

Serio wrote:
Quote:
I dont understand this: "loadtexture(70010,"cust/PWLibTutoMain.png");"

It loads the texture from folder cust/ with a name PWLibTutoMain.png and sets it as texture #70010. The folder is not there, create it and put your own image there. It's kinda also to help you add your own content to it. :P


Ah, ok. I tested it now with the pictures in PW folder.^^

But now a other problem, "Trucy's GS4 Photo", if i click to "check", then i see nothing. I see only a white screen.

Here the Loadtexture code:

Code:
loadtexture(70000,"PW/ElisePhoto.png");


And another problem, i created two profiles now, one for Ema and one for Trucy. But i see only Trucys profile, without Trucy i see Emas profile correct.

Here the codes:

Code:
setvar([profilenumber],800);
setvar([profilegfs],90900);
setvar([profilegfl],90900);
setvar([profilename],"Ema Skye");
setvar([profilesdesc],"lala");
setvar([profileldesc],"blabla");
runscript("createprofile")

setvar([profilenumber],801);
setvar([profilegfs],90901);
setvar([profilegfl],90901);
setvar([profilename],"Trucy Wright");
setvar([profilesdesc],"...");
setvar([profileldesc],"A stupidly girl...");
runscript("createprofile");


[load]
loadtexture(80900,"PW/evidence/gun.png");
loadtexture(80901,"PW/evidence/lawyer badge.png");
loadtexture(80902,"PW/evidence/photo.png");
loadtexture(90900,"PW/profile/ema.png");
loadtexture(90901,"PW/profile/minuki.png");
loadtexture(70000,"PW/ElisePhoto.png");
loadtexture(70010,"PW/bg/courtroomoverview.png");

[casestart]
setvar([evidencenumber],900);
runscript("addevidence");
setvar([evidencenumber],901);
runscript("addevidence");
setvar([profilenumber],800)
runscript("addprofile");
setvar([profilenumber],801)
runscript("addprofile");
jumptoscript("enterscene1");


Whats wrong?
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

you are already guilty.

Gender: None specified

Rank: Decisive Witness

Joined: Thu Apr 17, 2008 9:30 am

Posts: 151

Quote:
setvar([profilenumber],801)
runscript("addprofile");

You forgot a ; at the end of the first quoted line.


Also Franziska's finished. Now i just need to get her whip sounds and i'll post her.

As for the photo, dunno. The code is fine, it appears here fine. The problem's somewhere else.

Last edited by Serio on Sun Jun 15, 2008 11:46 am, edited 1 time in total.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title

Gender: None specified

Rank: Suspect

Joined: Wed Jun 04, 2008 9:12 pm

Posts: 45

You right, but still the same. I see only Trucy.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

you are already guilty.

Gender: None specified

Rank: Decisive Witness

Joined: Thu Apr 17, 2008 9:30 am

Posts: 151

Ema's is also missing a ;
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

What is my liiiife?!?

Gender: Male

Location: UK

Rank: Admin

Joined: Tue Feb 27, 2007 11:02 am

Posts: 2504

Hello? Some help please? XD Sorry if I seem impatient, but your scripts don't have the possibility of eating all your memory and crashing your computer.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

you are already guilty.

Gender: None specified

Rank: Decisive Witness

Joined: Thu Apr 17, 2008 9:30 am

Posts: 151

Doesn't the log show what's going on?
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

What is my liiiife?!?

Gender: Male

Location: UK

Rank: Admin

Joined: Tue Feb 27, 2007 11:02 am

Posts: 2504

It's so large it won't open. XD

Edit:
Code:
(9:8:51) <Script> Unknown command ignored at line 462
(9:8:51) <Script> Unknown command ignored at line 463
(9:8:51) <Script> Unknown command ignored at line 464
(9:8:51) <Script> Unknown command ignored at line 465
(9:8:51) <Script> Unknown command ignored at line 466
(9:8:51) <Script> Unknown command ignored at line 467
(9:8:51) <Script> Unknown command ignored at line 468
(9:8:51) <Script> Unknown command ignored at line 469
(9:8:51) <Script> Unknown command ignored at line 470
(9:8:51) <Script> Unknown command ignored at line 471
(9:8:51) <Script> Unknown command ignored at line 472
(9:8:51) <Script> Unknown command ignored at line 473
(9:8:51) <Script> Unknown command ignored at line 474
(9:8:51) <Script> Unknown command ignored at line 475
(9:8:51) <Script> Unknown command ignored at line 476
(9:8:51) <Script> Unknown command ignored at line 477
(9:8:51) <Script> Unknown command ignored at line 478
(9:8:51) <Script> Unknown command ignored at line 479
(9:8:51) <Script> Unknown command ignored at line 480
(9:8:51) <Script> Unknown command ignored at line 481
(9:8:51) <Script> Unknown command ignored at line 482
(9:8:51) <Script> Unknown command ignored at line 483
(9:8:51) <Script> Unknown command ignored at line 484
(9:8:51) <Script> Unknown command ignored at line 485
(9:8:51) <Script> Unknown command ignored at line 486
(9:8:51) <Script> Unknown command ignored at line 487
(9:8:51) <Script> Unknown command ignored at line 488
(9:8:51) <Script> Unknown command ignored at line 489
(9:8:51) <Script> Unknown command ignored at line 490
(9:8:51) <Script> Unknown command ignored at line 491
(9:8:51) <Script> Unknown command ignored at line 492
(9:8:51) <Script> Unknown command ignored at line 493
(9:8:51) <Script> Unknown command ignored at line 494
(9:8:51) <Script> Unknown command ignored at line 495
(9:8:51) <Script> Unknown command ignored at line 496
(9:8:51) <Script> Unknown command ignored at line 497
(9:8:51) <Script> Unknown command ignored at line 498
(9:8:51) <Script> Unknown command ignored at line 499
(9:8:51) <Script> Unknown command ignored at line 500
(9:8:51) <Script> Unknown command ignored at line 501
(9:8:51) <Script> Unknown command ignored at line 502
(9:8:51) <Script> Unknown command ignored at line 503
(9:8:51) <Script> Unknown command ignored at line 504
(9:8:51) <Script> Unknown command ignored at line 505
(9:8:51) <Script> Unknown command ignored at line 506
(9:8:51) <Script> Unknown command ignored at line 507
(9:8:51) <Script> Unknown command ignored at line 508
(9:8:51) <Script> Unknown command ignored at line 509
(9:8:51) <Script> Unknown command ignored at line 510
(9:8:51) <Script> Unknown command ignored at line 511
(9:8:51) <Script> Unknown command ignored at line 512
(9:8:51) <Script> Unknown command ignored at line 513
(9:8:51) <Script> Unknown command ignored at line 514
(9:8:51) <Script> Unknown command ignored at line 515
(9:8:51) <Script> Unknown command ignored at line 516

Etc. It goes like that for pages and pages.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

What is my liiiife?!?

Gender: Male

Location: UK

Rank: Admin

Joined: Tue Feb 27, 2007 11:02 am

Posts: 2504

Sorry for the double post, but here's the beginning. This is the important bit I reckon.

Code:
(13:12:37) <Texture Loader> Error: Couldn't create texture from Console.png!
(13:12:37) <Script> Ignoring comment at line 1
(13:12:37) <Script> Ignoring comment at line 2
(13:12:37) <Script> Ignoring comment at line 3
(13:12:37) <Script> Ignoring comment at line 4
(13:12:37) <Script> Unknown command ignored at line 5
(13:12:37) <Script> Ignoring comment at line 6

Yeah, that's definitely what's wrong.
Re: PWLib Casemaker (Released 1.0 at 14/June/2008 2:23AM GMT-3)Topic%20Title
User avatar

Pleeaase don't hurt me.

Gender: Male

Rank: Decisive Witness

Joined: Thu Mar 27, 2008 4:16 pm

Posts: 225

KSA, wwwhooooooooooppp!!!!!
Image
Thanks Elriel for the sig!
Page 19 of 131 [ 5218 posts ] 
Go to page Previous  1 ... 16, 17, 18, 19, 20, 21, 22 ... 131  Next
 
Display posts from previous:  Sort by  

 Board index » Present Evidence » Games

Who is online
Users browsing this forum: No registered users and 7 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:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list
Powered by phpBB

phpBB SEO