DieHard Wolfers Forum Index DieHard Wolfers
A Wolfenstein 3d Fan Community


  Hosted by: MCS & Areyep.com - Designed by: BrotherTank

Original Yahoo Forum - Die Hard Archives

AReyeP HomepageAreyep Homepage DieHard Wolfenstein BunkerDieHard Wolfenstein Bunker Log inLog in RegisterRegister Banlist FAQFAQ Search ForumsSearch

  Username:    Password:      Remember me       

akimbo wepons, (duel wepons) or getting a gun to fire twice
Page 1 of 1
DieHard Wolfers Forum Index -> DieHard Archives View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page BottomView Next Topic
This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies.
Author Message
andy3012
DieHard Guard
DieHard Guard


Joined: 02 Jul 2004
Last Visit: 15 Feb 2008

Topics: 29
Posts: 292
Location: England
uk.gif

PostPosted: Fri Jul 16, 2004 1:44 pm
   Subject: akimbo wepons, (duel wepons) or getting a gun to fire twice
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Next PostGoto Bottom of Posts

Im not sure how this is done, but i need something along the lines of this for my duel pistols, to make them fire twice. like you hit control and it makes it goes bang bang. and fires twice. If not im not bothered if there is just a way to make the sound affect play twice when you shoot the pistol.
jamez
I am Death Incarnate
I am Death Incarnate


Joined: 16 Mar 2003
Last Visit: 13 Aug 2016

Topics: 13
Posts: 186
Location: Yorkshire, UK
uk.gif

PostPosted: Mon Aug 23, 2004 7:42 am
   Subject: Re: akimbo wepons, (duel wepons) or getting a gun to fire tw
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Search in wl_agent.c for wp_pistol then in that part before break change the gamestate.ammo -- 1 to 2 and with the sound, you'll have to do that youself to get it to repeat in the sound file

Thats just off the top of my head tho...

_________________
~ James
Xarkon
DieHard Guard
DieHard Guard


Joined: 05 Jun 2003
Last Visit: 19 Apr 2006

Topics: 18
Posts: 203
Location: West Australia
australia.gif

PostPosted: Tue Aug 24, 2004 2:10 am
   Subject: Re: akimbo wepons, (duel wepons) or getting a gun to fire tw
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

With the chaingun weapon, even if you tap the button quickly, it fires off three shots. That's it's minimum, if you find this code you can do what ever.

Joel Corrigan Smile

_________________
Trying is the first step to failure
jamez
I am Death Incarnate
I am Death Incarnate


Joined: 16 Mar 2003
Last Visit: 13 Aug 2016

Topics: 13
Posts: 186
Location: Yorkshire, UK
uk.gif

PostPosted: Tue Aug 24, 2004 5:34 am
   Subject: Re: akimbo wepons, (duel wepons) or getting a gun to fire tw
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Xarkon wrote:
With the chaingun weapon, even if you tap the button quickly, it fires off three shots. That's it's minimum, if you find this code you can do what ever.

Joel Corrigan Smile


I thought it was two shots... ?

_________________
~ James
Sockdude
Can I Play Daddy
Can I Play Daddy


Joined: 05 May 2003
Last Visit: 25 Oct 2006

Topics: 1
Posts: 31

usa.gif

PostPosted: Tue Aug 24, 2004 6:33 pm
   Subject: Re: akimbo wepons, (duel wepons) or getting a gun to fire tw
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Quote:
I thought it was two shots... ?

He's right, you know. Embarassed
jamez
I am Death Incarnate
I am Death Incarnate


Joined: 16 Mar 2003
Last Visit: 13 Aug 2016

Topics: 13
Posts: 186
Location: Yorkshire, UK
uk.gif

PostPosted: Wed Aug 25, 2004 3:37 am
   Subject: Re: akimbo wepons, (duel wepons) or getting a gun to fire tw
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

However it can be changes such as in PV the double machinegun fires 4 shots (as its 2 of the guns that fire 2 shots) Laughing

_________________
~ James
Guest




Last Visit:





PostPosted: Sun Aug 29, 2004 3:39 pm
   Subject: Re: akimbo wepons, (duel wepons) or getting a gun to fire tw
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Bottom of Posts

In my upcoming Spear TC "Orb of Ishkar" from my serries "Secrets of the Third Reich" I decided to have double P08 'Lugers' so heres how Im acheiving this affect:

Your attackinfo code is in WL_AGENT.C , here is what my pistols attackinfo looks like

::: CODE :::


{ {5,0,1},{7,1,3},{3,0,2},{7,1,4},{3,-1,1} },



You'll notice I've added another set of numbers thats fine though

Also here's the order I setup my animation frames for the pistols in the Vswap File:

Frame 1 is holding pistols, Frame 2 is rasing pistols to fire, Frame 3 is left pistol firing,
Frame 4 is right pistol firing, Frame 5 is pistols in raised posistion (same as frame 2)

As it is the pistols stop after each gun fires once so you have hit fire again.
You could adapt this to work slightly different however Im not sure how to get it so that it continues to fire without screwing up at the end Evil or Very Mad if you change the '-1' in the last set of numbers youll see what I mean

Also you might want check the weapon behavior tutorial on MCS' Coding Tips section of AReyeP & MCS' Wolfenstein page.

Hopefuly this will help you I'm not realy good at writting tutorials or anything like that.
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies. Time synchronized with the forum server time
DieHard Wolfers Forum Index -> DieHard Archives View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page TopView Next Topic
Page 1 of 1
Jump to:  

Related topics
 Topics   Replies   Views   Last Post 
This topic is locked: you cannot edit posts or make replies. [Help] Sound Transforming
Author: Raziel
16 2043 Sat Nov 25, 2006 1:04 pm
Raziel View latest post
 
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 vote in polls in this forum


Copyright ©2003-2008 DieHard Wolfers
A Modified subBunker Theme by BrotherTank
Powered by phpBB © 2001, 2005 phpBB Group