Missions: It just won't start!
-
-
I can’t say currectly because it happens in Rh04 and it spawns me at FP7 without the changes. FLSpew says nothing.
If you wanna have a look, heres what I made:[Mission] mission_title = 1 mission_offer = 1 reward = 4000 npc_ship_file = missions\m01a\npcships.ini [NPC] nickname = fauxplayer affiliation = rh_n_grp npc_ship_arch = fauxplayer individual_name = 1 [NPC] nickname = r_bs_m01a affiliation = rh_n_grp npc_ship_arch = MSN01a_battleship voice = donau_voice_m01a space_costume = rh_captain_head, rh_male_elite_body, prop_neuralnet_D individual_name = 237049 [MsnShip] nickname = r_bs_m01a NPC = r_bs_m01a position = 30000, 1000, -30000 orientation = 0, 0, 0, 0 random_name = false radius = 0 [NPC] nickname = training_target affiliation = fc_rn_grp npc_ship_arch = MSN01a_training_target individual_name = 1 [MsnShip] nickname = training_target NPC = training_traget position = 30000, 700, -30000 orientation = 0, 0, 0, 0 random_name = false radius = 0 [ObjList] nickname = R_BS_stand Avoidance = true [ObjList] nickname = runaway Avoidance = false GotoVec = goto_no_cruise, 31000, 0, -31000, 100, false, 100 [NNObjective] nickname = mlog_launch state = HIDDEN type = navmarker, Rh04, 21825, 0, 30000, 0, -30000 [NNObjective] nickname = mlog_start state = HIDDEN type = ids, 21810 [Trigger] nickname = in_the_beginning_there_was_dark system = Rh04 Act_NNIds = 30000, HISTORY Act_NNIds = 30005, HISTORY Act_SpawnShip = r_bs_m01a, R_BS_stand Act_SetNNState = mlog_launch, ACTIVE Act_ActTrig = will_there_be_light [Trigger] nickname = will_there_be_light system = Rh04 Act_Popupdialog = 21925, CLOSE Cnd_SpaceEnter = no_params Act_ActTrig = GoGoGo [Trigger] nickname = GoGoGo system = Rh04 Act_SpawnShip = training_target, runaway, 10000, 700, -10000 Act_SetVibe = training_target, Player, REP_FRIEND_MAXIMUM Act_SetVibe = training_target, r_bs_m01a, REP_FRIEND_MAXIMUM Act_ActTrig = FIGHT [Trigger] nickname = FIGHT system = Rh04 Act_SetVibe = training_target, Player, REP_HOSTILE_MAXIMUM Act_SetNNState = mlog_start, ACTIVE Act_SetNNObj = mlog_start
-
Gisteron wrote:
you have not had the OpenSP hack applied previously?Which hack? I don’t know any hack like this… I just use Reballance method for Open SP.
**EDIT:**I give up… The game is just teasing me! Without the FP7 scene it just won’t load the mission in any system! Its like when I make a mission I can’t succeed and if anybody ealse does it, a great success! Maby starting from Mission1b will work…?
-
Have you tried your mission with the starting state = ACTIVE ?
Seems that you are not on a mission. i could be wrong, but i think its worth making the 1st trigger active.
or try this…
[Trigger]
nickname = in_the_beginning_there_was_dark
system = Rh04
InitState = ACTIVE
Cnd_True = no_params
Act_ForceLand = Rh04_01_Base <– or where ever
Act_SetShipAndLoadout = <– ship, loadout (i think)
Act_NNIds = 30000, HISTORY
Act_NNIds = 30005, HISTORY
Act_SpawnShip = r_bs_m01a, R_BS_stand
Act_SetNNState = mlog_launch, ACTIVE
Act_ActTrig = will_there_be_lightAlso i usually dont try to spawn ships/objects untill…
Cnd_LaunchComplete = Player
Happens.
This is untested because i havent got time at the moment, but i will give it a go over the weekend, and let ya know if i get any results. -
khayman wrote:
Have you tried your mission with the starting state = ACTIVE ?Seems that you are not on a mission. i could be wrong, but i think its worth making the 1st trigger active.
or try this…
[Trigger]
nickname = in_the_beginning_there_was_dark
system = Rh04
InitState = ACTIVE
Cnd_True = no_params
Act_ForceLand = Rh04_01_Base <– or where ever
Act_SetShipAndLoadout = <– ship, loadout (i think)
Act_NNIds = 30000, HISTORY
Act_NNIds = 30005, HISTORY
Act_SpawnShip = r_bs_m01a, R_BS_stand
Act_SetNNState = mlog_launch, ACTIVE
Act_ActTrig = will_there_be_lightAlso i usually dont try to spawn ships/objects untill…
Cnd_LaunchComplete = Player
Happens.
This is untested because i havent got time at the moment, but i will give it a go over the weekend, and let ya know if i get any results.HOLY PIECE OF SHIT!!! HOW DID I FORGET THAT???
THANK YOU SO MUCH!EDIT: After fixing it, I had a bug with the launch. I launched and the game crushed. At first I thought its because the Battleship’s ObjList is empty so I changed it to a solar. After that, it still crushes! Something must be wrong with the 2nd trigger that I can’t find out…
[Trigger] nickname = will_there_be_light system = Rh04 Cnd_LaunchComplete = Player Act_SpawnSolar = r_bs_m01a Act_ActTrig = GoGoGo
-
i’m not 100% on this but the problem maybe the order of your code.
i think the missions read like this…
[Mission] <– mission number etc
[NNObjective] <– whats the player gonna do
[NPC] <– list all your npc ships
[MsnSolar] <– any solars to be used
[MsnShip] <– identify the npc you want
[MsnFormation] <– any formations you want to make from the npc
[ObjList] <– whats the npc gonna do
[Trigger] <– starts and links
Whenever i get stuck i always go back to the bible:
http://freelancercommunity.net/viewtopic.php?t=511
Gonna go try your code and re-structure it to see if that helps.
-
I’ve had a quick try at your code and ran into a few problems straight away.
Dont know if this happens for you or not but the popup dialog made me crash, and whenever i tried spawning r_bs_m01a it crashed.
I changed the popup dialog to be an empty dll (so an empty box popped up)- fixed the first issue.
Act_Popupdialog = 60253, 60254, CLOSE
I dont know how you have the r_bs_m01a set in the npcships.ini but i made my own (still with crashes) it maybe because of the objective you have given to it.
After making a few edits and removed some stuff i got no crashes, i also re-structured the mission a little bit and seems to work ok so far.
Gotta go out for a while, but when i get home i’ll have another crack at it, then either send ya or post any results here. -
khayman wrote:
i’m not 100% on this but the problem maybe the order of your code.The order of entries doesn’t really matter… If you check every mission you see its totally random, only that [Mission] has to be first.
I changed the popup dialog to be an empty dll (so an empty box popped up)- fixed the first issue
I want it full, not empty.
I dont know how you have the r_bs_m01a set in the npcships.ini but i made my own (still with crashes) it maybe because of the objective you have given to it.
I told you I replaced it with a solar. Maby the problem is with the label, it must be in the entry or only if the object is attached to something?
-
-
Gisteron wrote:
do we assume that this solar is existing in a solararch file, has a fitting loadout and is defined as base in universe.ini? try to look at the osiris from the original game, guess that’s what you want your launch battleship to be like.Actually, it isn’t my launch battleship, its my reach battleship.
The point is that wether its a solar or a ship, it just won’t spawn! It starts the 1st trigger and doesn’t pass to the next one! I’ll try to find out the problem.EDIT: I tried all I got, and nothing… Best I got is a crash… Maby I’ll rebuild the mission. Wish me luck!
-
Dont know if you got to notice the typo in the code here:
[NPC]
nickname = training_target
affiliation = fc_rn_grp
npc_ship_arch = MSN01a_training_target
individual_name = 1[MsnShip]
nickname = training_target
NPC = training_traget <–------------------
position = 30000, 700, -30000
orientation = 0, 0, 0, 0
random_name = false
radius = 0 -
Sorry to double post.
I’m not sure what you wanted from your mission, but ive done a quick example if your interested.
You might want to edit the ships and some id text but it might help in what your looking for.npcships.ini in the M01a folder:
[NPCShipArch]
nickname = MSN12_King
loadout = MSN13_King
level = d13
ship_archetype = or_elite
pilot = MSN13_King
state_graph = FIGHTER
npc_class = lawful, elite_fighter[NPCShipArch]
nickname = MSN01a_Donau
loadout = MSN01a_Donau
level = d1
ship_archetype = rh_cruiser
pilot = MSN01a_Donau
state_graph = NOTHING
npc_class = lawful, cruiserand the m01a.ini
[Mission]
mission_title = 1
mission_offer = 1
reward = 4000
npc_ship_file = missions\m01a\npcships.ini[NPC]
nickname = rcruiser_m01a
affiliation = rh_n_grp
npc_ship_arch = MSN01a_Donau
voice = donau_voice_m01a
space_costume = rh_captain_head, rh_male_elite_body, prop_neuralnet_D
individual_name = 216001[NPC]
nickname = ak_m01a
npc_ship_arch = MSN12_King
voice = king
space_costume = li_scrote_head, li_scrote_body, comm_li_hatcher
affiliation = rh_n_grp
individual_name = 217204[NNObjective]
nickname = goto_the_waypoint
state = HIDDEN
type = rep_inst, Rh01, 24265, 27265, 13715, 500, 35862, Don[ObjList]
system = Rh04
nickname = Don_move
Delay = 10
GotoVec = goto_no_cruise, 13715, 500, 35862, 500, true, -1.000000[ObjList]
system = ALL
nickname = khayman_form_on_trent
SetPriority = ALWAYS_EXECUTE
Delay = 19
Follow = Player, 3000, -20, 0, 40[MsnShip]
nickname = khayman
NPC = ak_m01a
radius = 0
label = Khayman
label = allied[MsnShip]
nickname = Don
NPC = rcruiser_m01a
label = Don[Trigger]
nickname = lets_start
system = Rh04
InitState = ACTIVE
Cnd_True = no_params
Act_ForceLand = Rh04_01_Base
Cnd_BaseEnter = Rh04_01_Base
Cnd_SpaceExit = no_params
Act_AdjAcct = 3000
Act_NNIds = 30000, HISTORY
Act_NNIds = 30005, HISTORY
Act_ActTrig = get_to_the_don
Act_ActTrig = player_dies
Act_ActTrig = Don_dies[Trigger]
nickname = player_dies
system = ANY
Cnd_Destroyed = player, 1
Act_ChangeState = FAIL[Trigger]
nickname = Don_dies
system = ANY
Cnd_Destroyed = Don, 1
Act_ChangeState = FAIL
;Act_ActTrig = respawn_Don[Trigger]
nickname = respawn_Don
system = ANY
Cnd_Timer = 30
Act_SpawnShip = Don, Don_move, 13715, 500, 35862, 0.780800, 0, 0.624700, 0[Trigger]
nickname = get_to_the_don
Cnd_LaunchComplete = Player
Act_Popupdialog = 60253, 21925, CLOSE
Act_ActTrig = get_to_the_don_close[Trigger]
nickname = get_to_the_don_close
Cnd_PopUpDialog = CLOSE
Act_SpawnShip = Don, Don_move, 13715, 500, 35862, 0.780800, 0, 0.624700, 0
Act_MarkObj = Don, 1
Act_SetVibe = Don, Player, REP_FRIEND_MAXIMUM
Act_SetVibe = Player, Don, REP_FRIEND_MAXIMUM
Act_SpawnShip = khayman, khayman_form_on_trent, -8888, 0, -30074, 0.780800, 0, 0.624700, 0
Act_Invulnerable = khayman, true, false, 0.950000
Act_SetVibe = khayman, Player, REP_FRIEND_THRESHOLD
Act_SetVibe = Player, khayman, REP_FRIEND_THRESHOLD
Act_MarkObj = khayman, 1
Act_SetOffer = 21805
Act_SetTitle = 21800
Act_SetNNObj = goto_the_waypoint
Act_ActTrig = timer[Trigger]
nickname = timer
Cnd_Timer = 10
Act_ActTrig = first_com[Trigger]
nickname = first_com
Cnd_True = no_params
Act_SendComm = khayman, Player, DX_M01_0384_KINGIts not finished or anything special, so make any/all the changes you need.
Hope it helps!
-
TheDvDMan wrote:
Gisteron wrote:
you have not had the OpenSP hack applied previously?Which hack? I don’t know any hack like this… I just use Reballance method for Open SP.
**EDIT:**I give up… The game is just teasing me! Without the FP7 scene it just won’t load the mission in any system! Its like when I make a mission I can’t succeed and if anybody ealse does it, a great success! Maby starting from Mission1b will work…?
you’re grossly overcomplicating this problem dvdman.
Download my wings of the federation mod and look at what I did to m01.ini . -
This thread goes to very wrong ways, and don’t even try to spoil my idea with all this rubbish of “look what i did, copy this”. I make this mod just as training for my mission creating skills. Thats why I don’t want to copy any code or look at any other code, just create. This is also the reason why I wanna re-code it.
-
honestly, trial and error is good, but only for unsolved problems. if there is something you can look at and understand, that is a far better and faster way to learn than if you just try out. if you are only willing to try, than there is no reason to ask questions. just do until your fingers bleed.
sry, if that was a bit grumpy, your last post was just crying for such an answer xDD
-
TheDvDMan wrote:
This thread goes to very wrong ways, and don’t even try to spoil my idea with all this rubbish of “look what i did, copy this”. I make this mod just as training for my mission creating skills. Thats why I don’t want to copy any code or look at any other code, just create. This is also the reason why I wanna re-code it.Wow, well, good luck…
I’ll say it though - nice post / contribution khayman
-
Sorry DvDMan, people won’t build a tutorial for you so that you don’t violate your principles of never looking at someone else’s code.
If you don’t want the help, don’t bother asking.