Board index » Present Evidence » Games

Page 7 of 42[ 1674 posts ]
Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 42  Next
 


Re: The PyWright Casemaker Thread - BETA 10Topic%20Title
User avatar

Gender: Male

Rank: Prosecutor

Joined: Thu Mar 06, 2008 8:36 pm

Posts: 770

Most of those nagging issues are fixed in 10.2 update, just uploaded.

Here's changelog:
* Displays proper quote in textbox, apostrophes return
* fixed present bug
* "nt [nametag]" works. Sets the nametag for the textbox and
clears the _speaking variable. If a character is onscreen, this
will be like a new offscreen character is speaking. Blank nt
will make the nametag blank. If you want to rename an existing
character, use the nametag=[name] attribute on the char command.
"portrait" command is not returning. "char" replaces it.
* examine cursor draw bug in software mode
* rotation effect in 3 dimensions (opengl mode only of course)

Nothing major, but those were some pretty annoying little bugs anyhow.

Evidence details are next! They work in opengl but not in software :( I basically shot myself in the foot in making 2 display modes lol.
Creator of PyWright, the lovable case construction system!
Also visit the PyWright post.
Re: The PyWright Casemaker Thread - BETA 10Topic%20Title
User avatar

Wibbly wobbly timey-wimey stuff

Gender: Female

Location: In front of you

Rank: Medium-in-training

Joined: Mon Oct 08, 2007 6:42 pm

Posts: 352

Turning on OpenGL mode does fix a few things, but I do notice a lot of "blinking" black, especially when changing backgrounds and characters...
Also, I have a script to test courtroom camera movement, which uses some macros. When I run the script, I get errors everytime I try to make the background courtroomfull.png or (a custom graphic I made for the speedlines... which doesn't seem to animate anymore [checked in software mode]) speedlines.png.
Here's the pywright.exe log:
Spoiler: to save space
Traceback (most recent call last):
File "core\libengine.py", line 184, in update
File "core\libengine.py", line 479, in _bg
File "core\libengine.py", line 467, in _obj
File "core\core.py", line 998, in __init__
File "core\core.py", line 648, in load
File "core\core.py", line 287, in open_art
File "core\core.py", line 272, in _open_art_
File "core\gl.py", line 144, in __init__
File "core\gl.py", line 257, in _init
File "core\gl.py", line 44, in __init__
File "core\gl.py", line 57, in update
ValueError: subsurface rectangle outside surface area
Exception exceptions.AttributeError: 'texture' in <bound method TexQuad.__del__ of <core.gl.TexQuad object at 0x01426610>> ignored
Traceback (most recent call last):
File "core\libengine.py", line 184, in update
File "core\libengine.py", line 479, in _bg
File "core\libengine.py", line 467, in _obj
File "core\core.py", line 998, in __init__
File "core\core.py", line 648, in load
File "core\core.py", line 287, in open_art
File "core\core.py", line 272, in _open_art_
File "core\gl.py", line 144, in __init__
File "core\gl.py", line 257, in _init
File "core\gl.py", line 44, in __init__
File "core\gl.py", line 57, in update
ValueError: subsurface rectangle outside surface area
Exception exceptions.AttributeError: 'texture' in <bound method TexQuad.__del__ of <core.gl.TexQuad object at 0x01426F30>> ignored
Traceback (most recent call last):
File "core\libengine.py", line 184, in update
File "core\libengine.py", line 479, in _bg
File "core\libengine.py", line 467, in _obj
File "core\core.py", line 998, in __init__
File "core\core.py", line 648, in load
File "core\core.py", line 287, in open_art
File "core\core.py", line 272, in _open_art_
File "core\gl.py", line 144, in __init__
File "core\gl.py", line 257, in _init
File "core\gl.py", line 44, in __init__
File "core\gl.py", line 57, in update
ValueError: subsurface rectangle outside surface area
Exception exceptions.AttributeError: 'texture' in <bound method TexQuad.__del__ of <core.gl.TexQuad object at 0x01001D10>> ignored
Traceback (most recent call last):
File "core\libengine.py", line 184, in update
File "core\libengine.py", line 479, in _bg
File "core\libengine.py", line 467, in _obj
File "core\core.py", line 998, in __init__
File "core\core.py", line 648, in load
File "core\core.py", line 287, in open_art
File "core\core.py", line 272, in _open_art_
File "core\gl.py", line 144, in __init__
File "core\gl.py", line 257, in _init
File "core\gl.py", line 44, in __init__
File "core\gl.py", line 57, in update
ValueError: subsurface rectangle outside surface area
Exception exceptions.AttributeError: 'texture' in <bound method TexQuad.__del__ of <core.gl.TexQuad object at 0x01426AD0>> ignored
Traceback (most recent call last):
File "core\libengine.py", line 184, in update
File "core\libengine.py", line 479, in _bg
File "core\libengine.py", line 467, in _obj
File "core\core.py", line 998, in __init__
File "core\core.py", line 648, in load
File "core\core.py", line 287, in open_art
File "core\core.py", line 272, in _open_art_
File "core\gl.py", line 144, in __init__
File "core\gl.py", line 257, in _init
File "core\gl.py", line 44, in __init__
File "core\gl.py", line 57, in update
ValueError: subsurface rectangle outside surface area
Exception exceptions.AttributeError: 'texture' in <bound method TexQuad.__del__ of <core.gl.TexQuad object at 0x01001A10>> ignored
Traceback (most recent call last):
File "core\libengine.py", line 184, in update
File "core\libengine.py", line 479, in _bg
File "core\libengine.py", line 467, in _obj
File "core\core.py", line 998, in __init__
File "core\core.py", line 648, in load
File "core\core.py", line 287, in open_art
File "core\core.py", line 272, in _open_art_
File "core\gl.py", line 144, in __init__
File "core\gl.py", line 257, in _init
File "core\gl.py", line 44, in __init__
File "core\gl.py", line 57, in update
ValueError: subsurface rectangle outside surface area
Exception exceptions.AttributeError: 'texture' in <bound method TexQuad.__del__ of <core.gl.TexQuad object at 0x01426B30>> ignored
Traceback (most recent call last):
File "core\libengine.py", line 184, in update
File "core\libengine.py", line 479, in _bg
File "core\libengine.py", line 467, in _obj
File "core\core.py", line 998, in __init__
File "core\core.py", line 648, in load
File "core\core.py", line 287, in open_art
File "core\core.py", line 272, in _open_art_
File "core\gl.py", line 144, in __init__
File "core\gl.py", line 257, in _init
File "core\gl.py", line 44, in __init__
File "core\gl.py", line 57, in update
ValueError: subsurface rectangle outside surface area
Exception exceptions.AttributeError: 'texture' in <bound method TexQuad.__del__ of <core.gl.TexQuad object at 0x01509510>> ignored

Also, I believe I found the source of the popping on "silent" textboxes... Seems the "mixer system isn't initialized" the first time I tried to play music in the script I was testing and, not only did the music fail to play, I got the popping sounds.

Thanks for the update, though! It fixed a few problems I was having. If you need more info, tell me and I'll do what I can.
Thank you for reading. I hope you have a wonderful day.
100% pure Joy.
Excellent source of puns.
Refrigerate after opening.
Re: The PyWright Casemaker Thread - BETA 10Topic%20Title

Gender: None specified

Rank: Suspect

Joined: Wed Sep 17, 2008 8:25 pm

Posts: 26

Thanks for the update.

Anyways, I'm sort of confused as to how to add evidence and profiles to the Court Record. I used addev from the beta_10 file, along with set _name, set _pic and set_desc.
Re: The PyWright Casemaker Thread - BETA 10Topic%20Title
User avatar

Gender: Male

Rank: Prosecutor

Joined: Thu Mar 06, 2008 8:36 pm

Posts: 770

(Er, I wrote this, but realized that the software rendering of evidence is broken. The below is still a good tutorial though that should make it a bit more clear. However, it will only work right in opengl mode at the moment, until software rendering is fixed for court record. I actually would like to write more such tutorials, because this program really needs them.)

Short example. Lets say we have an autopsy document, a broken door handle, and a prosecutor who is submitting these items into evidence. Note that, there is no automatic "x has been added to the court record animation", although one of those could be written in wrightscript. You didn't really explain what you expected to happen and what didn't or did happen when you used those commands, so I'll try to be as thorough as possible.

First we need to determine some way to refer to the evidence in our scripts. For instance, "autopsy","handle", and "prosecutor". This identifier will not necessarily ever be presented to users, although the identifier will be used as a default value for values that you do not specify. For the sake of this example, I will be naming the evidence "autopsy", "handle" and "prosecutor".

Now, let's add the autopsy report to the court record. Let's assume that an icon named "autopsy.png" exists in the art/ev directory somewhere on the search path (i.e., mygame/art/ev, mygame/case1/art/ev or /art/ev, although the last path is not recommended for distribution reasons).

Code:
addev autopsy
"(The autopsy report has been added to the court record)"


That line of text could be replaced with an evidence animation, but since no one has coded one yet, it suffices to explain what is going on. Now, if the player were to look at the evidence in the court record, they should see one item - the autopsy report. If the icon did exist on the search path, it should display. Otherwise, it will probably be white, or invisible. The player should be able to zoom in to the evidence also, although the description will be blank. Lets make sure to set the values.

Code:
set autopsy_desc The report shows that the cause of death was strangulation.
addev autopsy
"(The autopsy report has been added to the court record)"


Note that the "set" line could also be after the addev line. All the set command does is set a variable. What's special about the variable, is that before the description of an evidence is printed, pywright will check to see if there is a description set for that item. You could for instance change the description of the item when the player finds out more about it.

Now let's add the door handle. "Handle" is a pretty non descriptive name to use, so let's make it more interesting by changing the name.

Code:
set handle_name Broken Door Handle
set handle_desc This handle was lying on the floor where the victim was killed.
char prosecutor
"This door handle, found at the scene, shows that the victim struggled."
addev handle
nt
"(Door handle added to the court record)"


Finally, we should add a prosecutor. Remember how I mentioned that the name we choose for evidence in the script is not meant for players to see? This is where $ comes in. The tag we choose for a profile picture must end in a $. In this case, we will use "prosecutor$". Earlier I said it wasn't required in set statements, but that was false. It is actually required.

Code:
set prosecutor$_name Professor Xavier
set prosecutor$_desc He used to work with the X-Men, but since super powers were eradicated, he has found another line of work.
set prosecutor$_icon prosecutor
addev prosecutor$
"prosecutor is on the page now"

Now there should be a professor xavier on the profiles page. Again, if the icon does not exist, it will be either white or transparent.
Creator of PyWright, the lovable case construction system!
Also visit the PyWright post.


Last edited by saluk on Sat Oct 04, 2008 6:10 pm, edited 1 time in total.
Re: The PyWright Casemaker Thread - BETA 10Topic%20Title
User avatar

I hate Klaviema >_>

Gender: Male

Location: UK

Rank: Ace Attorney

Joined: Sat Aug 16, 2008 4:17 pm

Posts: 1938

HELP!

From when I downloaded beta 10, I have had a large problem: Whenever I try to open "Pywright", "Updater" or "editor" It displays the message:

See the logfile '[blah blah blah]... documents\Pywright_beta9\pywright\(Pywright/Updater/editor).exe.log' for details

It was working fine until then :meekins:
ImageImage
ImageImage
Re: The PyWright Casemaker Thread - BETA 10Topic%20Title

Gender: None specified

Rank: Suspect

Joined: Wed Sep 17, 2008 8:25 pm

Posts: 26

Thank you! That cleared a lot of stuff! And opengl mode decided to work for me.

It seems the profile thing isn't working. Like, when you add the $ by the end of the name, it shows up kinda screwy. But when you take it out, it works fine, but it's put in as evidence.
Re: The PyWright Casemaker Thread - BETA 10Topic%20Title
User avatar

Gender: Male

Rank: Prosecutor

Joined: Thu Mar 06, 2008 8:36 pm

Posts: 770

RandomJibberish wrote:
HELP!

From when I downloaded beta 10, I have had a large problem: Whenever I try to open "Pywright", "Updater" or "editor" It displays the message:

See the logfile '[blah blah blah]... documents\Pywright_beta9\pywright\(Pywright/Updater/editor).exe.log' for details

It was working fine until then :meekins:



Ok, so when you checked the log what did it say?
Creator of PyWright, the lovable case construction system!
Also visit the PyWright post.
Re: The PyWright Casemaker Thread - BETA 10Topic%20Title
User avatar

Gender: Male

Rank: Prosecutor

Joined: Thu Mar 06, 2008 8:36 pm

Posts: 770

lulzies wrote:
Thank you! That cleared a lot of stuff! And opengl mode decided to work for me.

It seems the profile thing isn't working. Like, when you add the $ by the end of the name, it shows up kinda screwy. But when you take it out, it works fine, but it's put in as evidence.


I think the $ is actually required everywhere you use the evidence tag in the code, even in set statements. I was thrown off because some of my old code left it off, but then when I checked it, those values weren't being read. I am thinking of dropping the $ funny business in the next version, it seems silly explaining it :) I would just add an argument to addev letting you specify where you want to add it. But I'll keep $ for compatibility.

Also make sure to "set billy$_name billy" otherwise it tries to print the dollar sign in the name!




EDIT: Beta 10.3 is uploaded. It fixes the black screens, evidence in software, and adds the "portrait" argument to the addev command so you don't have to use dollar signs if you don't want to. (Previous example would be "addev prosecutor portrait" instead of "addev prosecutor$".)
Creator of PyWright, the lovable case construction system!
Also visit the PyWright post.
Re: The PyWright Casemaker Thread - beta 10.3Topic%20Title

Gender: None specified

Rank: Suspect

Joined: Wed Sep 17, 2008 8:25 pm

Posts: 26

You're really working hard on this!

Is there only way to use the full courtroom and scroll across it to give that "prosecutor bench to defense bench" look?

Also, after you display evidence with ev, how do you undisplay it?
Re: The PyWright Casemaker Thread - beta 10.3Topic%20Title
User avatar

Gender: Male

Rank: Prosecutor

Joined: Thu Mar 06, 2008 8:36 pm

Posts: 770

Thanks! I have to work hard because I made so many mistakes and errors with the last release :P

You can use "bg courtroomfull", which is the full courtroom background, and then if you position all the characters etc right, you can use the scroll command to do the sweep you are talking about. Which, unfortunately, will not work in opengl mode at the moment, because it is too darn wide. I am trying to come up with a way to tile it so that wide textures can be supported. I hope to make some macros for this available in the future so that each person doesn't have to work out what the coordinates etc should be. Slezak was working on that, but ran into the too wide texture problem :(

Actually, a workaround for that Slezak, would be to split the full courtroom picture into sections. Then you can go
Code:
bg courtroomfullA
bg courtroomfullB stack x=512

to show it. And use the same scroll commands etc I'm guessing you are using. At least, until I figure out an automatic way to do basically the same thing.

So, no there's no simple way to do what you want lulzies (at least not yet), but it is possible to do :)
Creator of PyWright, the lovable case construction system!
Also visit the PyWright post.
Re: The PyWright Casemaker Thread - beta 10.3Topic%20Title

Gender: None specified

Rank: Suspect

Joined: Wed Sep 17, 2008 8:25 pm

Posts: 26

The nt command won't hide the characters anymore.
Re: The PyWright Casemaker Thread - beta 10.3Topic%20Title
User avatar

Gender: Male

Rank: Prosecutor

Joined: Thu Mar 06, 2008 8:36 pm

Posts: 770

Did you mean it doesn't hide the nametag? It was never meant to hide characters.
Creator of PyWright, the lovable case construction system!
Also visit the PyWright post.
Re: The PyWright Casemaker Thread - beta 10.3Topic%20Title

Gender: None specified

Rank: Suspect

Joined: Wed Sep 17, 2008 8:25 pm

Posts: 26

Then how do you take the characters out of the screen? I tried putting hide after char but it won't take him out.
Re: The PyWright Casemaker Thread - beta 10.3Topic%20Title
User avatar

Gender: Male

Rank: Prosecutor

Joined: Thu Mar 06, 2008 8:36 pm

Posts: 770

It looks like I broke some more stuff! For now you can use either "clear" to clear the whole screen (and then reload the background) or "delete name=x" as long as you add a "name=x" to the char line you want to delete. In the past and future, (but not present) char hide and reloading the bg are other ways.

Code:
char evil_dude name=c
"Heh heh, hey boss, this dude is in my way.  Should I off 'im?"
delete name=c
nt ???
"You can't just kill anyone you see on the street.  Just take out the target, will ya?"


10.4 here we come, lol. I have new features I want to add, but as long as it's not bug free I can't really move on :( On the plus side, I am improving my test cases to handle all of the new situations that are being found, so hopefully once a bug is squished it will stay squished.
Creator of PyWright, the lovable case construction system!
Also visit the PyWright post.
Re: The PyWright Casemaker Thread - beta 10.3Topic%20Title
User avatar

Rook Weslayen: Dual Attorney

Gender: Male

Location: Idaho

Rank: Medium-in-training

Joined: Sun Aug 03, 2008 4:48 am

Posts: 340

Seeing as this thread and project still seem active, perhaps I will give this a shot.
I have a feeling it's not too easy to pick up, but if it's better than most, I shouldn't have too much of a problem.
I will give PyWright a try.
:godot:
Whether I'll create anything or not yet will have to wait, of course.
Image
Re: The PyWright Casemaker Thread - beta 10.3Topic%20Title
User avatar

Wibbly wobbly timey-wimey stuff

Gender: Female

Location: In front of you

Rank: Medium-in-training

Joined: Mon Oct 08, 2007 6:42 pm

Posts: 352

For the character deletion thing, I just used char by itself... but then that brings up a "none" error in the PyWright.exe log... I'll try the delete name=x thing. Thank you for the indirect help! :edgy:
Thank you for reading. I hope you have a wonderful day.
100% pure Joy.
Excellent source of puns.
Refrigerate after opening.
Re: The PyWright Casemaker Thread - beta 10.3Topic%20Title

Gender: None specified

Rank: Suspect

Joined: Wed Sep 17, 2008 8:25 pm

Posts: 26

You should also add functions that undisplay evidence and maybe fix some of the sfx because they're not playing them in between dialouges and some of the objections are Japanese...

EDIT: For some reason the mus function for playing music stopped working. It says that the mixer system is not initialized.

Last edited by lulzies on Tue Oct 07, 2008 12:22 am, edited 1 time in total.
Re: The PyWright Casemaker Thread - beta 10.3Topic%20Title

Gender: None specified

Rank: Prosecutor

Joined: Fri Sep 05, 2008 9:18 pm

Posts: 821

The not guilty, and presumably the guilty too both only show for a split second (opengl off).
Re: The PyWright Casemaker Thread - beta 10.3Topic%20Title
User avatar

Gender: Male

Rank: Prosecutor

Joined: Thu Mar 06, 2008 8:36 pm

Posts: 770

DarkCoffeeJazz: I hope you find what you are looking for. If not, let me know what is missing.

lulzies wrote:
DarkCoffeeJazz]...You should also add functions that undisplay evidence...

delete name= will work for evidence as well (as long as you used name= on the ev line as well). I am actually moving toward less commands rather than more. Eventually some of the commands you are getting used to like "ev" will actually be macros instead of hard coded commands.

lulzies wrote:
fix some of the sfx because they're not playing them in between dialouges and some of the objections are Japanese

Which sfx aren't playing? I am not aware of this. Is it specific sounds, or is it actually that sounds just aren't played consistently regardless. As for what sound files are included, you are of course not limited to this set. I haven't done much with content except download what was available on court-records.net and in some cases make it loadable. If there are sounds that you think should be included and you know where to get them, send me a link and I will add them in later versions, but nothing is stopping you from using other sounds just because they don't come with the package. You don't have to use the Japanese voices, but someone might want to. I know I was a bit bummed to find that most of the sounds were from the Japanese myself. I guess now that I look, C-R.net has many more languages available, so I'll be sure to add those in the next version.

lulzies wrote:
For some reason the mus function for playing music stopped working.

Ehe, play a sound effect before you use the mus command. Mus does not initialize the sound system, sfx does. This will be fixed in 10.4.

MrCheeze wrote:
The not guilty, and presumably the guilty too both only show for a split second (opengl off).

Thanks, I'll look into it.

10.4 should fix most of the above bugs, I am working on being able to load bigger bitmaps in opengl but I don't want that to slow down the other bugs being fixed. So keep using the workaround of loading multiple backgrounds instead of one big one for the full courtroom for now. 10.4 probably by tomorrow.
Creator of PyWright, the lovable case construction system!
Also visit the PyWright post.
Re: The PyWright Casemaker Thread - beta 10.3Topic%20Title

Gender: None specified

Rank: Suspect

Joined: Wed Sep 17, 2008 8:25 pm

Posts: 26

I still can't seem to play sfx during convos.

For example...

Code:
char meekins/megaphone(talk) nametag=???
sfx owned.ogg
"{f}I didn't do it! {n}{sfx slash.ogg}{f}I didn't do it! {sfx
smack.ogg}{f} I didn't do it!"


Everything else is fine, but it won't play the sound effects in the quotations.

I'm good with everything else. I downloaded my own sfxs and I'll wait for 10.4 for the other fixes.
Re: The PyWright Casemaker Thread - beta 10.3Topic%20Title
User avatar

Wibbly wobbly timey-wimey stuff

Gender: Female

Location: In front of you

Rank: Medium-in-training

Joined: Mon Oct 08, 2007 6:42 pm

Posts: 352

No space between sfx and the filename, I believe... like for example {sfxslash.ogg}
Thank you for reading. I hope you have a wonderful day.
100% pure Joy.
Excellent source of puns.
Refrigerate after opening.
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title
User avatar

Gender: Male

Rank: Prosecutor

Joined: Thu Mar 06, 2008 8:36 pm

Posts: 770

Well, 10.4 is released. It's really nothing special. Fixes a few regressions and such. I'm not sure if the updater is working (I think it's actually an issue on the server) so here is the zip file:

http://pywright.dawnsoft.org/update10.4.zip
(extract to pywright root folder and overwrite all files)

Slezak wrote:
No space between sfx and the filename, I believe... like for example {sfxslash.ogg}


This is the truth, although in 10.4 spaces are allowed.
Creator of PyWright, the lovable case construction system!
Also visit the PyWright post.
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title

Gender: None specified

Rank: Prosecutor

Joined: Fri Sep 05, 2008 9:18 pm

Posts: 821

I've run out of stuff to say...

Except maybe (I forget if I've said this) an option to preload graphics, in paticular characters.
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title
User avatar

Ziggy Stardust

Gender: Male

Rank: Desk Jockey

Joined: Wed Oct 01, 2008 2:15 am

Posts: 108

This might have been answered, but when I try to run PyWright, the screen is all glitchy and flashy. How do I fix that?
Image
Lousy sig made by me :3
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title
User avatar

Gender: Male

Rank: Prosecutor

Joined: Thu Mar 06, 2008 8:36 pm

Posts: 770

TheSquishy wrote:
This might have been answered, but when I try to run PyWright, the screen is all glitchy and flashy. How do I fix that?


I don't really know what you mean by this. Could you give me a screenshot of the behavior? You can also try changing opengl mode (in display.ini, change "opengl=" to be "opengl=0" or "opengl=1", whatever is the opposite of what's listed there). Most likely there is an obscure opengl issue with your system, and setting opengl=0 will fix it. Even if that works, I would like to see if I can figure out what is causing the glitch. opengl=1 is better :)

I posted how to get info about your system a while ago:

Quote:
If you are on windows, hold the windows key and press R, type dxdiag in the box that comes up, and hit enter. Wait for dxdiag to finish it's check, then click on save all information over on the right. Save it wherever, and send me a mail or pm with the contents of the file. Or upload it somewhere and post me a link. This way I will have all the information I could ever need.

If you are on linux and have trouble with opengl mode crashing, running slow, or displaying graphic artifacts (after you have pyopengl installed), send me your /etc/X11/xorg.conf or /etc/X11/XF86Config. (They may not be located in /etc/X11, do a search in that case or look up where it is in your OS documentation).


If you could pm me your dxdiag.txt or xorg.conf file it might help. The screenshot of the problem is the most important though.
Creator of PyWright, the lovable case construction system!
Also visit the PyWright post.
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title

Gender: None specified

Rank: Suspect

Joined: Wed Sep 17, 2008 8:25 pm

Posts: 26

There's nothing wrong I can find anything wrong while playing a case for Pywright, as of now.

But for some reason, when I exit out, it says that Pywright stops working and Windows is trying to find a solution. Maybe it's because I'm running a Vista but it's not that big of a deal.
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title
User avatar

Gender: Male

Rank: Prosecutor

Joined: Thu Mar 06, 2008 8:36 pm

Posts: 770

lulzies wrote:
when I exit out, it says that Pywright stops working and Windows is trying to find a solution. Maybe it's because I'm running a Vista but it's not that big of a deal.


Well, I run Vista and it doesn't give this message, so I'm not sure. Does it matter what you do in the program, or does it just say it every time? (Like if you run it and just watch the splash screen and close, it still gives that message).

Also, do the other exe's do this? (editor and updater) or is it only pywright.exe? Also, opengl=1 or opengl=0.

Anyway, it's good to hear bug list is getting smaller. My focus for the next version is finishing dual screen and 3d support (3d interaction interface), and working on tools. The editor is meant to contain more tools than just editing scripts, so since the actual editor part is sort of a flop at the moment, I'm going to refocus on the other tools which should help make a lot of things easier.

I also plan to implement some of the apollo specific things, especially perceive. Even though I personally did not like the percieve system :) I will only use wrightscript for these interfaces, and wherever wrightscript is lacking, I will improve it.

This should all be done in the next few weeks, and will probably be version 0.8 or 0.9. Yep, beta is nearing an end. If I find time in there (unlikely) I want to start beefing up the documentation with some tutorials and better formatting. But like I said, it's not that likely.
Creator of PyWright, the lovable case construction system!
Also visit the PyWright post.
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title

Gender: None specified

Rank: Suspect

Joined: Wed Sep 17, 2008 8:25 pm

Posts: 26

It doesn't matter what I do with the program. I can have it on for a couple of seconds and when I exit out, it will still say that.

Only the Pywright.exe does that. The updater and editor are fine.

opengl=1. When opengl=0, it's fine, but evidence is kinda blurry.

Good to know the beta is about to be finished though.
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title

Gender: None specified

Rank: Prosecutor

Joined: Fri Sep 05, 2008 9:18 pm

Posts: 821

bg doesn't get rid of characters.
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title
User avatar

I am the ace prosecutor

Gender: None specified

Rank: Suspect

Joined: Fri Aug 29, 2008 1:58 pm

Posts: 22

hey saluk remember me...I have one question (don't worry it's not a problem) how do u get a character to talk if there offscreen while showing another character without the other character dissappearing (like for example this)
Spoiler: example
this is what happens

Pearl- I'm so happy that u won the case mister Nick
Phoenix- thanks pearl

now right when I get phoenix to say thanks pearl...pearl dissappears how do I get that to not happen?
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title
User avatar

Gender: Male

Rank: Prosecutor

Joined: Thu Mar 06, 2008 8:36 pm

Posts: 770

Code would be best to figure out what's going on. Anyway, here is code I have from the beginning of my case that does what you want:

Code:
char maya fade
"Mmmm!{n}Doesn't that just smell magically{n}delicious?"
char phoenix hide
"It smells amazing.  I didn't know{n}you knew how to make{n}Chifron pie.{n}(Maya bakes?  She always{n}seemed more skilled in eating{n}food than preparing it.){n}"


Note the hide after phoenix.
Creator of PyWright, the lovable case construction system!
Also visit the PyWright post.
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title

Gender: None specified

Rank: Prosecutor

Joined: Fri Sep 05, 2008 9:18 pm

Posts: 821

If there isn't a blink animation, characters won't close their mouth after speaking. If I remember right, PW characters keep talking, and AJ ones just freeze. Try it on Payne/Paynette.
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title
User avatar

Gender: Male

Rank: Prosecutor

Joined: Thu Mar 06, 2008 8:36 pm

Posts: 770

Without a blink, it stops on the last frame. If the last frame is an open mouth... I suppose it should really stop on the first frame rather than the last one. Still, having a blink animation would be best. But yeah, I'm not totally sure how I should handle this.
Creator of PyWright, the lovable case construction system!
Also visit the PyWright post.
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title

Gender: None specified

Rank: Prosecutor

Joined: Fri Sep 05, 2008 9:18 pm

Posts: 821

Yeah, just stopping on the first frame should fix it.
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title

Gender: None specified

Rank: Suspect

Joined: Wed Sep 17, 2008 8:25 pm

Posts: 26

How do you display fg's during conversations? I want to go with that authentic Witness Testimony thing because they don't really synch. The animation appears, then the text, or it's the other way around.

Also, I'm kind of confused on how you "check" evidence and the whole label thing.
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title

Gender: None specified

Rank: Prosecutor

Joined: Fri Sep 05, 2008 9:18 pm

Posts: 821

At the moment, you can't.

That reminds me, the "cross examination" is supposed to go CHUNN shuuuut, not just shuuuut. The chun is when it appears, the shut when it separates.
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title
User avatar

Gender: None specified

Rank: Desk Jockey

Joined: Sun Aug 31, 2008 9:45 pm

Posts: 96

It finally works, but...not really.

It won't let me enter text commands. I can make new lines, but it won't let me type anything.

When I select a case, I usually get an error. The log says:

Code:
Traceback (most recent call last):
  File "editor.py", line 3, in <module>
  File "core\libedit.py", line 451, in <module>
    quit = root.handle_events(pygame.event.get())
  File "core\gui.py", line 94, in handle_events
    self.event("click_down_over",evt.pos)
  File "core\gui.py", line 67, in event
    done = w.event(name,p2,*args)
  File "core\gui.py", line 67, in event
    done = w.event(name,p2,*args)
  File "core\gui.py", line 73, in event
    func(*args)
  File "core\gui.py", line 375, in click_down_over
    getattr(tob,f)()
AttributeError: 'case_menu' object has no attribute '_New_Case'

Image
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title
User avatar

Gender: Male

Rank: Prosecutor

Joined: Thu Mar 06, 2008 8:36 pm

Posts: 770

The editor is broken (and has been for a while). Use notepad or some other text editor to write cases. The editor doesn't really provide much value at the moment anyway.

By the way I am planning a 10.5 release some time this week. Sorry I have been silent for a while, it's very tough to do well in school and at work and on my hobbies all at once :(
Creator of PyWright, the lovable case construction system!
Also visit the PyWright post.
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title

Gender: None specified

Rank: Prosecutor

Joined: Fri Sep 05, 2008 9:18 pm

Posts: 821

is ok
Re: The PyWright Casemaker Thread - beta 10.4Topic%20Title
User avatar

Gender: None specified

Rank: Desk Jockey

Joined: Sun Aug 31, 2008 9:45 pm

Posts: 96

saluk wrote:
The editor is broken (and has been for a while). Use notepad or some other text editor to write cases. The editor doesn't really provide much value at the moment anyway.


Thanks...

Now I have another stupid question.

How to I make a character appear? :sadshoe:

I read the doc several times, and though I think I found it, it still doesn't work.

In the "port" folder, I made a folder called "Apollo", and in that folder I made a folder called "Emotions" and in that folder I have a talking Apollo .gif file named "talk" and a blank text file, also named "talk".
Image
Page 7 of 42 [ 1674 posts ] 
Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 42  Next
 
Display posts from previous:  Sort by  

 Board index » Present Evidence » Games

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

phpBB SEO