Members Online»
0 Active | 112 Guests
Online:
|
LATEST FORUM THREADS»
by KAZAM3766
Posts: 1 / 343 CoD: Battle Royale
CoD+UO Map + Mod Releases by morgawr
Posts: 1 / 2446 Damaged .pk3's
CoD Mapping by lazygit
Posts: 1 / 2954 heli to attack ai
CoD4 SP Mapping by DrBiggzz
Posts: 11 / 931 New Cod UO Rifle Mod.
CoD Mapping by rr016
Posts: 2 / 5218 setting your own ai names
CoD4 SP Mapping |
Polls»
|
This is a tutorial for AI path using the colour group system. There is a colour group in COD2 but there is some minor differences than COD4.
This process in very simple much like COD4 but it requires you to put in the values yourself instead of pressing shift + G and minor key/value differences.
Keep in mind there is no _colors.gsc like COD4. It's in the _spawner.gsc.
For the AI
key: script_forcecolor
value: blue
There are 7 colours available much like COD4. Be sure to write out the entire colour name or else there will be an error.
Here is the list of colours. Red, blue, yellow, cyan, green, purple, orange.
Now you need a trigger. The trigger and node must have the same colour.
key: script_color
value: blue
That's it. Just add your nodes and you are done. It's very simple, very, very similar to COD4, you just have to key in the variables yourself (I am sure you do that in COD4 already. ) and it's not script_color_allies, just script_color.
You can use various other colours as well. As long as your AI has the same colour, that colour group is worth having that colour or else there is no need for that colour. You can have as many colours as you want but it's limited to 7. It's the same as COD4 when you have more than one colour group.
For your next set of nodes, be sure to name the nodes differently. Name the trigger and nodes differently.
Example:
key: script_color
value: blue2
To keep it simple, leave the same colour but add in 2 or 3 or whatever number that represent your next nodes. It's the same as COD4 where radiant will give you a number, like b2, b3, etc. Works the same way.
You can also have more than one colour per trigger, much like COD4. Just put in the the colour names with separation. Lke blue green.
Be sure to look into _spawner.gsc. It's all there. To start off, look up initScriptColors(nodes) or line 5045 in the file.
I know that this may be outdated but nevertheless, it would help you a lot.
So, I hope that this tutorial would be of help to other people that are still investing their time in COD2 and wanted something easier and working for their AI nodes, especially for more than one AI moving to specific nodes.
As for COD1 for the specific AI to specific node issue, well, I haven't figure it out yet. There is no colour group in COD1.
Enjoy!
Latest Syndicated News»
Comments: 5
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which... Comments: 5
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ... Comments: 5
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead?
... Comments: 5
Codutility.com up and runn...
It seems to me the like the site is completely dead? Comments: 5
Codutility.com up and runn...
Yeeaahhhh.........
|
Latest Downloads»
OHMY Don Quixote
Call of Duty 2: Maps: Multiplayer (5.76Mb) OHMY Neuburg
Call of Duty 2: Maps: Multiplayer (6.84Mb) OHMY Tebessa
Call of Duty 2: Maps: Multiplayer (7.36Mb) OHMY POW Camp
Call of Duty 2: Maps: Multiplayer (2.15Mb) OHMY Valley
Call of Duty 2: Maps: Multiplayer (5.7Mb) |
Partners & Friends»
|
Site Links and Information
|
Partners
|
Friends
|
Copyright © MODSonline LLC
Tresware Content Management System © 2011
Website Designed by LKFX and Developed by Tresware