
beginner modding
-
- Miner
- Posts: 44
- Joined: Mon Jul 21, 2008 1:21 pm
iam new to the game this is my first time modding i have finished till the iocrym but cant go further why?
next what do you mod with notepad or other software i always get errors like invalid unid ,invalid identity a few more were there i'll post later after a look oh i wanna ask are you all professional programmers

first that dark red was kindof hard to read.
anything that can edit .xml files can be used for modding, notepad++ is a good option, it seems geared for programmers.
the iocrym is a tough nut to crack, only a few weapons can kill it.
as for the errors i can't say much without seeing the code, except that an invalid unid means that the unid for your item is bad, and i think invalid entity is that item you added doesn't have a unid.
anything that can edit .xml files can be used for modding, notepad++ is a good option, it seems geared for programmers.
the iocrym is a tough nut to crack, only a few weapons can kill it.
as for the errors i can't say much without seeing the code, except that an invalid unid means that the unid for your item is bad, and i think invalid entity is that item you added doesn't have a unid.
-
- Miner
- Posts: 44
- Joined: Mon Jul 21, 2008 1:21 pm
<?xml version="1.0" encoding="utf-8"?>
<TranscendenceModule>
<!-- LEVEL I -->
<!-- Class I Deflector -->
<ItemType UNID="&itClass1Deflecto23r;"
name= "class I deflector"
level= "1"
value= "250"
mass= "1000"
frequency= "uncommon"
modifiers= "MajorItem"
showReference= "true"
description= "This deflector screen protects a ship against laser fire."
sortName= "deflector, class I"
>
<Image imageID="&rsItems1;" imageX="192" imageY="0" imageWidth="96" imageHeight="96"/>
<Shields
hitPoints= "25"
absorbAdj= "100,100,100,100, 100,100,100,100, 100,100,100,100, 100,100,100,100"
damageAdj= "100,100,125,125, 200,200,275,275, 350,350,425,425, 500,500,575,575"
regenTime= "30"
regenHP= "1"
depletionDelay= "20"
powerUse= "10"
/>
</ItemType>
</TranscendenceModule>
modifiers= "Consumable; Missile" i am pointing to the modifiers!
oh and sorry for the red font i was just experimenting
<TranscendenceModule>
<!-- LEVEL I -->
<!-- Class I Deflector -->
<ItemType UNID="&itClass1Deflecto23r;"
name= "class I deflector"
level= "1"
value= "250"
mass= "1000"
frequency= "uncommon"
modifiers= "MajorItem"
showReference= "true"
description= "This deflector screen protects a ship against laser fire."
sortName= "deflector, class I"
>
<Image imageID="&rsItems1;" imageX="192" imageY="0" imageWidth="96" imageHeight="96"/>
<Shields
hitPoints= "25"
absorbAdj= "100,100,100,100, 100,100,100,100, 100,100,100,100, 100,100,100,100"
damageAdj= "100,100,125,125, 200,200,275,275, 350,350,425,425, 500,500,575,575"
regenTime= "30"
regenHP= "1"
depletionDelay= "20"
powerUse= "10"
/>
</ItemType>
</TranscendenceModule>
a one more what does this meanthis is a an example the code i copied from transcendence source and changed the unid now the error is invalid unid
please dont mind if the quote is wrongly placed this the first time i ever became a member of a forum
modifiers= "Consumable; Missile" i am pointing to the modifiers!
oh and sorry for the red font i was just experimenting
- digdug
- Fleet Admiral
- Posts: 2620
- Joined: Mon Oct 29, 2007 9:23 pm
- Location: Decoding hieroglyphics on Tan-Ru-Dorem
try this:
- Use <TranscendenceExtension> for your extensions not <TranscendenceModule>.
- Choose a unique UNID for your extension AND all the items inside the extension. (in this case 2 unids) and put them in the UNID table. (that i added to your code)
- How to choose your unique unid ?
See here for the format:
http://z8.invisionfree.com/Transcendenc ... wtopic=569
It's not necessary anymore to register to the UTF to create your personal UNID, but that post gives you examples on the format of the UNID.
Register your new UNID here:
http://www.neurohack.com/transcendence/ ... .php?t=959
- change the fake unids i posted (xxxxyyyy) to your new unids and it should work. Change also the name and the comment <!-- --> of your new shield, for sorting purposes and ingame display.
Other helpful things:
-Use the code button when posting code, in order to keep the format.
- Use the Quote button to quote some text of previous posts in the thread.
- Because there is no documentation on how to mod, ask anytime !
Code: Select all
<?xml version="1.0" ?>
<!DOCTYPE TranscendenceExtension
[
<!ENTITY unidExtension "0xXXXXYYYY">
<!ENTITY itClass1Deflecto23r "0xXXXXYYYZ">
]>
<TranscendenceExtension UNID="unidExtension" version="0.98d">
<!-- LEVEL I -->
<!-- Class I Deflector --> ; change it, even if it's just a comment
<ItemType UNID="&itClass1Deflecto23r;"
name= "class I deflector" ;change name here
level= "1"
value= "250"
mass= "1000"
frequency= "uncommon"
modifiers= "MajorItem"
showReference= "true"
description= "This deflector screen protects a ship against laser fire."
sortName= "deflector, class I"
>
<Image imageID="&rsItems1;" imageX="192" imageY="0" imageWidth="96" imageHeight="96"/>
<Shields
hitPoints= "25"
absorbAdj= "100,100,100,100, 100,100,100,100, 100,100,100,100, 100,100,100,100"
damageAdj= "100,100,125,125, 200,200,275,275, 350,350,425,425, 500,500,575,575"
regenTime= "30"
regenHP= "1"
depletionDelay= "20"
powerUse= "10"
/>
</ItemType>
</TranscendenceExtension>
- Choose a unique UNID for your extension AND all the items inside the extension. (in this case 2 unids) and put them in the UNID table. (that i added to your code)
- How to choose your unique unid ?
See here for the format:
http://z8.invisionfree.com/Transcendenc ... wtopic=569
It's not necessary anymore to register to the UTF to create your personal UNID, but that post gives you examples on the format of the UNID.
Register your new UNID here:
http://www.neurohack.com/transcendence/ ... .php?t=959
- change the fake unids i posted (xxxxyyyy) to your new unids and it should work. Change also the name and the comment <!-- --> of your new shield, for sorting purposes and ingame display.
Other helpful things:
-Use the code button when posting code, in order to keep the format.
- Use the Quote button to quote some text of previous posts in the thread.
- Because there is no documentation on how to mod, ask anytime !

you might wish to look through my modding tutorial at http://neurohack.com/transcendence/foru ... php?t=1349
it doesn't cover all that much but it should help you a *lot*. I don't know what "modifiers" does though.
it doesn't cover all that much but it should help you a *lot*. I don't know what "modifiers" does though.