I am trying to make a mod to make the game harder and have a few questsions.
Can I make a station invincible?
If I change the value of something in credits, is that value changed for rins? if not, how do I change that?
I may have more questions, but thanks!
How can I make certain shops adjust the prices up?
Hard mod help
- Betelgeuse
- Fleet Officer
- Posts: 1920
- Joined: Sun Mar 05, 2006 6:31 am
immutable= "true"Can I make a station invincible?
credits and rins are different valuesIf I change the value of something in credits, is that value changed for rins? if not, how do I change that?
to get rins you use (objGetData gPlayerShip "rins") and to set rins you use (objSetData gPlayerShip "rins" amountToSet)
this one a bit harder you would have to change dsRingerSell and dsExchangeSell. The exact way you do it will depend on what exactly you want to do.How can I make certain shops adjust the prices up?
Crying is not a proper retort!
So what does this line do?
and how would I make a ship never leave a wreck?
I remember something along the lines of:
but I don't know where to put it or if that will work.
Code: Select all
value = "75"
and how would I make a ship never leave a wreck?
I remember something along the lines of:
Code: Select all
wreckchance = "0"
- Betelgeuse
- Fleet Officer
- Posts: 1920
- Joined: Sun Mar 05, 2006 6:31 am
means that the unadjusted value for that item is 75 credits. If a rins dealing station it would be value/20 for the amount of unadjusted rins. This can be adjusted anyway you want by making new dock screens or changing dsRingerSell. When static data comes in for items even more fun stuff can be done like giving a custom rins value.value = "75"
it would bewreckchance = "0"
leavesWreck= "0"
And that goes in the first part with mass and thrust.
If you want to do that for stations you would just put this in the events section.
Code: Select all
<OnDestroy>
(objDestroy gSource)
</OnDestroy>
Crying is not a proper retort!