I have a few problems with my mod. I took the mercenaries Dragon Valley map and implemented it into the P.R. 0917 mod. I can get the map to load without any problems. But when i load the maps what ever setting i use in aidefault.ai file, i either show a unbalance of bots "at one point i had 113 vs 16" on the map or a even ratio of only 16 vs 16. I can select to have 48 bots on the map when i reduce the amount of human players on the slider to 1, but it has no affect within the game. Another issue i have is when the map loads and i do start playing the game, after killing a few enemies it seems as if the bodies do not disappear at all, at one point i played the map for about 5 minutes and the map got really lagy that i had to quit playing, although it is only running in coop mod.
Can anyone help me with those issues to resolve them?
Thanks in advance.
[Help] Bodies and Bots
-
BloodBane611
- Posts: 6576
- Joined: 2007-11-14 23:31
Re: Bodies and Bots
Moved thread to community modding
[R-CON]creepin - "because on the internet 0=1"
-
clondicke
- Posts: 64
- Joined: 2010-06-19 09:04
Bodies and Bots
OK i have figured out how to make the bodies disapear sooner, it was a part of P.R. v0917.
If anyone wants to know how, here is how:
Go to your pr directory under battlefield 2 mods. Go to folder objects and open soldiers_server.zip and go to soldiers and select your faction in there you have files named like under us you have pr_us_soldier1.con and pr_us_soldier1.tweak. Open pr_us_soldier1.tweak and find these two lines
ObjectTemplate.armor.TimeToStayAsWreck 300
ObjectTemplate.armor.maxsoldierwrecktime 300.000000
change them to what ever time you want, in this case 300 means 300 seconds. I changed mine to 45 seconds on both. you have to do this for every faction and every .tweak file that there are in those folders. For me i only had to change soldier1 for every faction, as that is the only one i use for all the kits when i edited my maps.
Keep in mind if you are playing P.R. online, i strongly recommend NOT changing those lines as it may result in a map crash. As you do not have the exact same settings as the rest of the players on that server. I only play P.R. either alone in coop mode, or invite a friend over for us to play together against the computer also under coop mode.
I personally love P.R. 0917, but the maps that they have do not interest me very much. So I add my personal maps to the game.
If anyone wants to know how, here is how:
Go to your pr directory under battlefield 2 mods. Go to folder objects and open soldiers_server.zip and go to soldiers and select your faction in there you have files named like under us you have pr_us_soldier1.con and pr_us_soldier1.tweak. Open pr_us_soldier1.tweak and find these two lines
ObjectTemplate.armor.TimeToStayAsWreck 300
ObjectTemplate.armor.maxsoldierwrecktime 300.000000
change them to what ever time you want, in this case 300 means 300 seconds. I changed mine to 45 seconds on both. you have to do this for every faction and every .tweak file that there are in those folders. For me i only had to change soldier1 for every faction, as that is the only one i use for all the kits when i edited my maps.
Keep in mind if you are playing P.R. online, i strongly recommend NOT changing those lines as it may result in a map crash. As you do not have the exact same settings as the rest of the players on that server. I only play P.R. either alone in coop mode, or invite a friend over for us to play together against the computer also under coop mode.
I personally love P.R. 0917, but the maps that they have do not interest me very much. So I add my personal maps to the game.
