Page 1 of 1

3 Very pondering questions

Posted: Fri Mar 12, 2010 10:51 pm
by MR PINK BALLS
#1,does anyone know of a way to make a weapon fire 2 time per trigger pull 1 shot on trigger pull and 1 shot on release?

#2,Does anyone know of a way to replace the right click,which would normally be zoom,with a animation,I want to make it so When I right click He leans to the side to look around corners.??

#3,In DC REALISM mod they made 2 weapons share 1 magazine,they had it set up were you can hit 3 and u get a semi m16,your hit 4 and u have a 3 round burst m16,do you know how they accomplished this?

CSM Custom mod ofcourse.

Re: 3 Very pondering questions

Posted: Fri Mar 12, 2010 11:43 pm
by MR PINK BALLS
Doesent IS 82 do the flip off thing on right click? thats pretty much what im doing but a different animation.Also downloading forgotten hope,on word of #3 being used on the BAR

Re: 3 Very pondering questions

Posted: Sat Mar 13, 2010 10:32 am
by freddy
MR PINK BALLS wrote: #3,In DC REALISM mod they made 2 weapons share 1 magazine,they had it set up were you can hit 3 and u get a semi m16,your hit 4 and u have a 3 round burst m16,do you know how they accomplished this?
dunno if this may work?

Code: Select all

ObjectTemplate.addFireArmsPosition 0/0/0 0/0/0
ObjectTemplate.addFireArmsPosition 0/0/0 0/0/0
ObjectTemplate.addFireArmsPosition 0/0/0 0/0/0
ObjectTemplate.setAsynchronyFire 1
found this codeline in the exe

Code: Select all

burstFrequency
maybe they used that somehow

Re: 3 Very pondering questions

Posted: Sat Mar 13, 2010 3:50 pm
by Marshall_Nord
MR PINK BALLS wrote:#3,In DC REALISM mod they made 2 weapons share 1 magazine,they had it set up were you can hit 3 and u get a semi m16,your hit 4 and u have a 3 round burst m16,do you know how they accomplished this?

Code: Select all

ObjectTemplate.WeaponLink
We use this in Global Front to give Sniper rifles three different zoom levels (by making three separate weapons linked together).

Linking forces the weapons to share the same magazine, preventing each weapon from having its own magazine amounts.

  • (First Weapon)

    ObjectTemplate.create HandFireArms Dragunov
    ...
    ObjectTemplate.itemIndex 3
    ...

    (Second Weapon)

    ObjectTemplate.create HandFireArms DragunovX2
    ...
    ObjectTemplate.itemIndex 4
    ...
    ObjectTemplate.WeaponLink 3 (this links back to the first)

    (Third Weapon)

    ObjectTemplate.create HandFireArms DragunovX3
    ...
    ObjectTemplate.itemIndex 5
    ...
    ObjectTemplate.WeaponLink 3 (this links back to the first)

Re: 3 Very pondering questions

Posted: Sat Mar 13, 2010 6:38 pm
by MR PINK BALLS
Freaking awesome,this will add much to the gameplay,Im making it so the guy has a left hand and right hand weapon,and uses the right click to look around corners.Thanks a ton