It is currently Wed May 15, 2024 11:23 am

RUNNING WITH RIFLES Multiplayer

test

Game servers 47 List provided by EpocDotFr | Players online 86


All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Modding Weapons - Armory
PostPosted: Sat May 10, 2014 6:23 pm 
Offline

Joined: Sat May 10, 2014 6:21 pm
Posts: 3
Hi Guys,

I need some help with modding in weapons which are already within the game. Basically I've already got it so that weapons such as the benelli m4 or the ak47 show up in the armory of the greenbelts, the problem is how do I get the UI to register the multiple guns and so show all of them because at the moment I can only add say 4-5 extra guns in before they go off to the left of the armory menu.

Regards
M.Cooper


Top
 Profile  
 
PostPosted: Sat May 10, 2014 6:25 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
You can't, at least not currently. The inventory was designed for around 6 items per category, and we've already gone over it in vanilla too.


Top
 Profile  
 
PostPosted: Sat May 10, 2014 6:31 pm 
Offline

Joined: Sat May 10, 2014 6:21 pm
Posts: 3
Ahhh fair enough, are there any plans on improving this ? Just out of curiosity ?


Top
 Profile  
 
PostPosted: Sat May 10, 2014 7:23 pm 
Offline

Joined: Sat May 10, 2014 6:21 pm
Posts: 3
Oh Also another question, how come when ive added say 2 weapons to the armory screen in the menu screen they show up but when i start a new campaign they dont appear in the armory ?


Top
 Profile  
 
PostPosted: Sat May 10, 2014 10:52 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
I do believe something will be done to enable better interaction with larger armories, not sure yet what it will be.. scaling down all items / partial overlapping / scrolling / pages / different armory door points for different resources, who knows.

The xml configurations you've been modifying are usable in lobby and quick matches. Campaign applies some modifications of its own to resource settings using scripts, so they end up overriding your changes.

You can mod the scripts too if you want to have your changes in the campaign. In 0.95 they're a bit scattered around, you'd find the resources loading setup in vanilla/scripts/trackers/common_invasion_variables.php, and faction resources would be found in vanilla/scripts/trackers/stage.php separated in a few functions. The next version 0.96 will have lots of that stuff changed in order to support campaign mods better, so if you're about to make lots of changes, you might want to wait for the new version to not end up in the maintenance and merge hell.


Top
 Profile  
 
PostPosted: Sun May 11, 2014 8:01 pm 
Offline

Joined: Wed Aug 08, 2012 12:55 am
Posts: 133
Please avoid partial overlapping, the total war series from Empire onward is a brilliant example as to how bad partial overlapping can be.

_________________
If I post in this color I am posting as a moderator.


Top
 Profile  
 
PostPosted: Tue Jan 13, 2015 2:25 am 
Offline

Joined: Sun Jan 11, 2015 6:40 am
Posts: 6
Given that this seems related to the mod I'm making(and it is slowly becoming a trouble on my end here), I'm totally down with the 'scrolling' or 'pages' option. :)


Top
 Profile  
 
PostPosted: Tue Jan 13, 2015 11:18 am 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
Noobmodmaker0808 wrote:
Given that this seems related to the mod I'm making(and it is slowly becoming a trouble on my end here), I'm totally down with the 'scrolling' or 'pages' option. :)

It has been completed already. Scaling down all items was the chosen approach. Can't remember to which extent it was tested, but I think it handles 30 items on a row fine.

The game also supports multiple armory interaction points which can provide different items, but you'd be looking into map editing too if you needed that.


Top
 Profile  
 
PostPosted: Wed Jan 14, 2015 8:07 am 
Offline

Joined: Sun Jan 11, 2015 6:40 am
Posts: 6
Ahhh...now that you've mentioned it, I now do notice that in effect. I was afraid I could only fit, like, ten guns per slot but back then I added five more past ten items and still I'm not reaching the edge, good one. And good to know! :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 120 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group