4089: Ghost Within

4089: Ghost Within

Basalt's second room
Hello,

This is my second room. As always, feedback is much appreciated. This room requires some custom textures (not all are used in this map, but I've made a single bundle for future maps. Also, feel free to use them yourself). Please find them here[drive.google.com]. Code starts after this sentence.

##portals
connection=-2,1,-16,4,4,0
connection=-2,1,16,4,4,0
connection=16,9.5,-2,0,4,4
connection=-16,9.5,-2,0,4,4
connection=-1,16,-1,2,0,2

##outline
include=Rooms/Includes/floor.txt,0,0,0,0,0,0,31,0.4,31
include=Rooms/Includes/light-corners.txt,0,0,0,0,0,0
include=Rooms/Includes/ceiling02-door-vent.txt,0,0,0,0,0,0

#walls second floor
[solid]
model=Models/cube.obj
pos=-15.75,0,0
size=0.5,6,31
texture=Textures/wall02.png

[solid]
copy_from_last
pos=-15.75,6,9
size=0.5,10,12

[solid]
copy_from_last
pos=-15.75,6,-9
size=0.5,10,12

[solid]
copy_from_last
pos=15.75,0,0
size=0.5,6,31

[solid]
copy_from_last
pos=15.75,6,9
size=0.5,10,12

[solid]
copy_from_last
pos=15.75,6,-9
size=0.5,10,12

#walls first floor
[solid]
model=Models/cube.obj
pos=0,6,-15.75
size=31,10,0.5
texture=Textures/wall02.png

[solid]
copy_from_last
pos=9,0,-15.75
size=12,6,0.5

[solid]
copy_from_last
pos=-9,0,-15.75
size=12,6,0.5

[solid]
copy_from_last
pos=0,6,15.75
size=31,10,0.5

[solid]
copy_from_last
pos=9,0,15.75
size=12,6,0.5

[solid]
copy_from_last
pos=-9,0,15.75
size=12,6,0.5

##bridge
[solid]
model=Models/cube.obj
pos=0,8.75,0
size=32,1,4
top_texture=Textures/basalt-square-green.png
side_texture=Textures/wall02.png
bottom_texture=Textures/wall3.png

[solid]
copy_from_last
pos=0,0.25,0
size=4,0.5,32

[solid]
pos=-11.5,7.25,0
size=4,3,8
rotation=0,1,2
model=Models/slant_box.j3o
top_texture=Textures/wall0.png
side_texture=Textures/wall02.png
bottom_texture=Textures/wall2.png
edge_texture=Textures/wall3.png
strength=150

[solid]
copy_from_last
pos=11.5,7.25,0
rotation=0,3,2

##deco
[solid]
model=Models/cube.obj
pos=-15.5,0,2.5
size=1,16,1
texture=Textures/basalt-border-green.png

[solid]
copy_from_last
pos=-15.5,0,-2.5
size=1,16,1

[solid]
copy_from_last
pos=15.5,0,2.5
size=1,16,1

[solid]
copy_from_last
pos=15.5,0,-2.5
size=1,16,1

[solid]
copy_from_last
pos=15.75,14,0
size=0.5,2,5

[solid]
copy_from_last
pos=-15.75,14,0
size=0.5,2,5

[solid]
copy_from_last
pos=2.5,0,15.5
size=1,16,1

[solid]
copy_from_last
pos=-2.5,0,15.5
size=1,16,1

[solid]
copy_from_last
pos=-2.5,0,-15.5
size=1,16,1

[solid]
copy_from_last
pos=2.5,0,-15.5
size=1,16,1

[solid]
copy_from_last
pos=0,0,15.5
size=4,1,1

[solid]
copy_from_last
pos=0,0,-15.5
size=4,1,1

[solid]
copy_from_last
pos=0,5,15.75
size=4,1,0.5

[solid]
copy_from_last
pos=0,5,-15.75
size=4,1,0.5

include=Rooms/Includes/light-sphere-big-random.txt,0,9.4,8,1,1,0,0.75
include=Rooms/Includes/light-sphere-big-random.txt,0,9.4,-8,1,1,0,0.75

Ultima modifica da Basalt; 30 gen 2015, ore 14:49
< >
Visualizzazione di 1-4 commenti su 4
Huh. So you can use resources from lib/assets.jar, interesting. They don't get replaced by resources in mod folder though(
Nice room, seen it connect to your first one just fine.
Did you know, that you can make parts of your .png textures partially transparent, and they will get randomly colored if you add alpha_tint_map=yes when defining a [solid]? So you could have one randomly colored basalt-square.
Thanks for your feedback! I've just started learning Java last week... what did I do with lib/assets.jar? I didn't use that on purpose, at least. Is it because i run it on a Mac? Does it cause problems?

Also, thanks for the advice on the random generated colour. I think I will use that in the future.
I was talking about this:
Messaggio originale di Basalt:
[solid]
pos=-11.5,7.25,0
size=4,3,8
rotation=0,1,2
model=Models/slant_box.j3o
top_texture=Textures/wall0.png
side_texture=Textures/wall02.png
bottom_texture=Textures/wall2.png
edge_texture=Textures/wall3.png
strength=150
slant_box.j3o isn't in 4089/Models, but in 4089/lib/assets.jar/Models. I didn't know it was possible to use those.
Ultima modifica da hipp0cat; 31 gen 2015, ore 4:56
I saw it being used in the Includes file ramp.txt. Just figured I could use it as a regular [solid] as well :)
< >
Visualizzazione di 1-4 commenti su 4
Per pagina: 1530 50

Data di pubblicazione: 30 gen 2015, ore 14:47
Messaggi: 4