Posted by: illserveu - Thursday, November 26, 2009 1:14:52 AM
I think we should have a single topic about WB script as we will easily to find out which we want, OK?
[b]Table of Content[/b]
- Reveal map around object? [color=red][NOT SOLVED][/color]
Posted by: illserveu - Thursday, November 26, 2009 1:15:56 AM
OK, here's my first question! I thought I have found a script that reveal map around an object before, but now I can't find it (bad memory?)! Can you help me?
Posted by: Gren - Thursday, November 26, 2009 1:37:03 AM
[quote=illserveu]OK, here's my first question! I thought I have found a script that reveal map around an object before, but now I can't find it (bad memory?)! Can you help me?[/quote]
Place a waypoint under or near your object on the map and give it a name
Create a new script and set your script conditions:
IF
TRUE
THEN
Edit Action:
The map is revealed at waypoint with a radius of feet for Player
The script is found under the Map tree in the Edit Actions dialogue.
Posted by: illserveu - Thursday, November 26, 2009 2:32:23 AM
No, I mean a moving object :D (like a Shogun Executioner?)
Posted by: Gren - Thursday, November 26, 2009 6:59:44 AM
I don't see a standard script in the library like that, and tbh, I've never used one, so unless you tweak up your bad memory, or have a browse through the library and see if you can spot it.. idk.
Posted by: illserveu - Friday, November 27, 2009 11:40:23 AM
Well. I've tried to browse all scripts, but maybe there's nothing like that [skull] . However, I remember exacly the comment (help text) for that script was reveal around object!
BTW, I've an idea : Spawn a named object (for player who want reveal map) at that object (moving object). But I don't know what object should I spawn?
Posted by: Gren - Friday, November 27, 2009 12:52:11 PM
Spawn anything to test it - it doesn't really matter what..
Posted by: illserveu - Saturday, November 28, 2009 12:49:39 AM
Any object will work - that's right. But an object that must be invisible is the real matter... (and can be destroyed automically, or we will thrown trash to user computer as we can't dispose resources!)
Posted by: swaty - Wednesday, March 10, 2010 6:52:03 AM
wooops didnt see this one!
i was wondering if the was any script that could force the computer player to produce only one kind unit, say russian bomber
cheers!
Posted by: Gren - Wednesday, March 10, 2010 7:34:45 AM
[quote=swaty]wooops didnt see this one!
i was wondering if the was any script that could force the computer player to produce only one kind unit, say russian bomber
cheers![/quote]
If you mean that the player produces NOTHING else but the bomber - I guess you would need to disable production of everything else for that player. [wink]
Posted by: swaty - Wednesday, March 10, 2010 8:12:48 AM
woo nice thought!
what would the root path be (in the Edit Action Tree)? like SkimishAI->Build Control-> ??
any tips?
cheers!
Posted by: Gren - Wednesday, March 10, 2010 12:40:55 PM
[quote=swaty]woo nice thought!
what would the root path be (in the Edit Action Tree)? like SkimishAI->Build Control-> ??
any tips?
cheers![/quote]
A starter would be to check which faction your player has selected - You can do this by checking which Con Yard he has built:
Script Conditions
[b]*** IF ***
'AlliedConstructionYard' has been built by Player 'Player_1'[/b]
This is in the tree under Player -> Owns -> Player has built an object type
Then simply disallow the building of whatever you wish:
Actions if True
[b]*** THEN ***
Player 'Player_1' allowed to build 'AlliedAntiVehicleInfantry' is false.
Player 'Player_1' allowed to build 'AlliedAntiAirVehicleTech1' is false.[/b]
In the tree thiis will be under Player -> Build -> Allow or Disallow one Building of a specific type.
[smile] [wink]
Posted by: swaty - Wednesday, March 10, 2010 12:51:05 PM
ah great!! worked!! cheers mate!!
is there anyway to make the computer reduce building / spawning time , for example a builging takes 20 sec to build, reduce to it to say 5 sec?
been scrolling around but did find it,
these questions suddenly occur!! :)
thx again,
Posted by: Gren - Wednesday, March 10, 2010 1:33:07 PM
Nope - I don't recall seeing a script like that - sorry [sad] [grin]
Posted by: onlyiwillremain - Saturday, April 10, 2010 11:11:15 PM
Hello everyone,
I have just made an entire map, and there is something that I want to do that seems simple but I'm unable to get it to happen.
I just want there to be no need for an ore refinery to upgrade, get new build cues, etc. I want the process to be normal, otherwise.
Can anyone help with how to do this?
Posted by: Gren - Monday, April 12, 2010 3:00:19 PM
Hi onlyiwillremain [smile]
I'm not sure I understand what you need to do - can you explain a little bit better please? [question]