VC:MP 0.4 (Beta) > Script Discussion

Full document for server.conf

(1/1)

ysc123:
I saw the source code and wrote this documents.

Settings

--- Code: ---<Settings>
<ServerName>Your Server Name</ServerName>
<MaxPlayers>100</MaxPlayers><!-- You also can define maxplayers in server.cfg -->
<!--Password>Server Password</Password-->
<FriendlyFire>true</FriendlyFire>
<ShowOnRadar>true</ShowOnRadar>
<WeatherDefault>1</WeatherDefault>
<HourDefault>12</HourDefault>
<MinuteDefault>0</MinuteDefault>
<TimeRate>1000</TimeRate>
<GameModeName>Your Game Mode Name</GameModeName><!-- You also can define gamemode in server.cfg -->

<PlayerPos x="-232.0314" y="-442.6181" z="32.7944"/>
<CamPos x="-231.4" y="-440.0" z="32.1"/>
<CamLook x="-232.0314" y="-442.6181" z="33.1"/>
<WorldBoundaries MaxX="5000.0" MinX="-5000.0" MaxY="5000.0" MinY="-5000.0"/>

<!-- R2 Features -->
<SyncFrameLimiter>true</SyncFrameLimiter>
<FrameLimiter>false</FrameLimiter>
<TaxiBoostJump>true</TaxiBoostJump>
<DriveOnWater>true</DriveOnWater>
<FastSwitch>false</FastSwitch>
<DisableDriveBy>false</DisableDriveBy>
<PerfectHandling>false</PerfectHandling>
<FlyingCars>false</FlyingCars>
<JumpSwitch>true</JumpSwitch>
<DeathMessages>false</DeathMessages>

<Gravity>0.008</Gravity>
<GameSpeed>1.0</GameSpeed>
<WaterLevel>6.0</WaterLevel>

<!-- 04 Settings -->
<ShootInAir>false</ShootInAir>
<JoinMessages>true</JoinMessages>
<ShowNametags>true</ShowNametags>
<StuntBike>true</StuntBike>
</Settings>
--- End code ---

Class

--- Code: ---<Class team="" skin="" x="" y="" z="" angle="" weapon1="" ammo1="" weapon2="" ammo2="" weapon3="" ammo3="" r="" g="" b="" a="" />
--- End code ---
Example

--- Code: ---<Class team="1" skin="5" x="335.570099" y="-233.904694" z="29.646601" angle="164.184799" weapon1="0" ammo1="0" weapon2="17" ammo2="500" weapon3="21" ammo3="500" r="255" g="255" b="255" a="255" />
--- End code ---

Vehicle

--- Code: ---<Vehicle model="" x="" y="" z="" rotx="" roty="" rotz="" col1="" col2="" world="" />
--- End code ---
Note: world id starts from 1.
Example

--- Code: ---<Vehicle model="177" x="404.6970" y="-166.4923" z="6.6427" rotx="0" roty="0" rotz="0" col1="13" col2="1" world="1" />
--- End code ---

Pickup

--- Code: ---<Pickup model="" x="" y="" z="" world="" />
--- End code ---

thijn:
http://forum.vicecitymultiplayer.com/index.php?topic=6865.msg40129#msg40129

sseebbyy:
Well, it's good that stormeus sticked the topic, so everyone can see it. ;)
But yes, thijn was the first who posted it.

ysc123:

--- Quote from: sseebbyy on September 28, 2014, 11:05:39 am ---Well, it's good that stormeus sticked the topic, so everyone can see it. ;)
But yes, thijn was the first who posted it.

--- End quote ---
OK! I didn't see it. :)

Navigation

[0] Message Index

Go to full version