Page 2 of 6

Posted: Tue Oct 17, 2006 3:09 am
by Tontow
QUOTE With the combination of Pre/Def settings, funny things can be done.IE:

The Giga Booster Research bugfix ->

Before : After :

-------------------------------------------------------
Booster 1

Pre = 34 Pre = 34
Def = 34 Def = 34
--------------------------------------------------------
Booster 2

Pre = 197 230 Pre= 197 230
Def = 197 Def= 34 197
-------------------------------------------------------
Booster 3

Pre = 194 230 Pre = 194 230
Def = 194 Def= 34 197 194
-------------------------------------------------------

As you can see, the upgraded part now inherits the Def of its precedent techs.
What does it do? Here a scenario :

before:
Booster (2/3) picked -
-and no corresponding techbase built : no booster 1/(2/3) available
-and corresponding techbase built : booster (2/3) available
-and corresponding techbase destroyed : no booster 1/(2/3) available

after:
Booster (2/3) picked -
-and no corresponding techbase built : booster 1 available
-and corresponding techbase built : booster (2/3) available
-and corresponding techbase destroyed : booster 1 available[/quote]

I don't get it, i thought def turned the bits on and pre checked to see if the bits where on in the first place.

Posted: Tue Oct 17, 2006 8:32 am
by Dengaroth
tontow wrote:QUOTE (tontow @ Oct 17 2006, 05:09 AM) I don't get it, i thought def turned the bits on and pre checked to see if the bits where on in the first place.
What Hawk is describing here is a setup in which picking up booster2 gives you access to booster1 as well (which makes sense, in the greater scheme of things, if you think about it), regardless of whether you have a sup (since booster2 is sup tech).

Posted: Tue Oct 17, 2006 12:14 pm
by Hawkwood
Looks like I should continue with the guide /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />

Concerning the spread : Afaik it's sterad , not rad ->
http://en.wikipedia.org/wiki/Steradian

Posted: Tue Oct 17, 2006 12:45 pm
by madpeople
well, i tried something around 12 (4*pi() aprox) and i didn't get omnidirectional

but i did get a higher density at the sides, and less going forward

i only skimmed the steradial stuff, as i have to go to lecture now, but i think i figured it out.

Posted: Thu Oct 19, 2006 3:22 pm
by factoid

Code: Select all

if (m_typeData->dispersion != 0.0f)
{
   float   r = random(0.0f, m_typeData->dispersion);
   float   a = random(0.0f, 2.0f * pi);
   dataProjectile.forward += (r * cos(a)) * pMyOrientation->GetRight();
   dataProjectile.forward += (r * sin(a)) * pMyOrientation->GetUp();

   dataProjectile.forward.SetNormalize();
}
From the weaponIGC.cpp file.

It appears that dispersion is not an rotation off the forward vector, like you original though Mad (and like I would have expected myself). It's instead a multiplier against a random vector which is tangental to the forward arc.

No idea why they did it this way, I can only assume it was so that the max dispersion is guarenteed not to be more than 90 deg.

Posted: Sat Oct 21, 2006 5:00 am
by RadarRider
Is there anyway to PRINT the IGC info in a logical manner via sections or as listed in ICE or we gotta hack it up manually or what?

Thanks Hawk, please keep it coming.--RR

Posted: Sat Oct 21, 2006 10:06 pm
by factoid
http://www.bitbucket.ca/~acheater/alleg/

If you're a python hacker, grab igc.py and coredump.py
It turns .igc files into a collection of .csv tables

Posted: Mon Oct 23, 2006 7:53 am
by DareDevil
factoid wrote:QUOTE (factoid @ Oct 21 2006, 05:06 PM) http://www.bitbucket.ca/~acheater/alleg/

If you're a python hacker, grab igc.py and coredump.py
It turns .igc files into a collection of .csv tables
What is python? Linux-based? I wouldn't mind seeing a chart layout of what's what, but I have no idea what a csv table is either. I keep hearing GOD is setup for dreg to have lots of money, but looks like DN has higher yeild, only slower mining. Dreg Exp must own on GOD because of the speed of the money and hard to hit ints.

Posted: Mon Oct 23, 2006 8:03 am
by Grimmwolf_GB
DD, it has been adjusted and I am waiting for feedback on the changes. GoDII_R2 Dreg was a too rich. If you got further further questions about GoD:
http://www.freeallegiance.org/forums/index.php?showforum=80

Posted: Mon Oct 23, 2006 8:52 am
by Raveen
CSV stands for comma seperated values. It's a basic format for spreadsheets and can be imported into Excel iirc. Python is a programming language a bit like java (expects flames here) in that it can run on many different platforms. In theory you can run Python scripts on your windows PC. I couldn't tell you how though /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />