Home » SIRTECH CLASSICS » Jagged Alliance: Unfinished Business » Vanilla Modding » Drops all items, burst mode, attachments, inventory slots and merc panels in source code.
Drops all items, burst mode, attachments, inventory slots and merc panels in source code.[message #292845] Sat, 29 October 2011 23:32 Go to previous message
Starchris is currently offline Starchris

 
Messages:33
Registered:September 2010
Location: Poland
Hello Everyone

I'm trying to put some advanced modifications on my mods but unfortunately I have a lots of problem with that. I'm not very experienced in programming so that's why this is not easy for me and I'm looking for help wherever I can.

1.) My first problem is with option drops all items. I know that this is in file: "Inventory Choosing.c". I am changing there what I should change and everything works fine. Every soldier drops everything what he has. But this is not working with the tanks and monsters. Does anyone knows in which file this option I can find ?

2.) Second problem I have with burst mode. In JA2 Gold 1.12 we can't shoot more bullets in burst mode than six. I'm trying to change that but so far without success. I'm still searching and searching where could it be but also without success. Maybe someone remember in which file (or files) this blockade could be taken off.

3.)Third Problem. I am creating also a New Attachment System in classic version of Jagged Alliance 2 (Gold v. 1.12) and trying to add more than 19 inventory slots. It will be look like in the pictures below (they are only the pictures done in Windows Paint). Everything is going in a good direction but with one exception. I can't find in which file (or files) I could add more than four attachment slots and more than eight small and four big slots in merc inventory. If anyone knows anything about this I will be very grateful for every kind of informations.


http://jagged-alliance.pl/images/articles/ja2_rotf_bron/ja2_rotf_news/nas_classic_02.jpg
http://jagged-alliance.pl/images/articles/ja2_rotf_bron/ja2_rotf_news/nas_classic_02.jpg


http://jagged-alliance.pl/images/articles/ja2_rotf_bron/ja2_rotf_news/new_inventory_01.jpg
http://jagged-alliance.pl/images/articles/ja2_rotf_bron/ja2_rotf_news/new_inventory_01.jpg


4.) Fourth problem. There is one more thing. In classic version of JA2 (Gold 1.12) we can increase amount of ammunition in one clip to 255. Everything here is working fine but when I want to increase ammunition further then 127 then the vertical line which is showing capacity of the clip is going down. Really I don't know in which file (or files) I should searching for a solution of this problem.


5.) Fifth problem. Unfortunately I have one more problem. I'm trying to increase the number of mercenaries in squad. I have changed in files "squads.h", "interface panels.c" and "interface panels.h" all necessary code but not everything is working properly. The problem is that all new panels (seventh, eighth, ninth and tenth) are inactive. They are not reacting on left or right click of mouse and also all guns from that panels are showing in the panel of sixth mercenary (yellow mark). I probably forgot about something but I can not find what or where it is. If anyone remember where it could be I will be very gratefull for every kind of information.

http://jagged-alliance.pl//images/news/newsy/ja2_ub_multiple_resolutions/1920x1080.jpg
http://jagged-alliance.pl//images/news/newsy/ja2_ub_multiple_resolutions/1920x1080.jpg



I will be very grateful for every kind of help, informations, suggestions or links to other threads that are similar to this one.

[Updated on: Thu, 03 January 2013 21:02] by Moderator

Report message to a moderator

Private 1st Class
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Air raids?
Next Topic: JA2 Gold - Full translation
Goto Forum:
  


Current Time: Fri Apr 19 16:13:03 GMT+3 2024

Total time taken to generate the page: 0.01235 seconds