google-code-export / p-g-qvm

Automatically exported from code.google.com/p/p-g-qvm
Other
1 stars 0 forks source link

nobuild areas #128

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
An idea frak came up with, hopefully a soon-to-be feature, nobuild areas
would allow you to disallow building in defined areas in the map, such as
the foggy bottom of ethereal. To define a nobuild area you would use
!nobuild (game units in area), from there it would do an area check if is a
defined nobuild spot. Logging of which would be by a nobuild.dat, which you
could define multiple spots based on maps. Using !nobuild would log to
nobuild.dat, and when you try to build in that area, it can be check within
g_build to see if that is a nobuild area.

Original issue reported on code.google.com by I.Am.Gew...@gmail.com on 24 Jun 2008 at 6:36

GoogleCodeExporter commented 9 years ago
Might be easier to add an invisible, unkillable buildable that just blocks 
access.  Unfortunately, it would require a 
layout to be loaded every time in order for it to be spawned.

Original comment by doomagent13@yahoo.com on 25 Jun 2008 at 3:32

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Here is nobuild, pre-finished, type !nobuild (game units) ingame while standing 
in
the spot you want nobuilding to take effect, from there, if you wish to make 
this
load during every map load, type !nobuildsave and it will save the current 
nobuild
spots on the map. These are logged to *home*/base/nobuild/*mapname*.dat, so if 
you
want to remove nobuild from a map, just remove the .dat

Original comment by I.Am.Gew...@gmail.com on 26 Jun 2008 at 9:52

Attachments:

GoogleCodeExporter commented 9 years ago
This is still in beta, right?

When we get the human head placeholder working, and any bugs worked out, ill 
release 
a new qvm.

People on irc had mixed feelings.

Some shot it down, others heart.

Original comment by Paradox460 on 26 Jun 2008 at 10:03

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Here is a bit of code cleanup, just useless functions cleaned out and some 
other fixes

Original comment by I.Am.Gew...@gmail.com on 26 Jun 2008 at 11:36

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Here! finally! iv redone nobuild a bit, its usage now is to run !nobuild 
(units) and
it will enable nobuild mode, from there you would select a buildable and resume
placing the buildable where you want nobuild to be, when placed it will spawn a
nobuild marker which from there you can save, and nobuild mode will be disabled 
after
the building is placed, if you mistakenly did !nobuild 50 when you meant to say
!nobuild 500, you simply type !nobuild again and it will disable nobuild mode.

Original comment by I.Am.Gew...@gmail.com on 27 Jun 2008 at 8:12

Attachments:

GoogleCodeExporter commented 9 years ago
Umm. This doesnt apply cleanly.

Sorry to be confusing about the various revisions, but could you make it 
against the 
very latest one, i added allstats and a few other things.

Original comment by Paradox460 on 27 Jun 2008 at 5:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I forgot to add the help file changes..and for some reason i cannot delete my
previous comments, can you please remove them?

Original comment by I.Am.Gew...@gmail.com on 27 Jun 2008 at 9:16

Attachments:

GoogleCodeExporter commented 9 years ago
Here are glitch fixes for tremor, ethereal, and karith.

Original comment by I.Am.Gew...@gmail.com on 27 Jun 2008 at 11:18

Attachments:

GoogleCodeExporter commented 9 years ago
As paradox pointed out, there was a little issue with ethereal that allowed you 
to
build an egg down there, so here is a fix

Original comment by I.Am.Gew...@gmail.com on 30 Jun 2008 at 9:28

Attachments:

GoogleCodeExporter commented 9 years ago
Here is a fix for building on the rocks at the top, i tested a bit and saw it 
didnt
effect anything else so i guess it works fine.

Original comment by I.Am.Gew...@gmail.com on 30 Jun 2008 at 11:56

Attachments:

GoogleCodeExporter commented 9 years ago
For some reason, my scanning function was conflicting with other code in 
canbuild,
which would disable placing ontop of marked builds. I simply moved the code 
down to
the bottom of the function so it wouldn't mess with anything and bam, all fixed.

Original comment by I.Am.Gew...@gmail.com on 2 Jul 2008 at 1:37

Attachments:

GoogleCodeExporter commented 9 years ago
Release 1.6.2 has these fixes and Revision 80 does.

Original comment by Paradox460 on 10 Jul 2008 at 6:31