Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Friction for ships or WDL compatiblity

 
Post new topic   Reply to topic Printable version
 View previous topic  PostNuke and Shanky.com Post :: Post War!  View next topic  

What about a WDL-interpreter in Subspace?
Great! Please do that.
60%
 60%  [ 3 ]
Yes but another programming language please.
0%
 0%  [ 0 ]
Yes but DLL-plugins or something like that.
0%
 0%  [ 0 ]
No. What wouldn't be a good idea.
40%
 40%  [ 2 ]
Total Votes : 5

Author Message
Qndre
Server Help Squatter


Gender:Gender:Male
Joined: Jan 25 2004
Posts: 295
Offline

PostPosted: Wed Feb 18, 2004 8:50 am   Post maybe stupid    Post subject: Friction for ships or WDL compatiblity Reply to topic Reply with quote

This is just a suggestion but what about friction for ships? If you don't engage the thrusters then you slow down. I know this isn not useful for space-games but there is something like "ground warfare" or "metal gear" where it would make sense.

And what about WDL compatiblity so that you can write your own game-physics-engine in the powerful C-compatible programming language WDL? I've already written some WDL code which would be able to do that. It's a full physics- and movement-engine written originally with 3D compatiblity but also compatible to a 2D-game like subspace is:

Code: Show/Hide

////////////////////////////////////////////
// Qndre's Game Physics Engine  1.0.1     //
// Requires a running instance            //
// of the A4 engine                       //
// and an A5 compatible WDL C interpreter //
//                                        //
// This software is still in beta.        //
////////////////////////////////////////////

var intindicat = 0;
var a_position[3];
var a_angle[3];
var friction;
var force[3];
var temp[3];
var dist[3];

action move_me
{
   while (1) {
      force.pan = -10 * key_force.x;
      my.skill14 = time*force.pan + max(1-time*0.7,0)*my.skill14;
      my.pan += time * my.skill14;
      vec_set(temp.x);
      temp.z -= 4000;
      trace_mode = ignore_me+ignore_sprites+ignore_models;
      result = trace(my.x,temp);
      if (result > 5) {
         force.x = 0;
         force.y = 0;
         force.z = -5;
         friction = 0.1;
      } else {
         force.x = 10 * key_force.y;
         force.y = 0;
         force.z = -0.5 * result;
         friction = 0.7;
      }
      my.skill11 = time*force.x + max(1-time*friction,0)*my.skill11;
      my.skill13 = time*force.z + max(1-time*friction,0)*my.skill13;
      dist.x = time * my.skill11;
      dist.y = 0;
      dist.z = time * my.skill13;
      move(my,dist,nullvector);
      move_view();
      wait(1);
   }
}

Even if it's not possible (and I don't think anyone would implement this into his server) then it's a good suggestion, isn't it? biggrin.gif


Last edited by Qndre on Tue Mar 16, 2004 8:22 am, edited 2 times in total
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Wed Feb 18, 2004 9:53 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Not possible. The server doesn't do any physics. It's all on the client.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Qndre
Server Help Squatter


Gender:Gender:Male
Joined: Jan 25 2004
Posts: 295
Offline

PostPosted: Wed Feb 18, 2004 11:21 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Dr Brain wrote:
Not possible. The server doesn't do any physics. It's all on the client.

OK. It was just a proposition.
But what about putting a file like "physics.wdl" into the LVZ and then interpreting it by the client? That would be possible, right?
The script has one bug I'm not able to fix... In the last lines... new_let_it_all_out.gif
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Wed Feb 18, 2004 12:50 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

That would take a client modification. Something that wont happen.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Qndre
Server Help Squatter


Gender:Gender:Male
Joined: Jan 25 2004
Posts: 295
Offline

PostPosted: Wed Feb 18, 2004 1:20 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Dr Brain wrote:
That would take a client modification. Something that wont happen.

It won't happen because PriitK has no license for WDL. A WDL license costs 899.- $ so PriitK won't buy. biggrin.gif
Back to top
View users profile Send private message Add User to Ignore List
Jason
Novice


Age:41
Gender:Gender:Male
Joined: Feb 05 2004
Posts: 57
Offline

PostPosted: Wed Feb 18, 2004 1:26 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

He could afford the license. The point Dr Brain is trying to make is the possiblility of either of the following is slim to none.

A.) Priit being interested the idea.

and/or

B.) Priit ever bothering to implement the functionality into the client.


I'm not saying this to be mean or an asshole or whatever. That's just the way it is. Priit has done barely a drop of client development (as least any that the general public is aware of) in months upon months.
Back to top
View users profile Send private message Add User to Ignore List Send email
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Wed Feb 18, 2004 5:08 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Why do you say C looks like junk to you when you can read that? It's almost exactly C.
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:42
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Wed Feb 18, 2004 6:17 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Qndre wrote:
It won't happen because PriitK has no license for WDL. A WDL license costs 899.- $ so PriitK won't buy. :D

This is why people just learn C and DirectX/OpenGL.
Back to top
View users profile Send private message Add User to Ignore List Send email
Qndre
Server Help Squatter


Gender:Gender:Male
Joined: Jan 25 2004
Posts: 295
Offline

PostPosted: Thu Feb 19, 2004 6:38 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Cyan~Fire wrote:
Why do you say C looks like junk to you when you can read that? It's almost exactly C.

I haven't only read it. I've written it. Stolen some physics formulas out of other apps (sample-code) but essentially written the source.
_
My problem with C is that I can't do things like creating a library and execute some code if it's called by another application and then sharing a result-variable with the calling application so that the calling application can get the value of the variable.
_
I can do some maths in C. But that's all. I don't know how to build a program structure or how do create procedures which are executed if the application is called, etc.
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Thu Feb 19, 2004 10:21 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

hmm I wonder if this is in the wrong forums, shouldn't it be in GameDev on SSForums? o.O
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
Qndre
Server Help Squatter


Gender:Gender:Male
Joined: Jan 25 2004
Posts: 295
Offline

PostPosted: Fri Feb 20, 2004 9:18 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Yes. Should be.
Back to top
View users profile Send private message Add User to Ignore List
Qndre
Server Help Squatter


Gender:Gender:Male
Joined: Jan 25 2004
Posts: 295
Offline

PostPosted: Fri Feb 20, 2004 3:57 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

K! Now posted it to www.ssforum.net
CU
PS: You can close this thread if you want. It isn't needed any more.
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 25 page(s) served in previous 5 minutes.

phpBB Created this page in 0.689340 seconds : 39 queries executed (85.7%): GZIP compression disabled