You mustn't put blocks in blocks in XML
Not!
<weapon ... <image/>>
But
<weapon damage="kinetic:0"...><image unid="bla-blah"/></Weapon>
Search found 147 matches
- Sun Jan 12, 2014 10:41 pm
- Forum: Shipyards
- Topic: XML and CPP
- Replies: 11
- Views: 5997
- Sat Jan 11, 2014 8:18 am
- Forum: Commonwealth
- Topic: Best & Worst Weapons
- Replies: 92
- Views: 45296
Re: Best & Worst Weapons
I don't use many of the weapons because i have some powerful ones. It's pretty strange, but i don't like ion weapons and don't use them at all. So, best ones to late gate: 1. Ferian plasma cannon. YUP! It's extremaly powerful for it's level. Ares positron weapons can be good alternative, but the pla...
- Sat Jan 11, 2014 7:58 am
- Forum: Announcements
- Topic: IRC Day 2014!
- Replies: 6
- Views: 7838
Re: IRC Day 2014!
How long it will be?
- Wed Jan 08, 2014 11:28 pm
- Forum: Ideas & Suggestions
- Topic: Readonly access to attributes and something other
- Replies: 2
- Views: 1837
Re: Readonly access to attributes and something other
By the way a question: why don't George want to add float numbers?
- Wed Jan 08, 2014 11:27 pm
- Forum: Ideas & Suggestions
- Topic: Readonly access to attributes and something other
- Replies: 2
- Views: 1837
Readonly access to attributes and something other
1. Let's imagine a situation that we have a weapon: <ItemType name = "blah" virtual = "1"> <Weapon omnidirection = "true" damage = "generic:1337" blah-blah > <Effect> <blah-blah> ... And we need to get some attribute. For example - if some itemtype have effect with some value, then blah-blah. typGet...
- Wed Jan 08, 2014 4:24 pm
- Forum: Shipyards
- Topic: Three Modding Questions
- Replies: 6
- Views: 3291
Re: Three Modding Questions
Oh, sorry. I found more easy solution:
<OnUninstalled>
(block Nil
(shpInstallDevice gSource gItem)
(objSendMessage gSource (cat (itmGetName gItem) " cannot be unistalled"))
)
</OnUninstalled>
Well: <OnUninstall> is called before uninstall, OnUnistalled after.
And forgot about 25 level.
<OnUninstalled>
(block Nil
(shpInstallDevice gSource gItem)
(objSendMessage gSource (cat (itmGetName gItem) " cannot be unistalled"))
)
</OnUninstalled>
Well: <OnUninstall> is called before uninstall, OnUnistalled after.
And forgot about 25 level.
- Wed Jan 08, 2014 3:49 pm
- Forum: Commonwealth
- Topic: Commonwealth v. Ares, Who Would Win?
- Replies: 44
- Views: 21109
Re: Commonwealth v. Ares, Who Would Win?
Well, let's make it bright. First of all - the commonwealth is far more common, than Ares. Commonwealth's stations can be seen in approximate of 2/3 of the human space. That means they have far more big amount of humans, therefore huge production, but it seems like they have poor research. Moreover ...
- Wed Jan 08, 2014 2:21 pm
- Forum: Commonwealth
- Topic: Commonwealth v. Ares, Who Would Win?
- Replies: 44
- Views: 21109
Re: Commonwealth v. Ares, Who Would Win?
Oh...
Yesterday one CSC DID DESTROYED a phobos. To be accurate not the CSC itself, but his fleet. That was epic battle.
Well, i had weapon extended on hard mode on with random weapons...
I was lagging as hell, even laggier than Space Station 13 when the singularity was lost.
Yesterday one CSC DID DESTROYED a phobos. To be accurate not the CSC itself, but his fleet. That was epic battle.
Well, i had weapon extended on hard mode on with random weapons...
I was lagging as hell, even laggier than Space Station 13 when the singularity was lost.
- Wed Jan 08, 2014 1:59 am
- Forum: Shipyards
- Topic: Three Modding Questions
- Replies: 6
- Views: 3291
Re: Three Modding Questions
1. Is there a way to have a device hardwired to a ship - unable to be removed/uninstalled/etc.? Is there a way to have that device hardwired to the ship except for interactions with specific stations? Set the level = 25 and write next: <OnUninstall> (objSendMessage gSource Nil (cat (itmGetName gIte...
- Mon Jan 06, 2014 11:15 am
- Forum: Shipyards
- Topic: List to objects can't be stored as data.
- Replies: 3
- Views: 1996
Re: List to objects can't be stored as data.
Well, my EMC (energy-matter converter) wasn't working and was causing a crash of the game because of that. A ship has a variable "EMC_parent" that contains a pointer to an EMC. Virtual launcher, virtual energy load, and dockscreen were using this var to run some events of the EMC. Just a little exam...
- Mon Jan 06, 2014 8:03 am
- Forum: Shipyards
- Topic: List to objects can't be stored as data.
- Replies: 3
- Views: 1996
Re: List to objects can't be stored as data.
Well, i can get data as well, but by not direct way.
- Mon Jan 06, 2014 7:47 am
- Forum: Shipyards
- Topic: List to objects can't be stored as data.
- Replies: 3
- Views: 1996
- Sun Jan 05, 2014 12:52 pm
- Forum: Commonwealth
- Topic: Commonwealth v. Ares, Who Would Win?
- Replies: 44
- Views: 21109
Re: Commonwealth v. Ares, Who Would Win?
Well, i think phobos-rush can easily overtake the ENTIRE commonwealth's fleet. 125K HP is the most powerful stuff i even seen, even iocrym command ship can't even with that. Also, phobos is powerful enough to common ship, except special ones which are equipped with ion-reflection and an antimissile ...
- Sat Jan 04, 2014 10:46 pm
- Forum: Shipyards
- Topic: Bullets and missiles. Their variables, function, events.
- Replies: 20
- Views: 9008
Re: Bullets and missiles. Their variables, function, events.
Virtual items cannot be installed, that's why it didn't work.
- Sat Jan 04, 2014 4:35 pm
- Forum: Shipyards
- Topic: Bullets and missiles. Their variables, function, events.
- Replies: 20
- Views: 9008