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

Forum Info
Forum Members: 18,643
Total Threads: 8,744
Posts: 95,520

Administrators:
DeeZire, Redemption

There are currently 31 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 06-01-2004, 06:11 AM   #1 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 191
Default Crop Duster Coding Problem

Quote:
; *** ART Parameters ***

SelectPortrait = SACRaptor_L
ButtonImage = SACRaptor

Draw = W3DModelDraw ModuleTag_01
ConditionState = NONE
Model = CVCDTPLN
Animation = CVCDTPLN.CVCDTPLN
AnimationMode = LOOP
End

ConditionState = REALLYDAMAGED
Model = CVCDTPLN_D
End

ConditionState = RUBBLE
Model = CVCDTPLN
End
End

;ConditionState = NONE or DefaultConditionState
;Model = CVCdtplnm
;Animation = CVCdtplnm.CVCdtplnm
;AnimationMode = LOOP
;WeaponLaunchBone = PRIMARY WeaponA
;WeaponHideShowBone = PRIMARY WeaponA
;End

;ConditionState = REALLYDAMAGED
;Model = CVCDTPLN_d
;Animation = CVCdtplnm.CVCdtplnm
;AnimationMode = LOOP
;End

;ConditionState = MOVING
;Model = CVCdtplnm
;Animation = CVCdtplnm.CVCdtplnm
;AnimationMode = LOOP
;WeaponLaunchBone = PRIMARY MISSILE01
;WeaponHideShowBone = PRIMARY MISSILE01
;WeaponLaunchBone = PRIMARY WeaponA
;WeaponHideShowBone = PRIMARY WeaponA
;End

;ConditionState = REALLYDAMAGED MOVING
;Model = CVCdtplnm_d
;Animation = CVCdtplnm_d.CVCdtplnm_d
;AnimationMode = LOOP
;WeaponLaunchBone = PRIMARY MISSILE01
;WeaponHideShowBone = PRIMARY MISSILE01
;WeaponLaunchBone = PRIMARY WeaponA
;WeaponHideShowBone = PRIMARY WeaponA
;End

;ConditionState = RUBBLE
;Model = CVCDTPLN_D
;End

This is the code for the Crop Duster. The section commented out is the section which doesn't work. Please can someone tell me what's wrong with it?
Granger is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2004, 09:46 AM   #2 (permalink)
Senior Member
 
Join Date: Feb 2004
Location: China
Posts: 356
Default

1. NONE or DefaultConditionState
2. does the w3d file of CVCdtplnm work?
coolfile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2004, 03:38 PM   #3 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 191
Default

Quote:
Originally Posted by coolfile
1. NONE or DefaultConditionState
2. does the w3d file of CVCdtplnm work?
1. NONE or DefaultConditionState

I put that in to show that I had tried both, but I didn't make it very clear.

2. does the w3d file of CVCdtplnm work?

It should do. Colton gave the link to the download, so I guess it should work.
Granger is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2004, 04:12 PM   #4 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 109
Default

It works for me. What exactly isn't it doing?

- Colton
Colton is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2004, 05:01 PM   #5 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 191
Default

It isn't working... I get a serious error when I boot up the game.
Granger is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2004, 05:06 PM   #6 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 109
Default

You are probably missing the locomotor info for your cropduster. Without the locomotor - your game will crash. I think I used something from another mod for the locomotor.ini ... if you still have troubles, let me know.

- Colton
Colton is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2004, 05:30 PM   #7 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 191
Default

It's not a locomoter problem...

I know this because if I put in the original Art Parameters, like in my first post, it works. If I use the new Art Parameters, it doesn't.

I also tried commenting things out, one by one, yet nothing worked...

Are you sure that's the right code?
Granger is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2004, 02:06 AM   #8 (permalink)
Senior Member
 
Join Date: Feb 2004
Location: China
Posts: 356
Default

open your would builder and it will tell you where the bug is.
coolfile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2004, 08:45 AM   #9 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 109
Default

The code is right. I'm using it in my mod and it works perfectly ... here it is again:

ConditionState = NONE
Model = CVCDTPLN
End

ConditionState = REALLYDAMAGED
Model = CVCDTPLN_d
End

ConditionState = MOVING
Model = CVCDTPLNm
Animation = CVCDTPLNm.CVCDTPLNm
AnimationMode = LOOP
WeaponLaunchBone = PRIMARY MISSILE01
WeaponHideShowBone = PRIMARY MISSILE01
End

ConditionState = REALLYDAMAGED MOVING
Model = CVCDTPLNm_d
Animation = CVCDTPLNm_d.CVCDTPLNm_d
AnimationMode = LOOP
WeaponLaunchBone = PRIMARY MISSILE01
WeaponHideShowBone = PRIMARY MISSILE01
End

ConditionState = RUBBLE
Model = CVCDTPLN_D
End

This shouldn't crash your game. If anything, your cropduster wouldn't appear (invisible) or wouldn't have animations. It must be something else.

- Colton
Colton is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2004, 09:40 AM   #10 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 191
Default

Quote:
Originally Posted by Colton
The code is right. I'm using it in my mod and it works perfectly ... here it is again:

ConditionState = NONE
Model = CVCDTPLN
End

ConditionState = REALLYDAMAGED
Model = CVCDTPLN_d
End

ConditionState = MOVING
Model = CVCDTPLNm
Animation = CVCDTPLNm.CVCDTPLNm
AnimationMode = LOOP
WeaponLaunchBone = PRIMARY MISSILE01
WeaponHideShowBone = PRIMARY MISSILE01
End

ConditionState = REALLYDAMAGED MOVING
Model = CVCDTPLNm_d
Animation = CVCDTPLNm_d.CVCDTPLNm_d
AnimationMode = LOOP
WeaponLaunchBone = PRIMARY MISSILE01
WeaponHideShowBone = PRIMARY MISSILE01
End

ConditionState = RUBBLE
Model = CVCDTPLN_D
End

This shouldn't crash your game. If anything, your cropduster wouldn't appear (invisible) or wouldn't have animations. It must be something else.

- Colton

Weird - it still doesn't work, yet it works with the normal code yet that code works for you... This is confusing...

Usually, as you said the Crop Duster would just be invisible, but instead the game crashes.

Is there a reference to another part of the script in that code...?
Granger 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
AI Coding help... Yuki Kiba Dakatsu Generals & Zero Hour Editing 3 02-03-2005 07:19 PM
Coding Nox911 Generals & Zero Hour Editing 9 12-15-2004 04:55 PM
coding ccs Generals & Zero Hour Editing 6 03-07-2004 11:03 PM
Crop Duster, how to go about it Ash10 Generals & Zero Hour Editing 4 01-13-2004 05:52 PM
Need coding help!!! Anyone? OllBollen Generals & Zero Hour Editing 5 03-03-2003 06:54 PM


All times are GMT -4. The time now is 06:26 PM.


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