IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Anyone know how to script AI's?, Trying to make AI's have infinite $$$ for infinite
Imperium
post 17 Jan 2016, 12:46
Post #1



Group Icon

Group: Members
Posts: 208
Joined: 8 April 2015
Member No.: 11062



Read this already: http://www.moddb.com/mods/command-conquer-...-building-an-ai

Great tutorial, but I have a problem. I have made my script for my designated general, pressed 'OKAY' and saved the map, however the script either does not run, or it does not save. I am inclined to believe it is the latter. I save the map after I finish of course, but the script seems to be unable to be saved or used in the future. I do not know why.

Can someone help a brother out?

My code was literally:

Every 1 seconds <this player> would receive 5000$ just for existing. It applied to easy medium and hard AI's.

What exactly did I screw up? I dont even know if the script broke because it did not save the bloody script. Help!

To Reiterate:
I set the teams
I have imported the script into WB
I made a new script
I pressed okay when i was finished with the changes and the script section.
I saved the map.
I closed world builder.

And yet still I must have done something wrong? What? I spent hours trying to figure this out!


--------------------
Go to the top of the page
 
+Quote Post
Imperium
post 17 Jan 2016, 15:12
Post #2



Group Icon

Group: Members
Posts: 208
Joined: 8 April 2015
Member No.: 11062



QUOTE (Imperium @ 17 Jan 2016, 3:46) *
Read this already: http://www.moddb.com/mods/command-conquer-...-building-an-ai

Great tutorial, but I have a problem. I have made my script for my designated general, pressed 'OKAY' and saved the map, however the script either does not run, or it does not save. I am inclined to believe it is the latter. I save the map after I finish of course, but the script seems to be unable to be saved or used in the future. I do not know why.

Can someone help a brother out?

My code was literally:

Every 1 seconds <this player> would receive 5000$ just for existing. It applied to easy medium and hard AI's.

What exactly did I screw up? I dont even know if the script broke because it did not save the bloody script. Help!

To Reiterate:
I set the teams
I have imported the script into WB
I made a new script
I pressed okay when i was finished with the changes and the script section.
I saved the map.
I closed world builder.

And yet still I must have done something wrong? What? I spent hours trying to figure this out!


@Myself: huuuurp you're a dum dum. Export the bloody script next time before you post, me.

Might post the files if I can confirm I did not screw over my game if you gents would like.


--------------------
Go to the top of the page
 
+Quote Post
~Sab0taJ~
post 18 Jan 2016, 12:03
Post #3



Group Icon

Group: Members
Posts: 46
Joined: 25 June 2015
Member No.: 11641



_______________________________________________________

Script Properties

http://i.hizliresim.com/3YzQkO.png
_______________________________________________________
Script Conditions

http://i.hizliresim.com/XL6mQR.png
_______________________________________________________
Actions if true

http://i.hizliresim.com/kn6o3D.png
_______________________________________________________
Go to the top of the page
 
+Quote Post
Arc
post 8 Mar 2016, 6:51
Post #4


"Filthy" Casual
Group Icon

Group: Members
Posts: 210
Joined: 30 September 2014
From: Australia
Member No.: 10666
One does not simply suggest ideas to SWR.



I thought they already do that automatically?
Go to the top of the page
 
+Quote Post

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

 



Lo-Fi Version Time is now: 15 October 2018 - 14:21