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       

Two Chainguns in a Wolfenstein 3D video game modification
Page 1 of 1
DieHard Wolfers Forum Index -> SDL Code Crackers View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page BottomView Next Topic
Post new topicReply to topic
Author Message
Joshua
DieHard Officer
DieHard Officer


Joined: 15 Mar 2012
Last Visit: 16 Sep 2019

Topics: 231
Posts: 532

usa.gif

PostPosted: Sat Sep 07, 2019 5:54 pm
   Subject: Two Chainguns in a Wolfenstein 3D video game modification
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Next PostGoto Bottom of Posts

I remember that there use to be a thread on this forum explaining how to code two chain guns in a Wolfenstein 3D video game modification. I remember the thread was in depth. I tried searching for it and I cannot find it. Can someone on here find it for me please?

_________________
My discord server is at https://discord.gg/qPXNURQ and my wiki page is at https://777arts.fandom.com .
Wolf3DGuy
DieHard Guard
DieHard Guard


Joined: 01 Aug 2017
Last Visit: 1:53 ago.

Topics: 5
Posts: 205

blank.gif

PostPosted: Sun Sep 08, 2019 4:01 am
   Subject: Two Chainguns in a Wolfenstein 3D video game modification
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts



That's all I could find, I assume all 3 or 4 or all of them contains a little snippets of codes you need, but I also assume those codes won't be enough for you so feel free to make yet one or two topics about how to add dual chainguns to your Wolfenstein 3D video game modification. Laughing Laughing Laughing
Tricob
Moderator
<B>Moderator</B>


Joined: 14 Mar 2005
Last Visit: 17:30 ago.

Topics: 167
Posts: 8427
Location: Neo-traditions, Inc.
usa.gif

PostPosted: Sun Sep 08, 2019 5:50 am
   Subject: Re: Two Chainguns in a Wolfenstein 3D video game modification
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Most of the changes are graphical. The amount of frames the code uses is exactly the same. As for the code itself, all the code does is check for the "dual chaingun mode". If this mode is on, the amount of damage the gun does is doubled.
Joshua
DieHard Officer
DieHard Officer


Joined: 15 Mar 2012
Last Visit: 16 Sep 2019

Topics: 231
Posts: 532

usa.gif

PostPosted: Sun Sep 08, 2019 8:11 am
   Subject: Re: Two Chainguns in a Wolfenstein 3D video game modification
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

How do you change the gun attack Wolfenstein 3D SDL code from if (dist<2)
damage = US_RndT() / 4;
else if (dist<4)
damage = US_RndT() / 6;
else

_________________
My discord server is at https://discord.gg/qPXNURQ and my wiki page is at https://777arts.fandom.com .
Tricob
Moderator
<B>Moderator</B>


Joined: 14 Mar 2005
Last Visit: 17:30 ago.

Topics: 167
Posts: 8427
Location: Neo-traditions, Inc.
usa.gif

PostPosted: Sun Sep 08, 2019 5:31 pm
   Subject: Re: Two Chainguns in a Wolfenstein 3D video game modification
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Bottom of Posts

You're in the right file, but in the wrong place. Try here:
::: CODE :::
    DamageActor (closest,damage);

The "if" statement needs to be placed right above here.
Display posts from previous:   
Post new topicReply to topic Time synchronized with the forum server time
DieHard Wolfers Forum Index -> SDL Code Crackers 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 
No new posts Sticky: [Tutorial] Compiling Wolf4SDL with Code::Blocks
Author: dcbasic
90 36585 Wed May 24, 2017 7:53 pm
Falcon*93 View latest post
No new posts [SDL Tutorial] WolfDX version of MCS's enemy blocking code
Author: Tricob
2 1370 Thu Dec 11, 2008 6:54 pm
Tricob View latest post
No new posts [Help, please] 90 Walls code in Wolf4SDL code
Author: Tricob
14 3703 Sun Sep 21, 2008 2:51 am
BrotherTank View latest post
No new posts [CODE] Health Shown as a message with full screen view
Author: Raziel
13 3796 Thu Jul 31, 2008 8:07 pm
Raziel View latest post
No new posts [HELP] sounds crush game?
Author: Raziel
23 9339 Wed Jul 30, 2008 12:41 pm
RichterBelmont12 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