[unsolved]OK I lied, more questions...

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: OK I lied, more questions...

Post by Frisbeetarian »

Try removing the

Code: Select all

WeaponChannel = 0
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: OK I lied, more questions...

Post by ryukaji »

still nothin..
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: OK I lied, more questions...

Post by Frisbeetarian »

Just curious, does anything happen when you put

Code: Select all

MedalsTypeToLock = "1"
in the pistol ODF?
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: OK I lied, more questions...

Post by ryukaji »

No, is that even an real odf thing?
User avatar
vampire_lord
Rebel Sergeant
Rebel Sergeant
Posts: 216
Joined: Thu Mar 20, 2008 7:02 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Mexico City
Contact:

Re: OK I lied, more questions...

Post by vampire_lord »

I had the same thing (even in non-mod stuff) but since I made a new profile and almost never went for campaign, conquest or single match offline (except for my test map), the thing is, are you at least at Veteran on the award weapons? because just now when I reinstalled all stuff on my PC it was strange for me, after getting Regulator on Veteran now I can get the Flachette Shotgun every time I get Regulator.

BTW, Frenzy is one of the most difficult to achieve online and offline, you must keep an eye on your health all the time.
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: OK I lied, more questions...

Post by ryukaji »

I'm pretty sure I'm veteran, ill have to check but I dont know if that matters I should still get the machine gun awarded regardless shouldnt I?
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: OK I lied, more questions...

Post by Frisbeetarian »

ryukaji wrote:No, is that even an real odf thing?
Yes it is a real ODF function, check out the common pistol ODF. If your weapons were working correctly, adding what I said should have made it to where you could no longer use that weapon.

What I should have asked before was for you to switch out of the pistol first to make sure you couldn't switch back to it, so could you try that and see if it works?
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: OK I lied, more questions...

Post by ryukaji »

I will do that tomorrow when I'm on my modding computer. If I cant get this working can someone explain how to do this with lua and respawning at a cp? I looked at the Spira lua but I cant make sense out of it and its reaaallllyyy long. I think this would work well for gaining a new weapon at a certain point in a level, and maybe I can get the weapon to be the CP holo that you get it at.
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: OK I lied, more questions...

Post by Frisbeetarian »

Regardless of what that does (it could still do something interesting), I've done some testing of my own. I combined the three ODFs of the rebel soldier into one to have the same alliance unit as the game has with one ODF referencing the common ODF. I gave him just the rifle, thermal dets, and the award rifle for weapons. From here I played around with the medal settings.

A control case with no medal settings in the all rifle, it worked with me getting frenzy.
With both the common and the all rifle medal settings = 1, it worked with me getting frenzy.
With the all settings changed to = 0, I didn't get a new weapon, but I got gunslinger.
With both common and all rifle medal settings changed to = 0, I didn't get the new weapon, but I got gunslinger.
With the all = 1 and the common = 0, it worked with me getting frenzy.

This data shows two things.
1. The common weapon medal settings mean nothing if overridden in the child weapon (we should have already assumed this was true).
2. There is something in either the child or the parent rifle ODF that prevents anything other than the rifle medal from awarding a new weapon (possibly the animationbank?).
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: OK I lied, more questions...

Post by ryukaji »

well if the animationbank matters than this wont work because the pistol and machine gun use different ones. That means I have to do the lua way. This would make it more similar to DOOM which im trying to make something similar. I just played the demo so I knew what I was trying to make a mod of, and OMG ITS SCARY. lol. but you dont earn weapons you pick them up so even having to respawn would be fine if it makes it more doom accurate, but I need help on setting this up I have no clue.
Post Reply