Raised This Month: $ Target: $400
 0% 

COD:MW Perks


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mrki_Drakula
Senior Member
Join Date: Jun 2011
Location: Serbia
Old 03-26-2012 , 14:49   COD:MW Perks
Reply With Quote #1

Hello,

Im making [Activision] Call of Duty : Modern Warfare Mod based on the original game. Everything is gonna be like in the original game. I've already made Levels System (55 Levels), XP System (max 120280, the real XP numbers are used just like in the original game), Classes System (Assault, Spec Ops, Heavy Gunner, Demolitions and Sniper) and Simple HUD that is showing their stats. Now, im pretty limited with Ideas how i could do perks system. Im not sure how i can defire like PlayerPerks[id] = PERK1_CLAYMORE, and somewhere within the script it will check does player have PERK1_CLAYMORE, and if yes, it will give his claymore object. I dont know how should i even start.

I've think of making something like this:
If player choose Class Assault, it will give him Stopping Power perk, so under Menu_Handle for Class Menu Selection, i would put:
PHP Code:
PlayerPerks[id] = PERK2_STOPPINGPOWER 
And i would simple check does player have PERK2_STOPPINGPOWER under spawn public.
So it would look like this:
PHP Code:
if(PlayerPerks[id] == PERK2_STOPPINGPOWER 
{
     
//the rest of the code...for this it would ncreases weapon damage to 140%

Thats my idea, but it would like to hear yours.

Cheers,
Crysis.

Last edited by Mrki_Drakula; 03-26-2012 at 14:49.
Mrki_Drakula is offline
Send a message via MSN to Mrki_Drakula Send a message via Skype™ to Mrki_Drakula
Old 03-26-2012, 18:09
Mrki_Drakula
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
Old 03-27-2012, 17:49
Mrki_Drakula
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode