If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here
Moderator: Moderators
Guest
Post
by Guest » Tue Dec 24, 2002 5:18 pm
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 » Tue Dec 24, 2002 5:45 pm
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
.
Guest
Post
by Guest » Tue Dec 24, 2002 5:59 pm
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 » Tue Dec 24, 2002 6:19 pm
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.
Guest
Post
by Guest » Tue Dec 24, 2002 6:44 pm
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?
General Death
Moderator
Posts: 1116 Joined: Thu Nov 21, 2002 2:33 am
Location: NC, USA
Contact:
Post
by General Death » Tue Dec 24, 2002 7:01 pm
the .scr file has to be in the same folder as your .bsp file.