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       

[Info] Making Guards Always Face You - Rotating guards
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
CoolMario
Guest



Last Visit:





PostPosted: Tue Jul 29, 2003 2:44 pm
   Subject: [Info] Making Guards Always Face You - Rotating guards
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Next PostGoto Bottom of Posts

How do I make it so that the guards rotate just like regular sprites / bosses when viewed from all angles? I've just added a new enemy...
Codetech84
Code Master
Code Master


Joined: 12 Mar 2003
Last Visit: 13:33 ago.

Topics: 22
Posts: 1283
Location: Rauma - Finland
finland.gif

PostPosted: Tue Jul 29, 2003 2:56 pm
   Subject: Re: Rotational guards
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Example of a non-rotational state:
statetype s_example = {false,SPR_EXAMPLE,0,NULL,NULL,&s_example};

Example of a rotational state:
statetype s_example = {true,SPR_EXAMPLE,0,NULL,NULL,&s_example};

Just change the false in to true... Simple as that... Cool

You know, you could make even 3d pain frames...

_________________
Click here to visit KFH Games website!
*UPDATED* Spear of Destiny Reloaded
KFH Games on Facebook
CoolMario
Guest



Last Visit:





PostPosted: Tue Jul 29, 2003 7:37 pm
   Subject: Re: Rotational guards
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

I've been wondering what those true / false things do... thanks man! Very Happy
Codetech84
Code Master
Code Master


Joined: 12 Mar 2003
Last Visit: 13:33 ago.

Topics: 22
Posts: 1283
Location: Rauma - Finland
finland.gif

PostPosted: Wed Jul 30, 2003 9:31 am
   Subject: Re: Rotational guards
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Bottom of Posts

You're welcome.

_________________
Click here to visit KFH Games website!
*UPDATED* Spear of Destiny Reloaded
KFH Games on Facebook
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] Help for newbie coders! C++ Tutorial
Author: Dugtrio17
20 11290 Sun Jan 10, 2010 12:26 pm
Fragstein3D View latest post
No new posts [Info] Tricks - Dogs that shoot - Modifying Behaviour
Author: Guest
19 288 Sat Mar 20, 2004 7:31 am
Dugtrio17 View latest post
No new posts [Info] Alarm Sounding in game?? WSJ...??
Author: Guest
7 311 Tue Jun 17, 2003 10:04 pm
Reivax44 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
No new posts [Info] Adding Locked Doors
Author: Guest
3 244 Thu Apr 17, 2003 6:30 am
Ripper 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