We were hacked. Several times over the past two weeks, in fact.
While all passwords are encrypted and salted, it's recommended that you change your password here when you can.
Has anyone figured out how to have multiple kits per class?
I'm trying to figure out how to bypass the whole rank system and give everyone unlocks for a mod I am working on.
i read somewhere (dont remember where) that you cant have multiple kits
you can only have 2 kits per class. in leimans terms, the regular weapon and the unlock weapon.
and so far thru trial and error ive come to realize you can only have X amount of items in the kit, for instance you cant have spec ops class have C4, claymores, AT mines, grenades and rockets.
I have also been trying to find a solution or a workaround to this issue
if you happen to find a way i would appreciate it if you could fill me in, and ill do the same.
yeah the unlock deal is a good idea. just alternate set ups for folks... like for the anti-armor you could have a guy with a few stingers and a different hand weapon instead...
the wepaons cant be "simply" added to other kits, as they all have index number which dictates where the weapons allowed to go, you can edit the index numbersas to make them all fit into 1 kit,
there are most probably easy ways to create a random kit spawn, eg. if set criteria is met, eg. if 5 AT kits then spawn as AA etc.
selecting the whole unlock kit, hmm probably doable, but dont quote me on that
My issue is that I know no python what so ever.
If I could somehow trick the game itself into thinking that I had all the unlocks for the mod...........
dadofsam,
How would I go about doing something like you mentioned?
You can make anyone have anything you want... with a few exceptions. No player can carry more than 9 items (8 unless you want things to be a real pain).
For example my Spec Ops that I use for COOP by modifying the US_Specops.con:
As you can see he has the M95 and ammokit and the predator... I'm a killing machine.
Now, you have to be careful because you have to change the default "slot" that certain items are in... like the M95 being slot "3", I had to change to slot "6" like so in the ussni_m95_barret.tweak file:
Code:
ObjectTemplate.itemIndex 6
All of these files are in your Objects_server.zip file. If you plan on doing a lot of changing to these files, move a copy from your mod/bf2 folder into your mod/***your mod name*** folder, then change your ServerArchives.con file (in your mods root folder) to read:
Basically play around with things... I've made quite a fun Single Player game for myself (I'm sick of Smacktards) and having fun "tweaking" things. Just be sure to change a little at a time and keep a LOG of what you change. In fact keep the ORIGINAL code right there, but add a "rem" line with a comment on what you did in the file, it will ignore it as code.
You'll know if you have something wrong, because as soon as you do, you'll have a CTD during the map loading.
HAVE FUN!
p.s. Remember these files are "read only" by default... don't forget to change that or you won't be able to save.
I'm aware of all of that. I said in the original post that this was for my own mod.
Might help someone else out though.
(Unless of course the .tweak files are python then I stand corrected)
I need to figure out how to make use of the unlocks feature to add multiple kits per class.
Now, you have to be careful because you have to change the default "slot" that certain items are in... like the M95 being slot "3", I had to change to slot "6" like so in the ussni_m95_barret.tweak file:
Code:
ObjectTemplate.itemIndex 6
.
how do ya know what slot to set this to? does this have to be changed for all the weapons?
how do ya know what slot to set this to? does this have to be changed for all the weapons?
Well, it's all according to what you want to put where... the # is determined by an "open slot" in a kit.
For example, the normal spec op kit has as it's slot:
1. Knife
2. Pistol
3. M4
4. C-4
9. Is the Parachute for all classes.
That means slots 5, 6, 7, and 8 are open... you have to go to the weap on change the "default" slot. So say I want an AT rocket, and it's default is slot 4, it needs to be changed, because that would be a conflict with the C-4, so it needs to be changed, or you will crash on loading a map.
Now, keep in mind, if you change the weapon, it's changed for the "normal" AT, so they'll have to select the new slot to select the weapon.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment