Un_Nem
  • Un_Nem
  • 62.75% (Friendly)
  • Private Topic Starter
18 years ago
i make new upgrade for laser crusader but when i try to play game i get error, where should be this error?

Download Attachment: UserPostedImage INI.rar 
4.98 KB
😣
Sponsor
CommieDog
18 years ago
Does this error stop WorldBuilder from loading?
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
Me Myself and Pi
18 years ago
I believe I know what the problem is. It looks like you took out all the other Laser General units, all the other command buttons, & all the other weapons from the INI files. When you don't include them in your INI files, it means you've taken out all of them. So take the orignal INI files & add your modifactions to them. You'll see in my little flame thrower BIG file that I left all the other stuff in them. Let me know if the game still crashes. 😉
Un_Nem
  • Un_Nem
  • 62.75% (Friendly)
  • Private Topic Starter
18 years ago
here is my original INI folder:

Download Attachment: UserPostedImage INI.rar 
1102.75 KB


; Behavior = WeaponSetUpgrade ModuleTag_01
; TriggeredBy = Upgrade_BetaLasers
; End

Remove all ";" then u see error :(

"; Reason Error parsing INI file 'Data\INI\Object\LaserGeneral.ini' (Line: 'Object Lazr_AmericaTankCrusader ')"


here is screen from WB:

Image Insert:
UserPostedImage
142.66 KB
😣
Me Myself and Pi
18 years ago
When I said two "So take the orignal INI files & add your modifactions to them.", I didn't mean all the INI files. I just meant the 5 INI files you modified.

Anyway, you've got to problems with "Behavior = WeaponSetUpgrade ModuleTag_01", first off, there's already a "ModuleTag_01" nere the top of the laser tank section. So change the number to 22. Aslo, that module is right in the middle of ModuleTag_02. It looks like this in the INI file: (with out the three semicolons.)

Body = ActiveBody ModuleTag_02
MaxHealth = 480
InitialHealth = 480

Behavior = WeaponSetUpgrade ModuleTag_01
TriggeredBy = Upgrade_BetaLasers
End

; Subdual damage "Subdues" you (reaction defined by BodyModule) when it passes your max health.
; The cap limits how extra-subdued you can be, and the other numbers detemine how fast it drains away on its own.
SubdualDamageCap = 960
SubdualDamageHealRate = 500
SubdualDamageHealAmount = 50
End



So rearrange it to this way & change the 01 to 22:

Body = ActiveBody ModuleTag_02
MaxHealth = 480
InitialHealth = 480

; Subdual damage "Subdues" you (reaction defined by BodyModule) when it passes your max health.
; The cap limits how extra-subdued you can be, and the other numbers detemine how fast it drains away on its own.
SubdualDamageCap = 960
SubdualDamageHealRate = 500
SubdualDamageHealAmount = 50
End

Behavior = WeaponSetUpgrade ModuleTag_22
TriggeredBy = Upgrade_BetaLasers
End



Well, that should fix it for that problem! Let me know if you have any more.
Un_Nem
  • Un_Nem
  • 62.75% (Friendly)
  • Private Topic Starter
18 years ago
Thank Me Myself And Pi :D

[ i have all INI files because i create new mod for ZH 😛 ]
😣
Un_Nem
  • Un_Nem
  • 62.75% (Friendly)
  • Private Topic Starter
18 years ago
I add my upgrade ato laser turret and:


Image Insert:
UserPostedImage
41.6 KB

wtf? 😞
😣
Me Myself and Pi
18 years ago
Mabey there's some place in the INI files where you put the x, y, & z cordanates. z (Meaning the height) looks to low, mabey you can raise is some where. Otherwise, I have no idea why the laser is firing from under neath.
Un_Nem
  • Un_Nem
  • 62.75% (Friendly)
  • Private Topic Starter
18 years ago
{ I have that 😃 )

" LaserBoneName = WEAPONA01"

but tell me where and how i can change X Y Z pos. ?
😣
krit
  • krit
  • 100% (Exalted)
  • Commander in Chief
18 years ago
Nothing to do with co-ordinates, it's just a simple in-correct bone name, or in your case, in-correct codes it seems.
UserPostedImage