It is currently Sun Dec 22, 2024 2:04 am

RUNNING WITH RIFLES Multiplayer

test

Game servers 53 List provided by EpocDotFr | Players online 89


All times are UTC




Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
PostPosted: Tue Apr 21, 2015 11:13 pm 
Offline

Joined: Wed Apr 01, 2015 4:56 pm
Posts: 28
Tremozl wrote:
You can also add a line that says "If I have this gun AND armour, use the body armour mesh" or use a new mesh etc.


I do this with Flamethrowers in my Trench Foot mod, so that no matter what uniform a character is wearing, they will always have the Flamethrower's Gas Tank on their back.


Any chance you could post a snippet of the code in here?


Top
 Profile  
 
PostPosted: Tue Apr 21, 2015 11:33 pm 
Offline

Joined: Sat Oct 05, 2013 12:19 am
Posts: 635
SquellDay wrote:
Tremozl wrote:
You can also add a line that says "If I have this gun AND armour, use the body armour mesh" or use a new mesh etc.


I do this with Flamethrowers in my Trench Foot mod, so that no matter what uniform a character is wearing, they will always have the Flamethrower's Gas Tank on their back.


Any chance you could post a snippet of the code in here?

It's just the same line of code repeated over and over 18 times in each faction file, to cover every single possible vest (damaged and undamaged) for every single faction. It's nothing too special, except a tedious and valiant effort that turned out well. :)

Spoiler:
Code:
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest2.carry_item"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest2_2"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest2_3"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_veteran_german.carry_item"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_veteran_german_2"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_veteran_german_3"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_officer_german.carry_item"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_officer_german_2"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_officer_german_3"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_veteran_german_ruined"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_officer_german_ruined"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_veteran.carry_item"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_veteran_2"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_veteran_3"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_officer.carry_item"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_officer_2"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_officer_3"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_veteran_ruined"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_officer_ruined"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_veteran_italian.carry_item"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_veteran_italian_2"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_veteran_italian_3"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_officer_italian.carry_item"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_officer_italian_2"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_officer_italian_3"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_veteran_italian_ruined"/></model>
      <model filename="german_soldier_flamethrower.xml"><requirement class="weapon" slot="0" key="flamethrower.weapon"/><requirement class="carry_item" slot="1" key="vest_officer_italian_ruined"/></model>


Top
 Profile  
 
PostPosted: Sun Apr 26, 2015 12:19 pm 
Offline

Joined: Wed Apr 01, 2015 4:56 pm
Posts: 28
Thanks for all your help so far guys I really appreciate it.


Top
 Profile  
 
PostPosted: Sat Apr 15, 2017 3:17 am 
Offline

Joined: Sat Apr 15, 2017 3:14 am
Posts: 2
I need help, i helping my friend for his campaign,
so i got to get it working with all the faction playable (there are 9 factions)
but only 3 factions spawns the user with a weapon.

Please help what can we do?
Thanks a lot!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 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