Jump to content


script for map question


  • Please log in to reply
7 replies to this topic

#1 Guest_thomasalan_*

Guest_thomasalan_*
  • Guests

Posted 20 December 2004 - 10:14 AM

i made a new map and i got it set up so unmanned commanches are captured by hard army but when Local player captures them hit points are reduced by 2222 causing death of human player commance, works great in skirmish but when i play it online it mismatched every time like 6 times to be exact. do some scripts work allright in skirmish but same ones cause mismatch online? i got it set up this way to prevent human players from bringing dozers over to hard army base early. The map is ready exept this one detail to work out. i want to make small map to keep lag down but human players can get to hard army with dozers before they are ready. also will some scripts only work in missions and not in skirmish?
does a script that refers to local player work online? local player just means human player right? :)

#2 Guest_thomasalan_*

Guest_thomasalan_*
  • Guests

Posted 20 December 2004 - 11:36 PM

i made a new map and i got it set up so unmanned commanches are captured  by hard army but when Local player captures them hit points are reduced by 2222 causing death of human player commance, works great in skirmish but when i play it online it mismatched every time like 6 times to be exact. do some scripts work allright in skirmish but same ones cause mismatch online?  i got it set up this way to prevent human players from bringing dozers over to hard army base early. The map is ready exept this one detail to work out. i want to make small map to keep lag down but human players can get to hard army with dozers before they are ready. also will some scripts only work in missions and not in skirmish? 
does a script that refers to local player work online? local player just means human player right?  :)

<{POST_SNAPBACK}>



***IF***
TRUE
*AND* UNIT 'C1' is ownde by <Local Player>
***THEN***
Unit 'C1' takes 2222 points of damage


i watched players play the map online and it mismatched right when unit c1 was captured. the unit was not dealt damage instead mismatch, i guess ill have to find another way to deny the human players the use of the unmanned civilian commance. any thoughts on this?

#3 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 20 December 2004 - 11:56 PM

i made a new map and i got it set up so unmanned commanches are captured  by hard army but when Local player captures them hit points are reduced by 2222 causing death of human player commance, works great in skirmish but when i play it online it mismatched every time like 6 times to be exact. do some scripts work allright in skirmish but same ones cause mismatch online?  i got it set up this way to prevent human players from bringing dozers over to hard army base early. The map is ready exept this one detail to work out. i want to make small map to keep lag down but human players can get to hard army with dozers before they are ready. also will some scripts only work in missions and not in skirmish? 
does a script that refers to local player work online? local player just means human player right?  :)

<{POST_SNAPBACK}>



***IF***
TRUE
*AND* UNIT 'C1' is ownde by <Local Player>
***THEN***
Unit 'C1' takes 2222 points of damage


i watched players play the map online and it mismatched right when unit c1 was captured. the unit was not dealt damage instead mismatch, i guess ill have to find another way to deny the human players the use of the unmanned civilian commance. any thoughts on this?

<{POST_SNAPBACK}>


*** IF ***
True.
*AND* Unit 'c1' is owned by Player '<Local Player>'
*** THEN ***
Unit 'c1' is transferred to the command of Player 'PlyrCivilian'
i tried this in skirmish it worked now i will try it online, wish me luck.

#4 Guest_thomasalan_*

Guest_thomasalan_*
  • Guests

Posted 21 December 2004 - 12:30 AM

i made a new map and i got it set up so unmanned commanches are captured  by hard army but when Local player captures them hit points are reduced by 2222 causing death of human player commance, works great in skirmish but when i play it online it mismatched every time like 6 times to be exact. do some scripts work allright in skirmish but same ones cause mismatch online?  i got it set up this way to prevent human players from bringing dozers over to hard army base early. The map is ready exept this one detail to work out. i want to make small map to keep lag down but human players can get to hard army with dozers before they are ready. also will some scripts only work in missions and not in skirmish? 
does a script that refers to local player work online? local player just means human player right?  :)

<{POST_SNAPBACK}>



***IF***
TRUE
*AND* UNIT 'C1' is ownde by <Local Player>
***THEN***
Unit 'C1' takes 2222 points of damage


i watched players play the map online and it mismatched right when unit c1 was captured. the unit was not dealt damage instead mismatch, i guess ill have to find another way to deny the human players the use of the unmanned civilian commance. any thoughts on this?

<{POST_SNAPBACK}>


*** IF ***
True.
*AND* Unit 'c1' is owned by Player '<Local Player>'
*** THEN ***
Unit 'c1' is transferred to the command of Player 'PlyrCivilian'
i tried this in skirmish it worked now i will try it online, wish me luck.

<{POST_SNAPBACK}>


nope didn't work online it mismatched but worked in skirmish
i need to kill those commanches because they are too strong to give to the human players. i need a way to kill a unit when a human captures them in online play as well as skirmish. i'm heading back to look at the scripts again for another way.

#5 Guest_thomasalan_*

Guest_thomasalan_*
  • Guests

Posted 21 December 2004 - 01:03 AM

i made a new map and i got it set up so unmanned commanches are captured  by hard army but when Local player captures them hit points are reduced by 2222 causing death of human player commance, works great in skirmish but when i play it online it mismatched every time like 6 times to be exact. do some scripts work allright in skirmish but same ones cause mismatch online?  i got it set up this way to prevent human players from bringing dozers over to hard army base early. The map is ready exept this one detail to work out. i want to make small map to keep lag down but human players can get to hard army with dozers before they are ready. also will some scripts only work in missions and not in skirmish? 
does a script that refers to local player work online? local player just means human player right?  :)

<{POST_SNAPBACK}>



***IF***
TRUE
*AND* UNIT 'C1' is ownde by <Local Player>
***THEN***
Unit 'C1' takes 2222 points of damage


i watched players play the map online and it mismatched right when unit c1 was captured. the unit was not dealt damage instead mismatch, i guess ill have to find another way to deny the human players the use of the unmanned civilian commance. any thoughts on this?

<{POST_SNAPBACK}>


*** IF ***
True.
*AND* Unit 'c1' is owned by Player '<Local Player>'
*** THEN ***
Unit 'c1' is transferred to the command of Player 'PlyrCivilian'
i tried this in skirmish it worked now i will try it online, wish me luck.

<{POST_SNAPBACK}>


nope didn't work online it mismatched but worked in skirmish
i need to kill those commanches because they are too strong to give to the human players. i need a way to kill a unit when a human captures them in online play as well as skirmish. i'm heading back to look at the scripts again for another way.

<{POST_SNAPBACK}>



*** IF ***
True.
*AND* Player '<Local Player>' has units in area 'c1'.
*** THEN ***
Unit 'c1'is dealt a lethal amount of damage.

this didnt work online either mismatch agian right when human enters area.

#6 Hostile

Hostile

    Benefitting Humanity Simply by Showing Up!

  • Veterans
  • 9,551 posts
  • Location:Washington DC
  •  T3A Founder
  • Division:Revora
  • Job:Global Administrator
  • Donated
  • Association

Posted 21 December 2004 - 01:15 AM

I believe the reason why your getting mismatches is cause when an online map has such things like kill this, or give that, that disqualifies the map for online use.

This is to prevent cheat maps cause you could use the same script to give a player position so many command points or money or have them automatically win right away.

Your well scripted map may be too artistic for Online use. Have you tried LAN use yet?

#7 Guest_thomasalan_*

Guest_thomasalan_*
  • Guests

Posted 21 December 2004 - 01:48 AM

I believe the reason why your getting mismatches is cause when an online map has such things like kill this, or give that, that disqualifies the map for online use.

This is to prevent cheat maps cause you could use the same script to give a player position so many command points or money or have them automatically win right away.

Your well scripted map may be too artistic for Online use. Have you tried LAN use yet?

<{POST_SNAPBACK}>



no,i dont really ever play Lan, when i disable the script the map plays great online, i really just want to keep the human player busy long enough for the comp to get defences up. i think i might release 2 versions of the map one for skirmish one for online play. i do want the comp to cheat thats probably the probleum. i think the only way the comp can have a chance is if it cheats. i wil still keep the unmmanned commanches but reduce the hit points to default so human player cant take advantage of the high hit points. it will still throw off the regular play style of a player. i been thinking maybe i can hide the commance from the human players by making it stealth, but this might be cheating too. and i dont know if the comp will be able to see a stealth unit right away. i think ill move on to another project for now until insperation hits me on the head with a crowbar.

#8 thomasalan

thomasalan
  • New Members
  • 1 posts
  • Projects:Cncmaps, Maps, Ect...

Posted 28 December 2004 - 11:05 AM

Finally got around to registering, ended up putting riseing water level at the river to keep players away from the comp till its ready. Thanks for the help/info. Hostile, i'll come back and pester you all with some more questions when i run into more probleums.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users