January 24, 2022, 10:53:47 am

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Due to a rise in bot activity, new posters need to be approved before posting.

Join the community Discord server!

Pages: [1]

Author Topic: To all those who need a nobuild zone:  (Read 2610 times)

walrusfan97

  • Guest
To all those who need a nobuild zone:
« on: July 29, 2009, 10:26:23 pm »

I'm not entirely sure about class change being a problem, but instant respawn room/respawn room entity should do the trick as nobuild. I've noticed in customs without the new instant spawn feature it seems to allow buildings, so it should double just fine as a nobuild zone.

I believe the entity also requires instant class change to redirect you to spawn, so that shouldn't be much of an issue either.

Just a interesting tip.
Logged

AcidLead

  • The Flash of the Action
  • Veteran Beta Tester
  • *****
  • Karma: 103
  • Offline Offline
  • Posts: 6636
  • Our hero returns triumphant. Execute him at once.
Re: To all those who need a nobuild zone:
« Reply #1 on: July 29, 2009, 10:30:07 pm »

Good call. I was thinking this could be useful. Do you know if doors/floors block sentries as well? Maybe a thin layer of anti-bullet carpet could do anti-sentry duty too.
Logged
fire at cyberdisc
eighty-five percent hit chance
doh, she missed the shot

Quote

  • Veteran Beta Tester
  • *****
  • Karma: 125
  • Offline Offline
  • Posts: 1186
  • The ultimate Quote fanboy.
    • My Cavestory web comic (-127)
Re: To all those who need a nobuild zone:
« Reply #2 on: July 31, 2009, 12:10:44 am »

I'm not entirely sure about class change being a problem, but instant respawn room/respawn room entity should do the trick as nobuild. I've noticed in customs without the new instant spawn feature it seems to allow buildings, so it should double just fine as a nobuild zone.

I believe the entity also requires instant class change to redirect you to spawn, so that shouldn't be much of an issue either.

Just a interesting tip.
I was actually thinking about that myself.
I 100% agree with this statement.
Logged
[GFCOLC][OXY][FYI][Ω]
Quote from: Steam Chat
Meower: it's not quote to be you, it's you to be quote. -Meower 8/22/2011
God, you people are so simple to force a reaction out of that it's not even funny.
No, wait. It's very funny. Dohohohohohohohoho.

Juicebox360

  • Full Member
  • ***
  • Karma: -25
  • Offline Offline
  • Posts: 200
  • edgy coder since 08
Re: To all those who need a nobuild zone:
« Reply #3 on: August 04, 2009, 03:48:57 am »

A member variable named "quickspawn" sets whether to respawn fast. However, it also sets whether the killcam turns on or not.

Quote from: Begin Step event of object Character
if collision_point(x,y,SpawnRoom,0,0) player.quickspawn = 1;
    else player.quickspawn=0;

Quote from: User Event 9 of object Character
if id == global.myself.object && lastDamageDealer != -1 && lastDamageDealer != global.myself && player.quickspawn == 0{
        oldxview=view_xview[0];
        oldyview=view_yview[0];
        instance_create(0,0,DeathCam);
        DeathCam.killedby=lastDamageDealer;
        DeathCam.name=lastDamageDealer.name;
        DeathCam.oldxview=oldxview;
        DeathCam.oldyview=oldyview;
        DeathCam.lastDamageSource=lastDamageSource;
        DeathCam.team = player.team;
    }
Basically, what this means is that when you die in a "nobuild zone", you won't get a deathcam.

What does that all mean? HEY LOOK, NOW YOU CAN USE THIS BOTH FOR NOBUILD AND MAP-BASED NO-KILLCAM
Logged

Maxaxle

  • Full Member
  • ***
  • Karma: -128
  • Offline Offline
  • Posts: 399
  • Resident Serious Business
    • My Site
Re: To all those who need a nobuild zone:
« Reply #4 on: August 04, 2009, 12:50:02 pm »

This looks like it could be used for a party map. No killcam = faster respawn, no buildings = no sentries.
Logged

Backstabbin Scumbag

  • Guest
Re: To all those who need a nobuild zone:
« Reply #5 on: August 04, 2009, 01:44:21 pm »

This looks like it could be used for a party map. No killcam = faster respawn, no buildings = no sentries.
respawn zone = instant respawn

 :drool:
Logged

Maxaxle

  • Full Member
  • ***
  • Karma: -128
  • Offline Offline
  • Posts: 399
  • Resident Serious Business
    • My Site
Re: To all those who need a nobuild zone:
« Reply #6 on: August 04, 2009, 07:30:12 pm »

This looks like it could be used for a party map. No killcam = faster respawn, no buildings = no sentries.
respawn zone = instant respawn

 :drool:
:woot: :woot: :woot: :woot: :woot: :woot: :woot: :woot: :woot: :woot: :woot: :woot: :woot:
Logged

Sir [OCN]Gurren Lagann, DDS

  • Full Member
  • ***
  • Karma: 30
  • Offline Offline
  • Posts: 585
  • ORE O DARE DA TO OMOTTE IRU
Re: To all those who need a nobuild zone:
« Reply #7 on: August 23, 2009, 12:16:34 am »

doesn't work for me
Logged

Bass

  • Guest
Re: To all those who need a nobuild zone:
« Reply #8 on: August 23, 2009, 04:30:24 am »

This looks like it could be used for a party map. No killcam = faster respawn, no buildings = no sentries.
respawn zone = instant respawn

 :drool:
With a simple tweaking, a server can easily be made instant respawn.


It just sucks massive dog balls when someone does it.
« Last Edit: August 23, 2009, 04:31:32 am by [GA][s♣][QFT][KKK][BTTF][SM16]Dat BassMakesPaste »
Logged
Pages: [1]
 

Page created in 0.028 seconds with 35 queries.