kanTANKerous
18 years ago
I've built a map to learn; so far the trains are goin round, the cars in town are chasing each other around, and I've got a river. All these things and a few scripts are working fine. I've done exactly as the various tute's say to get your AI fired up. Well the GLA is all dressed up but she won't dance(won't build, won't fight).
I've gotten bored and just keep adding "eye candy" probably too much, but WTH it's fun....ok so what's the st00pid mistake we all make in the beginning?UserPostedImage

p.s. I will have to learn how 2 zip a file if needed.
kanTANKerous
Sponsor
Me Myself and Pi
18 years ago
It sounds like you have an extra GLA AI player in the player list. Go to the player list I see if you have a "PlyrGLA" player there. (This player gets created when you want to place an object in the GLA army if you haven't yet added the skirmish players.) If you see a "PlyrGLA" player along with a "SkirmishGLA" player, then delete the "PlyrGLA" player. It should work fine if that's the problem.

If this doesn't help, then upload your map in a ZIP folder (To create a ZIP folder in window explorer, right click in the window to open up a shortcut menu, move you mouse over "New>", & click on "Compressed (zipped) Folder". Now go click & drag you map folder over the ZIP folder, a copy of your map will be placed in the ZIP folder.) so I can look at it.
fleetatks
18 years ago
Sometimes If you move scripts inside of plyrciviln to neutral folder they will somehow make the AI work. But Moving scripts that show messages or do anything like that to the player(s) won't work unless inside of it.
Email me if you ever need help (edited signature November 6th, 2014)
kanTANKerous
18 years ago
Hey MM&P, Thanx for the quick reply, I admire you, fleetatk and, krit for mentoring us aspiring armchair generals along the way you do, if I missed anybody๐Ÿ˜ž sorry I"m new around here. Anyway call me hard headed but before I give up and upload my map for your assistance I've decided to make a dirt simple map without all the lights and whistles and try to get it to work. Fleetatk added his 2 cents worth on the subject and his point is very good, I have already noticed that my scripts in both "GLA" and "CIV". work while scripts in "localPlayer" do not. By the way - there were no "extra players" but thanx 4 da heads up on that detail. Sorry... wont be so long winded in the future. Hasta la vista suckas, thanx again


It sounds like you have an extra GLA AI player in the player list. Go to the player list I see if you have a "PlyrGLA" player there. (This player gets created when you want to place an object in the GLA army if you haven't yet added the skirmish players.) If you see a "PlyrGLA" player along with a "SkirmishGLA" player, then delete the "PlyrGLA" player. It should work fine if that's the problem.

If this doesn't help, then upload your map in a ZIP folder (To create a ZIP folder in window explorer, right click in the window to open up a shortcut menu, move you mouse over "New>", & click on "Compressed (zipped) Folder". Now go click & drag you map folder over the ZIP folder, a copy of your map will be placed in the ZIP folder.) so I can look at it.

Me Myself And Pi wrote:


kanTANKerous
Me Myself and Pi
18 years ago
Well I was implying that this is a skirmish map. Is it a single player map? It sounds like you were going to upload the map,

Anyway call me hard headed but before I give up and upload my map for your assistance I've decided to make a dirt simple map without all the lights and whistles and try to get it to work.

but I don't see it uploaded.
kanTANKerous
18 years ago
It is a skirmish map, and I have figured out that it's the scripts that are hosing the AI. I'm mostly trying to spawn GLA teams but I just can't figure the rules out. Now the scripts are spawning teams but the GLA still Wont Fight. Here is my little test map. If someone could insert at least one working "spawn script" to each player I would be greatfull.]Originally posted by Me Myself And Pi

Well I was implying that this is a skirmish map. Is it a single player map? It sounds like you were going to upload the map,

Anyway call me hard headed but before I give up and upload my map for your assistance I've decided to make a dirt simple map without all the lights and whistles and try to get it to work.

but I don't see it uploaded.





Download Attachment: UserPostedImage Mission test 1.zip 
42.38 KB
kanTANKerous
Me Myself and Pi
18 years ago
Okay, I know what the problem is now. You put scripts in the SkrimishGLA folder. When you do that, the skirmish scripts for a skirmish player wont work. You've turned this map into an AOD map. But what you can do is import the skirmish scripts into your map, then they'll work. You can find them in the game directory in the "Data\Script" folder but the scripts don't import into the right folders. I've already fixed them so you can just download them from me. But you'll have to add the rest of the skirmish players for that. Also, if you do this, it will take about 45 seconds to load up the scripts because their's so much. Also, when you import them, uncheck "Audo Verify" You don't need to have each of the hundreds of scripts verified as you import them. It takes a long time!

I'd reccamend you make a copy of your map before you import the scripts. That way if they bother you loading up the scripts, you can open a up the copy & work on your scripts there.

Download Attachment: UserPostedImage Skirmish Scripts.zip 
229.85 KB
kanTANKerous
18 years ago
Thanx MMP, Got it all goin on now!๐Ÿ‘ Except for a Civ. plane I put in there following a waypoint path, it's going along the path alright...on the GROUND.



Sometimes If you move scripts inside of plyrciviln to neutral folder they will somehow make the AI work. But Moving scripts that show messages or do anything like that to the player(s) won't work unless inside of it.

Fleetatks wrote:



Thanx Fleetatks, I'm starting to figure this out...if the "end result" for a script effects the GLA it usually works in the GLA folder and so forth, and one that wont seem to work anywhere often works in Civ. or neutral. Hey this has gone from painful to fun in a very short time.๐Ÿ˜

[EDIT: Double Post Splice -- CommieDog]
kanTANKerous
Me Myself and Pi
18 years ago
Some of the civilian planes are meant to stay on the ground, so they look like their parked at an air port or some thing. To get a plane to fly all you have to do is switch it's locomoter. That's what EA did in the first USA mission with that crop duster that flies around nere your base. The INI code below is from that:

Object AircraftCropDuster
Locomotor = SET_NORMAL DroneLocomotor
End


If you want a different plane to fly, then just replace the "AircraftCropDuster" with the name of the plane in the world builder. For example, "AircraftCessna", so the INI code should look like this:

Object AircraftCessna
Locomotor = SET_NORMAL DroneLocomotor
End


This can also work with any other vehicles. Why don't you try changing the name to "ChinaTankOverlord" & see what happens!
fleetatks
18 years ago


This can also work with any other vehicles. Why don't you try changing the name to "ChinaTankOverlord" & see what happens!

Me Myself And Pi wrote:



lol๐Ÿ˜

I've done something similar to that and gave troop crawlers amphibious locomoters (since in real life some can go over water as well.)
Email me if you ever need help (edited signature November 6th, 2014)
Users browsing this topic