Author Topic: !layout command, a server-side modification (version 4)  (Read 51733 times)

next_ghost

  • Posts: 892
  • Turrets: +3/-6
!layout command, a server-side modification (version 4)
« Reply #30 on: December 24, 2006, 11:02:40 am »
Quote from: "vcxzet"
you can place more than 1 reactor/OM by editing the file
you can make bases that costs more build pts
(ie set build points to 300 build the base save and it will load for max 100 bps but you need to decon 208 to build an acid tube somewhere else)


A quick fix is obvious: Each time you place something, check if the game allows it (using G_itemFits(), returns IBE_NONE if it's allowed, see g_buildable.c:G_validateBuild() for example). Ignore the test to keep fun for cheats enabled games.
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

Risujin

  • Posts: 739
  • Turrets: +33/-13
    • http://risujin.org
!layout command, a server-side modification (version 4)
« Reply #31 on: December 24, 2006, 04:09:54 pm »
Quote from: "next_ghost"
Quote from: "vcxzet"
you can place more than 1 reactor/OM by editing the file
you can make bases that costs more build pts
(ie set build points to 300 build the base save and it will load for max 100 bps but you need to decon 208 to build an acid tube somewhere else)


A quick fix is obvious: Each time you place something, check if the game allows it (using G_itemFits(), returns IBE_NONE if it's allowed, see g_buildable.c:G_validateBuild() for example). Ignore the test to keep fun for cheats enabled games.

If you edit the file manually, you're definitely looking for a customized game. Its not a bug, its a feature. :)

next_ghost

  • Posts: 892
  • Turrets: +3/-6
!layout command, a server-side modification (version 4)
« Reply #32 on: December 24, 2006, 06:09:22 pm »
Quote from: "Risujin"
If you edit the file manually, you're definitely looking for a customized game. Its not a bug, its a feature. :)


I just think nobody should be able to bypass game restrictions without enabling cheats.
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
!layout command, a server-side modification (version 4)
« Reply #33 on: December 31, 2006, 12:21:32 am »
This will go on sst as soon as i can get it mixed with avengers qvm.

∧OMG ENTROPY∧

Rawr

  • Posts: 918
  • Turrets: +1/-1
!layout command, a server-side modification (version 4)
« Reply #34 on: December 31, 2006, 06:14:57 am »
i want to use OM's instead of acids to hurt people  :D
img]http://dvclan.org/statsig/statsig.php/3826/4.jpg[/img]

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
!layout command, a server-side modification (version 4)
« Reply #35 on: December 31, 2006, 09:55:43 pm »
Good note, this has gone into a revision, and since avenger is using revisions, it will be in the next release hopefully.

Also, where are the files it creates stored?

∧OMG ENTROPY∧

Risujin

  • Posts: 739
  • Turrets: +33/-13
    • http://risujin.org
!layout command, a server-side modification (version 4)
« Reply #36 on: December 31, 2006, 10:35:56 pm »
Quote from: "Paradox"
Also, where are the files it creates stored?

!layout stores files in the mod folder (or base if youre not running a custom fs_game). Look for mapname-layouts.dat files.

Mangler

  • Posts: 43
  • Turrets: +0/-1
!layout command, a server-side modification (version 4)
« Reply #37 on: January 01, 2007, 09:50:51 pm »
Yeah, I ran into this the other day. Interesting idea!

Is this going to be a part of the main Balance mod?
(eventually?)

Also was my 'Battery-Backup' idea ever implimented?
(Turrets and Armouries keep working for X seconds without a Reactor)

Risujin

  • Posts: 739
  • Turrets: +33/-13
    • http://risujin.org
!layout command, a server-side modification (version 4)
« Reply #38 on: January 01, 2007, 10:19:33 pm »
Quote from: "Mangler"
Is this going to be a part of the main Balance mod?
(eventually?)

Has been since rev 12. The latest SVN now has tjw's layout patch in it.

Quote
Also was my 'Battery-Backup' idea ever implimented?
(Turrets and Armouries keep working for X seconds without a Reactor)

Still on the drawing board. :)

Carteludo

  • Posts: 19
  • Turrets: +0/-0
anyone
« Reply #39 on: January 02, 2007, 06:23:20 am »
can anyone help me, i got a little useful infor from this blog
but i have tried to operate adminrights on my server but im not able to get it set up, iv treid gettin all the passwords goin and downloaded almost eveyrhitng on tjw's but im probly not doing eveything in the correct sequence.
can any one help me??

Vector_Matt

  • Posts: 732
  • Turrets: +2/-1
Re: anyone
« Reply #40 on: January 02, 2007, 04:03:56 pm »
Quote from: "Carteludo"
can anyone help me, i got a little useful infor from this blog
but i have tried to operate adminrights on my server but im not able to get it set up, iv treid gettin all the passwords goin and downloaded almost eveyrhitng on tjw's but im probly not doing eveything in the correct sequence.
can any one help me??
Wrong thread! And you already posted a separate topic about this. And again this question has nothing to do with the current discussion, so, Wrong thread!

Stof

  • Posts: 1343
  • Turrets: +1/-1
!layout command, a server-side modification (version 4)
« Reply #41 on: January 02, 2007, 04:14:44 pm »
Question!

That layout patch seems fun and all that but of very limited use. But could you patch it somehow to allow servers to add in runtime location entities to the maps that are missing them? THAT would be very useful ;)
urphy's rules of combat
8 ) Teamwork is essential; it gives the enemy someone else to shoot at.
18 ) Make it too tough for the enemy to get in and you can't get out.

Risujin

  • Posts: 739
  • Turrets: +33/-13
    • http://risujin.org
!layout command, a server-side modification (version 4)
« Reply #42 on: January 02, 2007, 04:22:13 pm »
Quote from: "Stof"
runtime location entities

You need to try it, the patch makes for some very fun layouts (play on YakNet Balance for example). Now, whats a runtime location entity? :o

Vector Matt: stop policing the forum and finish that model! :)

vcxzet

  • Guest
!layout command, a server-side modification (version 4)
« Reply #43 on: January 02, 2007, 04:29:10 pm »
risujin stop policing the forum polices and finish that mod

Stof

  • Posts: 1343
  • Turrets: +1/-1
!layout command, a server-side modification (version 4)
« Reply #44 on: January 02, 2007, 04:47:56 pm »
Quote from: "Risujin"
Quote from: "Stof"
runtime location entities

You need to try it, the patch makes for some very fun layouts (play on YakNet Balance for example). Now, whats a runtime location entity? :o

Vector Matt: stop policing the forum and finish that model! :)

The entities that Tremulous and Quake 3 supports out of the box but which no standard map comes with.

They allow things like :
"[H]Stof (Window Room) : OM is here!" They are the entities which tells the engine I'm in the "Window Room" Try Gloom 2 ( Jex version ) for example to see what I mean.
urphy's rules of combat
8 ) Teamwork is essential; it gives the enemy someone else to shoot at.
18 ) Make it too tough for the enemy to get in and you can't get out.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
!layout command, a server-side modification (version 4)
« Reply #45 on: January 02, 2007, 05:40:00 pm »
i'm not sure there would be much use for that, all the default maps have been recompiled with location entities in them, and with the recent jump in work on tremulous, it looks like we might not have to wait very long for the real thing.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Stof

  • Posts: 1343
  • Turrets: +1/-1
!layout command, a server-side modification (version 4)
« Reply #46 on: January 02, 2007, 06:57:43 pm »
Yeah, well it has some advantages too :
- no need to wait. Even though the work has picked up, we still have no idea of when it'll be available :)
- default maps have been fixed, what about all the non default maps that are missing the info? Will they be fixed too?
urphy's rules of combat
8 ) Teamwork is essential; it gives the enemy someone else to shoot at.
18 ) Make it too tough for the enemy to get in and you can't get out.

Risujin

  • Posts: 739
  • Turrets: +33/-13
    • http://risujin.org
!layout command, a server-side modification (version 4)
« Reply #47 on: January 02, 2007, 11:04:55 pm »
Quote from: "vcxzet"
risujin stop policing the forum polices and finish that mod

Oh snap!

Rawr

  • Posts: 918
  • Turrets: +1/-1
!layout command, a server-side modification (version 4)
« Reply #48 on: January 04, 2007, 03:47:43 pm »
res, one host i know, rack, would like to try this on his server, but he wants to see the source first. Possible?
img]http://dvclan.org/statsig/statsig.php/3826/4.jpg[/img]

Risujin

  • Posts: 739
  • Turrets: +33/-13
    • http://risujin.org
!layout command, a server-side modification (version 4)
« Reply #49 on: January 04, 2007, 04:47:19 pm »
Quote from: "bazuka_poo"
res, one host i know, rack, would like to try this on his server, but he wants to see the source first. Possible?

There are not one, but two links to the patch in the post. :wink:

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
!layout command, a server-side modification (version 4)
« Reply #50 on: January 04, 2007, 11:47:40 pm »
Isnt there something like !layout show or something that shows the built buildables. What i think he means with the location data is a cell in this that shows (if avalible) the location of the building, in addition to the coordinates.

∧OMG ENTROPY∧

Risujin

  • Posts: 739
  • Turrets: +33/-13
    • http://risujin.org
!layout command, a server-side modification (version 4)
« Reply #51 on: January 05, 2007, 12:25:24 am »
Theres no easy way to show the buildables except by flying around and actually looking at where they are. If you're feeling brave, you can look at the layout file which has all the coordinate data.

robug

  • Posts: 50
  • Turrets: +0/-0
!layout command, a server-side modification (version 4)
« Reply #52 on: January 05, 2007, 07:55:45 am »
Would it be possible to tone back the shove or dretch punt in the next rev.  It is very strong.  As a dretch with tyrants and pouncing goons I find that I am often shoved halfway across the map and on one occation even completely through a human base full of tesla only to land on the other side unharmed.

Risujin

  • Posts: 739
  • Turrets: +33/-13
    • http://risujin.org
!layout command, a server-side modification (version 4)
« Reply #53 on: January 05, 2007, 03:33:59 pm »
Quote from: "robug"
Would it be possible to tone back the shove or dretch punt in the next rev.  It is very strong.  As a dretch with tyrants and pouncing goons I find that I am often shoved halfway across the map and on one occation even completely through a human base full of tesla only to land on the other side unharmed.

Thats a bug with "Balance Lite". I've fixed it but havent released yet. ... also, this is the !layout patch thread, not the "Lite" thread. :)

Rawr

  • Posts: 918
  • Turrets: +1/-1
!layout command, a server-side modification (version 4)
« Reply #54 on: January 05, 2007, 03:38:41 pm »
wasnt quite sure where to put this. but the balance lite you have res, did not work on Rack's server. (Spanish Trem). He got a glitch that basically set it to all default settings with out tjws mod. IE no dretch punt, no tk messages etc etc. There was /share however. He did not like this, then when he took it off, it has the no score error for 2 games.
img]http://dvclan.org/statsig/statsig.php/3826/4.jpg[/img]

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
!layout command, a server-side modification (version 4)
« Reply #55 on: January 06, 2007, 08:51:48 pm »
What i mean is some command like !layout list, that at least gave the name, coordinates of a buildable, and possibly the health and location data.

Also, why no !layout decon or !layout undo.

∧OMG ENTROPY∧

Risujin

  • Posts: 739
  • Turrets: +33/-13
    • http://risujin.org
!layout command, a server-side modification (version 4)
« Reply #56 on: January 07, 2007, 04:52:51 am »
Quote from: "Paradox"
Also, why no !layout decon or !layout undo.

Normal deconstruction works ... even from spectator mode apparently. Undo would be ... complicated.

Greudin

  • Posts: 131
  • Turrets: +1/-1
    • http://tremulous.bricosoft.com
!layout command, a server-side modification (version 4)
« Reply #57 on: January 22, 2007, 10:41:04 pm »
Any admins to share appreciated layouts or I ll do all on my own ? ;) ;)

My 1st layout :
http://maps.bricosoft.com/layouts/

Default locations but a bit packed bases.
url=http://tremulous.bricosoft.com][/url]

vcxzet

  • Guest
!layout command, a server-side modification (version 4)
« Reply #58 on: January 23, 2007, 09:41:19 am »
Quote from: "Risujin"
Quote from: "Paradox"
Also, why no !layout decon or !layout undo.

Normal deconstruction works ... even from spectator mode apparently. Undo would be ... complicated.

noo need for undo
save the last good one
if you didnt like something reload the last

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
!layout command, a server-side modification (version 4)
« Reply #59 on: February 17, 2007, 01:26:36 am »
Dunno if i mentioned this earlier, but a !layout list would be good. It would list all the buildings, their coords, and if available, location data.

Also, a cvar that would be useful, if possible to code, would be g_layoutAutoSave. It could be a duration in MS, so every X amount of time, it automatically saved the layout, without printing a notice. You could add another cvar g_layoutAutoSaveName, and that could specify the saved name, so you could set it to auto, and typing !layout load auto would load the most recent autosaved layout.

∧OMG ENTROPY∧