Vice City Multiplayer

VC:MP 0.4 (Beta) => Script Discussion => Topic started by: ysc123 on September 27, 2014, 10:25:30 am

Title: Full document for server.conf
Post by: ysc123 on September 27, 2014, 10:25:30 am
I saw the source code (https://bitbucket.org/stormeus/0.4-confloader/src/master/main.cpp) and wrote this documents.

Settings
Code: [Select]
<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>

Class
Code: [Select]
<Class team="" skin="" x="" y="" z="" angle="" weapon1="" ammo1="" weapon2="" ammo2="" weapon3="" ammo3="" r="" g="" b="" a="" />Example
Code: [Select]
<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" />
Vehicle
Code: [Select]
<Vehicle model="" x="" y="" z="" rotx="" roty="" rotz="" col1="" col2="" world="" />Note: world id starts from 1.
Example
Code: [Select]
<Vehicle model="177" x="404.6970" y="-166.4923" z="6.6427" rotx="0" roty="0" rotz="0" col1="13" col2="1" world="1" />
Pickup
Code: [Select]
<Pickup model="" x="" y="" z="" world="" />
Title: Re: Full document for server.conf
Post by: thijn on September 27, 2014, 03:05:30 pm
http://forum.vicecitymultiplayer.com/index.php?topic=6865.msg40129#msg40129
Title: Re: Full document for server.conf
Post by: 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.
Title: Re: Full document for server.conf
Post by: ysc123 on September 30, 2014, 06:21:13 pm
Well, it's good that stormeus sticked the topic, so everyone can see it. ;)
But yes, thijn was the first who posted it.
OK! I didn't see it. :)