Jump to content


Photo

error with ini


  • Please log in to reply
4 replies to this topic

#1 jack sparrow

jack sparrow
  • Members
  • 10 posts

Posted 27 September 2006 - 06:44 PM

hi , i am following the tutorial to learn how to mod but i have a problem with the fanction stuff

all was going good but when i add this it gives an error pls help



when i add this :

Object ElvesCampKeep
SelectPortrait = BPGCamp
; *** ART Parameters ***
Draw = W3DScriptedModelDraw ModuleTag_Draw
OkToChangeModelColor = Yes
UseStandardModelNames = Yes
DefaultModelConditionState 
Model = GBCCenter
; ParticleSysBone = glowbone01 TorchGlow
; ParticleSysBone = glowbone02 furnaceSmoke

End


it gives this error: Missing End Token

on line 0

is it possible?

2playedit: added code tags



PLZ HELP

Edited by 2playgames, 28 September 2006 - 07:45 AM.


#2 Lauri

Lauri

    Old man Lauri

  • Hosted
  • 10,436 posts
  • Location:Norway
  • Projects:The 4th Age
  •  The very worst T3A Team Chamber Member

Posted 27 September 2006 - 07:23 PM

you need another End below the End I think:

Model = GBCCenter
; ParticleSysBone = glowbone01 TorchGlow
; ParticleSysBone = glowbone02 furnaceSmoke

End
End

2playedit: added code tags (tss, you should know better :))

Lauredit: I did a Fast Reply, and was tierd :lol:

Edited by Lauri, 28 September 2006 - 12:42 PM.

T4A_Logo_-_article.png

The 4th Age version 0.8 has been released: Link


#3 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 27 September 2006 - 07:32 PM

There are even more "end"-tags missing. But first you need to understand that certain tags "open" a space and should be "closed" again, with an "end". In this case the opening tags are: Object, Draw = W3DScriptedModelDraw and DefaultModelConditionState. So you should have 3 ends totally. I'll list up your code the way it should be:

Object ElvesCampKeep
  SelectPortrait = BPGCamp
; *** ART Parameters ***
  Draw = W3DScriptedModelDraw ModuleTag_Draw
	OkToChangeModelColor = Yes
	UseStandardModelNames = Yes

	DefaultModelConditionState
	  Model = GBCCenter
; ParticleSysBone = glowbone01 TorchGlow
; ParticleSysBone = glowbone02 furnaceSmoke
	End

  End

End

But this would be only one part of the whole object. I'm sure you want more than just define a model :lol:
If you have further questions, feel free to ask. Coding can be difficult in the beginning...

Edited by Dark Lord of the Sith, 27 September 2006 - 07:34 PM.

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.


#4 Fingulfin

Fingulfin

    I Like Pi3. Do you?

  • Hosted
  • 1,752 posts
  • Location:California, USA
  • Projects:Staying Alive.
  •  This place looks familiar. I can't remember why.

Posted 27 September 2006 - 11:49 PM

No need for offensive Spam, untracable. POST DELETED
Posted Image
--------------------------------------
"You look like a ghost of your former self..."

#5 jack sparrow

jack sparrow
  • Members
  • 10 posts

Posted 28 September 2006 - 03:21 PM

thx for the help




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users