Chronic Logic Forums

Gish => Gish Editor => Topic started by: c-b on October 05, 2004, 04:02:25 AM

Title: Gish Editor
Post by: c-b on October 05, 2004, 04:02:25 AM
Im really having trouble learning the ropes, literally.

Ok, bad joke. But seriously, I cant get ropes to work the way I want them to, they always end up attached to gish. And never where I actually want them to go.

Is there somthing that Im missing?
Title: Gish Editor
Post by: Jonathan_NL on October 05, 2004, 04:06:53 AM
In the rope editor (F4) you can attach ropes, chains, pistons and bars to objects you created in the object editor (F3). In gisheditor.txt you can find how to create the kind you want.
Title: Gish Editor
Post by: on October 05, 2004, 01:10:17 PM
Wow! This editor is awesome :laugh:
It's really fun playing with it :)

But what exactly are pistons? I haven't had the time to check those out yet...

My first post BTW :)
Title: Gish Editor
Post by: Jonathan_NL on October 07, 2004, 09:31:53 PM
If you know what you're doing it should work.
Title: Gish Editor
Post by: Jonathan_NL on October 05, 2004, 01:15:13 PM
Pistons are extending/contracting springs.
(in reality they're something close to that)
Title: Gish Editor
Post by: on October 08, 2004, 06:48:20 AM
Does anyone know how to connect objects? Like in those levels with a car, and the wheels stay connected to it...
Title: Gish Editor
Post by: Jonathan_NL on October 08, 2004, 12:43:51 PM
With bars.
Title: Gish Editor
Post by: Jonathan_NL on October 05, 2004, 01:46:53 PM
Don't try this at home!

- Add an anchor
- Add a 1x1 block 4 tiles below the anchor
- Connect a push piston from the anchor to the top left anchor of the block
- Connect a pull piston from the anchor to the top right anchor of the block
- Set the mass of the block to 10
- Add an area switch 4 left and 3 down from the block
- Link it from the anchor
- Set the anchor RGB to 100,2,10
- Make the anchor a flickering omni light (because of "NOTE: Anchors with pistons shouldnt be used as lights." in gisheditor.txt)

JONATHAN IS NOT RESPONSIBLE FOR ANY DAMAGE TO TARBALLS, WHICH INCLUDE, BUT ARE NOT LIMITED TO, TARBALLS BEING HEAVY.
Title: Gish Editor
Post by: DonutGuyX on October 13, 2004, 06:54:06 PM
Don't put the texture files in the gish folder- put the texture FOLDERS in the gish folder. That is, put the folders tile01, tile02, tile03, tile04, tile05, tile06, and tile07 in the C:/program files/gish directory (or wherever you installed it). Also put gished.exe in the C:/program files/gish directory. Then open gished.exe, start your game file, select new level, and press f1 to start the editor. You'll probably want to read the readme file that came in the original zip file to learn how to use it.
Title: Gish Editor
Post by: c-b on October 05, 2004, 03:31:29 PM
Ahh, must have be an isolated bug or somthing, wake up the next morning and ropes work as I'd expect them to :/

Fun ;D
Title: Gish Editor
Post by: on October 09, 2004, 03:43:15 AM
Ah, you're right, thanks :laugh:
Title: Gish Editor
Post by: Jonathan_NL on October 13, 2004, 06:54:14 PM
Anyone knows what happens with deformedblock.png?

I use 4 pistons, 2 of which are connected to the left and right pointing up, and the other 2 crossed pointing down. I'm sure my math for R was OK, and GB are exactly the same.

@rammerizkool:
my gish dir on Windows:
Chronic.url
Gish manual.exe
OpenAL32.dll
Patch110.txt
Patch120.txt
README.txt
SDL.DLL
animation/
data/
gish.bmp
gish.cfg
gish.exe
gish.his
gish.pla
gish.rg
gished.exe
gisheditor.txt
level/
music/
replay/
sound/
texture/
tile01/
tile02/
tile03/
tile04/
tile05/
tile06/
tile07/
uninstall.exe
uninstall.ini

So just put everything from the top level of the zip directly in the gish folder.
Title: Gish Editor
Post by: Jonathan_NL on October 05, 2004, 04:26:21 PM
It looks like the location warp zone rects send you to is hardcoded... why?
Title: Gish Editor
Post by: cameleon on October 10, 2004, 08:03:02 AM
Jonathan, for your weird block on pistons, I think you meant an RGB of 2,1,100. If you do that, you get lots of weirdness! One question: are block supposed to be able to stretch? ;)
Title: Gish Editor
Post by: rammerizkool on October 13, 2004, 07:01:27 PM
Quote (Jonathan_NL @ Oct. 13 2004,5:54)
Anyone knows what happens with deformedblock.png?

I use 4 pistons, 2 of which are connected to the left and right pointing up, and the other 2 crossed pointing down. I'm sure my math for R was OK, and GB are exactly the same.

@rammerizkool:
my gish dir on Windows:
Chronic.url
Gish manual.exe
OpenAL32.dll
Patch110.txt
Patch120.txt
README.txt
SDL.DLL
animation/
data/
gish.bmp
gish.cfg
gish.exe
gish.his
gish.pla
gish.rg
gished.exe
gisheditor.txt
level/
music/
replay/
sound/
texture/
tile01/
tile02/
tile03/
tile04/
tile05/
tile06/
tile07/
uninstall.exe
uninstall.ini


So just put everything from the top level of the zip directly in the gish folder.
yeah i have all that stuff,  except the SDL.dll in my gish directory.
Title: Gish Editor
Post by: Chronic Logic - Alex on October 05, 2004, 04:42:44 PM
Most of the story mode stuff is hardcoded right now because I didn't have time to write a scenario editor.  I will write one soon, once someone makes enough good levels for it to be worth it :-)
Title: Gish Editor
Post by: Jonathan_NL on October 10, 2004, 02:21:54 PM
Thanks for noticing the RGB values. Should be 100,2,10.

If objects have less mass they stretch more.
Title: Gish Editor
Post by: Jonathan_NL on October 13, 2004, 07:05:42 PM
Then you can reinstall at a different location, copy SDL.DLL over to the old location and remove the rest.
Title: Gish Editor
Post by: Jonathan_NL on October 05, 2004, 04:52:41 PM
You heard that people? :)

K = show only current layer
678 = warp rects
shift-5678 = darker rects ???
Title: Gish Editor
Post by: Jonathan_NL on October 10, 2004, 07:31:47 PM
Bug: some lights don't show up when zoomed out (try cave1).

Edit: might be a limit on the number of lights.

Edit again: limited to 8. Sorry, no bug.
Title: Gish Editor
Post by: rammerizkool on October 13, 2004, 07:09:20 PM
ok, now im being stupid.  how would i reinstall it?  if i uninstall it, wouldnt it delete all the files for gish?  i dont have a CD of it, i got the download of it.
Title: Gish Editor
Post by: budgiedood on October 06, 2004, 05:35:19 AM
Hi, I'm getting the hang of it now, took me ages to work out to press F5 to make it all work  :p .

Just one question, is there any way of making tumbling blocks kill gish even if he is heavy?

If not, how do I make spikes?

Thanks
Oli
Title: Gish Editor
Post by: DonutGuyX on October 10, 2004, 09:32:00 PM
Bug: Editor crashes if you try to place more than 255 objects in one level. Large levels might need a lot of objects. :)
Title: Gish Editor
Post by: Jonathan_NL on October 13, 2004, 07:22:38 PM
You don't have to uninstall - just install at a different location (I think the installer can?). You can re-download the installer if you have deleted it.
Title: Gish Editor
Post by: Jonathan_NL on October 10, 2004, 09:53:08 PM
Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x7e8b7e10

(as expected)

A byte designating the type (char or short - not int, long long, float, double or anything else you can think of) somewhere at the start and a check should help.

Annoying: when gish is a light source, he has a little dot (reflection) in the middle.
Title: Gish Editor
Post by: rammerizkool on October 13, 2004, 07:31:48 PM
it says its been downloaded too many times.  the only person to dl it after me was my brother, and he had to have his computer ghosted afterwards.
Title: Gish Editor
Post by: budgiedood on October 11, 2004, 04:12:34 AM
Has anyone else been annoyed when you test out a level and die, which makes it exit the editor? Especially when you haven't saved  :(
Title: Gish Editor
Post by: rammerizkool on October 13, 2004, 07:33:40 PM
LOL :D oops!  i just realized that i installed gish to a different directory, LOL.  god im stupid.    there was another gish thing.  omg.  thanks though, guys.  geez im an idiot  :laugh:
Title: Gish Editor
Post by: Jonathan_NL on October 13, 2004, 08:25:45 PM
No you're not. :)

I noticed that pistons move a little bit less than you ask them to. For example, if I printf the result of some double calculations I get 5.935509, rounded up to 5.94 (can't fit more precise in the textbox), but the piston only comes close (about 0.06 tiles) to its supposed destination. The minor impact of gravity would only help it come closer to the destination.

5.94+0.06==6.0, and looking closely that actually seems to happen... not really accurate. I guess this has to do with the my platform problem? (scroll up a bit)
Title: Gish Editor
Post by: viljettv on October 14, 2004, 05:16:09 AM
help

how comes the objects i place (with the F3 editor) dont have a texture?
they are just invisible, but they drop shadows.

i've put all the tile0? folders and gished in my gish folder.

its the linux version.

[edit] yes, i've tried to change the texture with '[' and ']' but nothing happens (it's a bit tricky to figure out the keys, when you don't have an us keyboard :;):)
Title: Gish Editor
Post by: on October 06, 2004, 06:19:27 AM
Is it possible to make messages appear, just like in the first level? Or are those hard-coded too..?
Title: Gish Editor
Post by: budgiedood on October 06, 2004, 08:46:01 AM
I'm sorry about making so many replies, but shall we send eachother our games? I guess email is the only way, so if any of you have made any good ones, please send them to me-
Olivergarland@f2s.com

Thanks
Oli

P.S. I've got a good dragster level for anyone who wants it.
Title: Gish Editor
Post by: on October 06, 2004, 01:14:58 PM
Well, I've made one cool level...
It's kinda a game, there's this bridge, and you have to make as much ropes break without breaking the whole bridge :p
It's pretty fun, I forgot to save it though :(
Oh well, it's not that hard to make it again.
Title: Gish Editor
Post by: Jonathan_NL on October 11, 2004, 04:27:09 AM
You can load backup.lvl then, but yes, it's annoying. Restarting the level instead would be better. Would be nice for collection too...

- How about a strength/mass ratio for objects?
- Density checks should try to find how much of an object is in a dense block, instead of just corners (if I observed that right). There aren't many objects in water after all, so it can't really degrade performance.
- About the char issue with objects: using a short indicating the number of objects and chars or shorts in objects depending on that number would be better than what I said a post ago.
Title: Gish Editor
Post by: Jonathan_NL on October 06, 2004, 04:58:55 PM
- I'd like numbers at lines in the 'T'ileset thingy.
- On Mac laptop keyboards you need to type fn-backspace to get delete. Guess what I want...
- Let a 16x16 table with the tileset (should be clickable) pop up when you hold some key.
- Make a higher resolution let you see more of the level.
Title: Gish Editor
Post by: cameleon on October 11, 2004, 04:29:20 AM
Quote (budgiedood @ Oct. 11 2004,3:12)
Has anyone else been annoyed when you test out a level and die, which makes it exit the editor? Especially when you haven't saved

They thought of that: If you die (or quit the editor) and haven't saved your level, start the editor again, and load 'backup.lvl' (I think, I don't have the documentation in front of me). That should give you back your level. I guess if you edit the new level first, it gets overwritten, so don't do that...

On preview: what Jonathan said.
Title: Gish Editor
Post by: Yodzilla on October 06, 2004, 06:20:15 PM
Maybe I'm just slow, but after unzipping the editor package into my Gish directory, if I click on the GishEd executable, it just opens the normal Gish game.  What the heck am I doing wrong?
Title: Gish Editor
Post by: Jonathan_NL on October 12, 2004, 03:20:07 PM
- Mouse map coordinates aren't scaled to zoom.
- Thanks to the editor I got a negative score. If only the sign would be displayed...
- I want more control over pistons, like muscles in the Sodaconstructor.
- If you are ever going to implement scripting, take a look at Java.
Title: Gish Editor
Post by: Jonathan_NL on October 14, 2004, 08:11:50 AM
Make sure the object is selected, and you should be able to change textures with [ and ]. ] is one key down and to the left from the top right on an US keyboard.

2004-10-14T17:08 Edit: The next page is empty! I think they (Alex/Josiah) haven't seen it yet. See strange forum in miscellaneous. If you post now we'll need another 14 (15-1) posts to get this again.

Same edit: @viljettv: Strange.
Title: Gish Editor
Post by: Jonathan_NL on October 06, 2004, 06:27:41 PM
Why do you think that text file is included? Read it.
Title: Gish Editor
Post by: DonutGuyX on October 12, 2004, 06:16:44 PM
Replays of custom maps don't save!

Also, I can't figure out how to correctly adjust the alpha of tiles with complex shapes, like the lava-wave tiles. Changing the alpha (with 'a') of things like lava or water also removes the transparency, which I would prefer didn't happen.
Title: Gish Editor
Post by: viljettv on October 14, 2004, 08:36:53 AM
the object is selected, ie. it is green. but nothing happens if i press ']'.

i've also tried to send the keypress event via the window manager
and i borrowed an us keyboard from a friend, but no success.

the object seems to exist, because gish can climb on it, but it is invisible.
Title: Gish Editor
Post by: Yodzilla on October 06, 2004, 06:38:31 PM
Oh, I got as far as  the player select screen thinking that was the "player menu".  Sorry  about that.
Title: Gish Editor
Post by: Jonathan_NL on October 12, 2004, 07:17:40 PM
Quote (DonutGuyX @ Oct. 13 2004,2:16)
Replays of custom maps don't save!

Of course they don't; the current replay format doesn't support them. I think they already noticed this.
Title: Gish Editor
Post by: Keatonian on October 06, 2004, 10:48:33 PM
Edit: Oops, answered my own question.
Title: Gish Editor
Post by: Jonathan_NL on October 13, 2004, 11:41:39 AM
IMPORTANT: Some kind of endian trouble with alpha masks on the Mac!
Title: Gish Editor
Post by: on October 13, 2004, 02:55:20 PM
ok, i extracted all the winzip files for the gish editor into my gish folder, but whn i click on it, it says (and i quote) "This application has failed to start because SDL.dll was not found.  Re-installing the application may fix this problem"

do i have to re-download yhe editor?  how come it did this in the first place?  i do NOT want to read 100 something text files, espeically tga (I have photoshop ><).
Title: Gish Editor
Post by: Trog Dor on October 07, 2004, 09:09:36 PM
Quote (Jonathan_NL @ Oct. 05 2004,12:46)
Don't try this at home!

- Add an anchor
- Add a 1x1 block 4 tiles below the anchor
- Connect a push piston from the anchor to the top left anchor of the block
- Connect a pull piston from the anchor to the top right anchor of the block
- Set the mass of the block to 10
- Add an area switch 4 left and 3 down from the block
- Link it from the anchor
- Set the anchor RGB to 1,100,2
- Make the anchor a flickering omni light (because of "NOTE: Anchors with pistons shouldnt be used as lights." in gisheditor.txt)

JONATHAN IS NOT RESPONSIBLE FOR ANY DAMAGE TO TARBALLS, WHICH INCLUDE, BUT ARE NOT LIMITED TO, TARBALLS BEING HEAVY.

I can't get this to work.
Title: Gish Editor
Post by: Jonathan_NL on October 13, 2004, 03:38:52 PM
Quote (rammerizkool @ Oct. 13 2004,10:55)
ok, i extracted all the winzip files for the gish editor into my gish folder, but whn i click on it, it says (and i quote) "This application has failed to start because SDL.dll was not found.  Re-installing the application may fix this problem"

Make sure Gished and the tilesets are directly in the Gish folder, not in a subfolder (like the one it came in).

do i have to re-download yhe editor?  how come it did this in the first place?  i do NOT want to read 100 something text files, espeically tga (I have photoshop ><).
The tgas are just the textures.
Title: Gish Editor
Post by: rammerizkool on October 13, 2004, 06:31:53 PM
yeah, the gished is right under the Gish file, yeah, the actual file...i kinda realized the tgas were textures a bit after i posted.  but hte gish demo (which i kept after i installed Gish for some reason) had SDL.dll and when it ried copying and pasting it into the gish folder, it opened but didnt really do anthing.  the gish folder doesnt have that dll!  WHAT DO I DO!!?!?! AAAAH!  yoink.
Title: Gish Editor
Post by: rammerizkool on October 13, 2004, 06:36:14 PM
oh wait, i misread your post.  so i put all of the texture files like in the gish folder?  the problem is, most of htem have hte same name, what do i do about that?
Title: Gish Editor
Post by: Chronic Logic - Josiah on October 04, 2004, 09:33:31 PM
Notice
The level editor is now included in Gish version 1.3.  Download the full version or the patch to get the level editor:

http://www.chroniclogic.com/index.htm?gishpatch.htm

Post any support issues you have here.  The file gisheditor.txt has instructions for the editor.




Title: Gish Editor
Post by: Jonathan_NL on October 04, 2004, 09:39:13 PM
Gished.app/Contents/MacOS/Gish isn't executable by default. Maybe you should package it in a dmg?
Title: Gish Editor
Post by: Chronic Logic - Josiah on October 04, 2004, 09:41:43 PM
We will do that before the public release.



Title: Gish Editor
Post by: Jonathan_NL on October 04, 2004, 09:50:01 PM
If you can't get it to work:
- Open the Terminal
- Type chmod +x and a space (no enter yet)
- Drag&drop Gished.app on the window
- Complete the path: Gished.app/Contents/MacOS/Gish
- Enter
- Enjoy!
Title: Gish Editor
Post by: Jonathan_NL on October 04, 2004, 10:20:36 PM
- When you click exit in e.g. the tile editor you also 'click' on the tile you are then on with the cursor. Workaround: esc
- Every two times I reload (F9-F7) the level some tile textures (including the alpha channel) are garbage. Am I the only one having this problem?
- ROFL! (tried negative mass)
- Did you know you can zoom in/out with -/+? (CL: can't scrolling speed be proportional to that? And how about several zoom levels, ranging from the whole level to a few tiles?)
- Maybe some gisheditor.txt-like text (only the relevant part) could be shown if you hold down H?
- Q:How do you get the slowest level in the world? A:Add 20 circles and connect them to each other.
- If you want to go to the start quickly, go to sim (F1), press F5, and immediately go to the editor again (F1).
- Crashes at 5.0 drag...
- Those pistons are strangely fun!
- Try asynchronous pistons!
- Annoying: you can click on (not through) a 0% opaque part of the 'palette'.
- Why are there three textures for bars/pistons which all look the same?
- Fast scroll would be handy.
- ... and a "center on this tile" key.
- Is it just me or did extra lives become tiles with a border?
- Depending on their mass objects are underwater or not, but there's nothing in between!

I like that editor...

P.S. This is the zillionth edit.
Title: Gish Editor
Post by: DonutGuyX on October 04, 2004, 11:06:30 PM
This editor is great! Expect strange things in the future...  :)
Title: Gish Editor
Post by: budgiedood on October 05, 2004, 02:07:01 AM
Oww, when I click on "new level" it just comes up with a boxy thing which i can move around in. HELP! :(
Title: Gish Editor
Post by: c-b on October 05, 2004, 02:10:34 AM
gisheditor.txt has the majority (If not all) of the info on gish editing you'll ever need.

Hint: Third line :P
Title: Gish Editor
Post by: budgiedood on October 05, 2004, 02:18:37 AM
Thanks, i saw it just after i posted  :p
I still dont get the editor, I'm not really a big computer guy but I'm sure I'll work it out.
Oli
Title: Gish Editor
Post by: Jacius on December 15, 2004, 07:05:59 PM
(I don't know if this reply will work or not, as I can't view page 5 of this thread)

The links to download the editor (on the first page of this thread) no longer work. Is the editor supposed to be included with the 1.3 patch? I don't see it in gish_1_3_patch.tar.gz.

-Jacius
Title: Gish Editor
Post by: Jacius on December 15, 2004, 07:21:22 PM
Oh, it's built into the game now. Fancy ;)

(For other people who ask the same thing: Start Gish, select "Start" on the front menu, choose a player, and then choose "New level". This will put Gish in a rather bland room. Press F1 to start/stop editing the level)