[MOD] Merovian Nation (Need help w/ encounters though)

A place to discuss mods in development and concepts for new mods.
josh19967
Militia Lieutenant
Militia Lieutenant
Posts: 162
Joined: Mon Aug 30, 2010 10:52 pm
Location: Vacationing at ModWorld... :D

but i dont have an account on xelerus. im going to bed now.
I really don't care if I get my hair cut... *snip* NOOOOOOOOOOOO!!!!!!!!!!!
sdw195
Militia Captain
Militia Captain
Posts: 779
Joined: Wed Nov 18, 2009 1:01 am
Location: Still looking for the csc Antarctica
Contact:

ok

did it work???
Image
Image
Image
Image
"Dash_Merc - George is a genius, in that he created this game engine that is infinitely extendable"
"<@sheepluva>Good night everybody, may the source be with you." <-- FOSG dev
"You only need THREE tools in life - WD-40 to make things go, Duct Tape to make things stop And C-4 to make things go away"
josh19967
Militia Lieutenant
Militia Lieutenant
Posts: 162
Joined: Mon Aug 30, 2010 10:52 pm
Location: Vacationing at ModWorld... :D

sdw195 wrote:ok lets see....

Code: Select all

<Action name="Repair or Replace Armor" key="A"> 
(block Nil 
(setq gPrevScreen "Default")  
(setq gTechLevel 30) 
(setq gArmorSegment 0) 
(setq gMargin (if (geq (objGetData gPlayerShip "MerovianRanking") 3) 0 100)) 
(scrShowScreen gScreen "&dsRepairArmor;") 
) 

</Action>
"Cannot find screen"
sdw195 wrote:

Code: Select all

if that doesnt work then 

<Action name="Repair or Replace Armor" key="A"> 
(block Nil 
(setq gPrevScreen "Main") 
(setq gTechLevel 30) 
(setq gArmorSegment 0) 
(setq gMargin (if (geq (objGetData gPlayerShip "MerovianRanking") 3) 0 100)) 
(scrShowScreen gScreen "&dsRepairArmor;") 
) 

</Action>

oh and digdug went to bed a while ago
and i havnt had enought time to actually play the game lately so i would recommend putting the mod on xelerus went your done to get feed back on it (but if you dont want to thats fine, it is your mod)
causes game crash
I really don't care if I get my hair cut... *snip* NOOOOOOOOOOOO!!!!!!!!!!!
josh19967
Militia Lieutenant
Militia Lieutenant
Posts: 162
Joined: Mon Aug 30, 2010 10:52 pm
Location: Vacationing at ModWorld... :D

Wait a second... We put (setq gMargin (if (geq (objGetData gPlayerShip "MerovianRanking") 3) 0 100))
but when i dock at station im only rank 1!
but when i add (setq margin 0 50)
i get "Too many arguments".
I really don't care if I get my hair cut... *snip* NOOOOOOOOOOOO!!!!!!!!!!!
User avatar
Star Weaver
Militia Commander
Militia Commander
Posts: 311
Joined: Sun Nov 07, 2010 10:20 pm
Location: . . . between the stars and the warm black sky . . .

josh19967 wrote:Wait a second... We put (setq gMargin (if (geq (objGetData gPlayerShip "MerovianRanking") 3) 0 100))
but when i dock at station im only rank 1!
but when i add (setq margin 0 50)
i get "Too many arguments".
The format of setq is (setq name value); the only reason you have "0 100" up there is because the (if...) is picking between them for you. So just pick one number (50?).

Also, that looks like it has to do with taking your rank and turning it into a shop disount. It doesn't look like it affects your rank at all, or it would use (objSetData gPlayerShip "MerovianRanking" 5) or w/e.
josh19967
Militia Lieutenant
Militia Lieutenant
Posts: 162
Joined: Mon Aug 30, 2010 10:52 pm
Location: Vacationing at ModWorld... :D

Another problem is when I try to upgrade my reactor it installs the same Hyperion reactor over and over and over and over and over, each time charging me 45000 credits for the process.
My code is here
I really don't care if I get my hair cut... *snip* NOOOOOOOOOOOO!!!!!!!!!!!
Post Reply