-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insane Businessman Mission #640
base: main
Are you sure you want to change the base?
Conversation
Okay, some critique:
I think these two things should probably be addressed prior to merging, the rest is just generic coding stuff that isn't critical. For example, you can eliminate the table reference for single pilots you spawn by assigning the pilot directly rather than the table: |
Alright, I removed the comments and made some code neater. I'll have to test it to make sure there are no errros. In any case, I need some clarification on your second point. The wiki says that with the unique tag and mission.finish(false) the mission will still appear. But really, I need a little help deciding when and how the mission shows up. I could use suggestions. http://wiki.naev.org/wiki/Mission.xml
|
It appears you're correct, I was going by the comment from the tutorial script. This comment is in error, I shall fix it. So ignore the second point of my earlier post (though you can omit the abort function entirely and still get the same behavior regardless). |
ok, I removed the abort functions. I also did some minor edits. I have a question about the ships in part three. I equipped them with lasers and whatnot but not missiles. However, it seems in the mission they have lasers and missiles. I used a dummy faction but a mercenary ai so neutral or friendly players won't attack you when you attack them, but they aren't associated with any factions. Still, it seems by default they are equipped with missles. How do I find out what they are equipped with by default or are the equip lines I'm using being ignored for some reason? |
I added a concluding event. This occurs with a chance of 50. It can happen only after you complete part 3. In the event, Crumb shows up flying around Mason and if you disable the ship you find one million credits (because Crumb is rich). Also, I accidentially clicked something on github not sure what I did. It was an error. |
The default equipment for ships is determined by the equip scripts, located in dat/factions/equip. I'm unsure which script (if any) the dummy faction uses. There may be a hardcoded default but I'm not certain. In any case you can override this equipment loadout by un-equipping everything from a pilot before anything else using pilot.rmOutfit("all"). Note that this will not strip core outfits. |
Well, I'm not sure if I'm doing this right but here I go.
These are three missions I coded based on the mission ideas in the wiki. It's probably a little rough. I welcome feedback and assistance for getting this merged eventually.
The coding probably needs work.
The text needs to be cleaned up, improved on.
I have some other questions I will raise when appropriate.
It probably needs one more concluding.
Thank you