Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 95 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 SP Mapping
CoD 4 mapping and level design for single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: SP Loadout
Cheezus
General Member
Since: Sep 20, 2012
Posts: 18
Last: Jul 8, 2018
[view latest posts]
Level 1
Category: CoD4 SP Mapping
Posted: Saturday, Sep. 22, 2012 01:53 pm
Hi there, I'm sort of a noob. LOL, so me the noob is asking how do I edit the SP campaign weapon loadout to my taste. here is how do I would want the loadouts to be (the missions that don't show up are the one that I agree with the loadout):
Blackout: M21 (Silencer), USP .45 (Silencer)
Charlies Don’t Surf: M1014, M9
The Bog: M249, M9
Warpig: M16A4 (Grenade Launcher), M9
Safehouse: G3 (Red Dot Sight), M1911 .45
One Shot, One Kill: Barret .50cal, USP .45
Heat: G3 (Red Dot Sight), M1911 .45
Ultimatum: G36C (Red Dot Sight, Grenade Launcher, Silencer), M1911 .45 (Silencer)
All in: G36C (Red Dot Sight, Grenade Launcher), M1911 .45
No Fighting in the War Room: G36C (Red Dot Sight, Grenade Launcher), M1911 .45
Game Over: M60 (Grip), M1911 .45

i know it has something to do with _loadout gsc but I would like a thorough tutorial on how to do this, and I would also like to know if it is also possible to do it in other cods like BO, MW2 and 3.

edited on Sep. 22, 2012 06:54 am by Cheez
Share |
Hyperwolf932
General Member
Since: Dec 14, 2011
Posts: 14
Last: Sep 24, 2012
[view latest posts]
Level 1
Category: CoD4 SP Mapping
Posted: Saturday, Sep. 22, 2012 07:07 pm
This works fine for me.


Code:
level.player takeallweapons(); 
level.player giveWeapon("<Weapon Name>"); //Primary Weapon
level.player giveWeapon("<Weapon Name>"); //Secondary Weapon


If you need any help with it let me know.
Share |
Cheezus
General Member
Since: Sep 20, 2012
Posts: 18
Last: Jul 8, 2018
[view latest posts]
Level 1
Category: CoD4 SP Mapping
Posted: Saturday, Sep. 22, 2012 08:06 pm
Hyperwolf932 writes...
Quote:
This works fine for me.


Code:
level.player takeallweapons(); 
level.player giveWeapon("<Weapon Name>"); //Primary Weapon
level.player giveWeapon("<Weapon Name>"); //Secondary Weapon


If you need any help with it let me know.


Could you be more specific where do you do this, sorry I'm sort of new in all of this, I would like to know what file is that, what to do exactly with it an dwhere to place it and such
Share |
Hyperwolf932
General Member
Since: Dec 14, 2011
Posts: 14
Last: Sep 24, 2012
[view latest posts]
Level 1
Category: CoD4 SP Mapping
Posted: Saturday, Sep. 22, 2012 08:41 pm
Its a GSC File, This is where all the scripts go. Like for an example you want the player to start with an M16 and M9 we do this.


Code:
level.player takeallweapons(); 
level.player giveWeapon("m16_grenadier"); //Primary Weapon
level.player giveWeapon("beretta"); //Secondary Weapon


Full code Example.

Code:
main()
{

maps\_load::main();

level.player takeallweapons(); 
level.player giveWeapon("m16_grenadier"); //Primary Weapon
level.player giveWeapon("beretta"); //Secondary Weapon

}


Another example is you see captain price has god mode, its because it has magic bullet shield is enabled which is part of scripting.

You can find alot of specific tutorials on GSC Scripting.
Share |
Cheezus
General Member
Since: Sep 20, 2012
Posts: 18
Last: Jul 8, 2018
[view latest posts]
Level 1
Category: CoD4 SP Mapping
Posted: Saturday, Sep. 22, 2012 09:00 pm
Hyperwolf932 writes...
Quote:
Its a GSC File, This is where all the scripts go. Like for an example you want the player to start with an M16 and M9 we do this.


Code:
level.player takeallweapons(); 
level.player giveWeapon("m16_grenadier"); //Primary Weapon
level.player giveWeapon("beretta"); //Secondary Weapon


Full code Example.

Code:
main()
{

maps\_load::main();

level.player takeallweapons(); 
level.player giveWeapon("m16_grenadier"); //Primary Weapon
level.player giveWeapon("beretta"); //Secondary Weapon

}


Another example is you see captain price has god mode, its because it has magic bullet shield is enabled which is part of scripting.

You can find alot of specific tutorials on GSC Scripting.


hmm, this file you just showed me is it _loadout.gsc?
Share |
Hyperwolf932
General Member
Since: Dec 14, 2011
Posts: 14
Last: Sep 24, 2012
[view latest posts]
Level 1
Category: CoD4 SP Mapping
Posted: Saturday, Sep. 22, 2012 09:20 pm
Its actually a mapname.gsc
Share |
Cheezus
General Member
Since: Sep 20, 2012
Posts: 18
Last: Jul 8, 2018
[view latest posts]
Level 1
Category: CoD4 SP Mapping
Posted: Saturday, Sep. 22, 2012 09:44 pm
Hyperwolf932 writes...
Quote:
Its actually a mapname.gsc


where is that file? its not on the raw folder
Share |
Hyperwolf932
General Member
Since: Dec 14, 2011
Posts: 14
Last: Sep 24, 2012
[view latest posts]
Level 1
Category: CoD4 SP Mapping
Posted: Saturday, Sep. 22, 2012 09:51 pm
It's in raws/maps/ If its not there you have to create it yourself.
Share |
SPi
General Member
Since: Jul 4, 2012
Posts: 531
Last: Nov 9, 2019
[view latest posts]
Level 6
Category: CoD4 SP Mapping
Posted: Sunday, Sep. 23, 2012 09:56 am
I am also willing to help but first i want to know what exacly u want to do.
Do you want to have these weapons in your own map/s or in the stock (original) maps ?
Share |
Cheezus
General Member
Since: Sep 20, 2012
Posts: 18
Last: Jul 8, 2018
[view latest posts]
Level 1
Category: CoD4 SP Mapping
Posted: Sunday, Sep. 23, 2012 10:03 am
Hyperwolf932 writes...
Quote:
It's in raws/maps/ If its not there you have to create it yourself.


if the file is really named that I can't find it. I have an idea, if you don't mind could you edit the file with the loadouts I posted, upload it and then I download it and you tell me how to install it?
the red dot sights I posted there stand for the ones in the M4 SOPMOD, the one that also appear in multiplayer and MW3 not the Red Dot Sight that appears in the M4s and G36Cs in the campaign, I hate those -.-'

edited on Sep. 23, 2012 03:03 am by Cheezus
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 SP Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»