Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[META] How to Install CTS maps offline, including compatability changes

#1
Intro:
This guide is gonna show you how to install, and configure CTS or DeFraG maps for Xonotic. The first part is going to show you how to install maps for offline play with the correct settings, and then we'll delve into testing configs and enabling weapons. The first part assumes you're installing the maps from your dlcache after downloading them from the XDF servers. Please note offline records are not able to show on the online servers, or on the teichisma rankings.

For further questions join the Discord here: https://discord.gg/ja7hFeG
There is a connected IRC on QuakeNet #clanexe
YouTube link: https://youtu.be/-CXkrmD7pS4
XDF official page: https://xdf.teichisma.info/


Installing maps basics:
Linux: ~/.xonotic
Windows: C:\Users\<your_user_name>\Saved Games\xonotic
Mac: ~/Library/Application Support/xonotic
    Library might be hidden on Mac so Finder won’t display it

Navigate to the config folder shown above, and enter "data". If you got the map from the game servers enter the dlcache folder. Copy the map file, either from dlcache or wherever you downloaded it to from elsewhere and paste it into the "data" folder (go up one folder if you're in dlcache)

Now load the game, or if the game was already open type "fs_rescan" to load the new map.

Execute these commands before loading the map. You can open the console with ` or ~ depending on your keyboard (the button above tab and left of 1) or by pressing shift and escape at the same time.

Effectively mandatory commands:
exec ruleset-xdf.cfg
sv_cheats 1
g_cts 1
g_respawn_delay_forced 1
g_respawn_delay_max 0
g_start_delay 0 /*no wait time for local games*/
g_norecoil 1 /*no visual recoil for shots*/
g_shootfromeye 1 /*shots originate from camra of the player*/
sys_ticrate 0.0166667 /*60 tick rate for servers*/

Now load the map with `map mapname`
Once you've loaded the map certain commands will require you running a `restart` command.

Probably wanted commands:
sv_q3compat_changehitbox 1 /*if the map has a .defi file then use q3 playersizes*/
g_playerclip_collisions 0

Testing binds:
alias noclipimpulse48 "noclip;impulse 48"
alias impulse141 "impulse 141"
"bind z noclipimpulse48;bind x kill;bind c g_waypointsprite_personal;bind v impulse141"
// z clear savestate and toggle noclip
// x kys
// c create savestate
// v restore savestate

Make use of the "apropos" search. If there's any commands listed with an asterisk (*) in them you can type `apropos g_pickup_*` and that will list all the g_pickup_ commands. This is very useful. Learn how to apropos!

Commands for weapons
g_balance_*_weaponstartoverride 1 //This gives a spawning weapon. Replace the * with whatever weapon you are wishing to start with
g_use_ammunition 1 //This means you won't have infinite ammo. 0 is for infinite ammo
g_balance_*_ammo //Use this command to change how much ammo each shot from each weapon uses. This is split into primary and secondary fire. Mostly you'll want the primary fire mode for CTS.

Commands for powerups
g_pickup_* //This can change the amount of ammo you get from each pickup, and set respawn times on pickups. Mostly this will want to be instant due to server play.
g_powerups* //Use 1 to enable powerups. This also requires you to enable each powerup individually.

Use with caution:
sv_friction 0 //This will make the whole map slick. Every surface. Only use if this is actually what you definitely want. sv_friction 6 is the default.

Common pitfalls for q3df maps:
- trigger_push_velocity usage
- complicated trigger setups
- built for ramp jump double jumps, xon just has ramp jumps with less height
- plays like garbage


Clarifications to the video:
I made some mistakes in the video. They'll be added here as they come up. Nothing major that makes it worth remaking it, but stuff to consider.
Warsow/WarFork do use different bsp formats, so often won't convert to Q3 or Xon format easily. Some maps are ported, which is why I mentioned this.
Playerclips (g_playerclip_collisions 0) are for one way walls, to stop players re-entering spawn. In Xon these can stop you exiting the spawn sometimes. Weapon shots pass through them, but players do not (unless they spawn within the bounds of a box).
The q3 hitbox (sv_q3compat_changehitbox 1) is for small gaps. I'm just dumb and couldn't make that jump with it enabled for some reason, and as it's not doable in Q3 I thought that was part of the reason why.
Health isn't technically infinite, it's just 0 self damage, and no fall damage, and nobody else can damage you. (it's permanent shield/battlesuit, which is why I said shield is barely that useful)

Thank you to Jaska for the majority of this post and the video clarifications, morosophos for the weapon commands.

See you on the server, maybe on some great new maps.
Reply

#2
(01-22-2023, 10:15 AM)ccCam Wrote: Intro:
This guide is gonna show you how to install, and configure CTS or DeFraG maps for Xonotic. The first part is going to show you how to install maps for offline play with the correct settings, and then we'll delve into testing configs and enabling weapons. The first part assumes you're installing the maps from your dlcache after downloading them from the XDF servers. Please note offline records are not able to show on the online servers, or on the teichisma rankings.

For further questions join the Discord here: https://discord.gg/ja7hFeG
There is a connected IRC on QuakeNet #clanexe
YouTube link: https://youtu.be/-CXkrmD7pS4
XDF official page: https://xdf.teichisma.info/


Installing maps basics:
Linux: ~/.xonotic
Windows: C:\Users\<your_user_name>\Saved Games\xonotic
Mac: ~/Library/Application Support/xonotic
    Library might be hidden on Mac so Finder won’t display it

Navigate to the config folder shown above, and enter "data". If you got the map from the game servers enter the dlcache folder. Copy the map file, either from dlcache or wherever you downloaded it to from elsewhere and paste it into the "data" folder (go up one folder if you're in dlcache)

Now load the game, or if the game was already open type "fs_rescan" to load the new map.

Execute these commands before loading the map. You can open the console with ` or ~ depending on your keyboard (the button above tab and left of 1) or by pressing shift and escape at the same time.

Effectively mandatory commands:
exec ruleset-xdf.cfg
sv_cheats 1
g_cts 1
g_respawn_delay_forced 1
g_respawn_delay_max 0
g_start_delay 0 /*no wait time for local games*/
g_norecoil 1 /*no visual recoil for shots*/
g_shootfromeye 1 /*shots originate from camra of the player*/
sys_ticrate 0.0166667 /*60 tick rate for servers*/

Now load the map with `map mapname`
Once you've loaded the map certain commands will require you running a `restart` command.

Probably wanted commands:
sv_q3compat_changehitbox 1 /*if the map has a .defi file then use q3 playersizes*/
g_playerclip_collisions 0

Testing binds:
alias noclipimpulse48 "noclip;impulse 48"
alias impulse141 "impulse 141"
"bind z noclipimpulse48;bind x kill;bind c g_waypointsprite_personal;bind v impulse141"
// z clear savestate and toggle noclip
// x kys
// c create savestate
// v restore savestate

Make use of the "apropos" search. If there's any commands listed with an asterisk (*) in them you can type `apropos g_pickup_*` and that will list all the g_pickup_ commands. This is very useful. Learn how to apropos!

Commands for weapons
g_balance_*_weaponstartoverride 1 //This gives a spawning weapon. Replace the * with whatever weapon you are wishing to start with
g_use_ammunition 1 //This means you won't have infinite ammo. 0 is for infinite ammo
g_balance_*_ammo //Use this command to change how much ammo each shot from each weapon uses. This is split into primary and secondary fire. Mostly you'll want the primary fire mode for CTS.

Commands for powerups
g_pickup_* //This can change the amount of ammo you get from each pickup, and set respawn times on pickups. Mostly this will want to be instant due to server play.
g_powerups* //Use 1 to enable powerups. This also requires you to enable each powerup individually.

Use with caution:
sv_friction 0 //This will make the whole map slick. Every surface. Only use if this is actually what you definitely want. sv_friction 6 is the default.

Common pitfalls for q3df maps:
- trigger_push_velocity usage
- complicated trigger setups
- built for ramp jump double jumps, xon just has ramp jumps with less height
- plays like garbage


Clarifications to the video:
I made some mistakes in the video. They'll be added here as they come up. Nothing major that makes it worth remaking it, but stuff to consider.
Warsow/WarFork do use different bsp formats, so often won't convert to Q3 or Xon format easily. Some maps are ported, which is why I mentioned this.
Playerclips (g_playerclip_collisions 0) are for one way walls, to stop players re-entering spawn. In Xon these can stop you exiting the spawn sometimes. Weapon shots pass through them, but players do not (unless they spawn within the bounds of a box).
The q3 hitbox (sv_q3compat_changehitbox 1) is for small gaps. I'm just dumb and couldn't make that jump with it enabled for some reason, and as it's not doable in Q3 I thought that was part of the reason why.
Health isn't technically infinite, it's just 0 self damage, and no fall damage, and nobody else can damage you. (it's permanent shield/battlesuit, which is why I said shield is barely that useful)

Thank you to Jaska for the majority of this post and the video clarifications, morosophos for the weapon commands.

See you on the server, maybe on some great new maps.

hello, trying this method to play maps offlline.  im new to XON CTS coming from quake live race pql.    i

 tried the above instructions for map "dfwc2017-6" (my favorite map) and get the following error:  please help!

[Image: xon.jpg]

https://i.ibb.co/Jc9drdp/xon.jpg
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [CTS] Kotangens' map packs Kotangens 5 3,349 12-29-2022, 04:53 PM
Last Post: Kotangens
  [CTF,ONS,CTS] Trident_ctf [FINAL] Kotangens 10 5,235 08-29-2022, 08:54 AM
Last Post: Kotangens
  [DUEL, CTS] tempullit Kotangens 3 1,645 08-04-2022, 06:12 PM
Last Post: ballerburg9005
  [DM,INV,CTS] skytower [PRERELEASE] Kotangens 2 1,927 03-23-2022, 01:56 PM
Last Post: Kotangens
  [MAPS] Sketchy Maps _para 4 3,995 08-18-2020, 07:15 PM
Last Post: LegendGuard
  xonotic-maps-extra.pk3 - Most Duel Cup maps and removed official maps in one pk3 northivanastan 1 3,713 06-20-2018, 09:41 AM
Last Post: northivanastan
  [CTS] 8 cts maps It'sMe 5 9,091 04-02-2016, 10:53 AM
Last Post: It'sMe
  [CTS] Infinity [BOX] Noob 11 9,839 01-12-2014, 04:00 PM
Last Post: [BOX] Noob
  new CTS Map [BOX] Noob 17 14,080 01-02-2014, 11:12 AM
Last Post: [BOX] Noob
  [CTS] Up and Down forseti 5 4,569 04-25-2012, 01:05 PM
Last Post: rocknroll237

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-