i have built my map and debugged it and it plays fine. but say i wanted to add in a windmill or building or something else that i built in the editor. what do i need to do?
other than getting the coordinates and all. i have the coordinates but need to know what files i need to create and where to put the scripting in my scr file.
tnx
Gen Dis
Scripting in custom models/building's/brushes/etc.
Moderator: Moderators
- General_DisArray
- Warrant Officer
- Posts: 142
- Joined: Tue Dec 17, 2002 4:17 am
- Location: magnolia, texas
- General_DisArray
- Warrant Officer
- Posts: 142
- Joined: Tue Dec 17, 2002 4:17 am
- Location: magnolia, texas
You can spawn models but not prefabs
spawn vehicles/jeep.tik "targetname" "playerjeep"
$playerjeep.origin = ( 1068.17 -897.13 -71.88 )
$playerjeep.angle = 270
you can get the origin by typeing coord into the console when you are playing the map that will tell you where you are in the map . Just put it in the level script somewhere near the top before level waittill spawn is ok .
spawn vehicles/jeep.tik "targetname" "playerjeep"
$playerjeep.origin = ( 1068.17 -897.13 -71.88 )
$playerjeep.angle = 270
you can get the origin by typeing coord into the console when you are playing the map that will tell you where you are in the map . Just put it in the level script somewhere near the top before level waittill spawn is ok .
- General_DisArray
- Warrant Officer
- Posts: 142
- Joined: Tue Dec 17, 2002 4:17 am
- Location: magnolia, texas