wpnPriority?

Moderators: GSH, VSMIT, Red Devil, Commando

User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

wpnPriority?

Post by General BlackDragon »

In weapon G files, I see this line: wpnPriority = 0

What exactly does this control?
Battlezone Classic Public Forums
*****General BlackDragon*****
User avatar
Red Spot
Attila
Posts: 1629
Joined: Mon Feb 21, 2011 6:14 pm
Location: The Netherlands

Re: wpnPriority?

Post by Red Spot »

I always assumed it simply wasnt implemented and would have been used for the AI to compensate for a feature that wasnt implemented either, weaponlinking. Just a way to inform the AI what weapon in general has more umpfh, like an 8 for SP-stab and a 5-6 for Mortars (or such) and so a sabre would know to prefer SP-stab if none of its weapons take prio. cause of other criteria.
But thats probably just my brain making up stories :D
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: wpnPriority?

Post by Nielk1 »

I ma guessing it is what BZ1 used to determine what weapons to replace when you got a power up crate. BZ2 works on selected/not selected for that.
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: wpnPriority?

Post by MrTwosheds »

Legacy code from bz1 I believe, doesn't seem to do anything, can be safely removed.
The Silence continues. The War Of Lies has no end.
User avatar
S.cavA.rmyG.en
Sabre
Posts: 296
Joined: Fri Mar 04, 2011 3:15 am
Location: ISDF Junk Yard
Contact:

Re: wpnPriority?

Post by S.cavA.rmyG.en »

Red Spot wrote:I always assumed it simply wasnt implemented and would have been used for the AI to compensate for a feature that wasnt implemented either, weaponlinking. Just a way to inform the AI what weapon in general has more umpfh, like an 8 for SP-stab and a 5-6 for Mortars (or such) and so a sabre would know to prefer SP-stab if none of its weapons take prio. cause of other criteria.
if IRC your right there but I am not sure any more becouse of changes made in the 1.3 pach.
4 THINGS TO REMEMBER:
1.Professionals are predictable,amateurs are dangerous
2.If you can't remember, the Big Gun is always aimed at you.
3.If it's stupid but works, it's not stupid,it's crazy.
4.Anything you do can get you killed,even if it's nothing
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

Re: wpnPriority?

Post by Ded10c »

You know what Changelogs are for, right Scav?
battlezone.wikia.com needs your help!
User avatar
S.cavA.rmyG.en
Sabre
Posts: 296
Joined: Fri Mar 04, 2011 3:15 am
Location: ISDF Junk Yard
Contact:

Re: wpnPriority?

Post by S.cavA.rmyG.en »

AHadley wrote:You know what Changelogs are for, right Scav?
yes but I don't whant to wast my time looking though them for a setting I will never use.
in other words I don't whant to drop what I am doing and work on finding the dam thing.
he will ether test it to see if it dose any thing or look through the changelogs.
it is his problem not mine.
4 THINGS TO REMEMBER:
1.Professionals are predictable,amateurs are dangerous
2.If you can't remember, the Big Gun is always aimed at you.
3.If it's stupid but works, it's not stupid,it's crazy.
4.Anything you do can get you killed,even if it's nothing
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: wpnPriority?

Post by General BlackDragon »

The setting was probably around since BZ2 1.0, or it may not even be in BZ2.

So, it wouldn't be in the changelogs
Battlezone Classic Public Forums
*****General BlackDragon*****
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

Re: wpnPriority?

Post by Ded10c »

General BlackDragon wrote:The setting was probably around since BZ2 1.0, or it may not even be in BZ2.

So, it wouldn't be in the changelogs
S.cavA.rmyG.en wrote: changes made in the 1.3 pach.
battlezone.wikia.com needs your help!
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: wpnPriority?

Post by General BlackDragon »

I don't get what you're trying to say AH...
Battlezone Classic Public Forums
*****General BlackDragon*****
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

Re: wpnPriority?

Post by Ded10c »

I was pointing out to Scav that he can find out what features were removed in the 1.3 patch by reading the changelogs.
battlezone.wikia.com needs your help!
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: wpnPriority?

Post by MrTwosheds »

You need windows grep or something like it to search the change logs for info, there is too much to read any other way.
I don't think you will find info on this though as I am fairly certain that it has always been inactive in bz2.
The Silence continues. The War Of Lies has no end.
APCs r Evil
Sabre
Posts: 299
Joined: Sat Feb 19, 2011 4:13 am

Re: wpnPriority?

Post by APCs r Evil »

I like Crimson Editor, personally.

It's free (My favorite feature), you can change the background and text colors so you're not stuck staring at a bright white page, it can search and replace and you can work on multiple files in tabs. I dunno what features you guys may need in a text editor, but Crimson Editor covers all mine. Plus it's free. :mrgreen:

Edit: Kinda went off topic there... totally GBD's fault.
"It is not only his right, but his duty...to find the verdict according to his own best understanding, judgment and conscience, though in direct opposition to the direction of the court." - John Adams
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: wpnPriority?

Post by Red Devil »

If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA
User avatar
Zero Angel
Attila
Posts: 1536
Joined: Mon Feb 21, 2011 12:54 am
Contact:

Re: wpnPriority?

Post by Zero Angel »

Crimson editor looks nice. It looks like Kate, my favorite text editor (for linux) for doing ODF edits.

Image

Kate beats the pants off of Notepad++ because it uses a vertical file list instead of tabs, as well as its 'find in files' feature is faster and more precise than N++ and then there is session management, I open 'VSR Dev' session and it opens all the files I last had open when I exited that session last time.
Last edited by Zero Angel on Mon Jun 25, 2012 2:36 am, edited 1 time in total.
Regulators
Regulate any stealin' of this biometal pool, we're damn good, too
But you can't be any geek off the street
Gotta be handy with the chains if you know what I mean
Earn your keep
Post Reply