User Name
Remember Me?
Password
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
DeeZire Online
>
Editing Community
>
Command and Conquer Editing
>
Generals & Zero Hour Editing
» Crop Duster Coding Problem
Generals & Zero Hour Editing
Discuss any modding related issues to do with Generals and Zero Hour here.
Page 1 of 2
1
2
>
LinkBack
Thread Tools
06-01-2004, 06:11 AM
#
1
(
permalink
)
Granger
Senior Member
Join Date: May 2004
Posts: 191
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?
06-01-2004, 09:46 AM
#
2
(
permalink
)
coolfile
Senior Member
Join Date: Feb 2004
Location: China
Posts: 356
1. NONE or DefaultConditionState
2. does the w3d file of CVCdtplnm work?
06-01-2004, 03:38 PM
#
3
(
permalink
)
Granger
Senior Member
Join Date: May 2004
Posts: 191
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.
06-01-2004, 04:12 PM
#
4
(
permalink
)
Colton
Senior Member
Join Date: Aug 2003
Posts: 109
It works for me. What exactly isn't it doing?
- Colton
06-01-2004, 05:01 PM
#
5
(
permalink
)
Granger
Senior Member
Join Date: May 2004
Posts: 191
It isn't working... I get a serious error when I boot up the game.
06-01-2004, 05:06 PM
#
6
(
permalink
)
Colton
Senior Member
Join Date: Aug 2003
Posts: 109
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
06-01-2004, 05:30 PM
#
7
(
permalink
)
Granger
Senior Member
Join Date: May 2004
Posts: 191
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?
06-02-2004, 02:06 AM
#
8
(
permalink
)
coolfile
Senior Member
Join Date: Feb 2004
Location: China
Posts: 356
open your would builder and it will tell you where the bug is.
06-02-2004, 08:45 AM
#
9
(
permalink
)
Colton
Senior Member
Join Date: Aug 2003
Posts: 109
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
06-02-2004, 09:40 AM
#
10
(
permalink
)
Granger
Senior Member
Join Date: May 2004
Posts: 191
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...?
Page 1 of 2
1
2
>
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
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
.
Contact Us
-
Deezire Online
-
Archive
-
Top
Design By:
Miner Skinz.com
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Furl this Thread!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45