3 Very pondering questions

Ask questions, discuss ideas, get answers
Post Reply
User avatar
MR PINK BALLS
Posts: 267
Joined: Sun Oct 18, 2009 4:01 pm

3 Very pondering questions

Post 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.
Image Image

I <3 Ironmen
User avatar
MR PINK BALLS
Posts: 267
Joined: Sun Oct 18, 2009 4:01 pm

Re: 3 Very pondering questions

Post 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
Image Image

I <3 Ironmen
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: 3 Very pondering questions

Post 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
User avatar
Marshall_Nord
Posts: 33
Joined: Wed Feb 10, 2010 10:13 pm
Contact:

Re: 3 Very pondering questions

Post 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)
User avatar
MR PINK BALLS
Posts: 267
Joined: Sun Oct 18, 2009 4:01 pm

Re: 3 Very pondering questions

Post 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
Image Image

I <3 Ironmen
Post Reply