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

Members Online

»
0 Active | 107 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 2
Category: CoD2 SP Mapping
Call of Duty 2 single player mapping, scripting and everything single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Less Starting Ammo
zebrahdh
General Member
Since: Apr 18, 2008
Posts: 10
Last: May 15, 2008
[view latest posts]
Level 0
Category: CoD2 SP Mapping
Posted: Wednesday, Apr. 30, 2008 06:17 am
I am making a one man SP mission with various ai enemies.

I start with a colt only, and would like to modifiy the amount of ammo you start with for the mission start, but not a mod to the actual weapon.

Is there a way to declare this in the gsc?
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD2 SP Mapping
Posted: Wednesday, Apr. 30, 2008 04:21 pm
level.player setweaponslotammo("primary", 125);

this sets the primary weapon to have 125 ammo.
Share |
zebrahdh
General Member
Since: Apr 18, 2008
Posts: 10
Last: May 15, 2008
[view latest posts]
Level 0
Category: CoD2 SP Mapping
Posted: Thursday, May. 1, 2008 06:40 am
The_Caretaker writes...
Quote:
level.player setweaponslotammo("primary", 125);


Exactly what I have been looking for, thank you very, very much.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 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

»