Hi folks,
I have a single player level in which I want the player to start with a normal rifle and then pick up a sniper rifle along the way.
How can I do this?
I have placed a playerweapon in the map but the player can't pick it up...
any help appreciated!
pick up sniper
Moderator: Moderators
Sniper rifle
You may have used the wrong sniper rifle. There are ones that are only for show. So find the one you can pick up, then the player can switch between the two rifles by hitting key 2 more than once.
He can also pick one up from a dead enemy sniper.
He can also pick one up from a dead enemy sniper.
well
Well, I remember doing it, but i don't think my player had a rifle at the start of the level. So maybe one rifle has to be Axis and the other Allied.
As I recall
As I recall, I picked up a kar98 from a dead enemy and then a springfield that was leaning against a wall and I could use them both by hitting key 2 to switch between them. The load out for the start of the level looked like this:
Code: Select all
else
if (level.script == "maps/testsky3.scr")
{
$player item weapons/silencedpistol.tik
$player item weapons/steilhandgranate.tik
$player item weapons/ThompsonSMG.tik
$player item weapons/shotgun.tik
$player ammo pistol 40
$player ammo rifle 15
$player ammo smg 120
$player ammo grenade 5
$player ammo shotgun 80
$player useweaponclass smg
}
snipe
I think the only way is to start without a rifle at all then pick up the sniper rifle but whats to stop a player from picking up a normal rifle from a fallen foe (how poetic!) before reaching the sniper thus stopping him/her from being able to pick it up?
Think I just confused myself...
Think I just confused myself...
