APC Gunner Delay
-
- Posts: 23
- Joined: 2007-10-11 20:48
APC Gunner Delay
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
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
-
- Posts: 2257
- Joined: 2008-09-04 00:46
Re: APC Gunner Delay
I believe it is controlled via a python script.
-
- Posts: 23
- Joined: 2007-10-11 20:48
Re: APC Gunner Delay
So I guess that means its hard coded into the mod, non-changeable?
-
- Posts: 1591
- Joined: 2007-11-05 02:01
Re: APC Gunner Delay
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.
Perhaps the DEVs could supply PRSP with an additional .tweak file that doesn't compromise the security of the PRMP version's compiled script.
-
- Retired PR Developer
- Posts: 1204
- Joined: 2007-05-30 22:47
Re: APC Gunner Delay
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...
Back up both files beforehand just in case you want to revert back or you completely f*ck them up.
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...
change the 1 to 0# Enable/Disable start delay on vehicles
# Default is enabled
VEHICLES_START_DELAY = 1
Back up both files beforehand just in case you want to revert back or you completely f*ck them up.
-
- Posts: 1591
- Joined: 2007-11-05 02:01
Re: APC Gunner Delay
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!
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!
-
- Retired PR Developer
- Posts: 1204
- Joined: 2007-05-30 22:47
Re: APC Gunner Delay
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.
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.
-
- Posts: 23
- Joined: 2007-10-11 20:48
Re: APC Gunner Delay
Thank you very much for your help. Thats great!!!!!!!!!!!
-
- Posts: 59
- Joined: 2008-05-06 11:43
Re: APC Gunner Delay
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.
-
- Posts: 257
- Joined: 2006-05-20 00:58
Re: APC Gunner Delay
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.
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.

-
- Posts: 59
- Joined: 2008-05-06 11:43
Re: APC Gunner Delay
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)
-
- Posts: 257
- Joined: 2006-05-20 00:58
Re: APC Gunner Delay
To answer #1 - Try selecting ALL FILES (*.*) in the file dialog window.
See:

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

I really don't know how much simpler we can make this for you.
- JM40.
See:
To answer #3 - note the file location this window:
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.

-
- Posts: 59
- Joined: 2008-05-06 11:43
Re: APC Gunner Delay
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
-
- Posts: 59
- Joined: 2008-05-06 11:43
Re: APC Gunner Delay
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.
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.