APC Gunner Delay

Suggestions and feedback pertaining to Project Reality Single Player.
Post Reply
Coltace
Posts: 23
Joined: 2007-10-11 20:48

APC Gunner Delay

Post by Coltace »

Hey Guys,

I was wondering if anyone could advise me where to change the time delay for the APC Gunner? Ive had a look in the tweak for the Warrior but Im still unsure.

Any help would be appreciated

Cheers

Coltace
Solid Knight
Posts: 2257
Joined: 2008-09-04 00:46

Re: APC Gunner Delay

Post by Solid Knight »

I believe it is controlled via a python script.
Coltace
Posts: 23
Joined: 2007-10-11 20:48

Re: APC Gunner Delay

Post by Coltace »

So I guess that means its hard coded into the mod, non-changeable?
gclark03
Posts: 1591
Joined: 2007-11-05 02:01

Re: APC Gunner Delay

Post by gclark03 »

Not hardcoded, but buried in compiled Python.

Perhaps the DEVs could supply PRSP with an additional .tweak file that doesn't compromise the security of the PRMP version's compiled script.
ballard_44
Retired PR Developer
Posts: 1204
Joined: 2007-05-30 22:47

Re: APC Gunner Delay

Post by ballard_44 »

Been talked about before here.

Open up the realityconfig_local.py file with NOTEPAD
(could be the realityconfig_private.py file, however. Forget which one is for SP and which one is used for Coop)

Find these in the /pr_sp_08/python/game folder

Look for these lines...
# Enable/Disable start delay on vehicles
# Default is enabled
VEHICLES_START_DELAY = 1
change the 1 to 0

Back up both files beforehand just in case you want to revert back or you completely f*ck them up.
gclark03
Posts: 1591
Joined: 2007-11-05 02:01

Re: APC Gunner Delay

Post by gclark03 »

Great!

I always thought the delay was buried with the kit request system and other key parts of the mod in those .pyc files. Thanks for proving me wrong!
ballard_44
Retired PR Developer
Posts: 1204
Joined: 2007-05-30 22:47

Re: APC Gunner Delay

Post by ballard_44 »

It won't completely get rid of the 'warm up' times for all the vehicles, but it does help.

For example, the turret warm up on tanks is reduced to how long it takes to reload a shell (around 8 seconds???), not the full 30 seconds

This won't help warm up the helis any faster, however.
Coltace
Posts: 23
Joined: 2007-10-11 20:48

Re: APC Gunner Delay

Post by Coltace »

Thank you very much for your help. Thats great!!!!!!!!!!!
bobogaz
Posts: 59
Joined: 2008-05-06 11:43

Re: APC Gunner Delay

Post by bobogaz »

how do you open with notepad? i right click on it but i can't find open with>, just open and when i click it, it comes up with windows cannot open this fine blah blah.
JuniperM40
Posts: 257
Joined: 2006-05-20 00:58

Re: APC Gunner Delay

Post by JuniperM40 »

Here's at least 3 ways you can do it:

1. Run Notepad by itself, and find the file using the [FILE] [OPEN] Dialog.
1a. To run notepad by itself, hit [START], [RUN], and type in "notepad" (no quotes)

2. Open a shell, cd to the correct directory, and type "notepad <filename>"
2a. to open a shell, hut [START], [RUN], and then type "cmd" (no quotes)
2b. to change directories, type "cd C:\<directory name>"

3. Find the .py file in Windows explorer, right click on 'OPEN', and use the "select program from list" option. Scroll down the window to "notepad".

Hope that helps!

- JM40.
Last edited by JuniperM40 on 2009-04-10 15:36, edited 2 times in total.
Image
bobogaz
Posts: 59
Joined: 2008-05-06 11:43

Re: APC Gunner Delay

Post by bobogaz »

1) doesnt work cuase it doesnt show up (the file) 2) i dont know what a shell is and 3) how do u open windowws explorer? ican only open internet explorer)
JuniperM40
Posts: 257
Joined: 2006-05-20 00:58

Re: APC Gunner Delay

Post by JuniperM40 »

To answer #1 - Try selecting ALL FILES (*.*) in the file dialog window.

See:

Image

To answer #3 - note the file location this window:

Image

I really don't know how much simpler we can make this for you.

- JM40.
Last edited by JuniperM40 on 2009-04-11 17:29, edited 1 time in total.
Image
bobogaz
Posts: 59
Joined: 2008-05-06 11:43

Re: APC Gunner Delay

Post by bobogaz »

but no files come up! i go into notepad, click file, open then go to the python folder. i click all files, and every file shows up in other folders but when i go into python, it doesnt work!they dont show up
bobogaz
Posts: 59
Joined: 2008-05-06 11:43

Re: APC Gunner Delay

Post by bobogaz »

hay hay, wait a sec, IT WORKS Thanks M40.

But how do i edit the .tweaks in the WINRAR objects? because when i try access them the same way as the python folder, it stops working and i have to end prosess.
Post Reply

Return to “Coop & Singleplayer”