Author |
Topic: SP Loadout |
Cheezus |
General Member Since: Sep 20, 2012 Posts: 18 Last: Jul 8, 2018 [view latest posts] |
|
|
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 |
|
|
|
Hyperwolf932 |
|
General Member Since: Dec 14, 2011 Posts: 14 Last: Sep 24, 2012 [view latest posts] |
|
|
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. |
|
|
|
Cheezus |
General Member Since: Sep 20, 2012 Posts: 18 Last: Jul 8, 2018 [view latest posts] |
|
|
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 |
|
|
|
Hyperwolf932 |
|
General Member Since: Dec 14, 2011 Posts: 14 Last: Sep 24, 2012 [view latest posts] |
|
|
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. |
|
|
|
Cheezus |
General Member Since: Sep 20, 2012 Posts: 18 Last: Jul 8, 2018 [view latest posts] |
|
|
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? |
|
|
|
Hyperwolf932 |
|
General Member Since: Dec 14, 2011 Posts: 14 Last: Sep 24, 2012 [view latest posts] |
|
|
|
Cheezus |
General Member Since: Sep 20, 2012 Posts: 18 Last: Jul 8, 2018 [view latest posts] |
|
|
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 |
|
|
|
Hyperwolf932 |
|
General Member Since: Dec 14, 2011 Posts: 14 Last: Sep 24, 2012 [view latest posts] |
|
|
|
|
|
Cheezus |
General Member Since: Sep 20, 2012 Posts: 18 Last: Jul 8, 2018 [view latest posts] |
|
|
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 |
|
|
|