Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » AIMNAS » Weapons in AIMNAS (XML related question as well)
Weapons in AIMNAS (XML related question as well)[message #336540] Fri, 10 October 2014 09:36 Go to next message
CaptainPanzer is currently offline CaptainPanzer

 
Messages:14
Registered:August 2014
Location: Las Vegas, Nevada, USA
Just wondering if someone could list all guns, grenades, and explosives that are marked "Not for Sale" and/or have no inventory (not shown in Bobby Ray's).

Is there anyway I can filter this by inventory OR description on the XML Editor? I checked the Jennana.com for the items but it only shows either "Buyable only" or "All items".

And yeah, I'm the kind of person who would have an abundance of stuff but only use 1/1000 of it. :L Sorry that I'm weird. I just like the fascination of the variety I could buy for my mercs.

Report message to a moderator

Private
Re: Weapons in AIMNAS (XML related question as well)[message #336541] Fri, 10 October 2014 09:57 Go to previous messageGo to next message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
Open XML Editor and view all items. Then you have two ways to do it.
1) Right click on the columns, Select Columns, add ticks to BR Desc, BR New Inventory, BR Used Inventory. Then use the column headers to sort them.
2) Right click on the columns, Custom Filter, type (or paste) the following
szBRDesc LIKE '%not for sale%' OR (BR_NewInventory = 0 AND BR_UsedInventory = 0)

The LIKE operand means string starting with anything (%), has 'not for sale' in it, followed by anything. Feel free to replace 'not for sale' with any other string you want. The OR means either the first part must be true, or the second one (the one inside the parenthesis). The AND means both first and second part must be true.

The custom filter uses sql where options, using the column names, which you can see by hovering over the column header. Feel free to ask for more info.

Report message to a moderator

First Sergeant
Re: Weapons in AIMNAS (XML related question as well)[message #336561] Sat, 11 October 2014 04:50 Go to previous messageGo to next message
CaptainPanzer is currently offline CaptainPanzer

 
Messages:14
Registered:August 2014
Location: Las Vegas, Nevada, USA
Awesome! I didn't know about those options Very Happy

Thanks man!

Report message to a moderator

Private
Re: Weapons in AIMNAS (XML related question as well)[message #339130 is a reply to message #336561] Mon, 26 January 2015 09:43 Go to previous messageGo to next message
KAPACbWork is currently offline KAPACbWork
Messages:1
Registered:January 2015
When I write in Custom Filter
WEAPONubWeaponClass like 'Rifle'
or
WEAPONubWeaponClass like '%Rifle%'

I got error

Error:

Cannot perform 'Like' operation on System.Int32 and System.String.


When i write
WEAPONubWeaponClass = 'Rifle'

I got error


Error:

Cannot perform '=' operation on System.Int32 and System.String.


Why ?

Report message to a moderator

Civilian
Re: Weapons in AIMNAS (XML related question as well)[message #354251 is a reply to message #339130] Wed, 08 August 2018 02:52 Go to previous message
SabinyAk is currently offline SabinyAk

 
Messages:140
Registered:July 2015
Location: Mexico
sorry for necrobump again but thought i shouldn't open a thread for this since is probably not a really big problem but...

I finally decided to try the K11 and the OICW on the game (thought it'd be fun to equip the robot with it) and i found out that they don't seem to have the grenade launcher function, althought there is an attachment which i can't find on both of them called "OGL" which in "GL" i can only assume it's a grenade launcher.
and i got into the weapons.xml and there seems to be something called "OICW greande launcher" which i thought it could probably should come built-in with the weapon but not only is not but i also haven't seen anywhere and i think is not actually enabled on the game or something, so i was wondering is this a WIP feature? or am i doing something wrong?



Oh, God please tie this rope tight, A noose that fits just right, Oh, God please tie this rope tight, Hold my head upright, Take this knife across my throat, And make amends for all my lies.

Report message to a moderator

Sergeant
Previous Topic: Cant get it to run
Next Topic: A few general questions for Aimnas
Goto Forum:
  


Current Time: Thu Jan 30 04:11:58 EET 2025

Total time taken to generate the page: 0.00753 seconds