logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,537
Total Threads: 8,626
Posts: 94,205

Administrators:
DeeZire, Redemption

There are currently 100 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 02-29-2004, 03:19 AM   #1 (permalink)
Member
 
Join Date: Feb 2004
Posts: 41
Default Detention Camp wont work with ZH

I have taken ALL the code for the detention camp, well at least I think I have, and put it into the ZH INI. After hours of tinkering its still not working. Any Ideas?

Thanks

(please im desperate!)
Azad0r is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-29-2004, 06:19 AM   #2 (permalink)
Member
 
Join Date: Feb 2004
Posts: 41
Default

Ok apparently the problem is this:

Quote:
Release Crash at Sun Feb 29 11:16:40 2004
; Reason Error parsing INI file 'Data\INI\Object\factionbuilding.ini' (Line: 'Object AmericaDetentionCamp ')

At the section in the INI files it reads:

Quote:
;------------------------------------------------------------------------------

Object AmericaDetentionCamp

; *** ART Parameters ***
SelectPortrait = SAPrison_L
ButtonImage = SAPrison

Draw = W3DModelDraw ModuleTag_01

ExtraPublicBone = PRISONYARD
OkToChangeModelColor = Yes


Ive tried changing the name there and the command button etc, whats wrong? Anyone?
Azad0r is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-29-2004, 06:28 AM   #3 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Scotland, UK
Posts: 752
Send a message via MSN to old_man_funk
Default

Try running the ZH World Builder, it should give you a better description of the error.
old_man_funk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-29-2004, 07:27 AM   #4 (permalink)
Member
 
Join Date: Feb 2004
Posts: 41
Default

I dont understand
Azad0r is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-29-2004, 07:33 AM   #5 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Scotland, UK
Posts: 752
Send a message via MSN to old_man_funk
Default

Neither do I
I've just read that if you load the Zero Hour World Builder, it will give you a better idea of what is wrong with your code.
old_man_funk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-29-2004, 11:29 AM   #6 (permalink)
Senior Member
 
Join Date: Oct 2003
Location: Nevada, USA
Posts: 933
Default

Ok here is your problem. It is 1 of the 2.

1. You forgot the subdual damage
SubdualDamageCap = 2200
SubdualDamageHealRate = 500
SubdualDamageHealAmount = 100
End

2. delete this line
SoundDie = BuildingDie

I'm 100% sure thhat it's one of those 2, or you screwed the code somewhere.

P.S. Did you notice how the detention camp doesnt have a building animations? Never nticed that until I put it back in ZH!
Mishkin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-29-2004, 11:34 AM   #7 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

It's not 1. You can remove it without errors (I did).
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-29-2004, 11:38 AM   #8 (permalink)
Senior Member
 
Join Date: Oct 2003
Location: Nevada, USA
Posts: 933
Default

Ok, then it's 2. Yeah, I remember now.

Delete that line.
Mishkin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-29-2004, 08:15 PM   #9 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: Canada
Posts: 968
Send a message via MSN to Eradicator
Default

Remeber you can run the ZH World Builder and it will tell you what's wrong with yuor code instead of just crashing like in Generals. Even if your mod works for ZH still run the WB every now and then because it is much more picky with INI code. That is most originally thought the WB wasn't compatible with mods.
Eradicator is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-29-2004, 10:52 PM   #10 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Texas
Posts: 709
Send a message via ICQ to Vanguard Send a message via AIM to Vanguard Send a message via MSN to Vanguard Send a message via Yahoo to Vanguard
Default

It is the SoundDie thing, and it is only that, unless you tried to re-enable the prisoner thing then it would be both that and the SoundDie thing.
Vanguard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Generals Detention Camp =ARSF=Thumpit Generals & Zero Hour Editing 2 06-07-2007 01:57 AM
Can someone check this code for detention camp please? Azad0r Generals & Zero Hour Editing 0 03-01-2004 03:30 PM
Can someone check this code for detention camp please? Azad0r Generals & Zero Hour Editing 0 03-01-2004 03:18 PM
Can someone check this code for detention camp please? Azad0r Generals & Zero Hour Editing 0 03-01-2004 03:13 PM
Can someone check this code for detention camp please? Azad0r Generals & Zero Hour Editing 0 03-01-2004 03:11 PM


All times are GMT -4. The time now is 12:03 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.0 Release Candidate 2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.