IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
World builder scripting missions and mp maps, World builder how to do stuff
five star genera...
post 16 Oct 2015, 17:04
Post #1



Group Icon

Group: Members
Posts: 67
Joined: 26 February 2014
Member No.: 10312



So i think it would be nice to have WB scripting stuff on one place i know a lot of scripting
in missions but dont know MP maps they never work form me and only can do small stuff with map.ini.

So before we begin i have to say that english is not my native language so dont expect perfect spelling and i wont bother with grammar too much i will just make this so you can understand.

So i will from time to time upload some missions scripts and tutorials or links to tutorials made
in the past by other people so you can find them easier.
If anyone wants to join and upload some stuff that would be great.

So here are some links to tutorials:

Some nice tutorials
http://www.moddb.com/games/cc-generals-zero-hour/tutorials

How to make AI build units
http://www.moddb.com/games/cc-generals-zer...s-world-builder

From ROTR 1.85 you need to place Faction invisible marker on the map so you and AI can build Command center you can find marker in each Faction system example Faction GLA you can just open faction system in WB and press F it will give you right away that invisible marker.
It cant be destroyed so no worries there.

Well here is something that some of you probably was thinkig wtf so mission starts units are transported with some kind vehicle those
vehicle are now leaving than you select and use them in mission but creator of the mission never use them or they are intend to use. That sucks right so now i will teach you how to make those transports not usable and they will leave the map and there is nothing you could do to stop them.

1. make new player
2. assaign the transport team/s to that player (leave allies or enemy options like they are, empty)
3. now import script
4. adjust all scripts to your teams & units
5. test in game.

script
Attached File  china_transport.rar ( 1.26K ) Number of downloads: 6


Screenshot - this is how your waypoints and areas should look like.
Attached File  tt.JPG ( 213.14K ) Number of downloads: 20


How to make proffesional attack teams using waypoints you can use this metod for units that are build by AI or spawned for AI

1. Make waypoint path (in WAYPOINT PATH LABELS FIRST TAB write the name of the path now when you click on any waypoint on path it should show you the same name under that TAB).
2. Make team (AI build or spawn)
3. Make scripts.
I wont explain how to make team because its simple so lets go with scripting right away.

Script 1. (this script needs to be subroutine if AI is building it, if spawn than unchek all and put seconds in evaluate script, now make timer and script that will activate this script or if you want to be active right away dont unchek script is active).
Script name:
atkteam1
*** IF ***
True.
*** THEN ***
Have Team '<This Team>' EXACTLY follow Waypoint Path 'atkteam1path' , as a team is TRUE
Team '<This Team>' change their attitude to Aggressive

Script 2. (this script is used in ON CREATE condition in team behavior tab. For spawn teams you dont need this script).
Script name:
atkteam1_ai
*** IF ***
True.
*** THEN ***
Team '<This Team>' executes Script 'atkteam1' sequentially.

Now as you can see team still cant hunt or fight so now make this script:

Script 3. (you can use this script for all teams exept maybe is better to make another for aircrafts in terms of lag, this script is used in ON ENEMY SIGHTED condition in team behavior tab. There you go now you can make really good missions with those scripts).
Script name:
altatk
*** IF ***
True.
*** THEN ***
Team '<This Team>' begins hunting.

How to make cinematics camera movement:
http://www.cnclabs.com/forums/cnc_postst12...atic-Intro.aspx

This post has been edited by five star general: 17 Jan 2016, 17:35
Go to the top of the page
 
+Quote Post
Skitt
post 16 Oct 2015, 17:39
Post #2



Group Icon

Group: Moderator
Posts: 1641
Joined: 8 January 2015
From: Newcastle, England
Member No.: 10811
Aut vincere aut mori, Cave quid dicis, quando, et cui, De duobus malis, minus est semper eligendum.



erm yeah
world builder manual
http://www.cnclabs.com/maps/generals/worldbuilder/

and this is probs in the wrong section.


--------------------
Go to the top of the page
 
+Quote Post
five star genera...
post 16 Oct 2015, 18:58
Post #3



Group Icon

Group: Members
Posts: 67
Joined: 26 February 2014
Member No.: 10312



I think its better that its in this section because its easer to find
Go to the top of the page
 
+Quote Post
Oliver
post 16 Oct 2015, 19:26
Post #4



Group Icon

Group: Dev. Team
Posts: 964
Joined: 15 August 2013
From: Portugal, Lisbon
Member No.: 10072



You have a search option for that lol
Go to the top of the page
 
+Quote Post
John Camero
post 22 Nov 2018, 7:27
Post #5



Group Icon

Group: New Members
Posts: 1
Joined: 22 November 2018
Member No.: 18956



I want to to thank you for this good read!! I definitely enjoyed every little bit of it. I've got you book-marked to look at new stuff you post. Thank you. WordPress Forms
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: 28 March 2024 - 20:19