webdesigner97 wrote:paramat wrote:webdesigner97 wrote:What about being able to hide/show the entity collision_box? When sitting in a car, this box just looks ugly...
You can resize the collision box to be a flat square that sits low in the car, still visible when entering the car but out of the way when driving, here's what i did in my 'mesecar' mod:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
local boat = {
physical = true,
collisionbox = {-0.6,0.75,-0.6, 0.6,0.75,0.6},
visual = "mesh",
visual_size = {x=1,y=1.6},
mesh = "mesecar.x",
textures = {"mesecar_mesecar.png"},
--stepheight = 1.1,
driver = nil,
v = 0,
}
This might work, but still is a dirty solution :/
Kilarin wrote:Put the "creative mode" check box in the "Configure" section so that it will be set for each world separately
Kilarin wrote:What I CANT do is to give the screenshot a name. What would be wonderful would be if hitting shift-f12 (or ctrl or alt, whatever) would not just take a screenshot, but also let the user type in a name for the file.
Sokomine wrote:I'm not sure if entering a filename whenever doing a screenshot would be very comftable when playing the game. Instead, I'd prefer screenshots to be named screenshot_servername_port_date_time.png
Linuxdirk wrote:Just one thing: in-client mod updates. (Mods provide a version number and an update check URL and latest version URL.)
Evergreen wrote:If mmdb takes off, I think that should be a goal.
[info]
name = My great mod(pack)
version = 1.0.2
author = John D. Random
url = http://example.com/my_great_mod/info.php
[depends]
mod_number_1 = >1.0
secondmod = any
third = 3.0 optional
number_four = 2.*
fifth_one = 2.5.4
[update]
interval = 5
check = http://example.com/my_great_mod/version.txt
download = http://example.com/my_great_mod/mod_%s.tar.gzLinuxdirk wrote:Evergreen wrote:If mmdb takes off, I think that should be a goal.
I like the idea of extended meta data more.
Currently we have no version information at all. I think about a meta.cfg for mods/modpacks.Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
[info]
name = My great mod(pack)
version = 1.0.2
author = John D. Random
url = http://example.com/my_great_mod/info.php
[depends]
mod_number_1 = >1.0
secondmod = any
third = 3.0 optional
number_four = 2.*
fifth_one = 2.5.4
[update]
interval = 5
check = http://example.com/my_great_mod/version.txt
download = http://example.com/my_great_mod/mod_%s.tar.gz
[info] allows mod authors to give information about the mod being viewable in client (maybe an image.png as screenshot/logo/icon), includig mod name, author name and an URL for more information about the mod.
[depends] makes it possible to define what other mods the mod depends on allowing < and > for “older than” or “newer than”, “any“ for – any version of the mod, an additional “optional” after the version indicator if the mods only is an optional dependency to the mod and * as wildcard character. The block can be omitted if it’s a mod pack.
[update] contains update parameters. interval is the check-interval in days. After X days the client checks for an update. The URL given for check returns only one string, the latest version of the mod. If the version is higher than info/version the client loads the new mod from the URL given in download and installs it.
addi wrote:your format is ini format, not cfg format.
addi wrote:but json is more dynamical than cfg and also human-readable.
{
"info":{
"name":"My great mod(pack)",
"version":"1.0.2",
"author":"John D. Random",
"url":"http://example.com/my_great_mod/info.php"
},
"depends":{
"mod_number_1":">1.0",
"secondmod":"any",
"third":"3.0 optional",
"number_four":"2.*",
"fifth_one":"2.5.4"
},
"update":{
"interval":"5",
"check":"http://example.com/my_great_mod/version.txt",
"download":"http://example.com/my_great_mod/mod_%s.tar.gz"
}
}Linuxdirk wrote:Why over-complicate it? Prettified JSON would look like this:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
{
"info":{
"name":"My great mod(pack)",
"version":"1.0.2",
"author":"John D. Random",
"url":"http://example.com/my_great_mod/info.php"
},
"depends":{
"mod_number_1":">1.0",
"secondmod":"any",
"third":"3.0 optional",
"number_four":"2.*",
"fifth_one":"2.5.4"
},
"update":{
"interval":"5",
"check":"http://example.com/my_great_mod/version.txt",
"download":"http://example.com/my_great_mod/mod_%s.tar.gz"
}
}
I don’t see any advantage in it. Parsing JSON or INI syntax isn’t that much of a big deal and INI syntax is easier to write.
JSON is awesome when you want to save space when transferring it because you can put anything in one line without spaces (except in the strings if you want them there).
addi wrote:yeah json is a bit more complicated, but its already implemented in minetest
Users browsing this forum: No registered users and 12 guests