BraXi

Founder
  • Content count

    684
  • Joined

  • Last visited

Everything posted by BraXi

  1. cod2 is already ~11 years old, people still play it Am I one of the only people thinking BO3 has no way to beat CoD4 on PC? Factors due to which BO3 will not succeed even with mod/map tools (before you go drama and post "but mods will fix that!" at least finish reading the lists): the most important - shit optimization casual gameplay map design game modes requiring you to camp and farm killstreaks in order to win servers are limited to 24 (or less) players lack of weapon balance game is priced at a ridiculous 60eur paid DLCs, fragmented community, see what happens annualy with any newer cod (ppl just stop playing previous games and move on to a newer) will probably not have linux dedicated server files thus not so many people are going to host servers (i assume that due to fact MW3 had no linux dedi files either) is on steam which is a plus as all players are on the latest patch mod tools will most likely be limited in one way or another and will not let people implement DLC content in mods and maps uses VAC Now, let's compare that to CoD4: you could play cod4 on a potato quite a few maps designed for competitive play (crash,vacant,strike,citystreets........) pretty balanced game modes where killstreaks arent too op (but some perks on the other hand....) servers up to 64 players (officialy to 32 but well) balanced weapons (with a few small exceptions-P90 anyone?) game was cheap on a release, and now it's at trash price all DLCs free, player base is not split between DLCs, see point #9 linux dedicated server files, majority of cod4 servers are on linux people playing one of various (1.0-1.7) available versions of the game mod tools allow to edit pretty much anything except behaviour hardcoded in engine (but then there's cod4x) uses PB Of course, mods may fix some of the BO3 issues but overwhelming majority of players will be still playing unbalanced, casual games on public ranked servers. Also, BO3 is less likely to be considered a competitive game even if it had promod due to poor performance and crap networking. CoD4 became a viable multiplayer FPS due to it's innovation, it's good graphics and performance at its release and great map designs, none of which apply to BO3. BO3 will most likely end up like WaW - people going to play custom zombie maps. Edit: please also consider the dominant FPS games nowadays that put BO3 into a niche (CoD4 was the #1 FPS of it's time and had no real competition): BF4 with it's cheap premium, free maps released from time to time and established community, the go-to fast action military game CS:GO with it's excellent optimization and networking, great competitive play, gigantic player base, mods and custom maps ARMA3 & GMOD - the modding heaven, if you haven't seen mod X in a game Y, you can be sure these mods were first in these 2 games TF2 - free, modding friendly with large playerbase Overwatch? The incomming FPS from Blizzard which seems to look good
  2. Probably soundalias for "gate_open" is map specific, change it to all_mp
  3. I am not a diviner to guess what have you done .
  4. lossy you litte whore give them back their beloved hands or face uprising, kek.
  5. it's a script_radius entity with contents flag set to 1 #edit: told @Lossynub how to fix that.
  6. remove map from rotation?
  7. You... you've quoted me again! :angryarnold:
  8. Glad it works, but please don't quote long posts, there's no need to :dave:
  9. No need to! :awesome: > had to wake up and pee > got tempted to see how shitty my code was > it was shitty shit, indeed > couldnt sleep > fixed my shit :davesir: here's the fixed and tested code :dave: #include <string> #include <stdio.h> void todate(char *line) { static const char *months[] = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" }; int date[3]; // day, month, year char tokens[3][32]; int i, x = 0; int token = 0; memset(&tokens, 0, sizeof(*tokens)); //initialize char arrays as they're most likely populated with trash for (i = 0; i != strlen(line)+1; i++) //we're iterating through the whole line char by char to find delimeters, either - or / { if( token >= 3 ) break; // we're out of dd/mm/yy char ch = line[i]; if (ch == '-' || ch == '/') // found delimeter { tokens[token][x] = NULL; //null termination is a good practise :> token++; x = 0; continue; } if( x >= 32 ) continue; // make sure we don't cause segfault due to OOB len tokens[token][x] = ch; x++; } for (i = 0; i != 3; i++) // go through the raw date[] { char *str = tokens[i]; date[i] = atoi(str); // convert string to integer if (i != 1) continue; //not a month so go back for (int j = 0; j != 12; j++) // loop through 12 months to see if month was written with letters { if (_stricmp(str, months[j]) == 0) //match, strcasecmp() on unix, we assign integer for a given month name { date[1] = j+1; break; } } if (date[1] > 12 || date[1] < 0) //make sure we've got correct month date[1] = 1; } printf("input: %s\n", line); printf("day: %i\nmonth: %s\nyear: %i\n\n", date[0], months[date[1]-1], date[2]); } int main() { todate("12/12/2015"); todate("12-5-2015"); todate("12/8-2015"); todate("12/august/2015"); system("pause"); return 0; } and here's the noice output: ps. I've left you a few small bugs and one perf issue, that's an exercise for you to find them :dave: bear the nub will bitch about them as soon as he reads this post :troll:
  10. disclaimer: i should be fookin sleeping now and i cba to test it myself disclaimer2: i didn't even read your 1st post and appears i have coded an useless snippet :okay: edit3: :dave:
  11. You cannot animate models in MP, instead either split the flak88 cannon into two parts, the barrel (which you'd likely want to rotate), and the rest of it which you wont. To code a turret you'd most likely want to rotate it in targeted location and then simply spawn the bomb shell at the end of barrel and make it move& catch colision :dave:
  12. you know it's hardcoded in engine, right? Although you can split the model in two, and code your own turret in gsc.
  13. you're still spreading misinformation just like bosnian, the rotu mod was made mostly by bipo and with help from me and the others including viking, etheross, mr-x and a whole bunch of people :horror: You probably meant Viking's KTK mod where he used such method :davesir: It's nothing more than keeping a backup of the most important stats such as rank, xp and unlocks in a diferent place, and verifying them against the "real" stats, but since most of the admins are wannabes, they don't even configure it properly in server config. anyway, the method can be found in: https://github.com/BraXi/CoD4_DeathRun_1.2_Mod/blob/master/deathrun_dev/braxi/_rank.gsc#L92
  14. no u #TheDownvoteStream
  15. Fov

    self setClientDvar( "cg_fovscale", self getStat(<fovscale_stat>)/100 ); [....] // in menu setFovScale( fovscale ) { self setStat(<fovscale_stat>, fovscale*100 ); self setClientDvar( "cg_fovscale", fovscale ); } [....] self setFovScale( 1.15 );
  16. I wouldn't say we're racist, we've always been mostly monolithic with about >85% of poles and miniorities such as muslims (tatars), gypsies, koreans, judes, ukrainians and russians living in some places in poland. the thing is even our tatars are strongly opposed to accept 'refugees' (it's illogical to say they or we are xenophobic).
  17. sure, let's do nothing, what can go wrong
  18. Your prayers have been listened! Your and thousands of others with pictures of french flag has made ISIS back off and surrender. Western Europe why are you so silly and stupid? ;_; What is even the most stupid thing I've ever seen, and I guess there couldn't be anything more stupid than this, is that the next day after terrorist attack in paris were demonstrations of people wanting france to stop accepting refugees but it's been stopped by those who are pro-imigration even through the day earlier they were crying due to it's consequences. What we've seen in France is an example of stupid ideology of letting pretty much every refugee in without checking identity of each person crossing the EU border. Well, how the fuck we still call them refugees, maybe 10% of them are really seeking for help, the others are not even from countries burried in war and only want to get grants and/or are terrorists. :whistle: And to prove I'm right, if they were all seeking for help their destination wouldn't be just france, germany, england and other rich countries but pretty much any where they could get help (not a fucking money). Some of refugees asked if they would stay in Poland if we accepted them have stated they would still cross the border and get to Germany due to higher grants :dave: Some even said 500eur/person (2300pln+) our gov offered to them is "too little to survive", but tbh in Poland it's pretty much a lot and you can buy loads of shit for that. tl;dr: close the fucking outer borders , use army to help greece and italy control their borders, check identities of every refugee currently in EU, kick them out of european union if they're just a fucking scums. inb4. somebody calls me facist because I'm against accepting 'refugees' :dave:
  19. https://github.com/BraXi/CoD4_DeathRun_1.2_Mod/commit/82c6d58d2dc592ff280b04149767c103e5b34d1e looks like i forgot to remove loadfx() after CP :dumb:
  20. that way you back off, activate UAV, and then continue slaughter :dave:
  21. there is, but I'm pretty sure it would be too OP and shit.
  22. he aint ya homie, nigga Happy birthday beatthat! Let the force be with you ᕦ( ͡° ͜ʖ ͡°)ᕤ
  23. I don't have time to look at it now, but the error in part #2 is due to "itemID" not being used anywhere in your macro, also if you're going to use WEAPON_NINJA macro more than once in one menu, i'd suggest adding that itemID to item names, for example: this: name "button_weapons_off" \ [...] hide "button_weapons_off" \ becomes: name "button_weapons_off"itemID \ [...] hide "button_weapons_off"itemID \ #edit try: #define WEAPON_NINJA( x, y, itemID ) \ itemDef \ { \ rect x y 117 21 NINJA_ALIGN \ name "button_weapons_off"itemID \ style WINDOW_STYLE_SHADER \ background "button_weapons_off" \ visible 1 \ decoration \ /*dont remember if it works with buttons or not, prob no*/ type ITEM_TYPE_BUTTON \ mouseEnter \ { \ play "mouse_over"; \ show "button_weapons_on"itemID; \ } \ mouseExit \ { \ hide "button_weapons_on"itemID; \ } \ } \ itemDef \ { \ name "button_weapons_on"itemID \ rect x y 117 21 NINJA_ALIGN \ style WINDOW_STYLE_SHADER \ background "button_weapons_on" \ type ITEM_TYPE_BUTTON \ visible 0 \ action \ { \ scriptMenuResponse itemID; \ close self; \ open "team_select"; \ } \ } \ itemDef \ { \ visible 1 \ rect (x-50) (y+19) 220 35 DR_BUTTON_ALIGN \ textalignx 0 \ textaligny 0 \ forecolor 1 0 0 1 \ exp text( tableLookup("mp/itemTable.csv", 0, itemID, 5) ) \ textfont UI_FONT_NORMAL \ textalign ITEM_ALIGN_CENTER \ textscale 0.4 \ decoration \ } \