+NOABOVEWATER?

Moderator: GZDoom Developers

User avatar
Enjay
 
 
Posts: 26533
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

Nothing wrong with that, but there are some reasonable shark sprites in Duke Nukem.
User avatar
Kristus
Posts: 437
Joined: Wed Feb 23, 2005 4:02 am
Location: Bed

Post by Kristus »

People still use truespace?
User avatar
Phobus
Posts: 5984
Joined: Thu May 05, 2005 10:56 am
Location: London
Contact:

Post by Phobus »

You are? Wow, thanks, this'll have to past a test or two, but yeah, I think that may go in to be the sixth monster...
User avatar
solarsnowfall
Posts: 1581
Joined: Thu Jun 30, 2005 1:44 am

Post by solarsnowfall »

Kristus wrote:People still use truespace?
And what's wrong with True Space? For making doom sprites, it's more than enough.

[edit] D'oh <sp>
Last edited by solarsnowfall on Mon Sep 12, 2005 7:14 pm, edited 1 time in total.
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

Never really heard of Ture Space, but True Space happens to be fine for this kind of thing :P
User avatar
justin024
Posts: 379
Joined: Sun Nov 14, 2004 1:29 am
Location: Illinois
Contact:

Post by justin024 »

Would something like this not work? I am pretty sure it would for the most part. You just want the easy way out. Make sure to use acs_executealways! You might want to double check all that yourself before actually applying it ;)

Code: Select all

int fish[3] = {1, 2, 3}; //Each fish has its own tid
int i = 0; //index counter
#define water_height -128 * 65536 //water limit, probably a good idea to be slightly lower than the actual fake floor, especially if there are terrain splashes

script 1 (void)
{
  i=0;
  while (i < 3)
  {
    if (getactorz(fish[i++]) >= water_height)
    {
       thrustthingz(fish[i - 1], 160, 1, 0);
    }
  }
  delay(15);
  i = 0;
  while (i < 3)
  {
    if (thingcount(t_none, fish[i++]) > 0)
    {
      restart;
    }
  }
}
EDIT: I have applied this script to my mod and it seems to work well
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”