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       

Add new images for a weapon
Page 1 of 1
DieHard Wolfers Forum Index -> 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
Guest




Last Visit:





PostPosted: Fri Jan 07, 2005 9:36 am
   Subject: Add new images for a weapon
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Next PostGoto Bottom of Posts

I just want to add a few more images to my wapen.

I already changed some things in wl_agent.c

::: CODE :::
   
char   tics,attack,frame;      // attack is 1 for gun, 2 for knife
} attackinfo[5][14] =

{
{ {6,0,1},{6,2,2},{6,0,3},{6,-1,4} },
{ {6,0,1},{6,1,2},{6,0,3},{6,-1,4} },
{ {6,0,1},{6,1,2},{6,3,3},{6,-1,4} },
{ {6,0,1},{6,1,2},{6,4,3},{6,-1,4} },
{ {6,0,1},{6,1,2},{6,0,3},{6,0,4},{6,0,5},{6,-1,6} },
};



and in wl_def.h I did some changes:

::: CODE :::

SPR_CHAINSAWREADY, SPR_CHAINSAWATK1, SPR_CHAINSAWATK2, SPR_CHAINSAWATK3, SPR_CHAINSAWATK4, SPR_CHAINSAWATK5, SPR_CHAINSAWATK6,


Note that I first add a new weapon. And now I want some more images to the weapon. (In example for a shotgun, with the more images I can reload the shotgun)

The compiling goes well, but the weapon is just still the same:(
Do I have to do something else?
KyleRTCW
DieHard Officer
DieHard Officer


Joined: 30 Jul 2003
Last Visit: 10 Aug 2019

Topics: 45
Posts: 510
Location: Ohio
usa.gif

PostPosted: Sat Jan 08, 2005 6:45 am
   Subject: Re: Add new images for a weapon
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Bramaldo:

Ok, you shouldn't post a whole topic on something so easy.

This is what you do:

Ok think a minute, if I add two frames to the gun, what do i add to the VSWAP?
Ah, two weapon sprites.

And if you used the search button, and found the topic on Weapon Behavoir, you should know what the middle case number inside the { } is. { {6,0,1},{6,1,2},{6,0,3},{6,0,4},{6,0,5},{6,-1,6} }, would make a crapy chainsaw because it only attacks on one frame(2). And a chainsaw doesn't run on ammo (unless you added a gas ammo), so I think you can try taking the -1 out.

Other then that, I have no idea on how to make a chainsaw, try searching for Jamez infamous Chainsaw Tutorial.

_________________
Steam: http://steamcommunity.com/id/stormx312
Guest




Last Visit:





PostPosted: Sat Jan 08, 2005 11:12 am
   Subject: Re: Add new images for a weapon
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Oke, i'll try this. I did use the search button and look on the weapon behavoir tutorial. And I followed that, but it didn't work out. I'll remove the -1, but I thought the in the last array you must have a -1 ...
Guest




Last Visit:





PostPosted: Mon Jan 10, 2005 12:38 pm
   Subject: Re: Add new images for a weapon
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Bottom of Posts

That didn't work either:(

I see this in many TC's, doesn't anybody knows this...?
Display posts from previous:   
Post new topicReply to topic Time synchronized with the forum server time
DieHard Wolfers Forum Index -> 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: [Info] Compiling the Source Code...
Author: Guest
52 5290 Sat Feb 10, 2007 12:38 pm
Harry sr View latest post
No new posts Change ceiling colors, text, cheat codes w/out compiling!
Author: Ringman
4 4088 Sun Jun 19, 2016 7:45 pm
Barry View latest post
No new posts Changing Enemy and Weapon behaviour
Author: Guest
4 170 Fri Jan 28, 2005 3:38 pm
Guest View latest post
No new posts [Help] Code on Weapon changing
Author: wolf3dbreaker
8 1866 Thu Jan 13, 2005 12:08 pm
Guest View latest post
No new posts [Info] Silent Gun? - Adding a Silencer
Author: Guest
4 194 Fri Apr 18, 2003 8:34 am
BrotherTank 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