my problem is, i make one Vehicle spawn at CP1 and it works, but when i make a vehicle spawn at CP2, the vehicle will not spawn. I do the same like vehicle spawn at CP1, i only change CP1 to CP2.
I try the vehicle from vehicle spawn CP2 on vehicle spawn CP1, and the vehicle spawn. so there is no problem with the vehicle.
where is the problem, is there anything to change in the mission lua, or is it a other problem.
thanks
dragonum
Vehicle spawn
Moderator: Moderators
- Dragonum
- 2nd Lieutenant
- Posts: 405
- Joined: Tue Nov 16, 2004 4:08 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
- Gametoast Supporter
- Posts: 366
- Joined: Mon Oct 18, 2004 3:27 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Dragonum
- 2nd Lieutenant
- Posts: 405
- Joined: Tue Nov 16, 2004 4:08 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Know it works, thanks to Saturn5, for help.
Here, Saturn5 tell me what is wrong:
Go into object mode and select your imperial flyer. Look at the property
box on the right hand side of the screen. You have filled in the TIE
fighter boxes for ClassImpAtk. This is the incorrect part that is causing.
Basically, when you create a map, the game sets two teams, and defines one
as the attacking team and one as the defending team.
By default, the Rebels and Droids are attacking. So, if you want the rebels
to have an X-Wing, as you have correctly done, you fill in all_fly_xwing in
the ClassAllAtk box. Now, if you want the Empire to have a TIE fighter, as
they are the defending team, you need to press the PageDown button, where
you will find boxes for the defending team. Fill in imp_fly_tiefighter in
the ClassImpDef box. Save the map and munge. All being well, there is your
TIE fighter.
I have attached the modified .wld file for you. Replace your .wld file with
this one, and try editing the map. (By the way, I have renamed the vehicle
spawns to show which CP they are attached to, just a good idea when your
maps become more complex. If you want to enable flyers in the Clone Wars
map, don't forget to remove the comment marks ( -- ) in the
SetMemoryPoolSize section.
Look again at the tutorial, step 8 :
Click the page down button, and fill in these boxes:
ClassImpDef - type in imp_fly_tiefighter
ClassRepDef - type in rep_fly_jedifighter
I am copying this reply to the forum so that other modders with this problem
can read it.
Cheers and best of luck with the modding,
Saturn5
Here, Saturn5 tell me what is wrong:
Go into object mode and select your imperial flyer. Look at the property
box on the right hand side of the screen. You have filled in the TIE
fighter boxes for ClassImpAtk. This is the incorrect part that is causing.
Basically, when you create a map, the game sets two teams, and defines one
as the attacking team and one as the defending team.
By default, the Rebels and Droids are attacking. So, if you want the rebels
to have an X-Wing, as you have correctly done, you fill in all_fly_xwing in
the ClassAllAtk box. Now, if you want the Empire to have a TIE fighter, as
they are the defending team, you need to press the PageDown button, where
you will find boxes for the defending team. Fill in imp_fly_tiefighter in
the ClassImpDef box. Save the map and munge. All being well, there is your
TIE fighter.
I have attached the modified .wld file for you. Replace your .wld file with
this one, and try editing the map. (By the way, I have renamed the vehicle
spawns to show which CP they are attached to, just a good idea when your
maps become more complex. If you want to enable flyers in the Clone Wars
map, don't forget to remove the comment marks ( -- ) in the
SetMemoryPoolSize section.
Look again at the tutorial, step 8 :
Click the page down button, and fill in these boxes:
ClassImpDef - type in imp_fly_tiefighter
ClassRepDef - type in rep_fly_jedifighter
I am copying this reply to the forum so that other modders with this problem
can read it.
Cheers and best of luck with the modding,
Saturn5
-
- Emperor's Hand
- Posts: 487
- Joined: Sun Dec 26, 2004 12:11 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Hi, I posted the reply to Dragonum without proofreading The first paragraph should read:
Go into object mode and select your CP2 flyer. Look at the property box on the right hand side of the screen. You have specified a TIE fighter in the ClassImpAtk box. This is the incorrect part that is causing the problem. Basically, when you create a map, the game sets two teams, and defines one as the attacking team and one as the defending team.
Cheers,
Saturn5
Go into object mode and select your CP2 flyer. Look at the property box on the right hand side of the screen. You have specified a TIE fighter in the ClassImpAtk box. This is the incorrect part that is causing the problem. Basically, when you create a map, the game sets two teams, and defines one as the attacking team and one as the defending team.
Cheers,
Saturn5