Jump to content


Photo

Need Help with Specialpower


  • Please log in to reply
11 replies to this topic

#1 Cammy

Cammy
  • Hosted
  • 51 posts
  • Location:Hamburg

Posted 10 May 2004 - 03:14 PM

I'm skilled enough with INI Works :p I can use it and i made it just for the GLA Main Faction, All INI's are in the right Place, this is not the Problem....

SkillSet1
Science = SCIENCE_MarauderTank
Science = SCIENCE_ScudLauncher
Science = SCIENCE_CashBounty1
Science = SCIENCE_CashBounty2
Science = SCIENCE_CashBounty3
Science = SCIENCE_SneakAttack
Science = SCIENCE_RebelAmbush1
Science = SCIENCE_RebelAmbush2
Science = SCIENCE_RebelAmbush3
Science = SCIENCE_GPSScrambler
Science = SCIENCE_AnthraxBomb
Science = SCIENCE_BlackMarketNuke
End

SkillSet2
Science = SCIENCE_ScudLauncher
Science = SCIENCE_CashBounty1
Science = SCIENCE_CashBounty2
Science = SCIENCE_RebelAmbush1
Science = SCIENCE_SneakAttack
Science = SCIENCE_MarauderTank
Science = SCIENCE_RebelAmbush1
Science = SCIENCE_RebelAmbush2
Science = SCIENCE_RebelAmbush3
Science = SCIENCE_AnthraxBomb
Science = SCIENCE_GPSScrambler
Science = SCIENCE_BlackMarketNuke
End

These are the two Skillsets.... but they still don't use it :( I got Alexis to use and build the ICBM, but the GLA won't use the BM Nuke :so:

#2 Cammy

Cammy
  • Hosted
  • 51 posts
  • Location:Hamburg

Posted 09 May 2004 - 11:22 AM

Hi There, i tried to script the Black Market Nuke for GLA, but it doesn't work :( They don't use it, I put the 2 Script into the Generals Powers Folder. I will post down here what i did so far:

-----------------------
GLA BlackMarketNuke AI
-----------------------
***IF***
Player'<This Player>' is ready to fire Specialpower 'BlackMarketNuke'.

***THEN***
Enable Script 'GLA BlackMarketNuke Fire'
Disable Script 'GLA BlackMarketNuke AI'


----------------------
GLA BlackMarketNuke Fire
----------------------
***IF***
Player'<This Player>' is ready to fire Specialpower 'BlackMarketNuke'.

***THEN***
Player'<This Player>' fire Specialpower 'BlackMarketNuke'.
Enable Script 'GLA BlackMarketNuke AI'
Disable Script 'GLA BlackMarketNuke Fire'


I statet it within the AIDATA.ini so they will "buy" the BlackMarketNuke Science, but they never use it.... what do i have to do else to get it work?? ^_^

#3 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 10 May 2004 - 08:58 AM

Post your AIData skillset code here so we can look at it... and is the AIData correctly placed? Is the black market nuke correctly INI coded? I dont think it is available without ini coding ..
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#4 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 10 May 2004 - 09:28 PM

Check if the AI even purchases the science with the script debugger which you have to copy into your ZH directory and then make a shortcut with the -scriptdebug command.

It'll show you all true evaluated scripts, variables, errors, build list issues, skillset actions and possibly more.
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#5 Cammy

Cammy
  • Hosted
  • 51 posts
  • Location:Hamburg

Posted 10 May 2004 - 09:43 PM

Just tried it, but nothing happens, even with the new Commandline :( The Game just starts normally... :uh: what now...?

#6 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 11 May 2004 - 07:55 AM

Huh? So you've copied DebugWindow.dll to your generals directory? Damn then you have one of those copies that support NOTHING! The EA manual said something about this. Okay then let's do it the hard way;)

Zip your skirmishscripts and attach them here... they should be ~200 k then I think
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#7 Cammy

Cammy
  • Hosted
  • 51 posts
  • Location:Hamburg

Posted 11 May 2004 - 02:55 PM

I'll attached everything within the Scripts Folder, do you need something more? ^_^ Maybe you can take a Look at my Battle Plan Script as well, got a bit Trouble with it :uh:

Attached Files



#8 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 12 May 2004 - 06:05 PM

Hmm you have waited some time for the AI to do this haven't you? I mean your two scripts check if the _LAUNCH_ATTACK_ flag is true...


If that is not the problem then try making it so that you DON'T need to purchase the black market nuke science and then try it again. It seems like it is not purchasing it.
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#9 Cammy

Cammy
  • Hosted
  • 51 posts
  • Location:Hamburg

Posted 12 May 2004 - 08:22 PM

I sure did wait :p I also tried to make it a level 1 Science, so he can use it right from the Start, but nothing worked, i don't understand it :( I thought i made everything right...

#10 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 13 May 2004 - 10:21 AM

Truly this is strange. I'll take another look at it when I get time. In the meanwhile, try deleting the _tmpChunk.dat file in your My Documents\Command and Conquer Generals Zero Hour Data\ directory - it may cause the script to stop running
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#11 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 17 May 2004 - 10:05 AM

Heh that's what we were trying to find out when I told you to use the script debugger :ermm:
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#12 Cammy

Cammy
  • Hosted
  • 51 posts
  • Location:Hamburg

Posted 17 May 2004 - 06:49 PM

Well, i know now why they didn't use it before, i put the new Science at the End of the List to buy, this is why they didn't use it right from the Start :) But now i got no more problems, i added more than 12 Specials in the last Days :ermm: I also enabled the SatHack for China's Faction, and I'm not sure, but since i did that, the AI seems to attack much more effective... :uh:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users