beginner modding

Freeform discussion about anything related to modding Transcendence.
Post Reply
george_12aerohawk12
Miner
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
User avatar
Fatboy
Militia Lieutenant
Militia Lieutenant
Posts: 247
Joined: Fri Feb 22, 2008 1:52 am
Location: California

Could you post the code, please?
Bobby
Militia Captain
Militia Captain
Posts: 675
Joined: Wed Jul 25, 2007 7:39 pm

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.
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

Hi george_12aerohawk12, welcome to Transcendence Forums.

I use Notepad++ for doing my buggy mods, it makes the life easier. :)
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

I just use wordpad. And strategy!
george_12aerohawk12
Miner
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>
this 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
a one more what does this mean
modifiers= "Consumable; Missile" i am pointing to the modifiers!
oh and sorry for the red font i was just experimenting
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

try this:

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>
- 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 ! :D
F50
Fleet Officer
Fleet Officer
Posts: 1004
Joined: Sat Mar 11, 2006 5:25 pm

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.
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

Modifiers are now explained a little bit in your tutorial thread. :)
Post Reply