Posted: Mon Mar 22, 2010 12:09 am Post subject:
Nuclear Airburst???
I have an idea... Is there any way to make [NUKE] airburst by altering its projectile codes? I really wanted to ask before I tried it to avoid avoidable mistakes...
If this works I'll have to give everyone a cookie. QUICK_EDIT
[NUKE] Is a warhead code. I'm not really sure of this of myself, but I'm gonna guess this is hard-coded to the extreme without using a patch. I just stayed away from even atempting editing it that much, due to the fact that its got alot of hard-coding, I'm pretty sure what your trying to do has been tried and has failed already, that said, good luck. Just in case, these are the tags for the nuke, I think.
[General]
NukeTakeOff=NUKETO
[AudioVisual]
DigSound=NukeSiren
[SpecialWeapons]
NukeWarhead=Nuke ; warhead used by falling nuke missile
NukeDown=NukeDown ; nuclear missile as it descends
NukeProjectile=NukeUp ; nuclear missile (from silo) projectile to launch
[GiantNukeUp]
Arm=2
Shadow=no
Image=NKMSLUP
Acceleration=1
Vertical=yes ; Not a missile or a projectile. Just go up until...
DetonationAltitude=20000; All this does is create the downward pointing one over the target
FirersPalette=yes
[NukeMaker]
NukeMaker=yes ; I couldn't think of a better name for this flag. It applies only to the weapon that shoots straight up and then uses the houses' targeting for where to come down QUICK_EDIT
[NUKE] Is a warhead code. I'm not really sure of this of myself, but I'm gonna guess this is hard-coded to the extreme without using a patch. I just stayed away from even atempting editing it that much, due to the fact that its got alot of hard-coding, I'm pretty sure what your trying to do has been tried and has failed already, that said, good luck. Just in case, these are the tags for the nuke, I think.
[SpecialWeapons]
NukeWarhead=Nuke
Talking about warheads, all the letters in the NUKE warhead is capital but the Nuke listed in the NukeWarhead tag is not capital only the first letter. I sense IE.
Darkstorm wrote:
You'd better not be lieing about the cookie, I'm posting in this thread for that cookie.
No, He's not. Not just Darkstorm, actually PPM leaves cookies in our browser's folder. PPM gives cookies even if you post useless posts or threads, that's how generous PPM is. QUICK_EDIT
[NUKE] Is a warhead code. I'm not really sure of this of myself, but I'm gonna guess this is hard-coded to the extreme without using a patch. I just stayed away from even atempting editing it that much, due to the fact that its got alot of hard-coding, I'm pretty sure what your trying to do has been tried and has failed already, that said, good luck. Just in case, these are the tags for the nuke, I think.
[SpecialWeapons]
NukeWarhead=Nuke
Talking about warheads, all the letters in the NUKE warhead is capital but the Nuke listed in the NukeWarhead tag is not capital only the first letter. I sense IE.
Yeah, I noticed that a long time ago, but I'm pretty sure that the tag is obsolete now...
Anyways, trying now... (Come on guys, don't you want the cookie?) QUICK_EDIT
[NukePayload]
Damage=300
Range=30
Projectile=GiantNukeDown ;MultiMissile
Speed=10
RadLevel=2500 ; Of course, I had to change it in Radiation rules.
Warhead=NUKE
[NukePayloadFake]
Damage=300
Range=30
Projectile=GiantNukeDown2 ;MultiMissile
Speed=10
RadLevel=2500 ; Same as above
Warhead=FAKENUKE
[NUKE]
CellSpread=10
PercentAtMax=.8
WallAbsoluteDestroyer=yes
Wood=yes
Verses=200%,200%,200%,200%,100%,100%,10%,10%,1%,300%,300%
InfDeath=4
Sparky=no
Tiberium=yes
;AnimList=NUKEBALL ; SJM: Activated from code now... see Bullet AI
AnimList=NUKEANIM ; SJM: This is once again the warhead-related anim
ShakeXlo=10
ShakeXhi=10
ShakeYlo=25
ShakeYhi=25
MaxDebris=7500
MinDebris=7499
[FAKENUKE]
CellSpread=10
PercentAtMax=.8
WallAbsoluteDestroyer=yes
Wood=yes
Verses=200%,200%,200%,200%,100%,100%,10%,10%,1%,300%,300%
InfDeath=4
Sparky=no
Tiberium=yes
;AnimList=NUKEBALL ; SJM: Activated from code now... see Bullet AI
AnimList=NUKEANIM ; SJM: This is once again the warhead-related anim
ShakeXlo=10
ShakeXhi=10
ShakeYlo=25
ShakeYhi=25
[GiantNukeDown] ; Hey, don't complain, I was just trying stuff...
Arm=0
Shadow=yes
Image=NKMSLDN
Acceleration=0.9
Vertical=no ; //like blimp bomb
DetonationAltitude=50;
FirersPalette=yes
Cluster=9
Airburst=yes
AirburstWeapon=NukePayloadFake
Proximity=yes
Ranged=yes
ROT=4
Dropping=yes
AA=no
This is awesome man, glad i could help, I might try doing some of this stuff myself. _________________ Grab my Map Logic Expansion Pack 5.2 here!
Adds random weather patterns into maps.
More disabled navalyards.
Preplaced Neutral buildings.
Additional new features.
I do have to say that this was a good find 001010011100101110. I would have never thought about doing something like this. good job.
I have to ask though, How bad did the game lag from all that? If you take a look at mine, I actually had it spread out 2x bigger than that and the game died of a heart attack from massive lag. _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
Hmmm, well for the first question you could try making it a Cluster bomb "though I think Cluster= only adds extra explosion anims and expand the cell spread a little wider, But i'm not sure, you can try it. and for the other try "Burst= ;number of rapid succession shots from this weapon" _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum