papy_ai.ini hidden values

  • You DO NOT need an account in order to download the content that we host....ONLY make an account if you plan to be an ACTIVE member.
  • We DO NOT Allow Multiple Accounts, those people found to have more than one linked to their IP address Will be Banned.

Zak103tv

Well-Known Member
Hot Pass Member
May 12, 2019
603
93
Yes those are known values for awhile now. It also allows you to use chat in offline mode which you can give laps back to AI, black flag them, random cautions, etc etc, essentially online admin options (minus banning/kicking drivers)

I made a UI mod to move the offline chat button over as well when you have the papy ai lines enabled: https://adracingdesigns.com/downloads-ui-misc-offline-chat-button-adjustment/
wait i didnt know you could give laps back? what command do you make to do that?
 

ai_line_mod

Well-Known Member
Hot Pass Member
May 6, 2020
95
28
Keeping ai from incurring pit penalties is accomplished by proper track.ini values, ptf subsurface designations, and pit lp's locations.


Pitroad, Pitstalls, and Pit lp's HOW TO
Yes, correct LPs, track.ini, etc *should* prevent AI from incurring penalties, however quite frequently AI receive them, for a variety of reasons, including on the default papy tracks (which I use about 98% of the time and solely for testing purposes), especially at short tracks (but I've seen them get black flags at many track types).

Also, I'm not discussing penalties in that post, but the bug where drivers pit repeatedly after taking damage: they pit, leave pit, circle once, enter pit, leave, pit leave, and so on.
 
Last edited:

ai_line_mod

Well-Known Member
Hot Pass Member
May 6, 2020
95
28
Oh yeah, I've been using those lines for ... quite some time.

There's also these; I'm pretty sure they're supposed to be in papy_ai, and I don't know what the default values or limitations are, and if I did know at one point, I forgot. Most of this stuff in this thread has been known about for awhile, but seeing it written down somewhere is helpful.

Code:
[ strategy ]

lose_lap_to_caution_risk_factor = 0.0 ; I disabled this one.
caution_pitting_cost_base = 17.5
caution_pitting_cost_increase_per_lap = 15.0
caution_pitting_cost_per_extra_stop = 70.0 ; I honestly have no idea why I set this to 70.
fuel_risk_factor = 3.0
fuel_stupidity_factor = 3.5
tire_wear_risk_factor = 0.5
tire_wear_stupidity_factor = 1.5

Sidenote; if any lps for any tracks I release look a little bit on the conservative side, it's because I tend to run with AI brake wear on -- and with that set to around 0.2-0.6 ... and fam, that creates all sorts of chaos pretty fast. I did not do this for Zanarkand, but for almost every other track I've made or tested, yeah.

Yes, I mentioned these, but not explicitly, above, along with the [magic] entries. However, these seem to be values the game determines and assigns entries to regardless of their presence on the papy_ai, however I have yet to do significant research here.
 
Last edited:

ai_line_mod

Well-Known Member
Hot Pass Member
May 6, 2020
95
28
Yes those are known values for awhile now. It also allows you to use chat in offline mode which you can give laps back to AI, black flag them, random cautions, etc etc, essentially online admin options (minus banning/kicking drivers)

I made a UI mod to move the offline chat button over as well when you have the papy ai lines enabled: https://adracingdesigns.com/downloads-ui-misc-offline-chat-button-adjustment/
Yes, I'm not claiming to have found then, but merely that I learned about them, and as they are new to me, am curious if there are other known values/debugging options available to the community, as discussed in my first post.
 

Mystical

Always 110%
VIP
Member of the Year
Render Partner
Hot Pass Member
Moderator
Dec 21, 2017
1,505
93
wait i didnt know you could give laps back? what command do you make to do that?

In your root NR2003 folder look for the server.txt file. Scroll down to additional server commands section. From there you can see the yellow, black, and add/remove lap commands
 
  • Like
Reactions: Zak103tv

MeandMe

Well-Known Member
Hot Pass Member
Jan 23, 2019
137
33
am curious if there are other known values/debugging options available to the community, as discussed in my first post.
I don’t know if this will help, but one of the things I’ve noticed is the papy_ai is very similar to papyrus’s predecessor Grand Prix Legends, gpl_ai. Some lines of code are similar or exactly the same, some that are the same are under a different heading/section, and others are new/different to NR2003. I do not know if this would work with NR2003 or if a line is copied or pasted to the papy_ai, but this might just be what you are looking for, and could be worth some experimentation.

This version is from the GPL 2004 Demo.

Hope This Helps
 

Attachments

  • gpl_ai.7z
    5 KB · Views: 14

ai_line_mod

Well-Known Member
Hot Pass Member
May 6, 2020
95
28
I don’t know if this will help, but one of the things I’ve noticed is the papy_ai is very similar to papyrus’s predecessor Grand Prix Legends, gpl_ai. Some lines of code are similar or exactly the same, some that are the same are under a different heading/section, and others are new/different to NR2003. I do not know if this would work with NR2003 or if a line is copied or pasted to the papy_ai, but this might just be what you are looking for, and could be worth some experimentation.

This version is from the GPL 2004 Demo.

Hope This Helps
Thank you! I downloaded GPL just to see if there was a papy_ai or equivalent, but I didn't see anything. Maybe I needed to install it? Or look harder? But this makes me think I should try decompiling that exe to see where these values live... Very very helpful thank you so much. So many values!
 

MeandMe

Well-Known Member
Hot Pass Member
Jan 23, 2019
137
33
Thank you! I downloaded GPL just to see if there was a papy_ai or equivalent, but I didn't see anything. Maybe I needed to install it? Or look harder? But this makes me think I should try decompiling that exe to see where these values live... Very very helpful thank you so much. So many values!
You should be able to find the gpl_ai ini file which I think became the papy_ai ini file. If not try the 2004 Demo. (gpl_ai was given to you).


Maybe NR2003 could possibly have some values removed which are now hidden, but if put it into the right place, maybe it can still work, but looking into the .exes/editing them is also good for editing physics for NR2003 but I do not understand this aspect yet. Maybe you could compare both NR2003 and GPL .exes as well to see if there are any similarities.

Thanks for your feedback and I hope it works out soon!
 

Hot Links