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       

Moving static object
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
Raistlin
DieHard Guard
DieHard Guard


Joined: 22 Apr 2003
Last Visit: 18 Oct 2006

Topics: 24
Posts: 246

blank.gif

PostPosted: Wed Oct 06, 2004 2:19 am
   Subject: Moving static object
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Next PostGoto Bottom of Posts

Does anyone know how to create a moving static object,
like a table that walks?

Or, alternatively. does anyone know how to make
a guard that moves, but cannot be woken up or
killed?

Not for any real currant use, I might
use it sometime in the distant future.

_________________
As I watched him on T.v, somehow it really bothered me...
Guest




Last Visit:





PostPosted: Wed Oct 06, 2004 9:05 am
   Subject: Re: Moving static object
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Look at 4 pacman objects, you can replace those pacman with new ones...

You might want to check this one


just remove "gamestate.killtotal++;" from code.


I am not sure it will work, but you might want to try it out for yourself Smile
Adam Biser
Utility Developer
Utility Developer


Joined: 06 Jun 2003
Last Visit: 16 Oct 2017

Topics: 46
Posts: 2291
Location: USA
usa.gif

PostPosted: Wed Oct 06, 2004 12:42 pm
   Subject: Re: Moving static object
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

You also need to comment out :
new->obclass = ghostobj;

Or the moving table will harm the player.

_________________
Orb of Dilaaria now has a Facebook page
Star Wars: Bloodlines now has a Facebook page
Raistlin
DieHard Guard
DieHard Guard


Joined: 22 Apr 2003
Last Visit: 18 Oct 2006

Topics: 24
Posts: 246

blank.gif

PostPosted: Fri Oct 08, 2004 5:16 pm
   Subject: Re: Moving static object
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Hmmm....

I was thinking more one that can move in set
patterns like guards.....

_________________
As I watched him on T.v, somehow it really bothered me...
Dugtrio17
Code Master
Code Master


Joined: 11 Mar 2003
Last Visit: 03 Oct 2013

Topics: 49
Posts: 903
Location: Seattle
usa.gif

PostPosted: Fri Oct 08, 2004 6:31 pm
   Subject: Re: Moving static object
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Bottom of Posts

Hmm... I can give you some ideas to start with, but I can't write a tutorial since I don't really have the time.
Okay, you know that some actors have movement routines. Well, you can make certain objects have routines, perhaps by sticking a check of the entire statobjlist in the playloop at the bottom of WL_PLAY.C. If the object is equal to whatever you want to move, execute the routine with the object. Either way, advance through the static object list, by increasing a pointer by one (yes, I've found the purpose of pointers!) until you get to the last object in the list.
Of course, if you're truly lazy, just make an actor Razz

_________________
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:  
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