Official Soldat Forums

Server Talk => Scripting Releases => Topic started by: JFK on March 14, 2009, 03:52:27 pm

Title: Gravity Fun (Server Version 2.6.4)
Post by: JFK on March 14, 2009, 03:52:27 pm
Script Name: Gravity Fun
Script Description Small test-script for two new functions of the 2.6.4 server version.
Author: JFK (http://soldatcentral.com/index.php?page=profile&u=95)
Compile Test: (http://soldatcentral.com/images/pass.gif) Passed
Core Version: 2.6.4
Hosted by: Soldat Central - http://soldatcentral.com/ (http://soldatcentral.com/)

Full Description:
The script has three admin commands:

/grav (float) - set gravity
/gravme - control gravity with your up and down keys (default : W and S)
/gravresp (float) - set the amount of response of the keys

Replace (float) with any number, it can even be negative.
Default Gravity is 0.06
Default response is 0.03

The keys are polled only once per second, so don't expect too much control over the gravity.

This script only works on the 2.6.4 server (that's the one for soldat 1.5, found here (http://forums.soldat.pl/index.php?topic=32997.0))



(http://soldatcentral.com/images/download.gif) (http://soldatcentral.com/dl.php?id=104&act=1)
(Size 876 B)
- http://soldatcentral.com/index.php?page=script&f=104 -


** Script hosted by Soldat Central (http://soldatcentral.com/index.php?page=script&f=104)! Please visit the author's script page (http://soldatcentral.com/index.php?page=script&f=104) and Rate this script **
Title: Re: Gravity Fun (Server Version 2.6.4)
Post by: [TTD]NadeZilla on March 14, 2009, 05:48:29 pm
Soungs sweet.
Il check it out now.
Title: Re: Gravity Fun (Server Version 2.6.4)
Post by: Xxypher on March 20, 2009, 11:03:59 am
So you can change the gravity ingame? That sounds amazing!
Title: Re: Gravity Fun (Server Version 2.6.4)
Post by: ~Niko~ on March 20, 2009, 11:31:12 am
Set up a server to test this?
Title: Re: Gravity Fun (Server Version 2.6.4)
Post by: Xxypher on March 20, 2009, 12:22:36 pm
I would join in a heartbeat.
Title: Re: Gravity Fun (Server Version 2.6.4)
Post by: ~Niko~ on March 20, 2009, 04:14:55 pm
i might try to set up a homemade server... wanna?

EDIT: hell, i got it up, IP is 83.36.182.85 and port 23073.... but I put the script it and it doesn't works. I'm using both Soldat and soldatserver latest versions... what am I doing wrong?
Title: Re: Gravity Fun (Server Version 2.6.4)
Post by: iDante on March 20, 2009, 05:09:34 pm
I had something similar to this (except must simpler) going when the new server first came out. It was loads of fun.

Niko, be sure you are using the ded. server detailed here: http://enesce.com/soldat/soldat-server-264d/
Title: Re: Gravity Fun (Server Version 2.6.4)
Post by: ~Niko~ on March 20, 2009, 06:45:50 pm
yes, i'm doing. soldatserver is "Soldat dedicated server 1.5.0d - 2.6.4"
Title: Re: Gravity Fun (Server Version 2.6.4)
Post by: iDante on March 20, 2009, 06:49:48 pm
It compiles fine for me, what is it that you are doing to get the error?
Title: Re: Gravity Fun (Server Version 2.6.4)
Post by: ~Niko~ on March 20, 2009, 06:53:12 pm
i have no idea... I got soldat 1.5 installed and the soldatserver in a folder into it. is that wrong?

EDIT: It was Scripting=0 on server.ini... i am such a dumbass...

I'll try to set up a server tomorrow the whole day to test this, it's awesome xD
Title: Re: Gravity Fun (Server Version 2.6.4)
Post by: croat1gamer on April 19, 2009, 05:17:59 am
it doesnt seem to me like 0.03 is the default gravity more like between 0.05 and 0.06
Title: Re: Gravity Fun (Server Version 2.6.4)
Post by: ~Niko~ on April 19, 2009, 06:25:53 am
0.03 is... at least if i remember well. but if u change it even like 0.01+ the game screws up :P
Title: Re: Gravity Fun (Server Version 2.6.4)
Post by: Mercury92 on April 19, 2009, 06:34:54 am
Default Gravity is 0.06
http://enesce.com/help/html/Functions/ServerModifier.html
Title: Re: Gravity Fun (Server Version 2.6.4)
Post by: JFK on April 19, 2009, 08:15:50 am
I screwed up the descritpion. Default gravity is .06 (defined by server) and default response is .03
These have always been the defaults in the script, only the description was faulty.

sry
Title: Re: Gravity Fun (Server Version 2.6.4)
Post by: Crimson Goth on April 19, 2009, 11:40:42 pm
Very fun script to play with
Title: Re: Gravity Fun (Server Version 2.6.4)
Post by: Underworld on April 25, 2009, 08:19:41 am
Someone gonna start up a fun server or not ?
Title: Re: Gravity Fun (Server Version 2.6.4)
Post by: croat1gamer on April 25, 2009, 08:25:20 am
Well, there are allready servers, but the scripts are "expanded"

I could do it, but server would be in europe.
Title: Re: Gravity Fun (Server Version 2.6.4)
Post by: Jakious on April 27, 2009, 07:57:54 am
Noodles pro climb has it on there, however you'll have to wait for an admin to get on to play around. Make sure your name's underworld and there shouldn't be a problem :P
Look out for No Mercy, dreadnought, or someone and just say jak commanded you to get privileges