promode physics?

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

promode physics?

Postby crazy.flash » Fri Apr 07, 2006 7:51 am

Hi there,
I am working on a small Clanarena Mod for Nexuiz and it would be nice to have promode(*) physics like osp for quake3 has.
I am not good at maths so i don't have a clue how this might work.
Does anybody know how to implement this?

Greets,
cf

* promode lets you move in air by simply moving your mouse in the direction you want to fly to.
crazy.flash
Newbie
 
Posts: 7
Joined: Sun Apr 02, 2006 10:27 am

Postby og_carbon » Fri Apr 07, 2006 11:30 am

i brought this up in this post:

http://www.alientrap.org/forum/viewtopic.php?t=198

but it seems the idea was pretty much shot down or there's not interest...
(which makes no sense). CPM is what's keeping Q3 alive even now, a lot of people play it specifically because of the old QW movement. Warsow has promode physics almost standard, and it's attracted a following already.

a game like Nexuiz would do great to have this feature 'out of the box' per-se... or at least have it available. it would definitely find a much larger target audience.

also, how do you really define a 'rocket arena' mode, without the ability to airmove?
og_carbon
Member
 
Posts: 17
Joined: Sun Mar 26, 2006 12:52 am
Location: usa, earth

Postby tZork » Fri Apr 07, 2006 12:02 pm

og_carbon wrote:i brought this up in this post:

http://www.alientrap.org/forum/viewtopic.php?t=198

but it seems the idea was pretty much shot down or there's not interest...
(which makes no sense). CPM is what's keeping Q3 alive even now, a lot of people play it specifically because of the old QW movement. Warsow has promode physics almost standard, and it's attracted a following already.

a game like Nexuiz would do great to have this feature 'out of the box' per-se... or at least have it available. it would definitely find a much larger target audience.

also, how do you really define a 'rocket arena' mode, without the ability to airmove?


So Q3 and Warsow has it, good for them. Does nexuiz need to have every thing that every thing every other remotely similar game has? Ofc not. I realy like the reduced aircontrol in nexuiz, it makes it a real choice not to bounce arround like a bunny with a pogostick up its a$$ all time. Dont get me wrong, as on option it would be good, more features are always good solong as you dont have them all on by deafault. The thing is that Nexuiz's system is tru and tried over time, and its got a pont for beeing like it is. Also currently i think that most of the devs are puting all their time into nexuiz 1.5.1/1.6. And i think we all can agree on that its more important so get a new better Nexuiz dont then adding a feature that only will be used by some sometimes.

Is you are truely interestend in seeing this feature i sugest you take the time to make it happen yourself, and enjoy the glory os beeing the author of the first CPM mod for nexuiz. Nexuiz is realy mod friendly since it uses QC and there are more QC sites out there then one could shake a stick at.
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Postby crazy.flash » Fri Apr 07, 2006 2:42 pm

tZork wrote:Is you are truely interestend in seeing this feature i sugest you take the time to make it happen yourself, and enjoy the glory os beeing the author of the first CPM mod for nexuiz. Nexuiz is realy mod friendly since it uses QC and there are more QC sites out there then one could shake a stick at.


You got me wrong, I didn't want to open a discussion here. Instead I hoped to get some tipps how I could implement the physics. I hope there is someone in the forum who knows a bit more about physics than me...
crazy.flash
Newbie
 
Posts: 7
Joined: Sun Apr 02, 2006 10:27 am

Postby og_carbon » Fri Apr 07, 2006 3:33 pm

tZork wrote:Does nexuiz need to have every thing that every thing every other remotely similar game has?


no but it couldn't hurt to include it as an option, considering the ammount of people that play it. right now i'm seeing 2 servers with players, and oops, the players are bots.

tZork wrote: I realy like the reduced aircontrol in nexuiz, it makes it a real choice not to bounce arround like a bunny with a pogostick up its a$$ all time.


so it's ok to refine the bunny as long as it's 'going in a straight line and smacking into a wall, without being able to turn'?
if you don't like air-control, why not just say 'i don't like air control'?

tZork wrote: And i think we all can agree on that its more important so get a new better Nexuiz dont then adding a feature that only will be used by some sometimes.


some sometimes? tbh it doesn't look like anybody's playing the default ever anytime. no one wants Nexuiz to be a clone of anything, it just seems like it would be a feature that would attract more people to the mod... unless that's something that doesn't interest you, in which case my point has been totally missed. :roll:
og_carbon
Member
 
Posts: 17
Joined: Sun Mar 26, 2006 12:52 am
Location: usa, earth

Postby tZork » Fri Apr 07, 2006 4:16 pm

crazy.flash wrote:
tZork wrote:Is you are truely interestend in seeing this feature i sugest you take the time to make it happen yourself, and enjoy the glory os beeing the author of the first CPM mod for nexuiz. Nexuiz is realy mod friendly since it uses QC and there are more QC sites out there then one could shake a stick at.


You got me wrong, I didn't want to open a discussion here. Instead I hoped to get some tipps how I could implement the physics. I hope there is someone in the forum who knows a bit more about physics than me...

Yes i did, sry abt that.. on this page there is a link to "sv_user.qc for mod developers". this looks like a good place to start editing the phys stuff. Im not familiar with doing this myself, so that abt as mucth as i can tell you =/ you can always hop onto irc at the server irc.anynet.org and join the #alientrap channel. im sure there is some ppl that can give you some help there.


og_carbon wrote:
tZork wrote:Does nexuiz need to have every thing that every thing every other remotely similar game has?


no but it couldn't hurt to include it as an option, considering the ammount of people that play it. right now i'm seeing 2 servers with players, and oops, the players are bots.

tZork wrote: I realy like the reduced aircontrol in nexuiz, it makes it a real choice not to bounce arround like a bunny with a pogostick up its a$$ all time.


so it's ok to refine the bunny as long as it's 'going in a straight line and smacking into a wall, without being able to turn'?
if you don't like air-control, why not just say 'i don't like air control'?

A: 'i dont like air control'
B: You can turn in nexuiz, just not as fast as in some other games.
C: As i understand it, nexuiz's bunnyhopping is not nearly as powerfull as other games with this feature, is serves more to be hader to hit (from the up/down motion) then to gain zupah speed.

tZork wrote: And i think we all can agree on that its more important so get a new better Nexuiz dont then adding a feature that only will be used by some sometimes.


some sometimes? tbh it doesn't look like anybody's playing the default ever anytime. no one wants Nexuiz to be a clone of anything, it just seems like it would be a feature that would attract more people to the mod... unless that's something that doesn't interest you, in which case my point has been totally missed. :roll:

i dont know what tbh is, and i dont realy care. i dont play many games besides nexuiz. But the point was that the restricted air control in nexuiz is a fature not a bug or omission of feature, and i dont think (and dont hope) that the devs will change that. So when/if this happens for nexuiz it will be an option that the server admin will have to turn on, thereby it will be "for some ppl, sometimes" If is interests me ot not is totaly irelevant, im not on the nexuiz/alientrap dev team; i just run the forums and play the game.
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Postby avirox » Fri Apr 07, 2006 5:03 pm

For TN we have some advanced air control, but it's different than Quake 3 and QuakeWorld's. You can download a port of the original q1 physics though for DP here:

http://icculus.org/twilight/darkplaces/files/sv_user.qc

That one has bunnyhopping pretty much like QW. Maybe you can tweak it a bit to make it 100%. Peace,
avirox
Member
 
Posts: 15
Joined: Tue Feb 28, 2006 9:15 pm

Postby crazy.flash » Fri Apr 07, 2006 6:50 pm

thank you tZork and avirox, now I have something to start with :)
crazy.flash
Newbie
 
Posts: 7
Joined: Sun Apr 02, 2006 10:27 am

Postby crazy.flash » Sat Apr 08, 2006 4:56 am

Well I played all the night with the code, and now I have something that feels a bit like promode. Its far from perfect, but I am glad I did it so far :)
I named it "airmove" because its too different to name it promode. But you have to check it out yourself ;)

I opened a testserver for the we: shineline.homelinux.net:26000 if you're interested. Hope that it is playable (have only 16kb/s upload). Let me know what you think.
You can also download it at http://webuser.hs-furtwangen.de/~nkuebler/clanarena/ , there are 2 versions, one for 1.5 and one for 1.5.1-rc3 . There is no readme or something, because it is far from finished. There is a clanarena.cfg in the dir which should be executed.

EDIT: readme file now included in version 0.11a for nexuiz 1.5
crazy.flash
Newbie
 
Posts: 7
Joined: Sun Apr 02, 2006 10:27 am

Postby avirox » Sun Apr 09, 2006 3:39 pm

Seems like you're getting there. A few things i noticed tho:
1) you lose speed when you bunnyhop; this is because of the friction code. The way i fixed this in Team:Nexuiz was to set a property (last_fall or something) to time + .1 for the nexuiz player land code. If this value is greater than "time", the friction code will not react. This is not the only way ofcourse, but it's a suggestion :)
2) Too much air control!! This is a good thing and a bad thing depending on how you play ;) It feels almost like T:N's, tho a bit less controlled. Basically i can just jump around and hold forward and it will take me wherever I want to go. I've never played this promod, but I think what you're aiming for is more of a strafe jump air control(?) so try to tweak some properties there :)

Hope to see it on some servers \m/ Peace,
avirox
Member
 
Posts: 15
Joined: Tue Feb 28, 2006 9:15 pm

Next

Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron