Board index » Present Evidence » Games

Page 5 of 5[ 190 posts ]
Go to page Previous  1, 2, 3, 4, 5
 


Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

Gender: Male

Rank: Prosecutor

Joined: Thu Mar 06, 2008 8:36 pm

Posts: 769

Yeah, macs and windows machines use a different line ending character. Makes things a lot of fun! Most decent text editors besides notepad should be ale to display the files correctly though whichever system you are on.

To the text timing issue Ultrawave is having... This is both badly coded and documented, but I looked at the code, and when you use "delay" it puts the text mode into "wait manual" which is a slower mode. To bump back into normal mode you'll need a "{wait auto}{delay 2}".

Nice work with the new chapter of the tutorial Ropfa. This is some heavy stuff to explain, I'm impressed you tackled it at all haha. I'll let you know if I see anything that could be tweaked.
Creator of PyWright, the lovable case construction system!
Also visit the PyWright post.
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

Gender: Male

Rank: Decisive Witness

Joined: Tue Dec 29, 2009 12:08 pm

Posts: 238

In Turnabout Most Awesomest, PyWright suddenly closes when I want to "check" a map in the court records 0_o.
I hadn't known there were so many idiots in the world until I started using the Internet. — Stanisław Lem
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

A user has no custom title

Gender: Male

Location: Everywhere simultaneously

Rank: Ace Attorney

Joined: Tue Nov 02, 2010 1:00 pm

Posts: 1124

That's addressed in one of the early parts of the tutorial. You need to fix some lines in the coding for the map before it's usable.

However, I did just change this so that you don't actually get the map until you need it, so that people won't accidentally open it up and crash the game before they realize that. The change will be in the next update.
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

Gender: Male

Rank: Decisive Witness

Joined: Tue Dec 29, 2009 12:08 pm

Posts: 238

Okay, I guess I was too hasty. :larry:
I hadn't known there were so many idiots in the world until I started using the Internet. — Stanisław Lem
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

Seasoned Animator

Gender: Male

Rank: Decisive Witness

Joined: Thu Nov 18, 2010 7:16 pm

Posts: 270

I'm trying to change my character's emotion mid sentence and nothing happens when I add the coding in.

Spoiler: Current text
char Trucy hide
"{sound blipfemale.ogg}{f}Trucy's fine!{p30} ...{p30}{e gasp}{sfx/Key.ogg}{n}Kinda?"

Later in the text when Ali speaks her emotion changes but not when Trucy speaks.

Like the creator of Final Fantasy, I'm better at telling a story.
If you need help animating Ace Attorney sprite sheets, I'm your man.

Phoenix Wright Ace Attorney: Project Justice - Co-developed with Hesseldahl
Case 1 - Nursing the Turnabout: Trial Former, Trial Latter
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

A user has no custom title

Gender: Male

Location: Everywhere simultaneously

Rank: Ace Attorney

Joined: Tue Nov 02, 2010 1:00 pm

Posts: 1124

Is one of Trucy's animation files called "gasp"?
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

Gender: Female

Rank: Suspect

Joined: Mon Jan 19, 2015 1:53 am

Posts: 6

I finished all of the tutorial cases (learned a lot too.)
It's really through.
My only question is if it's possible to do a gallery reaction shot or is it something that needs to be coded manually?
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

A user has no custom title

Gender: Male

Location: Everywhere simultaneously

Rank: Ace Attorney

Joined: Tue Nov 02, 2010 1:00 pm

Posts: 1124

That would just be a background (or foreground if you decide to have it animated) and a sound effect. Nothing fancy.
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

Gender: Male

Rank: Decisive Witness

Joined: Tue Dec 29, 2009 12:08 pm

Posts: 238

Actually, there are few macros that control gallery and other people in courtroom, but I have yet to test if they work.

They were included in an archive file called "Resources".
I believe I found it on Pywright forum, however I cannot find the link at the moment.
The whole package includes various graphic and sound resources e.g. evidence, characters, buttons, sfx etc.

I reuploaded for now the ''macro'' part (I hope the original uploader won't mind):

https://mega.co.nz/#!n44Ema5a!xGfMDs30C ... RRLLEGLgIQ

PS. What exactly does "talkchoice_high" do? :meekins:
I hadn't known there were so many idiots in the world until I started using the Internet. — Stanisław Lem
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

A user has no custom title

Gender: Male

Location: Everywhere simultaneously

Rank: Ace Attorney

Joined: Tue Nov 02, 2010 1:00 pm

Posts: 1124

Darth Wiader wrote:
PS. What exactly does "talkchoice_high" do? :meekins:


After searching through my files, it appears that there is also a button with this name. I would assume it's similar to graphichigh, where it highlights the button when you click it. If anybody knows more than I do, feel free to confirm or deny this.
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

Gender: Male

Rank: Decisive Witness

Joined: Tue Dec 29, 2009 12:08 pm

Posts: 238

Quote:
it appears that there is also a button with this name.


Yeah, I was refferring exactly to a button that goes by this name.
I've searched all macros and documentation and I couldn't find any command to activate it.

PS. I've just finished all your tutorials! :will:
I hadn't known there were so many idiots in the world until I started using the Internet. — Stanisław Lem
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

Gender: Male

Rank: Desk Jockey

Joined: Fri Apr 11, 2014 4:23 am

Posts: 98

Hey, I'm having a problem with the PyWright gif2strip webpage. It keeps giving me the 502 error and something about "nginx/1.4.1" I've tried opening it up in other servers, but it gives me the same thing. Am I the only one having this problem, or is anyone else experiencing this? :eh?:
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

A user has no custom title

Gender: Male

Location: Everywhere simultaneously

Rank: Ace Attorney

Joined: Tue Nov 02, 2010 1:00 pm

Posts: 1124

It's not working for me either. I'd recommend contacting Saluk, because I don't have any control over the actual Pywright engine or the website.
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

Gender: Male

Rank: Decisive Witness

Joined: Tue Dec 29, 2009 12:08 pm

Posts: 238

It's definitely something wrong with Saluk's server.
Downloading updates and games from the PyWright's menu screen doesn't work either.

---

Is there a way to call a gui Button in a middle of a scene?
I hadn't known there were so many idiots in the world until I started using the Internet. — Stanisław Lem
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

It's elementary, my dear Wright.

Gender: Male

Location: In your closet

Rank: Suspect

Joined: Tue Nov 25, 2014 1:01 am

Posts: 35

Hello. I was wondering if I could have the coding for the macros map.mcro and gui.mcro in Turnabout Most Awesome. I can't seem to open them.
Image
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

Gender: Male

Rank: Decisive Witness

Joined: Tue Dec 29, 2009 12:08 pm

Posts: 238

You should be able to open *.mcro files in a mere Windows notepad or any other text editor.
(However, I personally prefer to edit them in Notepad ++)
I hadn't known there were so many idiots in the world until I started using the Internet. — Stanisław Lem
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

It's elementary, my dear Wright.

Gender: Male

Location: In your closet

Rank: Suspect

Joined: Tue Nov 25, 2014 1:01 am

Posts: 35

I know and that's what I've been trying to do, but whenever I open it in text edit, it just says "Failed to open this file. Please try again." However, it does let me see the name.mcro, perceive.mcro and timer.mcro. Can I please get the coding?
Image
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

Gender: Male

Rank: Decisive Witness

Joined: Tue Dec 29, 2009 12:08 pm

Posts: 238

What operating system are you running and exactly what application do you use to open *.mcro files with?
Maybe the files are corrupted? Try to re-download the whole tutorial.
I hadn't known there were so many idiots in the world until I started using the Internet. — Stanisław Lem
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

A user has no custom title

Gender: Male

Location: Everywhere simultaneously

Rank: Ace Attorney

Joined: Tue Nov 02, 2010 1:00 pm

Posts: 1124

DarwinThe100 wrote:
but whenever I open it in text edit


That's Text Edit for Mac? That's the exact program I often use to write the files. It should work perfectly fine.

Edit: And in fact, I just tried it and they both worked. But regardless, here you go.

Spoiler: gui.mcro
Code:
macro _crbut
showrecord
endmacro

macro _default_court_record_button
gui Button {_crbut} name=_crbut_ graphic=general/record x=176 y=191 hotkey=k_tab z=6 try_bottom
//PUT THE NEW INFORMATION AFTER GENERAL/RECORD. KEEP IT ALL ON THE SAME LINE.
endmacro

macro show_court_record_button
isnot _cr_button exit
{hide_court_record_button}
{_default_court_record_button}
label exit

endmacro

macro hide_court_record_button
delete name=_crbut_ suppress
endmacro

macro disable_court_record_button
set _cr_button false
delete name=_crbut_ suppress
endmacro

macro enable_court_record_button
set _cr_button true
endmacro

macro theme_screen2
    set theme $1
    print The theme is $theme
    set _screen2_scanlines on
    set _screen2_letterbox on
    set _screen2_letterbox_img general/bigbutton/border
    goto $theme
    "ERROR, NO BIGBUTTON THEME {$theme}"
    label default
        set _bigbutton_bg bg/main
        set _bigbutton_img general/buttonpress
        set _bigbutton_cross general/cross_exam_buttons
        set _screen2_scanlines off
        exit
    label phoenix
        print label phoenix
        set _bigbutton_bg bg/mainpw
        set _bigbutton_img general/bigbutton/phoenix
        set _bigbutton_cross general/bigbutton/phoenix_cross
        endscript
    label empty
    label apollo
        print label apollo
        set _bigbutton_bg bg/mainaj
        set _bigbutton_img general/bigbutton/empty
        set _bigbutton_cross general/bigbutton/empty_cross
        endscript
    label mia
        print label mia
        set _bigbutton_bg bg/mainpw
        set _bigbutton_img general/bigbutton/mia
        set _bigbutton_cross general/bigbutton/mia_cross
        endscript
    label edgeworth
        print label edgeworth
        set _bigbutton_bg bg/mainpw
        set _bigbutton_img general/bigbutton/edgeworth
        set _bigbutton_cross general/bigbutton/edgeworth_cross
        endscript
    label gk
        print label gk
        set _bigbutton_bg bg/maingk
        set _bigbutton_img general/bigbutton/gk
        set _bigbutton_cross general/bigbutton/gk_cross
        endscript
endmacro


Spoiler: map.mcro
Code:
macro map2
delete name=map1
bg map2 fade
gui Button {map1} x=115 y=200 name=map2 West Side
endmacro


//COPY MACRO MAP2
//CHANGE MAP1 to MAP2
//CHANGE MAP2 to MAP1
//CHANGE WEST SIDE to EAST SIDE
//You should have two full macros

//For evidence with more than two pages, do the same thing for each page
//For two or more pages, remember to use "delete name=..." when changing pages
//That way, your screen won't get cluttered with all the different buttons


//Also note that gui Button macros are incredibly finnicky. The macro's
//name or label (in this case, {map2}) must be IMMEDIATELY after "Button"
//or else Pywright will crash. Also, if you are not using a custom graphic
//then the words showing up on the button MUST come last.
//For example, in a button coded:
//gui Button {map1} x=115 y=200 West Side name=map2
//...ingame the player would see a button labelled "West Side name=map2"
//The correct usage must be:
//gui Button {map1} x=115 y=200 name=map2 West Side

Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

The one with many faces

Gender: Male

Rank: Desk Jockey

Joined: Thu Sep 23, 2010 1:33 am

Posts: 132

I've been able to open .mcro files in windows Notepad. Did you right click one of the files and set the default program to Notepad?
Image
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

It's elementary, my dear Wright.

Gender: Male

Location: In your closet

Rank: Suspect

Joined: Tue Nov 25, 2014 1:01 am

Posts: 35

Thanks. I just redownloaded them and they work now. Thanks for the help!
Image
Re: Pywright tutorial (interactive tutorial available)Topic%20Title

Gender: None specified

Rank: Suspect

Joined: Mon Apr 19, 2010 9:07 am

Posts: 3

is there a way to put chapters inside the case like end of chapter 1 and still continue in case to go to chapter 2 within the same case and folder?
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

Nerd Processor

Gender: Female

Location: England

Rank: Decisive Witness

Joined: Wed Sep 02, 2015 9:54 am

Posts: 235

Been messing around with this for the first time this evening, and this Tutorial seemed a great place to start, but I think I got ahead of myself and...

Okay I was really hoping to work this out myself (call myself a computer programmer? Perhaps my mind is just derping tonight :oops: But I'm running out of ideas as to why I'm getting this error, despite Gumshoe's sprite displaying properly (Note: Yes this is a mac screenshot but I'm running the Windows version of PyWright via Crossover. That shouldn't be an issue though as I've been playing Super Effective Turnabout without any problems)...

Spoiler: errorscreenshot
Image


Spoiler: code
bg naruhodotalent

char apollo hide
“You are seriously accusing her of murdering her own father?”

char gumshoe e=normal
“Sorry pal, but the evidence is overwhelming.”

script scene2


I've the same issue in my second scene but this is the simpler one so I've been trying work out what is causing it from this one.



EDIT: nevermind, fixed it. TextEdit was adding something odd at the end of speech segments. Using text wrangler and saving it with Windows line breaks has fixed it. :trucy:
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

Turnabout Express in development!

Gender: None specified

Rank: Desk Jockey

Joined: Tue Jul 15, 2014 6:03 pm

Posts: 88

Might it be possible to have art fade out? We can fade them in, but how do we fade them out? Not to black, just out.
I'm sure there is a way, but can you say how if there is?
~UltrawaveStudios~
Image
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

Turnabout Express in development!

Gender: None specified

Rank: Desk Jockey

Joined: Tue Jul 15, 2014 6:03 pm

Posts: 88

Also I'm going through Turnabout Most Awesomest, and I'm stuck at the second text editor for Scene 4.

Spoiler: scene4.script.txt editor 2
Code:
//TEXT EDITOR 2 BEGINS


label texteditor2

gui Input scene4text2 x=218 y=95 name=Nameyy width=20

//FOR GUI INPUT SCENE4TEXT2, PUT IN X COORDINATES, Y COORDINATES, A NAME=CODENAME, AND
// WIDTH= FOR THE TEXTBOX

gui Button next x=218 y=95 name=inbtn Enter

gui Wait

label next

//ISEMPTY LINE HERE
isempty scene4text2 none

delete name=Nameyy
// USE THE SAME CODENAME YOU USED FOR GUI INPUT SCENE4TEXT2

delete name=inbtn

is_ex scene4text2 == 'testytest' next2 fail=mistake
//PUT PASSWORD CONFIRMATION LINE HERE
//IS_EX SCENE4TEXT2 == 'yourpassword' NEXT2 FAIL=MISTAKE


//TEXT EDITOR 2 ENDS


My problem is that after Trucy's prompt to edit the coords, name, and width, the game skips over to Books's dialogue. Something wrong here?
~UltrawaveStudios~
Image
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

A user has no custom title

Gender: Male

Location: Everywhere simultaneously

Rank: Ace Attorney

Joined: Tue Nov 02, 2010 1:00 pm

Posts: 1124

Okay, so I haven't gone through the third tutorial in a really long time, but I'm fairly certain that with the recent(ish) update to Pywright, the instructions in the perceive section are now just plain wrong. I keep telling myself to update it, but just haven't gotten around to it. I'll have to make a note of it and get that done sometime soon.
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

Gender: Male

Rank: Desk Jockey

Joined: Fri Jan 10, 2014 8:55 am

Posts: 62

I must be doing something wrong because I've been running into an issue with Pywright where it seems to pick and choose when it wants to allow a custom character on screen.

Spoiler: Exhibit A
Image


This is a screenshot of the emotion I got to play from this character in the Pywright engine. As the highlighted part of Notepad++ suggests...

Spoiler: Exhibit B
Image


This part of the emote, when the character actually syncs its lips with the text appearing on screen, won't play at all.

Spoiler: Exhibit C
Image


Not only that, but the emotes of this character don't even register on screen. No nametag or anything.

Spoiler: Exhibit D
Image


Both characters are in the port folder with the same names as the names used in the code. I'm not sure what's going on here: if I'm doing something wrong, or if Pywright is just being inconsistent.

It also could be a problem with the sprite. If someone has an answer, PM me or let me know in the thread.
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

Gender: Male

Rank: Decisive Witness

Joined: Tue Dec 29, 2009 12:08 pm

Posts: 238

Do all emotions display wrong or only those you have highlighted on screenshots?

It may be a stupid question, but... have you tried to reverse the naming order of your files? I mean, instead of "(talk)normal" try to change it to "normal(talk)" etc. Don't forget to restart PyWright after this operation.
I've just run a quick test and none of characters named your way did work for me.

Could you also post the code for the "acesmile" *txt file?
I hadn't known there were so many idiots in the world until I started using the Internet. — Stanisław Lem
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

Gender: Male

Rank: Desk Jockey

Joined: Fri Jan 10, 2014 8:55 am

Posts: 62

Darth Wiader wrote:
Do all emotions display wrong or only those you have highlighted on screenshots?

It may be a stupid question, but... have you tried to reverse the naming order of your files? I mean, instead of "(talk)normal" try to change it to "normal(talk)" etc. Don't forget to restart PyWright after this operation.
I've just run a quick test and none of characters named your way did work for me.

Could you also post the code for the "acesmile" *txt file?


You're right! Moving the (blink) and (talk) to the end worked.

That's going to be annoying to change around for all the characters, but I'm glad it was just a minor error on my part. Thanks for the help, my main squeeze.
Re: Pywright tutorial (interactive tutorial available)Topic%20Title
User avatar

The painting that inspired a generation

Gender: Male

Rank: Suspect

Joined: Wed Apr 23, 2014 7:03 pm

Posts: 6

Ropfa wrote:
Okay, so I haven't gone through the third tutorial in a really long time, but I'm fairly certain that with the recent(ish) update to Pywright, the instructions in the perceive section are now just plain wrong. I keep telling myself to update it, but just haven't gotten around to it. I'll have to make a note of it and get that done sometime soon.


Just making this post as a little reminder for ya, I'd love for you to update this. Thanks for making these tutorials, by the way :)
Page 5 of 5 [ 190 posts ] 
Go to page Previous  1, 2, 3, 4, 5
 
Display posts from previous:  Sort by  

 Board index » Present Evidence » Games

Who is online
Users browsing this forum: No registered users and 4 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