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] Assigning Static Objects problem.
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: Sun Jul 06, 2003 9:39 am
   Subject: [Info] Assigning Static Objects problem.
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Next PostGoto Bottom of Posts

Hi, In my game, I cant add more than about 18 new items (I cant add more "case" than 89 in the SpawnStatic function in wl_game.c)

Please someone help me! I'm so freakin' desesperated ???D

- Alex
Guest




Last Visit:





PostPosted: Sun Jul 06, 2003 1:25 pm
   Subject: Re: Static Objects problem.
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Bottom of Posts

Here's an example of code in WL_GAME.C from one of the projects I was working on:

::: CODE :::

         case 87:   
         case 88:   
         case 89:   

            SpawnStatic(x,y,tile-23);
            break;

      // WSJ: More static objects

         case 400:       
         case 401:   
         case 402:   
         case 403:   
         case 404:   
         case 405:   
         case 406:   
         case 407:   

            SpawnStatic (x,y,tile-333);
            break;


If you want to start with a different number than 400, then make sure that the number in "SpawnStatic (x,y,tile- " will equal 67 if it's subtracted from the number of your first static object in the new list. I hope that made sense. (Ex: 400-333 = 67)
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 [Help] Setting RocketLauncher: Explosive Range...?
Author: KyleRTCW
17 4468 Thu Jun 03, 2004 3:21 am
Codetech84 View latest post
No new posts [Info] Tricks - Dogs that shoot - Modifying Behaviour
Author: Guest
19 284 Sat Mar 20, 2004 7:31 am
Dugtrio17 View latest post
No new posts [Info] Alarm Sounding in game?? WSJ...??
Author: Guest
7 308 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 243 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