DerelictStudios Forums: [mapping] Hostile Creeps - DerelictStudios Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[mapping] Hostile Creeps Warning: Stuff

#1 User is offline   BlckWyerve 

  • Purportedly Magic Jew
  • Group: Volcano Knight
  • Posts: 5,281
  • Joined: 10-March 04

Posted 27 April 2007 - 09:46 PM

This tutorial assumes you already know the basics of WorldBuilder

Want a few Visceroids to hide in a Tiberium patch to attack a passing infantry column? Or maybe a handful of Marauders to defend their Hovel? This tutorial will show you how to add hostile Creeps to your multiplayer maps.


1. Place your Creeps
You can use virtually any unit, as long as it can shoot. This also works for squads. Try to place them in strategic or natural places.



2. Add Skirmish Players
PlyrCreeps is what we're looking for here. By default, the team is already hostile to all players so there's no reason to mess around with any settings.



3. Team Up
Make sure all your Creeps are set to PlyrCreeps or they won't do anything regardless of the next settings.



4. Piss Them Off
Set the Stance of your Creeps to Aggressive. This will make them attack anything that comes into range. Also make them Targetable.



5. Test
At this point, your Creeps should stay in place and attack any unit that comes into their range, and disengage if they leave. Good sentries, but boring otherwise.



Now, getting them to move. . .
0

#2 User is offline   weston 

  • ¯\(0_°)/¯
  • Group: Volcano Knight
  • Posts: 1,770
  • Joined: 08-May 04
  • Location:Davenport, Iowa
  • Mod Registrations:

Posted 28 April 2007 - 03:31 AM

sweet smile.gif
0

#3 User is offline   Bhones 

  • Colonel
  • Group: Volcano Knight
  • Posts: 1,526
  • Joined: 10-February 05
  • Location:Buried

Posted 28 April 2007 - 04:07 AM

Heh, nice, Blck. This looks the same for BFME2. Is it?
0

#4 User is offline   BlckWyerve 

  • Purportedly Magic Jew
  • Group: Volcano Knight
  • Posts: 5,281
  • Joined: 10-March 04

Posted 04 May 2007 - 05:37 AM

More or less.
0

#5 User is offline   Bhones 

  • Colonel
  • Group: Volcano Knight
  • Posts: 1,526
  • Joined: 10-February 05
  • Location:Buried

Posted 06 May 2007 - 04:03 AM

Ah, I AM paying attention. ph34r.gif
0

#6 User is offline   EvilAlex 

  • Private
  • Group: Volcano Citizen
  • Posts: 3
  • Joined: 04-March 07

  Posted 06 May 2007 - 09:29 PM

BTW Instead of setting "Targetable" and "Agressive" you can write a script, that turns Creeps hostile to all other players, and the players to be hostile to Creeps. That's 100% tried and tested, and saves you from setting this properties to each group of Creeps on the map individually. The Creeps side can also be color-changed, like if it was a single-player side. Therefore you can create tibreian-sun style missions - with hostile AI-controlled mutants, who even have entire bases. Bad thing is that you will most probably have to write your own AI-scripts for them.
By the way, I haven't tried to use "Targetable" and "Agressive", but if their agressivnes is a result of "Set relationship to Enemy" script (described above) they sometimes try to pursure their target instead of just staying at the same ground.

Here's script's code for the 4-players map:
CODE
*** IF ***
   True.
*** THEN ***
  Player 'Player_1' considers Player 'PlyrCreeps' to be Relation 'Enemy'
  Player 'Player_2' considers Player 'PlyrCreeps' to be Relation 'Enemy'
  Player 'Player_3' considers Player 'PlyrCreeps' to be Relation 'Enemy'
  Player 'Player_4' considers Player 'PlyrCreeps' to be Relation 'Enemy'
  Player 'PlyrCreeps' considers Player 'Player_1' to be Relation 'Enemy'
  Player 'PlyrCreeps' considers Player 'Player_2' to be Relation 'Enemy'
  Player 'PlyrCreeps' considers Player 'Player_3' to be Relation 'Enemy'
  Player 'PlyrCreeps' considers Player 'Player_4' to be Relation 'Enemy'

This post has been edited by EvilAlex: 06 May 2007 - 09:37 PM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users