General discussion

Can I play Hedgewars on Windows against my friend who uses Linux mint online?

Hi everybody, I am glad to be a member of this forum. Im looking forward to getting to know this community!
I have a question as title, someone can answer me.Thank you in advance

Hedgewars LUA Translation Tool

Heh. I randomly decided to finally catch up with translating HW 0.9.24 and while doing LUA translation again, I thought: "hey, it could be easier". So I made this tool. It's not yet finished, but since it happened so suddenly, I won't probably be finishing it now (unless I randomly decide so XD), so I'm just showing current progress (it's usable tho).

The main idea is that each line in LUA translation file has a comment that gives a clue where it comes from. So I used to group them and also added some indicators which group has untranslated strings and how many of them is left. There's even a button that jumps to next untranslated string and a button that automatically copies the original text for you. It's bothersome to do this in text editor, so my tool aims to make it as efficient as possible. Here's how it looks right now:

The tool is right now in beta state. If no one finds a bug in a month, I will consider it stable :v

Here's download:
Windows Version
Linux Version
Source Code (MIT license)

Shortcut list for easy navigation:
[ALT] + [Left] - previous line
[ALT] + [Right] - next line
[ALT] + [Down] - next untranslated line
[CTRL] + [E] - fetch original text
[CTRL] + [S] - save changes to current line
[CTRL] + [SHIFT] + [S] - save translation file

Oh, right. The app is made using Godot game engine. It's so cool that I recently switched to it as my game making tool and now I even started using it for applications. I'm thinking about remaking my theme editor for the second time XD

cake bomb is unfair

yeah! i hate this weapon... everyone can win with it...
no brain is necessary to kill with it...
please remove or at least reduce this weapon or not make it default...
click link: https://bit.ly/2zYxBpp

[Request] function WriteLnToChat(string, timer, color, hideONuser) end

function WriteLnToChat(string, timer, color, ONplayer) 
	local parameter = {
		string = "Message input",
		timer = "Display duration of the message",
		color = "Color of the message",
		ONplayer = {"player1", "player2", "player3"} or {"allplayer"}--,
	}
end

I hereby request (another) change for the current
function WriteLnToChat(string) ; chunk ; end
To a newer function with more capability such as color args (is this over-demanding, dear devs?). I feel it deserve more ability since I request the
function onChat(msgParam, timer, color, hide, ...) ; chunk ; end
So it could collaborate more efficiently in the future.

Also this time it has 'ONplayer' param meaning it works like the 'Team Chat (key: "Y")' which display the entered message to user with the same clan only (too bad we have no such feature like 'Player Private Message' (PM?) although many people ask how to do private message, poor ppl). It won't be so complicated to add, right? As if combined with onChat function I believe creator gain a better way to design their HW script in the future.

Boring PS: Its not a mandatory to make the newer function this way, it just a design suggestion, not a police. Let's say this line a hundred more times...

Thank you for your time, have a nice day/night ^^

[Request] function onChat(msgParam, timer, color, hide, ...) end

function onChat(msgParam, timer, color, hide, ...)
	parameter = {
		msgParam = "Chat input",
		timer = "Set display duration of message",
		color = "Set chat color in the chat log, if not hidden",
		hide = "Hide chat in the chat log",
		... = "vararg exp; Insert more parameters here"--,
	}
end

Yeah ukr: I request another function that for my perspective is quite essential for creating greater Lua script in Hedgewars. Imagine a gameplay system using chat only, or the more compact one. It'll be a hella lot easier to do specific things IMHO. There's should be an infinity possibility next up if devs would implement such function.
(e.g: Cheat-Codes, Debugging, Developer's Only-Code, etc)

Now imagine blocking such words from gameplay with this function
(e.g: Penisula, Uranus, Vegane, Duck, Beach, Sitting, Crop, Fork, use That Hoe Over There, Porthub, Six, and the other 100s most used English word *derpface*)

*Insert more potential usefulness of this function here*
(e.g: *Insert examples here*)

PS: Of course it's not a mandatory to name this function as "onChat", its just a design suggestion, not a police, and this is repeated over and over ikr.

Thank you for your time, have a nice day/night ^^

Syndicate content

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]