Support
Strange parameter “worldedge” in schemes.ini
Hi! I have found a strange parameter in my schemes.ini, called “worldedge”.
It is not mentioned on <http://code.google.com/p/hedgewars/wiki/ConfigurationFiles#Weapons.ini:>.
Funnily enough, this parameter appears grouped with all indices at the bottom, for example:
1\worldedge=0 2\worldedge=0 3\worldedge=0 4\worldedge=0 5\worldedge=0 6\worldedge=0
(etc.)
In my case, the parameter always has the value “0”.
Now my question: Where does this parameter come from and what does it mean?
(RESOLVED) Need help for my new script “Strategy”
Hi, I was playing around with a new script, which I call “Stragegy”.
It’s a very simple one but with some significant changes:
When you use a girder, a dirt ball, a land cannon or a resurrection, your turn ends.
The idea is that you have to use these tools strategically. Either use one of these tools *or* attack, but you can’t have both anymore. The script is intended to work with all kinds of schemes.
Here’s the code of the script:
do
HedgewarsScriptLoad("/Scripts/Locale.lua")
--[[ “100” is a placeholder until I am able to
query the game scheme’s retreat time.
]]
local retreatTimePercentage = 100
function onGameInit()
Goals = loc("Girders, dirt balls, land cannons and resurrections end your turn!")
end
function onGearAdd(gear)
local gt = GetGearType(gear)
if(gt == gtSnowball or gt == gtLandGun or gt == gtGirder) then
endTurn(3000)
end
end
function onGearDelete(gear)
if(GetGearType(gear) == gtResurrector) then
endTurn(3000)
end
end
function endTurn(baseRetreatTime)
SetState(CurrentHedgehog,bor(GetState(CurrentHedgehog),gstAttacked))
TurnTimeLeft = div(baseRetreatTime * retreatTimePercentage, 100)
end
end
How to install: Copy and paste this into a new file, call it “Strategy.lua”. Put it into %your_Hedgewars_directory%/Data/Scripts/Multiplayer.
Now this script works already fine for resurrection, dirt ball and the land cannon.
After using these weapons, you have a retreat time of 3 seconds and after that, your turn ends.
But the script fails for girders. When you place a girder, the timer also jumps to 3 seconds but you are still able to use weapons. I don’t see what is wrong here.
Also retreat time is handled subobtimal. The retreat time will always be 3 seconds; the game scheme’s retreat time percentage has no effect.
Something called “INFOBOT” lurks in the lobby …
Hey, I noticed that something called “INFOBOT” lurks in the lobby and people are writing stuff with “.memo” and stuff.
Can somebody please explain me what’s up with this INFOBOT?
PS: CAPTCHA HATE HATE HATE HATE HATE! :O
Argh! Help Me!
I signed up for the Soppa Tourney!
But i am not aviable for any mathces apart form those on US Saturday or NZ sundays...
Any help for me to compete or something and also for those in a similar situation
Looking for a link to a map
And precisely this is.
http://www.hedgewars.org/node/3528
But the link has expired. You know where you can download this map?

