Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 04/06/13 06:04

6opoDuJIo
Member
From: Ukraine
Registered: 03/18/13

Melee weapons?

a272ef75-fa84-4539-b2c2-aeaf04f37fa8.gif
How about a subject?
Is there any way to include em?


Implement Oni with Unity3D engine :
https://github.com/6opoDuJIo/Oni-Round2

Offline

#2 04/06/13 07:04

TOCS
Member
From: Denmark
Registered: 04/04/07

Re: Melee weapons?

I saw a sword mod some time ago. I don't it acts as an actual melee weapon however.

Offline

#3 04/06/13 07:04

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: Melee weapons?

Haha, is that from Lion King?  I don't remember that.  Well, we've succeeded in making weapons that look like swords, but nobody has figured out how to make them hit anything, to my knowledge.  The problem is mainly that guns don't have collision, so if you perform a melee move with a gun, only your hand can hit the enemy; the gun doesn't extend your reach at all.  I think a gun could easily be made to emit a particle to be used for collision, but only when firing, not when being swung around in a melee move.  So I guess someone would have to figure out how to fool the engine into thinking that the gun was empty and firing at the same time.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#4 04/06/13 07:04

6opoDuJIo
Member
From: Ukraine
Registered: 03/18/13

Re: Melee weapons?

Iritscen wrote:

Haha, is that from Lion King?  I don't remember that.  Well, we've succeeded in making weapons that look like swords, but nobody has figured out how to make them hit anything, to my knowledge.  The problem is mainly that guns don't have collision, so if you perform a melee move with a gun, only your hand can hit the enemy; the gun doesn't extend your reach at all.  I think a gun could easily be made to emit a particle to be used for collision, but only when firing, not when being swung around in a melee move.  So I guess someone would have to figure out how to fool the engine into thinking that the gun was empty and firing at the same time.

is there any known way to provide own fire function?


Implement Oni with Unity3D engine :
https://github.com/6opoDuJIo/Oni-Round2

Offline

#5 04/06/13 08:04

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Re: Melee weapons?

http://oni.bungie.org/community/forum/v … d=1825&p=1
hayate package includes 2 swords
2012-10-17_035817.jpg
and there was a discussion about how we could get it to work http://oni.bungie.org/community/forum/v … 280#p32280
http://oni.bungie.org/community/forum/v … 927#p31927 but no progress was made .. and i've recently found out there's a limit on new particles so i don't think it will be attempted any time soon.

and your question was also asked before here http://oni.bungie.org/community/forum/v … hp?id=2473 if you want to see the replies.

p.s : you go Rafiki

Last edited by Samer (04/06/13 08:04)


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#6 04/06/13 08:04

6opoDuJIo
Member
From: Ukraine
Registered: 03/18/13

Re: Melee weapons?

Samer wrote:

http://oni.bungie.org/community/forum/v … d=1825&p=1
hayate package includes 2 swords
https://lh6.googleusercontent.com/-Gj6X … 035817.jpg
and there was a discussion about how we could get it to work http://oni.bungie.org/community/forum/v … 280#p32280
http://oni.bungie.org/community/forum/v … 927#p31927 but no progress was made .. and i've recently found out there's a limit on new particles so i don't think it will be attempted any time soon.

and your question was also asked before here http://oni.bungie.org/community/forum/v … hp?id=2473 if you want to see the replies.

p.s : you go Rafiki

well...can DAODAN get info about other characters placement on level?


Implement Oni with Unity3D engine :
https://github.com/6opoDuJIo/Oni-Round2

Offline

#7 04/06/13 08:04

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Re: Melee weapons?

i don't understand your question.
p.s you don't have to requote me when your question is irrelevant to what i said and my post is right there above yours tongue

Last edited by Samer (04/06/13 08:04)


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#8 04/06/13 09:04

s10k
Member
Registered: 01/14/07
Website

Re: Melee weapons?

6opoDuJIo wrote:

well...can DAODAN get info about other characters placement on level?

Yes.

With d_location:
http://wiki.oni2.net/Daodan_DLL

usage (tested it now):

d_location char_id|char_name x|y|z "somevariable"

Where | means or. The last variable I didn't discovered yet what it does.

example:

d_location "char_0" "x" "somevariable"

You should be able to setup the char position with d_location too:
d_location char_id|char_name x y z

example:
d_location "char_0" 0 0 0

Offline

#9 04/06/13 09:04

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: Melee weapons?

But whatever you're thinking of doing with that is probably not a good idea ^_^  It would be better to use the Daodan to directly add melee weapon support in the way I mentioned earlier.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#10 04/06/13 09:04

6opoDuJIo
Member
From: Ukraine
Registered: 03/18/13

Re: Melee weapons?

s10k wrote:

d_location char_id|char_name x|y|z "somevariable"

it must be in BSL, right?


Implement Oni with Unity3D engine :
https://github.com/6opoDuJIo/Oni-Round2

Offline

#11 04/06/13 09:04

s10k
Member
Registered: 01/14/07
Website

Re: Melee weapons?

yes bsl, you can test it at developer console.

Offline

#12 04/06/13 09:04

6opoDuJIo
Member
From: Ukraine
Registered: 03/18/13

Re: Melee weapons?

Ok, Irit, i will not try


Implement Oni with Unity3D engine :
https://github.com/6opoDuJIo/Oni-Round2

Offline

#13 04/06/13 10:04

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: Melee weapons?

Well, I didn't say not to try it, just that it's probably not going to work smile


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

Board footer

Powered by FluxBB