BraXi

Founder
  • Content count

    684
  • Joined

  • Last visited

Everything posted by BraXi

  1. For the next time please mark the topic with [cod2] tag or something so we know that in future. And again, if it's cod2 instead of "raw" search for that file in one of .iwds edit: it's in iw_07.iwd
  2. see raw\radiant\keys.txt :dave:
  3. Range Min/Max - The radial distance from players eye to effects' bbox in which the effect will be rendered Fade in Min/max - The distance in which effect will fade in from invisibility Fade out min/max - The distance in which effect will fade off to invisilibity (and stops being rendered, bruh) Disable far plane culling - If true, the effect will be rendered even if the player cannot see it (helps for large FX - think of giant "nuke mushroom") Blocks sight - Blocks AI from seeing players through the particle effects (for AI, COD4SP) Draw with viewmodel - Unknown Sort order - Rendering order of the effect (ex. the effect will be added(projected? cant find a proper word) onto a water surface) :davesir:
  4. OHGOD it's iMtroll giving advices in coding section :horror: HE'S GIVING HIS ADVICES "THE BOSNIAN WAY" :horror: oh and gamemodes.txt is in csgo and not cod4 ;_;
  5. .. and then there's :dave: Happy bday nub!
  6. There's a reason why are we on forums, post it once and for all instead of sending PM.
  7. wait :wat: are you IMPLYING you're not an xbox fag undercover in this superior pc community? :troll:
  8. I just had to dust off my old pc and run CoD4 with and without r_detail 0, no improvment at all, please test dvars before pretending that they improve fps. CoD4 settings: 640x480 fullscreen, all low, shadows disabled, Pixel Shader 2 codepath, com_maxfps 125, com_hunkmegs 1024 + your config, also without miles/mssmp3.asi to actually be able to run the game but without .mp3 support PC Specs: CPU: Intel Celeron 3Ghz, 512kb cache, S478, single core GPU: NVidia Geforce GT6200 128MB GDDR1 AGPx8 / Nvidia Geforce 7600GS 256MB GDDR2 AGPx8 RAM: 1x1GB + 1x512MB DDR1-400 CL3 OS: Windows XP SP3 32bit Driver: Nvidia legacy driver version 91 Funfact: I made deathrun on even slower PC with ancient CPU which was AMD Athlon XP 2600+ from 1999 year and it's been UNDERCLOCKED to 1866mhz due to mobo replacement which didnt support CPUs with clocks higher than 1.9ghz :awesome:
  9. How about mods/admins start banning such retards? :dave:
  10. then you don't have raw, instead open one of the last .iwd files in your main and extract scripts
  11. see under raw/maps/mp/gametypes. Everything that starts with "_" in name is an utility, the ones that are missing that are gametypes (sd.gsc, war.gsc, hq.gsc, etc). Each gametype is made of two files plus a common "logic": mygametype.gsc - gametype script mygametype.txt - a file, usually, referencing to gametypes name in localized string (for example "Search & Destroy" above mapname during loadscreen) _globallogic.gsc - commonly used code by all gametypes present in vanilla CoD4:MW When adding a new gametype don't forget to insert the name of your new gametype in _gametypes.txt, no mod tools are required tbh, just pack your new files in an .iwd
  12. .. and have fun reinstalling windows #BosnianTellingCrapAgain :dave: How that "anti-piracy" bussiness works: Some law company finds random IPs Then they make a case on court acusing owners of these IP adresses of piracy/copyright infrigment, but due to lack of evidence it gets dismissed That company asks court for documentations from dismissed case to get your personal information (name, surname, address, etc) They send you a letter with bill to pay, which is NOT legally binding 1.If you're stupid you'll pay the bill and thus admit that you've pirated software/movie/music/etc, it will NOT protect you from legal actions against you, now publishers/authors can sue you. 2. You ignore the letter and bill and be happy
  13. I like the detail, lighting and use of visual effects in your map and I respect your hard work, but other than that I don't like the layout. reps for your work tho!
  14. I guess thats why Bear told you nested arrays are _sometimes_ bad https://en.wikipedia.org/wiki/Loop_interchange#Caveat
  15. the laziest way is to use qsort(), copy your arrays, sort them with qsort and... profit? the faster way is getHighestValue( float **array, unsigned int xSize, unsigned int YSize ) { float highestVal = 0.0f; unsigned int x, y; for( x = 0; x < xSize; x++ ) { for( y = 0; y < ySize; y++ ) { if( array[x][y] > highestVal ) highestVal = array[x][y]; } } return highestVal; } void test() { float v1, v2, diff; v1 = getHighestValue( array1, 10, 10 ); v2 = getHighestValue( array2, 10, 10 ); if( v1 == v2 ) { printf( "both arrays have the highest value of: %f \n", v1 ); return; } diff = v1-v2; if( !diff ) diff = !diff; printf( "the diference between two highest values in arrays is equal to: %f \n", diff ); } nou https://youtu.be/d27gTrPPAyk?t=58
  16. At least his cache access prediction never misses #gottafindthegoodsides :awesome:
  17. You could improve your loops by simplifing them where possible this: //Calculate next grid fill. Multiply by .25 because faster than division by 1/4. while (iterations != 0) { for (i = 1; i <= 9; i++) { for (j = 1; j <= 9; j++) { array2[i][j] = ((array1[i-1][j] + array1[i+1][j] + array1[i][j-1] + array1[i][j+1]) * 0.25); } } aTemp[i][j] = array2[i][j]; array1[i][j] = aTemp[i][j]; iterations--; counter++; } becomes: for (; iterations != 0; iterations--, counter++) { for( i=1; i<= 9; i++) for (j = 1; j <= 9; j++) // no need for { } when a looped code contains just one ";" array2[i][j] = ((array1[i-1][j] + array1[i+1][j] + array1[i][j-1] + array1[i][j+1]) * 0.25); // !!! these two are probably your bugs - you're using [i][j] outside of f/f loops !!! // THEY ARE ALWAYS: // aTemp[9][9] = array2[9][9]; // array1[9][9] = aTemp[9][9]; // oh, and are you sure you need aTemp (not referenced anywhere but here) to set a1 to a value from a2 [array1[9][9] = array2[9][9]]? and why are you doin' that? (im 2 sleepy to re-read your 1st post) aTemp[i][j] = array2[i][j]; array1[i][j] = aTemp[i][j]; } My personal note: I'd probably replace i/j with x/y as it's more "2d" ;> :no:! is the way to deal with your posts :angryarnold:
  18. IDI TI NA HUI JOBANY W ZOLHU :ANGRYARNOLD: VODKA. STALIN. BALALAIKA. :ANGRYARNOLD:
  19. It's not even a proper config and definitely won't make your FPS higher, do you know you could change all of these (except cheat protected dvars which wont work in mp) in the graphic options menu? :dumb: If it ever was made to 'improve fps' then why is r_drawdecals & r_detail 1? :wat: I'd say stop posting shit you've copied from other forums when you basically just up your post count making such trashy topics all over the forums
  20. in case you don't know, i'm the cykaman (but you don't have me on steam) :troll:
  21. Both are overpriced as fuck and you should forget these offers. I'm not saying G3258 is bad, it's actually quite good but it's unacceptable to have this cheap CPU with one of cheapest Z97 mobo - it is a ripoff. +1 to brrrbrr edit: Had to downvote bosnian for his crap PC advices... again. AMD (with no OC) will be quite a lot cooler than Intel, thanks to the shitty thermal compound under heat spreader on every single intel cpu since core 3rd gen. G3258 is rated ~55 TDP, meaning even a box cooler can keep it in good temp. after OC to even 4.3GHz. A cheap cooler with 2 heatpipes for £10 will also keep it quiet. On last note, so far DDR4 is slower than DDR3 - just see these goddamn insanely high timings. Edit2: "Stealth Package" for £760.12 vs. this lulz build (no case included, but these are cheap anyway, don't take this build sirius plox): DECENT 500 GB SSD, BECAUSE WHY NOT :angryarnold: JUST A LITTLE BETTER GPU TO DEMONSTRATE HOW THEY'RE TRYING TO RIP YOU OFF FROM YOUR DO$H :angryarnold: A LOT BETTER PSU AND NOT SOME NO-NAME SHIT :angryarnold: NOT LIKE YOU'D NEED SO MUCH POWER :angryarnold: COSTS £323 LESS :angryarnold: SO YOU CAN ALSO GRAB A CPU COOLER, A CASE AND BUY ARNOLD A DRINK :angryarnold: ... just kidding, ARNOLD DOESN'T DRINK! grab I5-4690k and not Pentium and GTX970 :angryarnold:
  22. looks crap :dave: i can do better in paint :dave:
  23. but it's just a texture :wat: ontopic: how about you blend texture1 with texture 2?
  24. Bosnian, do you know what is a "killstreak"? :dumb: