Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - PiBoSo

Pages: 1 ... 123 124 [125]
1861
Paints / Paint creation tutorial
« on: August 21, 2010, 10:06:32 PM »
Paints are used to change liveries of kart and driver.

To add an helmet paint:
1) Download the templates: http://www.kartracing-pro.com/?page=downloads
2) Create a texture named helmet.tga or helmet.bmp
3) download PaintEd: http://www.kartracing-pro.com/?page=downloads
4) create the directory structure driver/helmets/sk6/paints
5) Using PaintEd, convert the texture to a paint, saving it in the previously created "paints" folder.

To change helmet's visor:
1) Create two textures, named visor.tga and visor#2.tga ( for rain )
2) Move them to the same folder of helmet's texture
3) Using PaintEd, convert the textures to a paint.


Inside Kart Racing Pro, when in "viewer" mode ( click on the dot in the bottom-right corner of main menu ), it is possible to reload a paint from disk pressing the 'r' key.

1862
Translations / User Interface Translation Guide
« on: August 21, 2010, 09:02:09 PM »
1) Extract english.str from ui.pkz ( PKZ files are renamed ZIP files ) to a temporary directory.

2) Rename english.str to the name of the new language.
For example Francais.str or Deutsch.str

3) Translate strings

STR is a text file containing all strings used in the sim, using the following format:
ID
String
ID
String
ID
String
...

"TT_" IDs are used for tooltips
"GG_" IDs are used for the inline guide

4) Create a new directory named UI in Kart Racing Pro installation directory
For example: "c:\Program Files\Kart Racing Pro\ui\"

5) Move the new STR file to UI directory

6) Start Kart Racing Pro and select the new language ( Start -> Profiles -> Language ) to check that everything is correct.

7) Please report any problem like:
- Not enough space in user interface for a translated string
- A single ID used in multiple places while different translations would be needed


1863
Documentation / Dedicated server
« on: June 19, 2010, 09:38:45 PM »
To start a dedicated server, launch kart.exe with the following params:
Code: [Select]
kart.exe -dedicated (port number) [-set params (config_file)]
for example:
Code: [Select]
kart.exe -dedicated 54410 -set params dedicated.ini


NOTE: if a client runs on the same PC, port 54410 cannot be used.


Configuration file must be in installation path.
If not set SERVER.INI is used.

Format:
Code: [Select]
[connection]
name =
maxclient =
password =
admin_password =
bandwidth = ; 0 -> low, 1 -> medium, 2 -> high, 3 -> very high
max_ping = ; milliseconds. 0 -> no limit
whitelist = ; the filename of the whitelist
blacklist = ; the filename of the blacklist
polls_disable = ; if set to 1, polls are disabled
location = ; information about server location
MOTD = ; message of the day. Use "/r" to split the message in multiple lines.

[export]
results =  ; html or xml. If set it will automatically export results at the end of the last session
directory = ; the directory where results will be saved ( must exist )
units =  ; 0 -> metric units, 1 -> US units, 2 -> UK units

[replay]
save = ; 0 or 1, If set to 1 it will automatically save the full replay at the end of the race
directory = ; the directory where replays will be saved ( must exist )

[event]
name = ; the name of the event ( optional )
track = ; track ID ( for ex. Lonato )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
category = ; kart category allowed. Empty -> Open. Multiple categories can be set with a slash in between. For example: KF1/FS250/F100

[rating]
class = ; A -> 2000+, B -> 1600-1999; C -> 1200-1599; D -> 800-1199

[weather]
realistic = ; 0 or 1, if set to 1, following params are ignored
conditions = ; 0 -> sunny, 1 -> cloudy, 2 -> rainy
temperature = ; air temperature, celsius
wind_direction = ; 0 -> north, 1 -> north-east, 2 -> east, ..., 7 -> north-west
wind_speed = ; meters/second
track_conditions = ; 0 -> dry, 1 -> wet ( values in between like 0.5 are allowed )

[settings]
force_cockpit = ; 0 or 1
no_aids = ; 0 or 1
limited_tyre_sets = ; 0 or 1
fixed_setup = ; 0 or 1

[race]
track_day = ; 0 or 1, if set to 1, the following race settings are unused
quick_race = ; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = ; minutes
qualify_length = ; minutes
warmup_length = ; minutes
sighting_lap = ; 0 or 1
start = ; 0 -> default, 1 -> force the standing start, 2 -> force the rolling start
race_length = ; % of full length
race_use_laps = ; 0 or 1. If set to 1, race_laps is used instead of race_length
race_laps = ; number of race laps
restart_delay = ; server restart time in seconds
pause = ; 0 or 1. If set to 1, the event is paused and saved at the end of "pause_session"
pause_session = ; practice, qualify, prefinal or final
pause_directory = ; the directory where data is saved. The default is "resume"
resume = ; the file to load to resume an event
save = ; 0 or 1. If set to 1, the event is saved at the end of "save_session". If "pause" is set, this setting is ignored
save_session = ; practice, qualify, prefinal or final
save_directory = ; the directory where data is saved. The default is "resume"

[live]
enable = ; 1 to enable live timing
port = ; the UDP port
password =

It is possible to set up to 9 additional tracks, in the "events" section:
Code: [Select]
track2=
track2_layout=
track3=
track3_layout=
...
...
track10=
track10_layout=
The server will move to the next at each restart and wrap to the first after the last.
The same track and layout can be repeated multiple times in the 10 "slots".

The whitelist and blacklist use a text file using the following format:
Code: [Select]
[entry0]
guid = ........

[entry1]
guid = ........

[entry2]
guid = ........
The GUID can be read in the "Profiles" page.

In the dedicated server text input, it is possible to type text that will be sent to the connected clients.
It is also possible to execute some commands:
"!restart" to reset the server
"!update whitelist" to reload the whitelist file
"!update blacklist" to reload the blacklist file


NOTE: a license is not needed to start a dedicated server.


1864
Documentation / Profile.ini
« on: June 19, 2010, 08:48:10 PM »
There are a few settings that are only available manually editing profile.ini file that is located in profile directory under "profiles" in "My Documents"\PiBoSo\Kart Racing Pro\ save path.

Code: [Select]
map_shadow_disable = 1
under "gfx" section to disable track shadows.

1865
Plugins / Output Plugins
« on: June 19, 2010, 08:40:35 PM »
It is possible to write a DLL that receives data from the simulated kart in realtime.

Example source code can be downloaded at http://www.kartracing-pro.com/?page=downloads

Please note that all function calls are blocking, so control should be returned to simulation as soon as possible to avoid framerate issues.

The plugin must have the file extension renamed to DLO and it must be copied to the "plugins" directory in Kart Racing Pro installation folder.

NOTE: a license is not needed to add plugins.

1866
Support / Network ports
« on: June 19, 2010, 08:09:15 PM »
Kart Racing Pro uses UDP ports 54400 and 54410 for network protocol.
It also needs to send a DNS query ( port 53 ).

Pages: 1 ... 123 124 [125]