Having trouble logging in? Password not accepted? Recently some bad apples caused a bit of a ruckus around here and a few accounts had to be reset.
Please, drop Toshiba, Errol or n3wton a line and they'll sort you right out! We apologise for any inconvenience this may cause :(


Tweaking YON so the games dont crash
JimmyBlack created Tweaking YON so the games dont crash on Thu Dec 28, 2017 7:45 pm
Post
I want to play Carmageddon 1/2 with YON 200, but the games crash or freeze randomly as expected.
I was told that I need to edit tracks in order to resolve it, but the fella who told me that couldnt be reached so... Please, explain in detail which steps should I take, coz it's too much info in those TXT files and it's totally unclear what I'm supposed to change. Thanks in advance!
User avatar
Toshiba-3 on Fri Dec 29, 2017 12:00 pm
Post
Hello there;

The game freezing is indeed caused by high YON as the AI can't cheat/teleport/respawn opponents easily enough: it always tries to do it out of the player's sight, but if the YON is too high all spawning nodes might be in sight at times and then the game will freeze.

The idea is to add extra nodes even further from the level geometry and out of YON ofcourse.

This is the original topic detailing the process: https://www.cwaboard.co.uk/viewtopic.php?p=91470#p91470
This imply that if you want to play with YON set to 200, you'll have to add these nodes and paths to them for every race (in their respective txt file)

Personaly I find YON 200 to be too high, it screws the AI too much. I used to stick with 75 and now simply with the default 35 :ssmile:
Image / carmageddon add-ons at road reaction
JimmyBlack on Sat Dec 30, 2017 11:25 am
Post
Hey, thanks! I appreciate your reply greatly, but I still don't get it. No matter what I do, a high YON kinda ruins the game? AI wont function properly, or what? I just want to increase draw distance without affecting AI or map properties, that's all. But I figure it's impossible, right?
And where I'm supposed to put all that text?

Also, what about the original game, not the sequel? Any tweaks for that one you know?
User avatar
Toshiba-3 on Tue Jan 02, 2018 2:34 pm
Post
Ruining the game might be exaggerated but it does have bad consequences on the AI and overal performance of the game (esp. if played with mods). As the AI beheaviour is directly tied to the YON, there's sadly no way to modify the YON without affecting the AI. However you can increase the YON in a reasonable fashion to lessen the impact on AI. I mentionned 75 as a potential ok value in my previous post, though it's just my take on it and I understand it might not be what you're after. Also the same value will affect AI differently depending on the map you're playing etc.

Really you can just test different values until your game doesn't crash anymore, then you'll also see how challenging/unchallenging the AI might have become.

About the code I linked to, it must be added to each race's txt file, which is packed in twt files usually. Also you can't just copy/paste the same chunk of code to all races as it must be adapted etc. So it's a bit difficult :/
If you want to give it a look you can download the vanilla C2 mini-pack, all TWT files are unpacked in this version.

C1 beheaves exactly like C2 when it comes to YON/AI. You can check this video that illustrates the crazy AI beheaviour by the way: https://www.youtube.com/watch?v=aVS1HSvpLdg
And a short twitter thread about the YON/AI correlation: https://twitter.com/TrentTech/status/904416688711532554
Image / carmageddon add-ons at road reaction
Pages: 1



cron
Extra information
It is currently Mon Jul 23, 2018 1:51 pm,

Please Register a username.
In total there are 17 users online :: 0 registered, 0 hidden and 17 guests
Users browsing this forum: No registered users and 17 guests
Moderator: coffeycup

Powered by phpBB :: Hosted by n3wton :: Molested by goats
CWA Links
Facebook