Arena of Honor - Multiplayer FPS with Newton physics

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Cairon
Posts: 40
Joined: Sun Apr 11, 2004 12:52 am
Contact:

Post by Cairon »

Hi, I want to inform you about the progress of the game.
I recently ported it to IrrlichtNX because of some advanced features I need to use... I still have some problems with the new version. My artist redesigned the menu envirement, and I'm trying to implement it.

I want to post my main problems, maybe someone has a clue for me:

1. (not importent) I don't know how to correctly switch from the game, to my menu. I have different gamestates, and if I change from playgamestate to menustate, I don't update the 3d world and everything, but in the menustate, the guienvirement seems to disable all gui elements.

To disable the display of the 3d envirement, in irrlicht I just did not call smgr->drawAll(); but in irrlichtnx, i'm doing:

smgr->getRootSceneNode()->setVisible(false);
renderwin->removeSceneNodeController(CameraController);

and the reverse for re-entering game.

2. (very importent) my weapon models which i attached to the camera, simply by using setParent, are not working anymore. They are following the camera, but not instantly, so that i they my weapons at different position when i'm moving (i thing they are moved in the wrong frame). And no rotation is done on the weapon models, i mean they appear always at the same view direction of the player :-(( Thats very bad, and i don't know why... another thing is that the movement when using player physics to move, i always get 0,0,0 when calling camera->getRotation().
Arena of Honor: http://aoh.arturh.com
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

2) Unfortunately this is a known problem and to the best fo my knowledge has not yet been fixed. Read my post on the subject on NX forums http://www.irrlichtnx.mmdevel.de/phpBB2 ... .php?t=236

You can do the same thing I did there as a temporary fix, but it gives jerky movement. You could also see if you could get smooth movement, using what magic said. Personally I think it might be a good idea to make scene node controllers inherit from ISceneNodeAnimator, but I dion't know what others would think of that idea.
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.

Crucible of Stars
Katoun_life

Post by Katoun_life »

It's very nice .
It's quite what I'm trying to do,but I whant to make a 3-rd person adventure :wink:
Problem:it started just once and since then it says conection timeout
Cairon
Posts: 40
Joined: Sun Apr 11, 2004 12:52 am
Contact:

Post by Cairon »

the network stuff is really tricky, i can't say why its working now... maybe reading my code can help you, the main file for connecting is menu.cpp, there the server is started and the client waits for gettings connected. I'm checking for for rakClient->IsConnected() return true (then you are connected to the server), and then i wait for the static client data received package.

Btw, i don't know why, but you can't start a server and a client on the same machine (at least it did not worked for me)
Arena of Honor: http://aoh.arturh.com
katoun
Posts: 239
Joined: Mon Nov 15, 2004 9:39 am
Location: Romania
Contact:

Post by katoun »

"It's very nice .
It's quite what I'm trying to do,but I whant to make a 3-rd person adventure Wink
Problem:it started just once and since then it says conection timeout"
Sory :I sent the above mesage without login.
katoun_life is actualy Katoun.
Sugestion:Try a dinamic light
Kat'Oun
mm765
Posts: 172
Joined: Fri May 28, 2004 10:12 am

Post by mm765 »

argh .. i actually forgot about that one :oops:
i will look into it later today
Cairon
Posts: 40
Joined: Sun Apr 11, 2004 12:52 am
Contact:

Post by Cairon »

that would be GREAT :D
Arena of Honor: http://aoh.arturh.com
mm765
Posts: 172
Joined: Fri May 28, 2004 10:12 am

Post by mm765 »

i fixed the rotation problem. you still need the updateAbsolutePOsition() call for now though - need to think about that fix a bit more.

and to 1. :
the simulationtimer in nx++ is pausable/resumable .. you can stop/resume all animations with that.
Cairon
Posts: 40
Joined: Sun Apr 11, 2004 12:52 am
Contact:

Post by Cairon »

I released an updated version of Arena of Honor.

http://aoh.arturh.com

I integrated IrrlichtNX as the main new "feature".
That fixed the problem with misguided bullets while using player physics. I registred my project at sf.net, and uploaded the new version there.

The fix by magic worked completly, but I have one big problem with the new IrrlichtNX version now:

The mouseListener, mouseMovementListener, and MouseWheelListener are not working after starting the game. I really have no idea why, I set my CApp class as the listener, and called the mousePressed() functions f.e. of every active game state. Its working while I'm in the menu, but after starting game, simply no events are fired.
Maybe this has something to do with the camera controller, but I've tried to completly disable the camera controller, and even the camera itself, but the bug is still there...
Arena of Honor: http://aoh.arturh.com
Caecus
Posts: 36
Joined: Fri Aug 22, 2003 6:33 am
Location: California, USA

Post by Caecus »

Really nice work Cairon, probably the best Irrlicht based app I've played with.

The bullets probably due need to be raycast if you want them to move at any reasonable speed, as they are right now I think i could throw them faster... :P

Great work though.
Cairon
Posts: 40
Joined: Sun Apr 11, 2004 12:52 am
Contact:

Post by Cairon »

Its release time again :-)
I fixed most bugs, and I created a nice xml file gui loader.
Now I can work on the gameplay, and the networking. I will integrate a masterserver for aoh, so everybody can find running games.

http://aoh.arturh.com - Version 0.83
Arena of Honor: http://aoh.arturh.com
handless
Posts: 19
Joined: Thu Jan 13, 2005 6:40 am
Location: earth

Post by handless »

Nice work!

Your game is coming along very nice, I had a few problems running it with directx9, and I fell through the floor a couple times, but other than that I liked it :D Keep it up!
Cairon
Posts: 40
Joined: Sun Apr 11, 2004 12:52 am
Contact:

Post by Cairon »

Yeah, finaly, i've got it :-)
I implemented the first car into my game.
You can get a pre-release at: http://aoh.arturh.com/aoh_v084.zip

Its the first working version, but it works quite fine :-)
Arena of Honor: http://aoh.arturh.com
firefly2442
Posts: 38
Joined: Mon May 31, 2004 7:55 am
Contact:

Post by firefly2442 »

A networking tutorial would be excellent addition to the tutorials here. The project looks great. :)
Joe_Oliveri
Posts: 448
Joined: Tue Oct 05, 2004 3:24 am
Location: Boston, MA

Post by Joe_Oliveri »

Very nice application. However is the networking implamented I tryed to join a server and it wouldnt work. Whats up?

However I did host a game and played around and it was fun.

Good job! :D
Irrlicht Moderator || Game Designer
Learn the basics at </dream.in.code>
Post Reply