IPB

Welcome Guest ( Log In | Register )

Scripting
Bluna
post 19 Oct 2017, 0:04
Post #1



Group Icon

Group: Members
Posts: 5
Joined: 4 June 2017
From: Switzerland
Member No.: 15405



Well then. First of all hello everybody. I'm NAME ON THE LEFT SIDE (...well Bluna) and so that you know I read the rules... Introductionstuff jada jada ja... I think we all know it by now. I hope I added my discussion in the proper part of the Forum. (Not so a good Forum sorter)

So I have a small problem. First off I edited the Soyuz/Baikonur Launch Facility of Shockwave to the Mod ROTR. Just for private fun use and NOT FOR SHARING, COMMERCIAL or EVIL CAPITALISTIC PURPOSE, cause that is not right... without any agreement with it's creator of course...
Now my question is how do I edit the Scripts so that the GLA is able to build it. I am not the very best at scripting. Rather a Newbie.But I tried to edit the GLA Superweaponuse file in the skrimishscripts by changing the build a building of type Scudstorm thingy to Salv_GLABaikonurMissile, overwrote theScudstorm specialpower in it with the Baikonur one and I added to the define list of the GLA the Baikonurmissile superweapon.

GLA Build Scudstorm
*** IF ***
Counter '_ESCALATION' IS Greater Than or Equal To 60
*** THEN ***
Player '<This Player>' gets $ 5000
Build a building of type 'Salv_GLABaikonurMissile'

GLA Fire Scudstorm
*** IF ***
Player '<This Player>' is ready to fire Special power 'SuperweaponBaikonurMissile'.
*** THEN ***
Player '<This Player>' fire Special power 'SuperweaponBaikonurMissile'


Define Super Weapons
*** IF ***
True.
*** THEN ***
'Super Weapons' : add 'AmericaParticleCannonUplink'
'Super Weapons' : add 'ChinaNuclearMissileLauncher'
'Super Weapons' : add 'GLAScudStorm'
'Super Weapons' : add 'Salv_GLABaikonurMissile'
'Super Weapons' : add 'RussiaTremor'
'Super Weapons' : add 'EuropeSolarisRelay'
Set timer 'ObjectListsDefined' to expire in 5 frames.

Also the AIdata.ini is set so that the Soyus Launcher is set to the coordinates of the once used Scudstorm. Commandset.ini is set so that the Worker can build The Baikonur missile and the missile itself is on the Side of the GLA and has the same cost like the ScudStorm. My problem is that the Ai in-game isn't building the Missile but the Scuds are beeing build. I will be very thankful for any help.
I think Mizo is the AI Mastermind behind this but also the others like M.P. or Comr4de... may be a big help.
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 19 April 2024 - 16:55