Search found 81 matches

by Shivan Hunter
Thu Oct 18, 2012 3:52 pm
Forum: Shipyards
Topic: Weapon graphics for 12 damage types [NEW Oct 12: dark types]
Replies: 7
Views: 6106

Re: Weapon graphics for 12 damage types [NEW Oct 12: dark ty

...um, I assume you mean StelliFer Laboratories, which is by SiaFu. what do you mean by "make it compatible"? What I'm planning (in the long-term) is a gfx overhaul similar to SiaFu's, which means it is inherently incompatible. You are of course welcome to make a mod that uses some of my stuff and s...
by Shivan Hunter
Thu Oct 18, 2012 1:34 am
Forum: Mod Announcements
Topic: [New Mod] Uncharted Released!
Replies: 70
Views: 46073

Re: [New Mod] Uncharted Released!

Code: Select all

<DarthGeek|2> OK, so it's the second system in the game, I should expect a few anarchists and pirates, nothing too HOLY CRAP HELIOTROPES
<DarthGeek|2> I love your mod RPC :3
by Shivan Hunter
Wed Oct 17, 2012 6:09 am
Forum: Shipyards
Topic: Problems with msnAddRecurringTimerEvent
Replies: 0
Views: 1327

Problems with msnAddRecurringTimerEvent

In a normal mission event like OnObjDestroyed, I can use (msnGetData gSource 'targetID) to get the target object (since 'targetID is a variable). But in a timer event I defined and called using msnAddRecurringTimerEvent, (msnGetData gSource 'targetID) seems to return Nil. At least, no information ab...
by Shivan Hunter
Wed Oct 17, 2012 4:37 am
Forum: Shipyards
Topic: objRepairArmor on stations?
Replies: 1
Views: 1378

objRepairArmor on stations?

In the Trans XML, I only ever see it used on ships. Does it work for stations? Given that targetObj is a station, I've tried (objRepairArmor targetObj 0), (objRepairArmor targetObj Nil) and (objRepairArmor targetObj 1) with no success. None of them repair the station. ? EDIT: This question is still ...
by Shivan Hunter
Mon Oct 15, 2012 11:18 pm
Forum: Shipyards
Topic: Longzhu Sphere nerf
Replies: 9
Views: 4452

Re: Longzhu Sphere nerf

I have fixed the bug where Lonzhus don't appear on Earth Slavers! I was overwriting the wrong Earth Slaver (the carrier one). This overwrites the normal one, which is the one referenced by stations etc. I also changed its probability of having 1d3 longzhu spheres from 8% to 7%, and added a 25% chanc...
by Shivan Hunter
Mon Oct 15, 2012 6:41 pm
Forum: Shipyards
Topic: shield trouble
Replies: 6
Views: 2962

Re: shield trouble

See if this works. I can't test it right now, got a midterm to study for, but it should work. Using a 30% chance (random number between 1 and 10 is greater than or equal to 8) <OnShieldDown> (block Nil (if (geq (random 1 10) 8) (block Nil (shpRechargeShield gSource 100) (objSendMessage gSource Nil "...
by Shivan Hunter
Mon Oct 15, 2012 6:03 pm
Forum: Shipyards
Topic: shield trouble
Replies: 6
Views: 2962

Re: shield trouble

Hmm. Instead of waiting until it recharges normally, you could have a chance that it'll restore fully when it goes down. So get a random number between 1 and 10 and say, check whether it's 3 or less (30% chance), and if so, restore the shield. You could increase this chance and lengthen the delay be...
by Shivan Hunter
Mon Oct 15, 2012 5:50 pm
Forum: Shipyards
Topic: shield trouble
Replies: 6
Views: 2962

Re: shield trouble

I'm not sure the game can tell the difference between "recharging normally" and your shpRechargeShield call.
by Shivan Hunter
Mon Oct 15, 2012 5:46 pm
Forum: Shipyards
Topic: Enhancement flags?
Replies: 12
Views: 5268

Re: Enhancement flags?

well, I got the damage working by using objSetItemProperty; I had to do this twice (the first time it just removes enhancement), so I set the result from one to newItem, then called the second one with newItem instead of gItem. Something like this: (block (newItem) (setq newItem (objSetItemProperty ...
by Shivan Hunter
Mon Oct 15, 2012 5:44 pm
Forum: Shipyards
Topic: Longzhu Sphere nerf
Replies: 9
Views: 4452

Re: Longzhu Sphere nerf

I'll put all my stuff on Xelerus sometime this week. Too busy today to do anything in-depth. :)
by Shivan Hunter
Mon Oct 15, 2012 5:34 pm
Forum: Shipyards
Topic: Can't load my weapons mod images
Replies: 4
Views: 2368

Re: Can't get my weapon image loaded 4 my mod

To load an image, you need a UNID and a unique number for it, and you need to actually load the image at some point. Here is how to do that. Let's say you have an image that you'll refer to as rsRanxTurret. You also have two images, RanxTurret.jpg and RanxTurretMask.bmp, in your resources folder (tr...
by Shivan Hunter
Mon Oct 15, 2012 3:38 am
Forum: Shipyards
Topic: Longzhu Sphere nerf
Replies: 9
Views: 4452

Re: Longzhu Sphere nerf

I can copy my code over to the other types of upgrade if I have time- sometime this week, probably. I'll release that as a separate mod. I don't see the gameplay need for it, but to each their own :)
by Shivan Hunter
Mon Oct 15, 2012 3:30 am
Forum: Shipyards
Topic: Longzhu Sphere nerf
Replies: 9
Views: 4452

Longzhu Sphere nerf

Basically, this makes longzhu spheres work more like enchantment scrolls in NetHack. In NetHack, if you enchant an item to +4 (+6 for some items), it has a chance of being destroyed if you enhance it further. This chance increases with enchantment; it's nearly impossible to get something to +9, for ...
by Shivan Hunter
Mon Oct 15, 2012 3:01 am
Forum: Shipyards
Topic: Enhancement flags?
Replies: 12
Views: 5268

Re: Enhancement flags?

So, with much help fro RPC and TVR___ and other IRC gurus, I got this working. The crux of the matter was that damaging an item, or de-enhancing it and re-enhancing it, takes two commands modifying gItem; but once it's modified, gItem no longer points to the modified item. So I had to damage gItem t...
by Shivan Hunter
Sun Oct 14, 2012 9:46 pm
Forum: Shipyards
Topic: Enhancement flags?
Replies: 12
Views: 5268

Re: Enhancement flags?

changing "block Nil" to "block newItem" and adding (setq newItem (itmSetProperty gItem 'damaged True)) (objAddItem gPlayerShip newItem) (shpInstallDevice gPlayerShip newItem) (shpRemoveDevice gPlayerShip gItem) (objRemoveItem gPlayerShip gItem) does not work. Trans babbles about "Locals list expecte...