Search found 55 matches

by marsrocks
Sat Dec 05, 2015 5:03 pm
Forum: Announcements
Topic: 1.6 Beta 4
Replies: 26
Views: 37308

Re: 1.6 Beta 4

I am looking for the latest image resources to download from xelerus - like the new tinker station, and can't find where to download them. I need to see this one in particular to update a mod: <Image UNID="&rsTinkerStations;" bitmap="Resources\TinkerStations.jpg" bitmask="Resources\TinkerStationsMas...
by marsrocks
Fri Nov 13, 2015 12:48 am
Forum: Shipyards
Topic: Enemy sovereigns and docking 'enabled
Replies: 9
Views: 5373

Re: Enemy sovereigns and docking 'enabled

And this is how it was done in Heretic: <Sovereign UNID="&svAresHeretic;" name="Ares Sect" alignment="destructive order" > <Relationships> <Relationship sovereign="&svAres;" disposition="friend" mutual="true"/> <Relationship sovereign="&svPlayer;" disposition="neutral" mutual="true"/> <Relationship ...
by marsrocks
Thu Nov 12, 2015 1:26 am
Forum: Shipyards
Topic: Enemy sovereigns and docking 'enabled
Replies: 9
Views: 5373

Re: Enemy sovereigns and docking 'enabled

some more on that: <!-- Huari Empire GLOBAL DATA status: Status of player with respect to Huari Nil = normal (enemy) 'friend = Huari are friendly and player can do missions 'tualiIntro = Give player the symbiote 'tuali = Player has the symbiote 'tualiDeclined = Player declined the symbiote 'defender...
by marsrocks
Thu Nov 12, 2015 1:22 am
Forum: Shipyards
Topic: Enemy sovereigns and docking 'enabled
Replies: 9
Views: 5373

Re: Enemy sovereigns and docking 'enabled

The huari idea sounds promising. This is from the huari.xml globals: (possibly set sovereign dispositions as neutral - and then back - would be worth a try) <Globals> (block Nil (setq huaCheckExperience (lambda (xp) (if (gr xp 325) (block Nil (typSetGlobalData &svHuariEmpire; "status" 'tualiIntro) T...
by marsrocks
Wed Oct 01, 2014 6:20 pm
Forum: Shipyards
Topic: Unmapping stations
Replies: 6
Views: 3475

Re: Unmapping stations

Awesome, pixelfck! Thanks!

Works perfectly:

<Action name="UnMap Stations" key="U">
(block (obj)
(enum (sysFindObject gSource "TsN:2000") obj
(objSetProperty obj 'known Nil)
))
</Action>
by marsrocks
Tue Sep 30, 2014 10:42 pm
Forum: Shipyards
Topic: Unmapping stations
Replies: 6
Views: 3475

Re: Unmapping stations

This successfully cleared map labels on everything reconned or not within the specified range: (Thanks RPC and Atarlost). (block (obj) (enum (sysFindObject gSource "TsN:2000") obj (staSetShowMapLabel Obj Nil) )) I would still like to get rid of the red and green boxes though. I'm not understanding w...
by marsrocks
Tue Sep 30, 2014 4:09 pm
Forum: Shipyards
Topic: Unmapping stations
Replies: 6
Views: 3475

Unmapping stations

I'm trying to create an action that takes previously charted stations off the player's known map, but I have had no success so far. These are some of the codes I have already tried: <Action name="UnMap Station" key="U"> (block (obj) (enum (sysFindObject gSource "Ts; N:2000") obj (objClearIdentified ...
by marsrocks
Fri Oct 25, 2013 2:13 am
Forum: Shipyards
Topic: create station behind ship
Replies: 2
Views: 1682

Re: create station behind ship

That works perfectly!

Thanks, RPC!
by marsrocks
Fri Oct 25, 2013 12:35 am
Forum: Shipyards
Topic: create station behind ship
Replies: 2
Views: 1682

create station behind ship

I'm still learning by reading codes other people have made. In the one I am working on now, I am trying to create a station (an object, actually) which I want to appear a few sectors behind the player ship. Below, is as close as I have gotten. This code will place a station 5 sectors in front of the...
by marsrocks
Thu Nov 08, 2012 7:16 pm
Forum: Shipyards
Topic: With 50+ images -one selected randomly?
Replies: 16
Views: 6592

Re: With 50+ images -one selected randomly?

Cygnus, in IRC, I think Shrike mentioned that something like this may already be doable with a ship graphic - by having the game randomly select one of the facings in the graphic. Starweaver said something to the effect that he thinks this change allowing it to be done with stations should be fairly...
by marsrocks
Thu Nov 08, 2012 6:55 pm
Forum: Shipyards
Topic: Replace a weapon on a station?
Replies: 5
Views: 3137

Re: Replace a weapon on a station?

Thanks, Shivan, I will try that!
by marsrocks
Thu Nov 08, 2012 5:43 pm
Forum: Shipyards
Topic: Replace a weapon on a station?
Replies: 5
Views: 3137

Replace a weapon on a station?

Are there any commands that allow a player to change out a weapon on a station? I see from Shivan Hunter in another thread that I can use (objSetProperty targetObj 'hp (objGetProperty targetObj 'maxhp)) to kind of repair station armor. But are there other commands that would allow me to make changes...
by marsrocks
Thu Nov 08, 2012 3:27 pm
Forum: Shipyards
Topic: With 50+ images -one selected randomly?
Replies: 16
Views: 6592

Re: With 50+ images -one selected randomly?

digdug, the way I understand it, currently, we have to list each image variant line by line for stations, giving specific details of where each image variant is in your image resource. For 50 stations, you need 50 lines describing the locations; for 500 stations, you need 500 lines of code describin...
by marsrocks
Thu Nov 01, 2012 8:01 pm
Forum: Shipyards
Topic: With 50+ images -one selected randomly?
Replies: 16
Views: 6592

Re: With 50+ images -one selected randomly?

Thanks - I may try the IRC - (are there a lot of people there?) I'm still at the very beginning stages of learning this (probably obvious - but thanks for not laughing), but I found these in the functions lists: What would the code look like using these/ what do they do/ and could I use a variable i...
by marsrocks
Thu Nov 01, 2012 6:57 pm
Forum: Shipyards
Topic: With 50+ images -one selected randomly?
Replies: 16
Views: 6592

Re: With 50+ images -one selected randomly?

Thanks, digdug. How about a possible xml solution where the x and y are split off in subtags within the <image> or <imagevariants> tags?