Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Airdrop Trap
#1
[Image: azuw.jpg]
Reply

#2
can we make a code together ? i mean me and you , (thats my dream , to make a code with you , yamato , OrangePL , Rendflex) :B
Reply

#3
edited php tag, please dont use this tag for such kind of code because it mixes /\ up

nice release, +rep
Reply

#4
can itsMods make a cod 4 section ?
Reply

#5
(06-13-2012, 19:15)Bloodfocus Wrote: can itsMods make a cod 4 section ?

perhaps yes but i have no idea if its worth it
Reply

#6
What should we post in there? I guess it will be dead section :S
[Image: r212360a129ce9b84444093b6cd2699013a1fbn155.png]
Reply

#7
@d0h! trust me , it will be cool
Reply

#8
back to mw2 ?
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#9
what this do:

if(c==random)
{
fakeType = crateType;
break;
}
c++;
}
if(!isDefined(game["strings"][fakeType + "_hint"]))
fakeType = "ammo";

?
Reply

#10
C++ Code
  1. random = randomInt(12);
  2. c = 0;
  3. fakeType = "ammo";
  4. foreach(crateType,crateWeight in level.crateTypes[dropType])
  5. {
  6. if(c==random)
  7. {
  8. fakeType = crateType;
  9. break;
  10. }
  11. c++;
  12. }
  13. if(!isDefined(game["strings"][fakeType + "_hint"]))
  14. fakeType = "ammo";

This takes a random airdrop type (chopper, ac130, etc.) and at the end it checks if a localized string for that type exists, if not it takes ammo (but that should never happen).
[Image: azuw.jpg]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Request] Airdrop Heaven mod The_Reaper_1 0 2,473 09-10-2013, 14:13
Last Post: The_Reaper_1
  Help WTF? FX trap [HARD] Tony. 11 6,221 02-22-2013, 19:32
Last Post: DidUknowiPwn
Video Preview Trap with FX [Z00MBY] Alex 19 10,268 01-27-2013, 15:49
Last Post: abidullah
  [Release] New trap and juggernaut carepackege Puffiamo 11 7,690 10-26-2012, 23:43
Last Post: islamsaab
Thumbs Up Preview Trap for Zombies in game [Z00MBY] Alex 1 2,638 09-21-2012, 19:13
Last Post: House
  Preview Plugin "A trap for the Zombie" [Z00MBY] Alex 10 6,439 09-15-2012, 18:51
Last Post: Yamato

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.