Help!!

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
Guest

Help!!

Post by Guest »

How do i make myself begin with a weapon? i mean the guy is going to carry an fully loaded M1 Garand. how?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Need to put that in the script:

Code: Select all

level waittill spawn
$player item weapons/m1_garand.tik
$player ammo rifle 200
$player useweaponclass rifle
That's all by heart, if something wrong someone please correct :).
Image
Guest

Post by Guest »

ahem im a beginner...which script?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Create a file called <mymap>.scr, where <mymap> is the name of your bsp file without extension.

In the script, type 'main:' on top, 'end' on the bottom and past the code I posted before in between. ;)

You can just do this in notepad or any other text editor.
Image
Guest

Post by Guest »

i made a file named "mymap.scr" and i have put
Main:
level waittill spawn
$player item weapons/m1_garand.tik
$player ammo rifle 200
$player useweaponclass rifle
end

in it. But when i start mymap it says maps\mymap.scr not found.
and when i get inside the map i dont carry any weapon. whats wrong?
User avatar
General Death
Moderator
Posts: 1116
Joined: Thu Nov 21, 2002 2:33 am
Location: NC, USA
Contact:

Post by General Death »

the .scr file has to be in the same folder as your .bsp file.
Image
Post Reply