Multiple Planes

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Panz
Private
Posts: 4
Joined: Sun Aug 08, 2004 9:18 pm
Location: NJ

Multiple Planes

Post by Panz »

Hey guys, I've been mapping for almost a year now and only have recently (this past month) been visiting the site frequently. This is my first post and probably the first of many so here goes my problem. :?

I have two planes and I hope to add one more plane to my map I'm making. I have the first one done which works well, but the second one isnt working. I know its the scripting because the mapping part it perfect. What do I need to add? Here is what I added to the .scr to make my first plane fly:

exec global/bomber.scr
level.flyplane = 1

Basically those two lines are all I needed to put to make the first plane fly, nothing more. I did try making the flyplane= 2 but that didn't change anything at all.

Thanks guys.
-Panz
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

well i've never used level.flyplane = 1, i've always only called bobmer.scr and left it at that (until i wanted it to bomb).

tho, mapping is the only thing that could be wrong. that's two lines that are too simple to mistake. maybe check that yuo didn't double-node or anythnig like that. :wink:
User avatar
Panz
Private
Posts: 4
Joined: Sun Aug 08, 2004 9:18 pm
Location: NJ

Post by Panz »

Well actually, I have both first splines set as $targetname / bomberpath. Should they both be different? Each have there own targets they dont inter-mingle. Also maybe I know--apart from what values I put in the first plane's path--what needs to be different in the second plane? Targetname, ect?
-Panz
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

each set of nodes needs it own set number

key:set
value: 1

key:set
value: 2

etc

And Welcome to .map
Image
User avatar
Panz
Private
Posts: 4
Joined: Sun Aug 08, 2004 9:18 pm
Location: NJ

Post by Panz »

Well yes I know. I put them as #set1 and #set2 ( the first splinepaths of each plane) The rest in the tutorial I had read didnt need set and key for their values, as the first plane worked like this.
-Panz
User avatar
Panz
Private
Posts: 4
Joined: Sun Aug 08, 2004 9:18 pm
Location: NJ

Post by Panz »

Well I only needed to make the first splinepath of the path for the first plane a #set/1. The second plane I did #set/2 and it did not work. The first plane worked with only one $set/1 on the first splinepath. The second didn't.
-Panz
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

well, it sounds like you've done everything right, are you sure you've triggered the #set - 2?

and you did give it a $mdl value right?

can't think of anything else right offhand... :?
Post Reply