Quote
Originally posted by Skyfox:
**I've got a little problem. I want to create an outfit that works like a planetary pass. Allowing the player to land on a planet they couldn't before. I can't seem to figure out how to do that. The planet doesn't have a landif bitXX feild, and making a special government for the planet, and giving the player a - status doesn't seem to be working, maybe i'm not using the right values.
Anyone know?
**
Couldn't this work similarly to the hypergate system? Give the planet a unique government allied with the regular government, set the bit 0x00000001 to be 0x00000000 so that the player can't normally land on the planet, but once he/she buys the rank, set bit 0x0200 so that the player can land on the unique government's planet. Set 0x0004 so that if the player destroys or disables a ship affilitated with the government or its allies, as well as 0x0040 if any crime is committed, the rank will be removed. Set a mission that will only be activated if the player has a good legal status with the government, that simply tells the player that the access codes are available, and gives them the rank.
Okay, if that was confusing, here's what the player should see: once he/she gets a good legal status with government X , the next time they land (or goes to the bar, or outfitter, or wherever you want the mission to appear), a mission dialog begins that tells them that they now have access to a special card that will let them land on a restricted planet, as long as they don't do anything bad to the government. Upon buying the card, they get a rank that allows them to land on the planet. They're given free access to the planet as long as they don't kill or disable any of that government's ships. If they do, the rank is removed and they can't land there again. If you want it to be permanent, you can set bits on the mission that will prevent it from being offered again (or until the player runs another mission that unlocks the mission again).
To recap, here's your list of ingredients:
1 govt: allied with the affiliated government (govt y)
1 spob: set so that the player can't land on it and affiliated with the above govt.
1 rank: flags 0x0244 set and affiliated with above govt so that player can land on all spobs affiliated with the govt but will be removed if the player does anything bad to that govt.
1 misn: only offered when legal status with govt y reaches preset level. Auto aborts but grants above rank.
Hope I understood your problem, and I hope that I helped.
Matrix
------------------
"Interestingly, according to modern astronomers, space is finite. This is a very comforting thought -- particularly for people who can never remember where they have left things." - Woody Allen
(url="http://"http://htf.mondominishows.com/valentine/main.asp?seed=7375&serial;=214877")The funniest valentine I've ever gotten.(/url)
(This message has been edited by what_is_the_matrix (edited 06-13-2004).)