Jump to content


Photo

Adding new hero


  • Please log in to reply
25 replies to this topic

#1 Amaruak Shadow

Amaruak Shadow
  • Members
  • 55 posts
  • Location:Poland

Posted 21 October 2005 - 05:14 PM

Hi. I am beginer and I need help. I tried add Haldir to game following Tutorial on site. When i tried run game, i had an error :
Game crash

addModuleInfo - ERROR defining module 'W3DScriptedModelDraw' on thing template 'LegolasHawkStrikeProjectile'. The module 'W3DScriptedModuleDraw' has the tag 'ModuleTag_Draw' is also already on draw module 'W3DScriptedModelDraw' within this object.

Please make unique tag names within an object definition.

Error parsing field 'End' in block 'Object' in file 'Data\INI\Object\goodfaction\units\rohan\legolas.ini', line 948.


Error parsing INI block ' End' in file 'Data\INI\Object\goodfaction\units\rohan\legolas.ini'.
5 addresses:
(unkown)(0): game.dat+9163328 (unkown)
(unkown)(0): game.dat+503517 (unkown)
(unkown)(0): game.dat+521947 (unkown)
(unkown)(0): game.dat+10656137 (unkown)
(unkown)(0): kernel32.dll+136391 GetCurrentDirectoryW+68

Because of severity of this error the game will now exit.

What I did wrong ?? Plx help me !!

Sorry for any mis-spelling, but I am from Poland and I still learning English.

Edited by Amaruak Shadow, 21 October 2005 - 05:18 PM.


#2 King of Universe

King of Universe

    It is in our most dire needs, that we do our greatest deeds...

  • Hosted
  • 878 posts
  • Location:Norway
  • Projects:Hero Mod

Posted 21 October 2005 - 05:27 PM

At the start of your haldir.ini, it says
Object RohanLegolas

Change it to
Object RohanHaldir

Posted Image


Frodo: I wish the Ring had never come to me... I wish none of this had happened...
Gandalf: So do all who live to see such times, but that is not for them to decide. All you have to decide, is what to do with the time that is given to you...

Click me

#3 Amaruak Shadow

Amaruak Shadow
  • Members
  • 55 posts
  • Location:Poland

Posted 21 October 2005 - 05:57 PM

Hmmm... at the start of my haldir.ini i have :
;------------------------------------------------------------------------------
;
;	Haldir.ini
;
;------------------------------------------------------------------------------

; aka Haldir
Object RohanHaldir
; *** ART Parameters ***

   ; SelectPortrait for Heros is portrait behind skill buttons. HP = HeroPortrait.
	SelectPortrait = HPHaldir
    
   ; ButtonImage for Heros is button image on Hero Select UI to select hero. HI = HeroIcon or HeroImage.
    ButtonImage = HPHaldir

	Draw = W3DScriptedModelDraw ModuleTag_01_

  OkToChangeModelColor = Yes
   
  StaticModelLODMode = yes; Will append M or L to the skin name depending on GameLOD
Where I have any fault ??

#4 King of Universe

King of Universe

    It is in our most dire needs, that we do our greatest deeds...

  • Hosted
  • 878 posts
  • Location:Norway
  • Projects:Hero Mod

Posted 21 October 2005 - 06:21 PM

Well, not there...

But since it's Legolas' powers, you can just remove them... From Haldir.ini

Edited by King of Universe, 21 October 2005 - 06:24 PM.

Posted Image


Frodo: I wish the Ring had never come to me... I wish none of this had happened...
Gandalf: So do all who live to see such times, but that is not for them to decide. All you have to decide, is what to do with the time that is given to you...

Click me

#5 Amaruak Shadow

Amaruak Shadow
  • Members
  • 55 posts
  • Location:Poland

Posted 21 October 2005 - 07:27 PM

I have removed powers from haldir.ini, but i have next error :
Game crash

Unkown block 'EditorSorting'.

Error parsing INI block 'EditorSorting' in file 'Data\INI\Object\goodfaction\units\rohan\haldir.ini'.
5 addresses:
(unkown)(0): game.dat+9163328 (unkown)
(unkown)(0): game.dat+503517 (unkown)
(unkown)(0): game.dat+521947 (unkown)
(unkown)(0): game.dat+10656137 (unkown)
(unkown)(0): kernel32.dll+136391 GetCurrentDirectoryW+68

Because of severity of this error the game will now exit.

I think this error is concerning on this lines in my haldir.ini :

; ***DESIGN parameters ***
	Side = Rohan
	EditorSorting       = UNIT
	ThreatLevel         = 4.0
	ThingClass          = CHARACTER_UNIT
What i have wrong ??

#6 Phil

Phil

    Force Majeure

  • Network Leaders
  • 7,976 posts
  • Location:Switzerland
  • Projects:Revora, C&C:Online
  •  Thought Police
  • Division:Revora
  • Job:Network Leader
  • Donated
  • Association

Posted 21 October 2005 - 08:54 PM

Couldn't you just attach the whole file?

revorapresident.jpg
My Political Compass

Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.


#7 Amaruak Shadow

Amaruak Shadow
  • Members
  • 55 posts
  • Location:Poland

Posted 21 October 2005 - 09:29 PM

Couldn't you just attach the whole file?

For example ?? How ??

#8 ched

ched

    .

  • Undead
  • 4,431 posts
  • Location:Angers (France)
  • Projects:Rhovanion Alliance
  •  T3A Team Chamber Member
  • Division:BFME
  • Job:Previous Division Leader

Posted 21 October 2005 - 09:42 PM

just copy paste all of your code
Software is like sex; it's better when it's free ~Linus Torvald

#9 Phil

Phil

    Force Majeure

  • Network Leaders
  • 7,976 posts
  • Location:Switzerland
  • Projects:Revora, C&C:Online
  •  Thought Police
  • Division:Revora
  • Job:Network Leader
  • Donated
  • Association

Posted 21 October 2005 - 10:33 PM

Or just use the attachment function like this:

Attached Files


revorapresident.jpg
My Political Compass

Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.


#10 Amaruak Shadow

Amaruak Shadow
  • Members
  • 55 posts
  • Location:Poland

Posted 22 October 2005 - 08:09 AM

Of course i have all code in one file... if you mean it :p

#11 King of Universe

King of Universe

    It is in our most dire needs, that we do our greatest deeds...

  • Hosted
  • 878 posts
  • Location:Norway
  • Projects:Hero Mod

Posted 22 October 2005 - 08:12 AM

Why don't you just attach the haldir.ini?
And by 'All codes in one file' you mean just the hero's stuff which you copied from legolas.ini into your ini (haldir.ini), right? Not Commandset, Experiencelevels etc. in the same ini...

Edited by King of Universe, 22 October 2005 - 09:30 AM.

Posted Image


Frodo: I wish the Ring had never come to me... I wish none of this had happened...
Gandalf: So do all who live to see such times, but that is not for them to decide. All you have to decide, is what to do with the time that is given to you...

Click me

#12 Amaruak Shadow

Amaruak Shadow
  • Members
  • 55 posts
  • Location:Poland

Posted 22 October 2005 - 08:46 AM

By 'all files in one file' I mean only hero's stuff copied from legolas.ini.

#13 Phil

Phil

    Force Majeure

  • Network Leaders
  • 7,976 posts
  • Location:Switzerland
  • Projects:Revora, C&C:Online
  •  Thought Police
  • Division:Revora
  • Job:Network Leader
  • Donated
  • Association

Posted 22 October 2005 - 08:55 AM

Then post it, so we can help...

revorapresident.jpg
My Political Compass

Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.


#14 Amaruak Shadow

Amaruak Shadow
  • Members
  • 55 posts
  • Location:Poland

Posted 22 October 2005 - 09:49 AM

Ok i posted here my haldir.ini. If you can plx check it :p

Attached Files



#15 King of Universe

King of Universe

    It is in our most dire needs, that we do our greatest deeds...

  • Hosted
  • 878 posts
  • Location:Norway
  • Projects:Hero Mod

Posted 22 October 2005 - 10:16 AM

You didn't remove the abilities, try this:
(removed)

Also, if you don't want Haldir to be able to toggle weapon, use this:
(removed)

Edited by King of Universe, 22 October 2005 - 11:57 AM.

Posted Image


Frodo: I wish the Ring had never come to me... I wish none of this had happened...
Gandalf: So do all who live to see such times, but that is not for them to decide. All you have to decide, is what to do with the time that is given to you...

Click me

#16 Amaruak Shadow

Amaruak Shadow
  • Members
  • 55 posts
  • Location:Poland

Posted 22 October 2005 - 11:23 AM

Thanks a lot :p

It work right. :huh:

Edited by Amaruak Shadow, 22 October 2005 - 11:44 AM.


#17 King of Universe

King of Universe

    It is in our most dire needs, that we do our greatest deeds...

  • Hosted
  • 878 posts
  • Location:Norway
  • Projects:Hero Mod

Posted 22 October 2005 - 11:35 AM

Thanks a lot  :p

<{POST_SNAPBACK}>

You're welcome :huh:
It worked, right? I didn't test it...
It should work though

Posted Image


Frodo: I wish the Ring had never come to me... I wish none of this had happened...
Gandalf: So do all who live to see such times, but that is not for them to decide. All you have to decide, is what to do with the time that is given to you...

Click me

#18 Leon666

Leon666
  • Members
  • 6 posts

Posted 22 October 2005 - 12:27 PM

i am new too and i have problem i did haldir too and i did all what is in tutorial. i use haldir2.ini posted by king of universe but when i play i dont have haldir in game.
plese help me

Edited by Leon666, 22 October 2005 - 12:33 PM.


#19 King of Universe

King of Universe

    It is in our most dire needs, that we do our greatest deeds...

  • Hosted
  • 878 posts
  • Location:Norway
  • Projects:Hero Mod

Posted 22 October 2005 - 12:43 PM

You have added him to playertemplate, right.
The file I posted was only the hero's ini, you still need to do the other stuff in the tutorial.

Posted Image


Frodo: I wish the Ring had never come to me... I wish none of this had happened...
Gandalf: So do all who live to see such times, but that is not for them to decide. All you have to decide, is what to do with the time that is given to you...

Click me

#20 Leon666

Leon666
  • Members
  • 6 posts

Posted 22 October 2005 - 12:51 PM

ye i did i added lines to playertemplate.ini, experiencelevel.ini and commandset.ini




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users