October 04, 2023, 06:16:03 pm

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] 2

Author Topic: Collision Map Vision  (Read 4105 times)

Orpheon

  • Moderator
  • *****
  • Karma: 15
  • Offline Offline
  • Posts: 6426
  • Developer
Collision Map Vision
« on: September 17, 2013, 02:55:05 pm »

Quote
<NotAnonymous> Feature request: Collision map vision. Rhyme not intended.
<NotAnonymous> You never know when something in a map is solid or not.
<Orpheon> shouldn't be too hard to do with custom maps
<Orpheon> post a request in the Plugins section
<NotAnonymous> Too lazy to create an account
<Orpheon> I'll make a thread, but not going to follow it
<NotAnonymous> Mention me
<NotAnonymous> NotAnonymous on IRC

EDIT: Cerapter kindly fulfilled this request.
« Last Edit: September 19, 2013, 01:27:11 pm by Orpheon »
Logged

iLegend

  • 2013 Haxxy Award Winner
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 869
  • Force is always the answer.
    • Mah Resume
Re: [PLUGIN REQUEST] Collision Map Vision
« Reply #1 on: September 17, 2013, 09:52:22 pm »

so.. is this like a button that toggles between the map and the collision map?
Logged
<SecretMan> do i put BotAim.gml in plugins folder?
i hear los angeles is pretty good for casual sex with minors

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4904
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
    • arcticland
Re: [PLUGIN REQUEST] Collision Map Vision
« Reply #2 on: September 17, 2013, 11:38:30 pm »

i call hax on it
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

Nova

  • Seasoned Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1740
  • Personal Text
Re: [PLUGIN REQUEST] Collision Map Vision
« Reply #3 on: September 18, 2013, 12:02:36 am »

How?
It just supplies information which should be clear anyway.
Logged

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4904
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
    • arcticland
Re: [PLUGIN REQUEST] Collision Map Vision
« Reply #4 on: September 18, 2013, 12:10:31 am »

How?
It just supplies information which should be clear anyway.
SCENARIO: that 2dfort thing where its just all dark
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

Phantom Brave

  • All Hail Classicwell
  • Moderator
  • *****
  • Karma: 70
  • Offline Offline
  • Posts: 12699
  • Another one --
Re: [PLUGIN REQUEST] Collision Map Vision
« Reply #5 on: September 18, 2013, 12:46:30 am »

considering this a hack is like considering people upgrading from touchpads to mice cheating
Logged

http://steamcommunity.com/id/wareya/
ladies and gentlemen i would like to announce that the fact of the matter is up that the fact of the matter is a fact and it matters

Intel Guard

  • GG2 Commentator
  • Retired Goja Warrior
  • ******
  • Karma: 44
  • Offline Offline
  • Posts: 8611
  • the s*x number
Re: [PLUGIN REQUEST] Collision Map Vision
« Reply #6 on: September 18, 2013, 08:29:48 am »

How?
It just supplies information which should be clear anyway.
SCENARIO: that 2dfort thing where its just all dark
Everyone pack it in now, it's cheating to want to see a dark map better
Logged
I've been listening to a bit of Green Day recently (past 2 months actually). Really raises the level of "fuckethesystem" in me.  :z5:
"god is dead."♫♫♫

Danikah

  • Guest
Re: [PLUGIN REQUEST] Collision Map Vision
« Reply #7 on: September 18, 2013, 08:42:35 am »

Press O (the letter) to switch between invisible, half-visible and fully visible collision maps.
Works with every map.

You can change the switch button to anything else really, the code isn't that hard to understand.
Logged

iLegend

  • 2013 Haxxy Award Winner
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 869
  • Force is always the answer.
    • Mah Resume
Re: [PLUGIN REQUEST] Collision Map Vision
« Reply #8 on: September 18, 2013, 03:55:16 pm »

this is actually really useful...

Also I'd suggest using 0, 0.75, 1 as the marks instead of 0,0.5,1

at 0.5, it's more like you just darken the screen, it doesn't make that much of a difference.
Logged
<SecretMan> do i put BotAim.gml in plugins folder?
i hear los angeles is pretty good for casual sex with minors

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4904
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
    • arcticland
Re: [PLUGIN REQUEST] Collision Map Vision
« Reply #9 on: September 18, 2013, 11:32:39 pm »

thank god he didnt add a version check again
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

Danikah

  • Guest
Re: [PLUGIN REQUEST] Collision Map Vision
« Reply #10 on: September 19, 2013, 07:57:23 am »

thank god he didnt add a version check again
This is not a server plugin, after all, but if you really want it that bad, then here's a version checking version:

Code: [Select]
//Visible Collision Map
//   by Cerapter



if VERSION != 26300
{
show_message("Warning!##This plugin (Visible Collision Map) can only be used in Gang Garrison's #> 2.6.3 <#version.##Check out the plugin's thread on the Gang Garrison Forums for a newer version.##The game will end now.")
game_end();
}


object_event_add(CollisionMapO, ev_create, 0,"
visible = 1;
image_alpha = 0;
setVisibility = 0;
")


object_event_add(CollisionMapO, ev_step, 0,"
if keyboard_check_pressed(ord('Ő')) then setVisibility += 0.5;
if setVisibility > 1 then setVisibility = 0;


if image_alpha < setVisibility then image_alpha += 0.1;
if image_alpha > setVisibility then image_alpha -= 0.1;
")
Logged

iLegend

  • 2013 Haxxy Award Winner
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 869
  • Force is always the answer.
    • Mah Resume
Re: Collision Map Vision
« Reply #11 on: September 19, 2013, 03:50:26 pm »

also can you make it compatible with chat so if i type an o it doesnt switch maps
Logged
<SecretMan> do i put BotAim.gml in plugins folder?
i hear los angeles is pretty good for casual sex with minors

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4904
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
    • arcticland
Re: [PLUGIN REQUEST] Collision Map Vision
« Reply #12 on: September 19, 2013, 05:11:21 pm »

thank god he didnt add a version check again
This is not a server plugin, after all, but if you really want it that bad, then here's a version checking version:

Code: [Select]
//Visible Collision Map
//   by Cerapter



if VERSION != 26300
{
show_message("Warning!##This plugin (Visible Collision Map) can only be used in Gang Garrison's #> 2.6.3 <#version.##Check out the plugin's thread on the Gang Garrison Forums for a newer version.##The game will end now.")
game_end();
}


object_event_add(CollisionMapO, ev_create, 0,"
visible = 1;
image_alpha = 0;
setVisibility = 0;
")


object_event_add(CollisionMapO, ev_step, 0,"
if keyboard_check_pressed(ord('Ő')) then setVisibility += 0.5;
if setVisibility > 1 then setVisibility = 0;


if image_alpha < setVisibility then image_alpha += 0.1;
if image_alpha > setVisibility then image_alpha -= 0.1;
")
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4904
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
    • arcticland
Re: Collision Map Vision
« Reply #13 on: September 20, 2013, 04:15:08 pm »

Quote
//fuck yo shit cerapter, I'm tripling the size of your code -Arctic
:hehe:
i didnt like your coding style and your lack of keyrebindability
http://arcticmustang.github.io/305labs/Plugins/visibleCollisionsMK2.gml
100% version check free
also can you make it compatible with chat so if i type an o it doesnt switch maps
i'll work on this later, i cant quite get it to work at the moment DONE!
« Last Edit: September 20, 2013, 05:56:01 pm by Charlotte »
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

iLegend

  • 2013 Haxxy Award Winner
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 869
  • Force is always the answer.
    • Mah Resume
Logged
<SecretMan> do i put BotAim.gml in plugins folder?
i hear los angeles is pretty good for casual sex with minors
Pages: [1] 2
 

Page created in 0.047 seconds with 37 queries.