Hi, i just imported a big 3d building into the dim3 editor and i want to put out a starter point for the player, but i dont know how! I also wonder how i can change the texture of the building. Right know its all standard stone look-alike, so i want to change the textures of it. I also wonder how i can take away all the standard screen paste like health and ammo and all that.
Hello, and welcome to the forum.
To add a spawn point for the player, simply click the "New Spot" button. A small box shaped item will appear, a blank "spot". Place the spot where the player should spawn, and then double click on the spot. You will now see the spot options.
Set them to this:
Name: Start
Type: Player
Script: Player.js
And that should be it.
To change the texture of a mesh or polygon, select it, then click on the texture in the texture window.
To import a texture into said texture window, doubleclick on an empty texture slot and a texture settings dialog will come up.
You can select the texture there.
Thanks all, it worked great! But the building is not solid, you can walk right trough it. Does anyone know how i can make it solid? Also how can i take away the hud?
Making the building solid... depends on how you imported it.
What version are you using? Are you using the newest beta? When importing it there as a mesh, it should work fine.
To remove the HUD, remove all the images that belong to the HUD from Data/Settings/Interface.xml and all the lines that refer to them in the player script.
http://dim3.pastebin.com/f7fad621f This is an example interface.xml
http://dim3.pastebin.com/ffc996e9 This is an example player script.
Making the building solid... depends on how you imported it.
What version are you using? Are you using the newest beta? When importing it there as a mesh, it should work fine.
To remove the HUD, remove all the images that belong to the HUD from Data/Settings/Interface.xml and all the lines that refer to them in the player script.
http://dim3.pastebin.com/f7fad621f This is an example interface.xml
http://dim3.pastebin.com/ffc996e9 This is an example player script.
I have deleted the interface.xml but i dont know witch parts in the player script i shoud delete. Maybe you can show me.
I posted an example script.
Basically you have to delete all the lines that begin with "iface.", except the "iface.console.write" lines. Those don't matter.
I hope you didn't delete the whole interface.xml. That would be bad. O_O
I posted an example script.
Basically you have to delete all the lines that begin with "iface.", except the "iface.console.write" lines. Those don't matter.
I hope you didn't delete the whole interface.xml. That would be bad. O_O
I deleted everything starting with iface and i now get this error: dim3 Fatal Error
335:syntaxError: missing ; before statement
You probably deleted a ; at the end of a line somewhere by accident.
Check line 335 and a few above/below.
Thank you so much, if you want ill send you a copy of the game later.