Post your scripting questions / solutions here
Moderator: Moderators
digitac
Sergeant
Posts: 58 Joined: Mon Jul 28, 2003 3:30 pm
Post
by digitac » Wed Jan 21, 2004 5:20 am
what is the code u are using and tell me what weapon do u want to add ?
|Row|*GEN*J( )|?G3
Lance Corporal
Posts: 20 Joined: Mon Jan 19, 2004 10:30 pm
Post
by |Row|*GEN*J( )|?G3 » Wed Jan 21, 2004 5:22 am
This is my snytacs:
exec global/ai.scr
exec global/loadout.scr maps/test_cabin.scr
main:
level waittil spawn
$player item weapons/colt45.tik
fadein 2 0 0 0 1
wait 2
leve.script="maps/Test_cabin.scr"
end
Is there something wrong with that?
digitac
Sergeant
Posts: 58 Joined: Mon Jul 28, 2003 3:30 pm
Post
by digitac » Wed Jan 21, 2004 5:25 am
|Row|*GEN*J( )|?G3 wrote: This is my snytacs:
exec global/ai.scr
exec global/loadout.scr maps/test_cabin.scr
main:
level waittil spawn
$player item weapons/colt45.tik $player "gun" "Colt 45"
fadein 2 0 0 0 1
wait 2
leve.script="maps/Test_cabin.scr" Hey you forgot to use a L in level
end
Is there something wrong with that?
|Row|*GEN*J( )|?G3
Lance Corporal
Posts: 20 Joined: Mon Jan 19, 2004 10:30 pm
Post
by |Row|*GEN*J( )|?G3 » Wed Jan 21, 2004 5:28 am
So this is the right way?
exec global/ai.scr
exec global/loadout.scr maps/test_cabin.scr
main:
level waittil spawn
$player gun colt45.tik
fadein 2 0 0 0 1
wait 2
level.script="maps/Test_cabin.scr"
end
digitac
Sergeant
Posts: 58 Joined: Mon Jul 28, 2003 3:30 pm
Post
by digitac » Wed Jan 21, 2004 5:30 am
No use $player "gun" "colt 45"
if that don't works betterwait till 2morrow when JV and the others are awake cause i am going to sleep now it's 6:30 AM here now and i need to go to work in 3 hours
jv_map
Site Admin
Posts: 6521 Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:
Post
by jv_map » Wed Jan 21, 2004 8:43 am
$player item weapons/colt45.tik is fine, but
level waittil spawn
should be
level waittill spawn