sn-ninja
  • sn-ninja
  • 64.25% (Friendly)
  • Private Topic Starter
15 years ago
Hi there.

I got a map where there are 2 player starts, and in the middle some civillians with tanks.
Now i want them to make them just stand there still and defend the middle area in the map.
I tried everything with: Aggresiviness: Agressive. and i tried that the civillian team hates all the player generals.
but still they wont do anything.

Any help to make them agressive?

Thanks.
Sponsor
BR-Alexandre
15 years ago
Try make a script like this
*** IF ***
    True.
*** THEN ***
  [???] Player 'PlyrCivilian' considers Player 'player0' to be Enemy
  [???] Player 'player0' considers Player 'PlyrCivilian' to be Enemy

Do this from player0 to player7, then civilian will attack any player in the map
"The Only Way To Have Peace is Prepare for War" <---I forgot who said this...
"Lasers make superior weapons!" <--- Townes
"Laser crusader ready for engagement" <--- Laser Crusader Tank
"Tactical lasers online" <--- Avenger Support Venhice
"Storm climbed mountain" <--- Pathfinder Elite Infantry
"Ready for covert mission" <--- Stealth Fighter Tactical Support
sn-ninja
  • sn-ninja
  • 64.25% (Friendly)
  • Private Topic Starter
15 years ago
I'm new to scripting. Where do i find it?
BR-Alexandre
15 years ago
First open scripts menu, then click "new script" then change its name to find it later [OPTIONAL] and then click "action if true" and delete standard action and make a new one.

search here for the desired action (make civilian figth)
Player->alliances->Change how a player relates to another player
"The Only Way To Have Peace is Prepare for War" <---I forgot who said this...
"Lasers make superior weapons!" <--- Townes
"Laser crusader ready for engagement" <--- Laser Crusader Tank
"Tactical lasers online" <--- Avenger Support Venhice
"Storm climbed mountain" <--- Pathfinder Elite Infantry
"Ready for covert mission" <--- Stealth Fighter Tactical Support
sn-ninja
  • sn-ninja
  • 64.25% (Friendly)
  • Private Topic Starter
15 years ago

First open scripts menu, then click "new script" then change its name to find it later [OPTIONAL] and then click "action if true" and delete standard action and make a new one.

search here for the desired action (make civilian figth)
Player->alliances->Change how a player relates to another player

BR-Alexandre wrote:



And then i need to do this on every side?
Like:

America

Airforce general

Laser general

gla

gla stealth

And so on?
BR-Alexandre
15 years ago

Try make a script like this

*** IF ***
    True.
*** THEN ***
  [???] Player 'PlyrCivilian' considers Player 'player0' to be Enemy
  [???] Player 'player0' considers Player 'PlyrCivilian' to be Enemy

Do this from player0 to player7, then civilian will attack any player in the map

BR-Alexandre wrote:



see, not for every side but as the skirmish maps players join the game in a "list" u have to make that same thing to every slot

Player0= 1st slot human (host)
player1= 2nd slot AI or human

...and do this from 0 to 7 because there are 8 slots

"The Only Way To Have Peace is Prepare for War" <---I forgot who said this...
"Lasers make superior weapons!" <--- Townes
"Laser crusader ready for engagement" <--- Laser Crusader Tank
"Tactical lasers online" <--- Avenger Support Venhice
"Storm climbed mountain" <--- Pathfinder Elite Infantry
"Ready for covert mission" <--- Stealth Fighter Tactical Support
sn-ninja
  • sn-ninja
  • 64.25% (Friendly)
  • Private Topic Starter
15 years ago

Try make a script like this

*** IF ***
    True.
*** THEN ***
  [???] Player 'PlyrCivilian' considers Player 'player0' to be Enemy
  [???] Player 'player0' considers Player 'PlyrCivilian' to be Enemy

Do this from player0 to player7, then civilian will attack any player in the map

BR-Alexandre wrote:



see, not for every side but as the skirmish maps players join the game in a "list" u have to make that same thing to every slot

Player0= 1st slot human (host)
player1= 2nd slot AI or human

...and do this from 0 to 7 because there are 8 slots

BR-Alexandre wrote:



Here is a screen of the whole script.
http://i54.tinypic.com/118iubq.jpg 

I just only maked it so only the USA is the enemy from the Civil.
Also, Is player0 and player1 the same as "SkirmishAmerica"?
Because he couldn't find it.
Drummin
15 years ago
Do it as BR-Alexandre wrote, scripting for all rooms (player0 - player7). Room scripting covers any faction human of AI. Yes, you won't see "player0" etc on a list and the script editor will question your script with ??? but Rooms are accepted in the game.
sn-ninja
  • sn-ninja
  • 64.25% (Friendly)
  • Private Topic Starter
15 years ago

Do it as BR-Alexandre wrote, scripting for all rooms (player0 - player7). Room scripting covers any faction human of AI. Yes, you won't see "player0" etc on a list and the script editor will question your script with ??? but Rooms are accepted in the game.

Drummin wrote:



Alright i got this now.
Am i doing this right?

http://i55.tinypic.com/2zew6r8.jpg 

Because still....civillians don't attack.
Annihilationzh
15 years ago
Move the script to the PlyrCivilian folder. Most scripts in the neutral folder don't work.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
sn-ninja
  • sn-ninja
  • 64.25% (Friendly)
  • Private Topic Starter
15 years ago
I have it all set, But while playing nothing happens.
I probably messed it up maybe i should delete all the Plyr civillian and try it again.
Or did i miss something?

Also, my map says in unoffical maps MISSING: "Mymap"
is this causing the problem?
BR-Alexandre
15 years ago
there's a map in the download list [Maps ] and the map maker managed to make civilian figth, he don't create or build but attack anything close. Map name is dierolandia or something like that

Search in the list for that map, download and check his scripts, thats what i did
"The Only Way To Have Peace is Prepare for War" <---I forgot who said this...
"Lasers make superior weapons!" <--- Townes
"Laser crusader ready for engagement" <--- Laser Crusader Tank
"Tactical lasers online" <--- Avenger Support Venhice
"Storm climbed mountain" <--- Pathfinder Elite Infantry
"Ready for covert mission" <--- Stealth Fighter Tactical Support
sn-ninja
  • sn-ninja
  • 64.25% (Friendly)
  • Private Topic Starter
15 years ago

there's a map in the download list [Maps ] and the map maker managed to make civilian figth, he don't create or build but attack anything close. Map name is dierolandia or something like that

Search in the list for that map, download and check his scripts, thats what i did

BR-Alexandre wrote:



I watched the script of it. A nice map as example for it.
And yes, it worked!
I know whats wrong with my script.
I have to make every player0, player1,player2 apart in the script and not just in one script file.
I only have it on player0 for now, but yes it worked!
Thank you!

http://i54.tinypic.com/2dadjxx.jpg 

Edit: I just had something weird. While play ingame i can't see things anymore. The whole fog does not reveal anymore where you look.
BR-Alexandre
15 years ago
explain the error, just didn't understand what you said
"The Only Way To Have Peace is Prepare for War" <---I forgot who said this...
"Lasers make superior weapons!" <--- Townes
"Laser crusader ready for engagement" <--- Laser Crusader Tank
"Tactical lasers online" <--- Avenger Support Venhice
"Storm climbed mountain" <--- Pathfinder Elite Infantry
"Ready for covert mission" <--- Stealth Fighter Tactical Support
sn-ninja
  • sn-ninja
  • 64.25% (Friendly)
  • Private Topic Starter
15 years ago

explain the error, just didn't understand what you said

BR-Alexandre wrote:



Here is a screen.

http://i51.tinypic.com/8x0w80.jpg 

The fog does not reveal where you go.

When this happend was when the oil derricks and buildings were Plyr civil.
I changed them to Neutral side so you can capture it.
Added some more details in it to. I also had a script that was in the plyr civil, Supply money for supply docks and put them to the neutral side to. Thats all actually. And now it's not playable because of the black fog problem. I can send a bulldozer in the black fog but i can't select him anymore and can't see him.

I give my map, Please check the map. I just don't know whats wrong with this.
I would be glady if someone checks the map if there is anything wrong.
Thank you.




  Civil_War_SN.rar (68kb) downloaded 4 time(s).
BR-Alexandre
15 years ago
i'm having trouble with it, just can't open or play on that map
downloaded, someone tell me how do i open it? put in maps folder isn't working
"The Only Way To Have Peace is Prepare for War" <---I forgot who said this...
"Lasers make superior weapons!" <--- Townes
"Laser crusader ready for engagement" <--- Laser Crusader Tank
"Tactical lasers online" <--- Avenger Support Venhice
"Storm climbed mountain" <--- Pathfinder Elite Infantry
"Ready for covert mission" <--- Stealth Fighter Tactical Support
sn-ninja
  • sn-ninja
  • 64.25% (Friendly)
  • Private Topic Starter
15 years ago

i'm having trouble with it, just can't open or play on that map
downloaded, someone tell me how do i open it? put in maps folder isn't working

BR-Alexandre wrote:



Maybe try open that map in world builder? I also had this problem to that it's sometimes does not see the map in the "unoffical maps"

I could see it when i just go back to offical maps and switch it again to unoffical maps.

But if it's not working, Then ill need to make a new map i guess.
casparmartin01
15 years ago
Did you placed it in the richt folder? This computer/[yourecomputername)/command&conquergenerals(zerohour)/maps

Having problems? Just ask me
BR-Alexandre
15 years ago
i often download maps, know how play on them, and tried open with WB, just don't found it
i'll try again


Edit: tried, again, no success
"The Only Way To Have Peace is Prepare for War" <---I forgot who said this...
"Lasers make superior weapons!" <--- Townes
"Laser crusader ready for engagement" <--- Laser Crusader Tank
"Tactical lasers online" <--- Avenger Support Venhice
"Storm climbed mountain" <--- Pathfinder Elite Infantry
"Ready for covert mission" <--- Stealth Fighter Tactical Support
Annihilationzh
15 years ago
Just FYI, I had no trouble downloading and opening the map.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.