This isn't so much of a request, but more of a query. Why is windspeed capped at a maximum of 25? There's a fair few maps which have higher max windspeeds than 25 but can't go higher because of the cap.
Why is there a cap and if nobody knows, could we remove it?
Question: Why cap windspeed?
Moderator: Moderators
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
Re: Question: Why cap windspeed?
it's not an engine's cap, it's a mod's cap:
solution: set windGenerator tags in the mod to huge numbers
engine code that uses it:grep -R windGenerator BA712/*
BA712/units/corwin.fbi: windGenerator=25;
BA712/units/armwin.fbi: windGenerator=25;
Code: Select all
if (unitDef->windGenerator > 0.0f) {
if (wind.GetCurrentStrength() > unitDef->windGenerator) {
AddEnergy(unitDef->windGenerator * 0.5f);
} else {
AddEnergy(wind.GetCurrentStrength() * 0.5f);
}
}
Re: Question: Why cap windspeed?
Oh ok, thanks. I should probably play something other than BA 

- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Question: Why cap windspeed?
In CA you can set the windspeed in the modoptions when you host. Set it to 7000 if you want energy so bad.
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Question: Why cap windspeed?
I thought wind speed wasn't even an engine value but is set up in mods/games via lua. Is this still the case?