Wild1234
Member
+1|6895
Hello, I'm not sure if this is the correct forum to ask this or not (hope it is:P) but I was hoping somebody could help me with a problem I'm having.

I have set up a mod for single player so I can play both the standard and SF maps at the same time without changing anything on my normal x-pack install. Everything works great except I get no crosshair when I right click while using the zipline. I have all the client and server zip files loaded in the client and serverarchives.con files, and all the kits load up with their weapons and everything fine. The zipline works fine when fired, its just a pain to aim it with no crosshair.

Does anybody know what file I would need to copy over from the xpack dir, or what change I would need to make to see the crosshair when I right click in my mod?

Thank you in advance for any help you can provide. Ziplining around karkand sniping bots just never gets old to me:)
blademaster
I'm moving to Brazil
+2,075|6854
make sure u go to options and check there  I know in bf2 when u click on options u can adjust the cross settings to how it looks, for weapons and such you can have the cross hair be different colors or u can choose not to be shown. Also if its just not showing for zip line and its showing for everything else a mod must of overwritten a zip line code if u placed the mod in a wrong folder, since a lot of mods dont use the cross hair thing.

Last edited by blademaster (2006-12-06 12:15:31)

MagikTrik
yes.....but your still gay
+138|6579|Pittsburgh, PA USA
Is it complicated to explain how to do that? I hate having to switch back & forth between SF & Vanilla & it would be great to be able to play seamlessly...
Wild1234
Member
+1|6895

MagikTrik wrote:

Is it complicated to explain how to do that? I hate having to switch back & forth between SF & Vanilla & it would be great to be able to play seamlessly...
Depends on what you want to do. to play it online you must have an unranked server with FTP access and verify client data turned off. Then get everybody who wants to play to download the same copy of the maps that you have. If they have different versions they will crash. So unless you have a good group of friends you will be playing singleplayer only.

If you want to play singleplayer with maps larger than the 16 player size you can find new maps on this website: http://battlefieldsingleplayer.planetba … mespy.com/
Also note that sometimes the game will crash when you click on the join game button with these maps (at least for me), but if you just start the game again and reload the map you should be able to play without problems.

Anyways, the eaisest way to do this is to create a copy of your SF folder Default location: C:\Program Files\EA GAMES\Battlefield 2\mods\xpack. Copy the entire xpack folder into a new folder in the mods dir with any name you want. This will make everything work fine for you, if you dont have the free harddrive space for that you can use the client and serverarchives.con files to load up the files from your other mods (reg bf2 and xpack) (which is how I have it set up as I'm low on disk space:P and also the reason that my crosshair wont show up with the zipline, it does show up if I just copy everything over:/). Just look at the files in notepad and you should be able to figure out how to use them.

After you have your xpack copy download any maps that you want from that website I posted and place them in your new mod directory. You can also copy over levels from your mods\bf2\Levels dir. (Note, you dont need the client.zip file for the maps from reg BF2, but you do need them in your mod for the SF maps. Removing the client.zip file from the stock BF2 maps you place in your mod can save some harddrive space) Now you will be able to load up your mod and play both standard and SF maps at once.

Now if you want to use the SF classes in the stock BF2 maps you will need to do a little editing of the server.zip files. Inisde the server.zip file contained in each level folder is a file called init.con. Extract this file and open it in notepad. Look for the levelsettings section of the file and you will see a list of each team/flag/soldier kit for the map. For example, here is part of the one from karkand:

Code:

gameLogic.setTeamName 1 "MEC"
gameLogic.setTeamName 2 "US"

gameLogic.setTeamLanguage 1 "Mec"
gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_mec"
gameLogic.setTeamFlag 2 "flag_us"

gameLogic.setKit 1 0 "MEC_Specops" "mec_light_soldier"
gameLogic.setKit 2 0 "US_Specops" "us_light_soldier"
You will need to edit this with values for the SF armies like I did below:

Code:

gameLogic.setTeamName 1 "MECSF"
gameLogic.setTeamName 2 "SEAL"

gameLogic.setTeamLanguage 1 "MEC"
gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_mec"
gameLogic.setTeamFlag 2 "flag_us"

gameLogic.setKit 1 0 "MECSF_Specops" "mecsf_soldier"
gameLogic.setKit 2 0 "seal_Specops" "seal_soldier"
Continue on changing all the classes in the file then save it and replace the one in the server.zip file. Make that change on all your standard BF2 maps and you can play them all with the SF kits and weapons. Just be very careful not to make any changes to your default BF2 or SF mod dirs by mistake or you will be unable to play multiplayer. Just resaving a file with no changes made to it can be enough to throw off the modified content check.

Hope your able to understand all of that:) Guess I'll go back to tinkering till I find that blasted file that controlls the zipline crosshair:P
MagikTrik
yes.....but your still gay
+138|6579|Pittsburgh, PA USA
oh........
FFOLKES
Member
+39|6972
FFOLKES Unlocks

http://www.totalbf2.com/forums/showthread.php?t=75834

Special Forces Unlocks mod

Last edited by FFOLKES (2006-12-07 21:43:51)

Jornac
Member
+1|6590
Just put a dot with a pencil in the middle of your monitor... whoorah! now you can hit with an unzoomed sniper rifle!
lord_tyler_486
Member
+54|6961|Upper Franconia

Jornac wrote:

Just put a dot with a pencil in the middle of your monitor... whoorah! now you can hit with an unzoomed sniper rifle!
You won't be able to hit unzoomed with a sniper rifle because they are figgin inaccurate while unzoomed.

And to the original Problem:

/xpack/objects/weapons/handheld/nsrif_crossbow/

Code:

ObjectTemplate.secondaryProjectileTemplate zipline
ObjectTemplate.canFireGuiIndex 62
ObjectTemplate.cannotFireGuiIndex 61
ObjectTemplate.cannotFireTimer 3.0
ObjectTemplate.crosshairFireTime 3.0
This is the piece of code making problems.

I don't really know how exactly you could activate this stuff in a vbf2 mod as it seems to be hardcoded, but a simple solution would be changing the

Code:

ObjectTemplate.weaponHud.guiIndex 0
line at the top of the file to

Code:

ObjectTemplate.weaponHud.guiIndex 62
. If this doesn't work try 4 instead of 62. The problem is that you don't know if the target is in range or not...

Board footer

Privacy Policy - © 2024 Jeff Minard