Hacial
404 - Not Found
+107|6829

Citizen One wrote:

Hacial wrote:

Removed parachute launcher so now there's 9.
Cant remove that.
I put it back, in both zips (server and client). Still CTD when it's loading objects 14-15 %.

Edit: I removed Special_Powers.con file from Objects_server.zip too, but still CTD.

Last edited by Hacial (2006-06-12 06:44:13)

Citizen One
한국 공주
+338|6858|South Korea.
Meh, start over or give up then. I did say you needed basic knowledge of modifying bf2 before attempting this.
Hacial
404 - Not Found
+107|6829

Citizen One wrote:

Meh, start over or give up then. I did say you needed basic knowledge of modifying bf2 before attempting this.
I did the whole thing again but it still crashes at the same point...

Should this work:

Code:

ObjectTemplate.addTemplate insgr_rpg
ObjectTemplate.addTemplate nsrif_grapplinghook
ObjectTemplate.addTemplate medikit
ObjectTemplate.addTemplate gbrif_benelli_m4
ObjectTemplate.addTemplate gbrif_l96a1
ObjectTemplate.addTemplate sasrif_fn2000
ObjectTemplate.addTemplate USHGR_M67
ObjectTemplate.addTemplate nsrif_crossbow
ObjectTemplate.addTemplate ParachuteLauncher
?
Citizen One
한국 공주
+338|6858|South Korea.
I dont know, I always leave in the knife and pistol, and im not sure but I think you cant edit the unlock bit. I had the same problem while trying to load up that bot owner kit you saw earlier, then I gave the Mec medic the chinese medic kit and for some reason it just worked, I dont know if this is true, but it happend to me. I would suggest making simple changes first such as changing the rifle for another rifle, and each time changing one more weapon, that way you will know for sure what it was that made you crash to desktop (rather than just edit everything before trying)
Hacial
404 - Not Found
+107|6829
Well now I could get it to work wiht weapons, but then I tried to change armies. It can't be now about weapons because when it was about weapons it CTD when it was 14 %, but now I can get to "Loading complete. Verifying client data." and then it crashe, so I think it's about my init.con

Code:

gameLogic.setTeamName 1 "SAS"
gameLogic.setTeamName 2 "spetsnaz"

gameLogic.setTeamLanguage 1 "MEC"
gameLogic.setTeamLanguage 2 "chinese"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_uk"
gameLogic.setTeamFlag 2 "flag_ru"

gameLogic.setKit 1 0 "SAS_Specops" "SAS_soldier"
gameLogic.setKit 2 0 "spetsnaz_Specops" "spetz_soldier"

gameLogic.setKit 1 1 "SAS_Sniper" "SAS_soldier"
gameLogic.setKit 2 1 "spetsnaz_Sniper" "spetz_soldier"

gameLogic.setKit 1 2 "SAS_Assault" "SAS_heavy_soldier"
gameLogic.setKit 2 2 "spetsnaz_Assault" "spetz_heavy_soldier"

gameLogic.setKit 1 3 "SAS_Support" "SAS_heavy_soldier"
gameLogic.setKit 2 3 "spetsnaz_Support" "spetz_heavy_soldier"

gameLogic.setKit 1 4 "SAS_Engineer" "SAS_heavy_soldier"
gameLogic.setKit 2 4 "spetsnaz_Engineer" "spetz_heavy_soldier"

gameLogic.setKit 1 5 "SAS_Medic" "SAS_soldier"
gameLogic.setKit 2 5 "spetsnaz_Medic" "spetz_soldier"

gameLogic.setKit 1 6 "SAS_AT" "SAS_heavy_soldier"
gameLogic.setKit 2 6 "Special" "spetz_heavy_soldier"
I have that "run Objects\Kits\Special.con" in the right place.
Citizen One
한국 공주
+338|6858|South Korea.

Hacial wrote:

Well now I could get it to work wiht weapons, but then I tried to change armies. It can't be now about weapons because when it was about weapons it CTD when it was 14 %, but now I can get to "Loading complete. Verifying client data." and then it crashe, so I think it's about my init.con

I have that "run Objects\Kits\Special.con" in the right place.
That happend to me once, all I can say is work it out for yourself like I did. All I can think of is how messed up your army strings are...
{M5}Sniper3
Typical white person.
+389|6969|San Antonio, Texas
Yeah, modding, especially with this game, is trail and error.
The only tip I can give (it's already stated) is that you change 1 thing then run the game and see that it works, then change another thing...
Hellshark1
Member
+2|6940|South Africa

Hacial wrote:

Citizen One wrote:

Meh, start over or give up then. I did say you needed basic knowledge of modifying bf2 before attempting this.
I did the whole thing again but it still crashes at the same point...

Should this work:

Code:

ObjectTemplate.addTemplate insgr_rpg
ObjectTemplate.addTemplate nsrif_grapplinghook
ObjectTemplate.addTemplate medikit
ObjectTemplate.addTemplate gbrif_benelli_m4
ObjectTemplate.addTemplate gbrif_l96a1
ObjectTemplate.addTemplate sasrif_fn2000
ObjectTemplate.addTemplate USHGR_M67
ObjectTemplate.addTemplate nsrif_crossbow
ObjectTemplate.addTemplate ParachuteLauncher
?
Firstly Hello all

This piece of coding u are trying will not work unless u go change the item index of the weapon. When u have two weopons in the same items index the game will crash while loading. For example u have the gbrif_l96a1 with an item index of 3 and the sasrif_fn2000 wich also has an item index of 3. Therefore your game crashes. U have to customly go change the item indexes so that none of your items has the same item index in the same kit.

PS. This is my 1st post
Cheddarmuff
Member
+21|6861
Citizen...you rock!!
Citizen One
한국 공주
+338|6858|South Korea.

Hellshark1 wrote:

Firstly Hello all

This piece of coding u are trying will not work unless u go change the item index of the weapon. When u have two weopons in the same items index the game will crash while loading. For example u have the gbrif_l96a1 with an item index of 3 and the sasrif_fn2000 wich also has an item index of 3. Therefore your game crashes. U have to customly go change the item indexes so that none of your items has the same item index in the same kit.

PS. This is my 1st post
Wow thank you for that, I will post this in my tut, thanks.
Hellshark1
Member
+2|6940|South Africa
Pleasure

Hope my name pops up somewhere when ure finished with the tut

Last edited by Hellshark1 (2006-06-13 07:53:24)

Mj.Blindfisch
Bulletdrop-Buddha
+338|6906|Germany
Yo,I got this working the first time,great explanations,princess...

I inserted the M82 into my custom karkand map and tweaked your tweak file a bit,I gave the rifle more damage(now it like the M95 and the barrels blow up with the first shot) and inserted a line so that you keep the scopeview if you keep the button pressed(it's somewhere in the M95.tweak).

But I wasn't able to give it another scope,I copied the zoom levels and the zoom from the M95.tweak over to the M82 but it didn't work,it doesn't crash but it hasn't changed either...

I'll think I'll try some other stuff tonight,just step by step modifying Karkand,next thing after new colored water will be the little bird on Karkand...but that'S a lot of spawnpoint editing if I wanna keep the tankspawns...
Citizen One
한국 공주
+338|6858|South Korea.

Hellshark1 wrote:

Pleasure

Hope my name pops up somewhere when ure finished with the tut
Done and teh done.

Mj.Blindfisch (teh noob) wrote:

Yo,I got this working the first time, great explanations, princess...

I inserted the M82 into my custom karkand map and tweaked your tweak file a bit,I gave the rifle more damage(now it like the M95 and the barrels blow up with the first shot) and inserted a line so that you keep the scopeview if you keep the button pressed(it's somewhere in the M95.tweak).
I'll have some of that!

Mj.Blindfisch (teh uber noob) wrote:

But I wasn't able to give it another scope,I copied the zoom levels and the zoom from the M95.tweak over to the M82 but it didn't work,it doesn't crash but it hasn't changed either...

I'll think I'll try some other stuff tonight,just step by step modifying Karkand,next thing after new colored water will be the little bird on Karkand...but that'S a lot of spawnpoint editing if I wanna keep the tankspawns...
I did that but if you get in the co-seat when a bot is driving one, it CTD's
Mj.Blindfisch
Bulletdrop-Buddha
+338|6906|Germany
Hi,it's me again,the übernoob
I tried to vehicle drop the apache(because I can't find the vehicle file for the new helis),I added the run /objects/vehicles/xpak_vehicles/xpak_apache/xpak_apache.con string into the StaticObjects.con and changed the vehicle drop to xpak_apache in the init.con.....but it crashes to desktop when I try to drop it ingame...

What did I forget?The apache already is in the Objects_client.zip and Object_server.zip

btw,the keep scope when button pressed thingy is just one line of code: ObjectTemplate.fire.busyUntilButtonRelease 1

Last edited by Mj.Blindfisch (2006-06-13 08:55:02)

Hellshark1
Member
+2|6940|South Africa
Mine also crashed

It only worked when I droped tanks etc. Still wanna try droping jets but dont see what good that will do. I thin the vehicle drop is most efective with vehicles, tanks etc.
Citizen One
한국 공주
+338|6858|South Korea.

Mj.Blindfisch wrote:

Hi,it's me again,the übernoob

You noob, you forgot to add an apache to the level, remember you can only drop vehicles that already exist on that level. Replace the transport chopper with an apache or something. Nub.
Hacial
404 - Not Found
+107|6829

Hellshark1 wrote:

This piece of coding u are trying will not work unless u go change the item index of the weapon. When u have two weopons in the same items index the game will crash while loading. For example u have the gbrif_l96a1 with an item index of 3 and the sasrif_fn2000 wich also has an item index of 3. Therefore your game crashes. U have to customly go change the item indexes so that none of your items has the same item index in the same kit.

PS. This is my 1st post
How to change item index and from where?
{M5}Sniper3
Typical white person.
+389|6969|San Antonio, Texas

Hacial wrote:

How to change item index and from where?
It's in the tweak file of the weapon. (Change it with notepad.)

Example line:

Code:

ObjectTemplate.itemIndex 3
That's the line for the M24, as you can see it has an index of 3.
Mj.Blindfisch
Bulletdrop-Buddha
+338|6906|Germany

Citizen One wrote:

Mj.Blindfisch wrote:

Hi,it's me again,the übernoob

You noob, you forgot to add an apache to the level, remember you can only drop vehicles that already exist on that level. Replace the transport chopper with an apache or something. Nub.
Duh...but,but,but..but there's no transport chopper on Karkand....can I just add vehiclespawnpoints?I add them in the GameplayObjects.con of the level  version(singleplayer,coop),right?
And where to place them?Just take the coordinates of the tankspawn and move them a bit with trial and error?
l41e
Member
+677|6857

Or replace teh Vodnik.

Who needs Jihad Jeeps when you can have Jihad Planes?
{M5}Sniper3
Typical white person.
+389|6969|San Antonio, Texas

Mj.Blindfisch wrote:

Citizen One wrote:

Mj.Blindfisch wrote:

Hi,it's me again,the übernoob

You noob, you forgot to add an apache to the level, remember you can only drop vehicles that already exist on that level. Replace the transport chopper with an apache or something. Nub.
Duh...but,but,but..but there's no transport chopper on Karkand....can I just add vehiclespawnpoints?I add them in the GameplayObjects.con of the level  version(singleplayer,coop),right?
And where to place them?Just take the coordinates of the tankspawn and move them a bit with trial and error?
If you want to do vehicle-spawns get good ol' BF2 Editor. (It's at EA's website.)

EDIT- I wonder what Karkand would look like with 10 helis on each side...

Last edited by {M5}Sniper3 (2006-06-13 12:09:26)

Citizen One
한국 공주
+338|6858|South Korea.

Mj.Blindfisch wrote:

Citizen One wrote:

Mj.Blindfisch wrote:

Hi,it's me again,the übernoob

You noob, you forgot to add an apache to the level, remember you can only drop vehicles that already exist on that level. Replace the transport chopper with an apache or something. Nub.
Duh...but,but,but..but there's no transport chopper on Karkand....can I just add vehiclespawnpoints?I add them in the GameplayObjects.con of the level  version(singleplayer,coop),right?
And where to place them?Just take the coordinates of the tankspawn and move them a bit with trial and error?
I guess lol, I have never done that though, I am far too lazy. If you do manage to make a "custom spawn point" let us know so we can add extra vehicles to Karkey too!
Hellshark1
Member
+2|6940|South Africa
For witch side do u need more vehiclespawn points?
Watermeleon
Member
+34|6743|I am located at my location
Call this stupid, but how do you zip and unzip a file?
{M5}Sniper3
Typical white person.
+389|6969|San Antonio, Texas
To unzip: Right click and hit Extract All.
To zip: Right click and go to Send To and hit Compressed (zipped) Folder.

Board footer

Privacy Policy - © 2024 Jeff Minard