Forum

Swordplay game

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Which swordplay system suits you?

simple clicking (Heretic/Hexen/Diablo)
1
25%
draw sword trajectory/realistic path tracing (Die By The Sword)
2
50%
click & keypress to do combo (Ultima Undr?/Arx Fatalis/Dark Messiah Of M&M)
1
25%
point & click (System Shock 1,2)
0
No votes
 
Total votes : 4

Swordplay game

Postby daemonicky » Fri May 13, 2011 3:43 pm

Hi. I am going to make a swordplay game. I dont want to make too much mistakes so I will post my decisions and ask for help if I need something.

And I will post my prototypes, so others can learn. :)

1st decision - have sword as separate entity
-----------------------------------------------------
A) I know Quake knight monster has simplistic traceline test whether he hist enemy. It is simple and I guess it works.
B) I want to make sword as separate entity not as usual model glued to character like weaponst and move it at will (it can then have more physics which might be nice).

2nd decision - movement of a sword
----------------------------------------------
I thought about copying something from Dark Messiah (Arx Fatalis had almost the same movements), Thief and Die By The Sword. I want to try to make trajectory and then test whether sword hits something. I will see how will work on some sparing partners (entities) ...

3rd movement description
-------------------------------
I want to make it easy for me to write it. And possibly for my girlfriend. :) How to best describe movement from Quake C so it is easy to grasp for a human? I thought about having axis angle, but axis might be problem. So I looked at wiki. There are basically three :
A) cartesian (distance, distance, distance) ........ no thanks
B) cylindrical (angle, distance, distance) ........ it seems reasonably readable for human
C) spehrical (angle, angle, distance) ......... maybe
So I am going to stick with B or C.

I know I could make it in some 3D studio. Hmm ... maybe I will. :) Or i could make a tool in quake or use Die By The Sword Tool ... I will see...

Questions
----------------------------
Is it correct to call one cartesian coordinate radius instead of distance?
Does anyone have experience with making swordplay game?
Did someone make some swordplay game and posted insights?
Is there any paper about game swordplays?
User avatar
daemonicky
 
Posts: 185
Joined: Wed Apr 13, 2011 1:34 pm

Postby siska.robert » Fri May 13, 2011 4:25 pm

Do you know fight system in Mount & Blade series? I think it's the best melee controls ever!

Btw: Kudos for making sword game! I was trying make medieval mod too (I even made sword and bow...), but lost passion later.
User avatar
siska.robert
 
Posts: 58
Joined: Wed Feb 17, 2010 7:51 pm
Location: Czech Republic

Postby frag.machine » Sat May 14, 2011 12:47 am

If you're mentioning Diablo, you're meaning a 3rd person view. I remember the sword combat system in Oblivion being a bit clunky, but it was interesting because was in first person.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2090
Joined: Sat Nov 25, 2006 1:49 pm

Postby daemonicky » Tue May 17, 2011 9:00 pm

Progress : First version : http://pastebin.com/MfgpMM6D


siska.robert wrote:Mount & Blade series


Thanks. I will check it out. :)

siska.robert wrote:Btw: Kudos for making sword game! I was trying make medieval mod too (I even made sword and bow...), but lost passion later.


Thank You. :) Is source available somewhere? I would like to see how you approached it and maybe get inspired. Tomorrow I have an exam, but I will try to do sword swinging by eitheir moving sword forward/back or rotating it (and will make cylindrical coordinates convertor to make it easier to write) after it.

frag.machine wrote:If you're mentioning Diablo, you're meaning a 3rd person view.


Yes 3rd person, but just clicking.

Oblivion had similar to the Dark Messiah/Arx Fatalis one.
User avatar
daemonicky
 
Posts: 185
Joined: Wed Apr 13, 2011 1:34 pm

Postby siska.robert » Wed May 18, 2011 6:33 pm

daemonicky wrote:Is source available somewhere? I would like to see how you approached it and maybe get inspired. Tomorrow I have an exam, but I will try to do sword swinging by eitheir moving sword forward/back or rotating it (and will make cylindrical coordinates convertor to make it easier to write) after it.


Well, I got it on my computer in another city, so you'd have to wait to weekend :)

But there isn't really much worth checking out - no fighting system, just animations. But you could use MDLs I made, since I abandoned the project.

Oh, and since my character was Elf, he could climb the arrows stuck in the wall :)
User avatar
siska.robert
 
Posts: 58
Joined: Wed Feb 17, 2010 7:51 pm
Location: Czech Republic

Postby daemonicky » Wed May 18, 2011 8:37 pm

siska.robert wrote: ... so you'd have to wait to weekend :) ... just animations. But you could use MDLs I made, since I abandoned the project. ... Oh, and since my character was Elf, he could climb the arrows stuck in the wall :)


Thank you very much. :)

I am making it with my girlfriend. She makes story and characters. They are cat-like creatures so they are similar to Elves.

Jumping on arrows sounds cool, it is just like some jumping on these wall mines which have this laser which checks whether to explode mine or not ... I dont know, we dont have much playable content (besides that demo) to say it would work good. But it is true, elves could do such a thing they were lighweight. They could theoreticaly make arrow ladders during battle :-) .
User avatar
daemonicky
 
Posts: 185
Joined: Wed Apr 13, 2011 1:34 pm

Postby siska.robert » Wed May 18, 2011 10:29 pm

daemonicky wrote:But it is true, elves could do such a thing they were lighweight. They could theoreticaly make arrow ladders during battle :-) .


That was exactly my idea ;) Arrow ladders for reaching high places...
User avatar
siska.robert
 
Posts: 58
Joined: Wed Feb 17, 2010 7:51 pm
Location: Czech Republic


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest