|
Modding Tutorials Information and tutorials related to modding BF2. |
|
Thread Tools | Display Modes |
2012-06-27, 16:49 | #401 |
Join Date: Jan 2012
Posts: 1,073
Brazil
Location: Aracaju, Sergipe
|
Forget, it worked.
Now I want a kind of sound alarm to indicate that i'm locked on a target, can I do so the lock--on makes the sound of the AA lock-on or the Air-to-Ground laser lock-on? Bump. Now I want a kind of sound alarm to indicate that i'm locked on a target, can I do so the lock--on makes the sound of the AA lock-on or the Air-to-Ground laser lock-on? |
Last edited by Amok@ndy; 2012-06-28 at 19:39..
|
2012-07-04, 18:50 | #402 |
Join Date: Jan 2012
Posts: 1,073
Brazil
Location: Aracaju, Sergipe
|
Re: How to mod PR coop mode (unsupported)
Bump.
Now I want a kind of sound alarm to indicate that i'm locked on a target, can I do so the lock--on makes the sound of the AA lock-on or the Air-to-Ground laser lock-on? |
2012-07-04, 21:33 | #403 |
PR:BF2 Developer
Join Date: Jul 2011
Posts: 1,966
Belarus
Location: Minsk
|
Re: How to mod PR coop mode (unsupported)
Find this line in vehicle\weapon tweak file:
Code:
ObjectTemplate.weaponHud.secondLockSound HUD_LaserGuided_Lock Code:
Sound.addSound HUD_LaserGuided_Lock Code:
ObjectTemplate.soundFilename Common/Sound/Hud/Laser_lock.wav 1. find it 2. replace with new one 3. ???? 4. PROFIT |
2012-07-30, 22:17 | #404 |
Join Date: Jan 2012
Posts: 1,073
Brazil
Location: Aracaju, Sergipe
|
Re: How to mod PR coop mode (unsupported)
Hello, now I want to enable the UAV on COOP, I also want it to fire HELLFIRES and maybe the M230 from the Apache to simulate an Apache...
|
2012-07-30, 23:26 | #405 |
Join Date: Jan 2010
Posts: 475
United States of America
Location: SOMEWHERE
|
Re: How to mod PR coop mode (unsupported)
I remember someone saying they tried to enable UAV's in co-op and it made the game crash. I don't think it's possible.
|
2012-07-30, 23:55 | #406 |
Join Date: Jan 2012
Posts: 1,073
Brazil
Location: Aracaju, Sergipe
|
Re: How to mod PR coop mode (unsupported)
I think that have something with the marker, on COOP the markers lasts for only 1 second.
I know that Sniperdog did make the UAV shot missiles, how to do this? |
2012-10-07, 05:22 | #407 |
Join Date: Dec 2010
Posts: 255
Canada
Location: montreal
|
Might be a dumb question but: do all weapons and vehicles in PR and BF2 need an additional "bot support" coding? 'cause Rhino told me that might be what's causing my stuff to crash (I tried to integrate Falklands stuff into SP maps, it all worked and suddenly crashed 5 minutes into the game. Running in windowed mode doesn't show any errors).
|
2012-10-07, 08:01 | #408 | |
Join Date: May 2009
Posts: 14
Argentina
Location: buenos aires
|
Re: How to mod PR coop mode (unsupported)
Quote:
So you either have: An AI problem: the bot is trying to use a vehicle in a way that CANNOT be used(the tank example above)(No bug report in windowed mode) An AI behaviour problem: the bots can use the vehicles BUT when encountered with certain situations ingame they don't know how to respond and then the game crashes( example: a bot inside a tank doesn't know what to do when facing another vehicle or infantry soldiers.)(bug report in windowed mode) If you don't have a proper AI behaviour your game will crash at very random moments, and if you don't have a proper AI your game will crash as soon a bot tries to enter in a vehicle(and I think this last one is your problem) The solution is to find an AI that works in coop and use it to replace the AI that is making your game crash, the AIs have to be SIMILAR in the action that the bots performs when using it, I'll give you an example of what I did with certain PR vehicles while porting them into my personal mod: Example 1: unlike the LAV25 from bf2, PR's LAV25 has a coaxial MG instead of the tow launcher, so I used the AI from the bf2 tank's coaxial MG and replaced the PR's coaxial AI, since both coaxial MGs(the tank and PR's LAV25) require the same action to be fired(right mouse button) and such action is possible for the bots, then they are able to use the 25mm turret/coaxial MG without problems, as both actions(firing the 25mm and firing the coaxial MG) have a proper AI that is recognized in the AI behaviour, then the bots can use the LAV25 without problems. Example 2: When I ported the STRYKER I had to use a proper AI for the driver seat, a proper AI for the passenger seats AND a proper AI for the 50cal CROWS, what I did with the CROWS was simple: which AI can I use that can perform the same action as the CROWS and has a functional AI behaviour recognized by the bots? The answer is the mounted 50cal MG's AI from bf2, as both firing the CROWS and the 50cal MG requires the exactly same action for the bot to use, then such AI works PERFECT with the CROWS. Try testing one vehicle at a time so you can identify which ones are making your game CTD, and once you do so, compare their AIs with another vehicles that work in coop and modify them/replace them as you see fit. Good luck!! | |
2012-10-07, 14:25 | #409 |
Join Date: Dec 2010
Posts: 255
Canada
Location: montreal
|
Thanks but the problem is that it was on a vehicleless map. :O
I specifically took away all the vehicles from the gameplayobjects.con file. But still thanks heaps cause integrating vehicles was suppose to be the next step. |
2012-11-15, 15:32 | #410 |
PR Tournament Management
Join Date: Aug 2007
Posts: 1,223
Portugal
Location: Portugal
|
Re: How to mod PR coop mode (unsupported)
I'm having an issue on a duplicated weapon not having sound.
The weapon is being loaded with the map files and the only reason for the duplication is changing the value of mags. Any ideas? |
Tags |
begin, coop, customizing, game, kits, mod, modding, mode, prsp, single player, unsupported |
|
|