|
zappy
Jun 4, 2009 3:53:58 GMT -5
Post by spinout on Jun 4, 2009 3:53:58 GMT -5
ZAPPY: Zelda Actor Placement - Python Places actors, changes objects Usage: python zappy.py <ROM> <SCENE NUBMER> <MAP NUMBER> <OBJECT SET NUMBER> Note: Scene number and map number are both decimal Example: python zappy.py /home/spinout/ROMS/ZELOOTMA.Z64 82 0 2This would load object set 2 of scene 82, room 0 from the ROM /home/spinout/ROMS/ZELOOTMA.Z64Controls Mouse rightclick + drag = rotate camera F1-F4: Toggle what you are editing F1: Transition actors F2: Link actors F3: Map actors F4: Objects a = reset actor position "-" / "=" = increment/decrement current actor/object "[" / "]" = increment/decrement current actor/object value "," / "." = increment/decrement current actor variable "w" / "s" = Camera backwards/forwards "i" / "k" = current actor X pos increase/decrease "j" / "l" = current actor Z pos increase/decrease "y" / "h" = current actor Y pos increase/decrease "r" / "f" = current actor X rot increase/decrease "d" / "g" = current actor Z rot increase/decrease "e" / "t" = current actor Y rot increase/decrease tab = toggle increment amount (1/16/64/256/4028) ctrl+"s" = save esc = exit ScriptYou will also need vpython. (apt-get install python-visual)
|
|
jsa
Junior Member
[Mo0:0]
Posts: 18
|
zappy
Jun 5, 2009 10:36:32 GMT -5
Post by jsa on Jun 5, 2009 10:36:32 GMT -5
Nice work!
I guess I won't be needing THIS any more.
*Deletes ZAP*
Well I'll keep ZAP for old times sake, ZAPPY is definitely a step up.
|
|
|
zappy
Jun 5, 2009 11:22:50 GMT -5
Post by spinout on Jun 5, 2009 11:22:50 GMT -5
Hearing that from you, JSA, means a lot to me. I'm glad you did not leave for good
|
|
|
zappy
Jun 6, 2009 23:55:53 GMT -5
Post by spinout on Jun 6, 2009 23:55:53 GMT -5
Water box manipulation ( not addition) has been implemented. F5 to go into waterbox mode. Position adjusts like actors, but size is controlled with "[" / "]" for x size and "<" / ">" for z size. Link remains the same
|
|
Deleted
Deleted Member
Posts: 0
|
zappy
Jun 7, 2009 6:48:05 GMT -5
Post by Deleted on Jun 7, 2009 6:48:05 GMT -5
Looks awesome. This will definitely come in useful.
|
|
Roxas
Full Member
Glitchkill Ghost
"LoL WuT?" [H:0][Mo0:2]
Posts: 87
|
zappy
Jun 7, 2009 11:27:10 GMT -5
Post by Roxas on Jun 7, 2009 11:27:10 GMT -5
will the vpython work with python 3.0.1 or do i need to get 2.6?
|
|
|
zappy
Jun 7, 2009 20:00:34 GMT -5
Post by snotskie on Jun 7, 2009 20:00:34 GMT -5
will the vpython work with python 3.0.1 or do i need to get 2.6? i second this question.
|
|
|
zappy
Jun 15, 2009 1:37:55 GMT -5
Post by spinout on Jun 15, 2009 1:37:55 GMT -5
2.6
|
|
|
zappy
Aug 8, 2009 4:34:03 GMT -5
Post by spinout on Aug 8, 2009 4:34:03 GMT -5
New version, now works with MM. ZAPPYreadme <- Read it before complaining!
|
|
|
zappy
Oct 17, 2009 1:01:03 GMT -5
Post by BlankedOut on Oct 17, 2009 1:01:03 GMT -5
RuntimeError: Reading .scale and .range is not supported when autoscale is enabled.
...Is it just me, or does it seem like whenever I use a program it somehow doesn't work. Sigh
|
|
|
zappy
Oct 17, 2009 10:26:20 GMT -5
Post by Secant on Oct 17, 2009 10:26:20 GMT -5
There's an easy workaround; I had this same error. Add this:
scene.range = 3
Right after this line of the script:
scene = display(width=800, height=600, visible = 0, background=(SETUP_INFO[1]/255., SETUP_INFO[2]/255., SETUP_INFO[3]/255.), userzoom = 0)
That fixed the scale/range problem for me.
|
|
|
zappy
Oct 17, 2009 18:24:26 GMT -5
Post by BlankedOut on Oct 17, 2009 18:24:26 GMT -5
There's an easy workaround; I had this same error. Add this: scene.range = 3 Right after this line of the script: scene = display(width=800, height=600, visible = 0, background=(SETUP_INFO[1]/255., SETUP_INFO[2]/255., SETUP_INFO[3]/255.), userzoom = 0) That fixed the scale/range problem for me. Thanks! It actually works now. xD I appreciate it, thank you.
|
|
|
zappy
Oct 20, 2009 14:48:21 GMT -5
Post by Secant on Oct 20, 2009 14:48:21 GMT -5
Error:
Traceback (most recent call last): File "C:\Python Scripts\Zappy.py", line 1, in <module> from visual import * File "C:\Python26\lib\site-packages\visual\__init__.py", line 59, in <module> import cvisual AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only
I've installed Python 2.6.2 and VPython 2.6-5.13 as per the site recommends. I'll try uninstalling and reinstalling both to see if that works. If anyone knows a quick, simple fix, I'd appreciate that.
|
|
|
zappy
Oct 20, 2009 14:57:52 GMT -5
Post by BlankedOut on Oct 20, 2009 14:57:52 GMT -5
Error: Traceback (most recent call last): File "C:\Python Scripts\Zappy.py", line 1, in <module> from visual import * File "C:\Python26\lib\site-packages\visual\__init__.py", line 59, in <module> import cvisual AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only I've installed Python 2.6.2 and VPython 2.6-5.13 as per the site recommends. I'll try uninstalling and reinstalling both to see if that works. If anyone knows a quick, simple fix, I'd appreciate that. Ohohoh, download 2.5 and use Vpython 2.5 package. vpython.org/contents/download_windows.html I had that same issue, its a 2.6 bug. So far, with the fix you gave me, and 2.5, Zappy works great.
|
|
|
zappy
Oct 21, 2009 18:30:12 GMT -5
Post by Secant on Oct 21, 2009 18:30:12 GMT -5
Thanks, frozen, I'll give that a whirl on my work computer tomorrow and see if it works. EDIT: Works like a charm. I've been waiting a long time to get this working.
|
|