+NOABOVEWATER?

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: +NOABOVEWATER?

by justin024 » Tue Sep 20, 2005 3:56 am

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

by Kirby » Mon Sep 12, 2005 7:11 pm

Never really heard of Ture Space, but True Space happens to be fine for this kind of thing :P

by solarsnowfall » Mon Sep 12, 2005 5:59 pm

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>

by Phobus » Mon Sep 12, 2005 10:20 am

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...

by Kristus » Sun Sep 11, 2005 4:27 pm

People still use truespace?

by Enjay » Sun Sep 11, 2005 2:52 pm

Nothing wrong with that, but there are some reasonable shark sprites in Duke Nukem.

by solarsnowfall » Sun Sep 11, 2005 2:49 pm

Phobus wrote:Well, if this was implemented, I've already got two monsters that'd just need the flag to be added and I'm there :D
Now that I got TrueSpace working I'm going to make you a shark eventually :twisted:

by Enjay » Sun Sep 11, 2005 2:47 pm

+NOBELOWWATER might be a useful addition too, and not just for Jesus.


Or perhaps it should be +CANNOTCROSSFAKEFLOOR and depending on how you set the things z coord will determine where it stays?

by Wills » Sun Sep 11, 2005 2:35 pm

A n00b wrote:[stupidplot][offtopic]we could create our own Jesus, THAT WE COULD CONTROL MWAHAHAHAHA!![/offtopic][/stupidplot]
No, Jesus would stay on the water.

by Phobus » Sun Sep 11, 2005 2:35 pm

Or start to fly. Which was my number one irritation:

Me: Ha, they won't be able to fly up through the fake floor/ceiling
*They float up straight through, making me wonder how I'd never realised that they could do it before"
Me: Damn...

by Deathsong12 » Sun Sep 11, 2005 2:32 pm

And then those poor fishies would not be stuck in cubbyholes...

by Phobus » Sun Sep 11, 2005 1:43 pm

Well, if this was implemented, I've already got two monsters that'd just need the flag to be added and I'm there :D

by Shadelight » Sun Sep 11, 2005 11:21 am

[stupidplot][offtopic]we could create our own Jesus, THAT WE COULD CONTROL MWAHAHAHAHA!![/offtopic][/stupidplot]

by TheDarkArchon » Sun Sep 11, 2005 10:52 am

Yeah, make him not come down to earth XD

by Cutmanmike » Sun Sep 11, 2005 10:49 am

Wow. If this is added, we could make... JESUS!

Top