User talk:EdT: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(wow!)
m (I got it)
Line 245: Line 245:
:Valid Level level0_CosplayMac.dat
:Valid Level level0_CosplayMac.dat


Next question, what does it do and how do I access the features?
EDIT: I see what it does, it loads the cosplay Konoko as a global character. 


Also, thanks for the cosplay model.  I still have lots to learn about using the right meshes. But It seems the facets in my Motoko model are a result of the FBX converter.  I did another extract of ONCCk4_K and then converted the .dae to fbx.  You can see the comparison here; http://edt.oni2.net/3D/ONCCk4_K.zip
Also, thanks for the cosplay model.  I still have lots to learn about using the right meshes. But It seems the facets in my Motoko model are a result of the FBX converter.  I did another extract of ONCCk4_K and then converted the .dae to fbx.  You can see the comparison here; http://edt.oni2.net/3D/ONCCk4_K.zip
[[User:EdT|EdT]] 05:02, 5 May 2008 (CEST)
[[User:EdT|EdT]] 05:02, 5 May 2008 (CEST)

Revision as of 03:09, 5 May 2008

Hi, Ed
Could you please provide mini-summaries for your edits.
Also try to preview a lot before submitting, so as to
only submit when you really think you're done.
Of course there'll always be a typo or a bug or something,
but there's a difference between 2/3 edits and half a dozen.
Thanks a lot anyway.
geyser 00:48, 18 November 2006 (CET)
geyser
Will preview more before submitting and add a summary.
Ed

Hi Ed,
Here's a tentative fix for the mismapped enter key in the OSX port:
  • go to the offset 0x1B6050
  • you should see 0D 00 00 0A (Oni's "enter" bound to external "return")
  • change it to 0D 00 00 0D (Oni's "enter" bound to external "enter")
It should work. Please confirm.
geyser 04:29, 2 January 2007 (CET)

IT WORKS!!!!! I can now enter commands in the console and by pressing RETURN, I can use the 2 camera modes.
However, the keys to move the camera, NUMPAD have no effect. The only keys that work are the up/down arrow. It will pan the camera up and down.
How did you ever figure it out?
Many thanks!
EdT 06:16, 2 January 2007 (CET)

"How did you ever figure it out?"
Short answer is "RUSSIAN POWER!!!".
Somewhat longer answer is "SFeLi is back, and he means business".
I figured out the enter fix on my own, but I wouldn't have done it if it wasn't for SFeLi's return.
The urge of doing it before he did, or something. And he gave me a few reassuring tips ^^
geyser 21:38, 3 January 2007 (CET)

FYI, while in console mode, I tried pressing the various keys on the NUMPAD and they were entered into the console.
In other words, Oni recognizes those keys, however, in camera mode, Oni does not respond to them and move the camera.
I wonder if it has to do with these commands:
at 001D9D60 InitializeDeveloperKeys
at 001D9F20 UnbindDeveloperKeys
at 001DE240 DeveloperAccess
You're making great progress!
76.170.254.115 17:35, 2 January 2007 (CET)

I'll tell you the story later, it might be worth an OCF thread... ^^
Numpad keys are a bit tricky because of how OMNI used Cocoa.
There are a number of fixes I could suggest, but before I do,
there's a little test I'd like you to carry out.
  • go to the offset 0x1B5EBC
  • you should see 31 00 00 31' (Oni's "1" bound to external "1")
  • change it to BE 00 00 31 (Oni's "numpad1" bound to external "1")
Then try these two things:
  • hit the regular "1" key with an open console: does it still work?
  • hit the regular "1" key in cam control mode: does it move the camera?
More, better, later.
geyser 21:38, 3 January 2007 (CET)

When I press the regular "1" in the console, nothing appears and any other character afterwards is not visible or recognized.
However, when I use the delete key to remove "1" then start typing again, the characters will appear and be recognized
(hm, so it's the same as for illegal characters... £, µ, à, é, all those... hm. geyser)
I tried the command in the lab level chr_teleport 0 114 nothing happened, but when I used chr_teleport 0 200 Konoko moved to that flag.
In camera mode, pressing the regular "1" moves the camera left, also the NUMPAD1 now moves the camera left.
(that's surprising... binding a regular key to Oni's numpad event somehow waked up the proper event)
So between you, SFeLi, Loser and others, we are going to see some amazing things with Oni!!!! That's awesome!!!!!
(hm. ^^)
EdT 22:07, 3 January 2007 (CET)
I've been having lots of fun playing the Rooftops as "Mukade" lately.
Slightly hacked TRAMs allow me to cover huge distances with a properly timed jump.
The cam mode allows me to teleport anywhere I like, and there's also another thing.
Something we refer to as "drifting". It's risky, but it's real teleporting madness.
Oh, and the boss shield. That one rocks so much, it ought to be a regular cheat.
geyser 16:55, 4 January 2007 (CET)

It's strange that I can run the original Oni in OSX, and the NUMPAD keys are recognized and I can move the camera.
But the OSX version by Omnigroup will recognize the NUMPAD keys in the console, but not respond to the NUMPAD keys while in camera mode.
It seems that each version of Oni has its flaws.
  • Original Oni in OS9 -Game mode works fine, Dev Mode works - but when the game crashes it brings down the whole computer.
  • Original Oni in OSX - Dev Mode works - Game mode has flaws: the right mouse button is not recognized, so you can't kick. Also, the mouse acts like it hits the edge of the screen so you can't turn Konoko anymore in that direction.
  • Omnigroup port in OSX - Game Mode works - Dev mode has its flaws -but you're overcoming them!
I know... I know... I should get a PC to play Oni...  :-)
EdT 02:53, 4 January 2007 (CET)
You should get a PC, period. ^^
Original Oni in OSX: the 2nd mouse button might be fixeable, but probably not the mouse limits.
I guess no one will cry too much about that version, as long as we fix OMNI's... right?
OMNI's port. The almost irreductible flaw is the trimmed-down scripting engine. Not sure we'll ever get around to fixing that.
(which is a shame, because a lot of cool mod ideas can only be implemented on PC)
(and I don't mean Loser's Mukade script: that one is fully portable to Mac, flags or no flags).
The camera navigation can be "fixed" rather easily. I feel bad for not having thought of it earlier.
First, revert the above "fix", i.e., bind the regular "1" back to "1". We won't need any of that.
Second, open your key_config.txt, and make it look something like this:
unbindall

bind w to forward
bind a to stepleft
bind s to backward
bind d to stepright
bind q to swap
bind e to drop
bind f to punch
bind c to kick

bind space to jump
bind leftshift to crouch

bind mousebutton1 to fire1
bind mousebutton2 to fire2
bind mousebutton3 to fire3
bind mousexaxis to aim_LR
bind mouseyaxis to aim_UD

bind fkey1 to pausescreen
bind v to lookmode
bind z to walk
bind leftcontrol to action

bind tab to hypo
bind r to reload
bind fkey12 to screenshot

#bind p to forward
#bind l to stepleft
#bind apostrophe to stepright
#bind semicolon to backward
#bind o to swap
#bind leftbracket to drop
#bind k to punch
#bind comma to kick
#bind enter to walk

bind p to man_cam_move_forward
bind l to man_cam_move_left
bind apostrophe to man_cam_move_right
bind semicolon to man_cam_move_backward
bind leftarrow to man_cam_pan_right
bind rightarrow to man_cam_pan_left
bind rightshift to man_cam_move_up
bind rightcontrol to man_cam_move_down
Allow for some variations, of course. Adopt, adapt and improve.
The basic idea is that the left-handed controls are mapped properly.
And we never use them. So? let's map them to man_cam_... instead!
leftarrow and rightarrow are consistent with the auto-bound uparrow and downarrow.
You may want to use pageup and pagedown instead of rightshift and rightcontrol.
Note that you'll hardly ever use anything but the equivalent of WASD, i.e.:
  • man_cam_move_forward
  • man_cam_move_left
  • man_cam_move_right
  • man_cam_move_backward
Why? Because in camera mode 2 (press Enter twice), you can aim up, and then man_cam_move_forward makes you go up much faster than man_cam_move_up would. Same for going down.
The only occasion on which you'll use the other 6 keys is when you want to:
move the camera away so as to get a nice remote view
and keep mouse control over Konoko
That's what camera mode 1 is for. Then you need the whole lot. And you got it.
geyser 16:55, 4 January 2007 (CET)

Now I have an almost fully functioning Dev Mode! Just missing those PC commands! I was just wondering if it would be possible to add a couple of PC commands like chr_focus and chr_location that is needed for your scripts...

Hey since you can record more than 30 seconds, why don't you record your Mukade fun along with the Boss shield!

Thank you for all your efforts for us Mac users!

EdT 04:18, 5 January 2007 (CET)

I notice in the binaries for the Omni port, there is a large section with only zeros. Is it even remotely possible to add commands to that section? Since we have the Mac OniBeta that has the missing PC commands, would that be of help?

I know nothing when it comes to binaries and hex editing, so forgive me for the dumb questions.


Hi Edt,

I wonder if you can find any existing page around "http://oni.godgames.com/".

> There used to be an ONI page on Godgames (http://oni.godgames.com/), but the content got deleted at some point, and then some joker hacked the index page, which had a few people wondering...

Well, maybe we can surf on a random page that is cross-linked. There I expect there the remnant high resolution in-game pictures. Have you still any working link? Maybe in your browser favourite or *somewhere else*??

Paradox-01 22:49, 18 January 2008 (CET)

Hi Ed,

I am trying to learn the science behind your glass-breaking hack. Does it modify *all* character's kicks to break glass, not just Konoko? I am pretty sure I have seen that happen. In addition to that, can the hack make character's bodies break glass when thrown? What about punches from Konoko while holding a weapon? (I always felt like it would have made sense for that to break glass.) I am fairly ignorant of how this all works. --Iritscen 19:43, 28 February 2008 (CET)


First of all, its not "my hack" but geyser's. Here is the instructions for it: AE:Glass#Glass-breaking_combos

As for the science, I can only guess that the hack changes how the 3D particle for dust interacts with glass. So if there is dust related to a move or thrown bodies, it will break the glass. But moves without the dust particle will not break the glass. That's why a punch will not break the glass, no dust particle connect to the punch move. Of course, geyser would know best. Somewhere in the forum was Loser's instructions for a better way of handling the breaking glass, but it requires a lot more editing, so I just went for the simple "hack"

Interesting. I did read the instructions but they don't mean a lot to me. I will have to experiment with this at some point. It's a good way to add excitement to the game. You haven't lived until you've thrown Barabus through the glass at the top of TCTF Regional HQ (using the back-rolling throw that puts Konoko's feet through the glass as she flips backwards) and then fought him inside that floor. Every Earthquake brings a rain of glass down from above. It's awesome. --Iritscen 21:58, 28 February 2008 (CET)

Just wanted to thank you for the work on the modding tutorials (TXMP, adding char.s). That's some really important info. Also, I had a thought about the topic I brought up above, glass-breaking. Since the hack makes the dust particle break glass, can't we mod a move to generate dust if we want that move to break glass? It's still my goal at some point to see a mod that allows Konoko to break glass when she has a weapon in hand, and punches with it. I noticed we have specific documentation that shows where an animation can generate a particle. I bet we could just mod that to generate the glass-breaking particle. What do you think? --Iritscen 15:47, 17 April 2008 (CEST)


I've been meaning to get the tutorials up, hopefully, it will help others to do more modding.

I think it is a good idea, I found the post with Loser's glass breaking hack: http://oni.bungie.org/community/forum/viewtopic.php?pid=2856#p2856

Though, right now I'm still trying to figure out the Masterchief importing. Getting the model to move correctly, it has to do with the centerpoints for each body part. Also, I just cannot find where in Blender, you can change the texture coordinates of a part. Have you tried importing your Griffin into Oni?

One other thing, with the mouse freezing issue with Oni under Leopard, have you tried changing the screen resolution of the game to see if it makes a difference? It worked for one person.

Also, I've had an idea of a new outfit for Konoko as a tribute to GITS. I found the following and hopefully, one day, I'll try to make a skin for it. Maybe once figure out 3D modeling, even modifying the 3D Konoko to look like it. But with my skills, that's a looong way off!

http://www.1999.co.jp/dbimages/user/hobby/itbig/10051368a.jpg

EdT


So, right now, you're trying to figure out two things in Blender, aren't you? Tex coords and setting center points for the bones? I will try to look into those soon. I really want to help, but literally this is the peak of activity at work right now and I am being swamped. I'd want to quit if I weren't already quitting.

I should try a different screen res., that's a good point. It might not even like my MBP's non-standard widescreen, the aspect ratio of which didn't exist when Oni was made. I just hooked up a 4:3 CRT the other day; maybe I should try playing Oni on it at a "normal" resolution.

That Konoko figure is awesome; I'm not typically a figure collector, but I'd buy that. And it's a great idea to give Konoko that outfit. And yes, it would involve 3D modding if you wanted to be accurate. Who knows, by the end of the year I might be able to help with that! :-)

Speaking more seriously, I think that my modding of Oni is not going to be governed by the Edition's release date, but rather, whatever I have done at that point can be released (either in the Edition package, geyser willing, or as a separate optional mod), but I'll just be modding at my own pace both before and after that. A new model here, a new scenario there. I have to be careful about overloading myself with deadlines, I have a tendency to do that. --Iritscen 19:14, 17 April 2008 (CEST)


In Blender, its more the Tex coordinates, I can set the center points, its more of a matter of putting them in the correct place for proper movement. I would like to put some texture on the model, even if its just random, noise texture.

Looks like if you wait until May, you can get the Motoko model: http://www.entertainmentearth.com/prodinfo.asp?number=ORG880291

EdT


HERE is what I meant by more creative choice of body part meshes. She still looks like a cosplayer, but not a completely lame one at that. Obviously I haven't touched the textures at all.
geyser 01:47, 5 May 2008 (CEST)

And another thing. HERE you'll find a dat/raw/sep set that you can place in your GameDataFolder (use the ones with the "Mac" suffix; PC dudes would of course use the ones with the "PC" suffix).
In order for Oni to load those plugins, you have to modify a byte in the engine (both on Mac and on PC). Here are the instructions, let us know if it works on the Mac:
  • for the Mac executable (OMNI):
go to 0x0E2D19 and change 7A to 9A
  • for the PC demo executable:
go to 0x021148 and change 00 to 01
  • for the PC retail executable ("standard" a.k.a. "eastern" a.k.a. THIS one):
go to 0x0206A8 and change 00 to 01
In case you're wondering: yes, it's a little big revolution. There are a few limitations, but mods will be much more modder- and user-friendly with this feature.
geyser 04:41, 5 May 2008 (CEST)


Wow!

I made the change in the Oni and the plugin loaded as you can see here:

Got Level Info for level0_CosplayMac.dat.
Valid Level level0_CosplayMac.dat

EDIT: I see what it does, it loads the cosplay Konoko as a global character.

Also, thanks for the cosplay model. I still have lots to learn about using the right meshes. But It seems the facets in my Motoko model are a result of the FBX converter. I did another extract of ONCCk4_K and then converted the .dae to fbx. You can see the comparison here; http://edt.oni2.net/3D/ONCCk4_K.zip EdT 05:02, 5 May 2008 (CEST)