Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Sat Nov 16, 2024 2:49 am
All times are UTC + 0
Repopulating map with tiberium life (**)
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
SuperJoe
Commander


Joined: 03 Sep 2009

PostPosted: Fri Dec 21, 2012 10:43 pm    Post subject:  Repopulating map with tiberium life (**) Reply with quote  Mark this post and the followings unread

Here's something that can be used to keep spawning limited number of tiberium life to a map. Usually the neutral tiberium lifeforms die sooner or later, with this new ones will appear to replace the dead ones. The trick will also keep their numbers in check by only spawning new ones when old ones die. And it adds a bit of randomization to the mix.

Start off by creating a taskforce with the creature(s) you want to spawn. For the random effect, I've added 3 taskforces (1 fiend, 1 floater, 1 visceroid). Then create a script(s) for each of them. The important part is that the script is never ending (use script action Jump to line #), otherwise the team will cease to exist. Next the teams for each one:








Note they all share the same Tag, Tib 1 Dead. So let's create that trigger.








When any of these creatures dies, 3 spawning triggers get enabled. One of them will activate first (spawning one of the creatures), while the other 2 get disabled. This is based on randomization. We need the spawn triggers (3 of them). Here's Spawn 1A defined (just clone this one and adjust it for the other two, namely changing the team that gets spawned):










When the creature dies, all 3 spawn triggers are enabled and the random delay will make one of them activate first. The activated one then spawns one of the three teams, and all the spawning triggers are disabled (until the spawned creature dies). The value in Random delay defines how long it will take for a replacement creature to appear (+-50% of the value). You can also make it more likely for one of the creatures to appear, e.g. by giving Tib 1A a lower Random delay than Tib 1B and Tib 1C.

This randomization technique can be used for alot of other stuff on maps as well, for example to define whether an ion storm starts or not, where the objective (e.g. an enemy commander) will appear, etc.

With these your map will keep respawning replacements for dead tiberium creatures (with the delay you wish). It will also be quite random since every time you could end up with a different creature. Even more random if you give each spawn trigger a different waypoint. Also this example was for only 1 creature, you should probably create more of them (it can lead to alot of triggers, so name them properly to keep it organized).


Key Words: #Tutorials #Mapping #TiberianSun #Firestorm #FinalSun 

_________________

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri Dec 21, 2012 10:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

Moved to tutorials forum as this really is a good one.
Gave it 2 stars due to the many triggers (for an experienced mapper it would be only 1 or 0 stars though)

Though you should really get an FTP space on ppm and upload pictures there. External hosters are always bad for such things, due to their random deletion of files.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
SuperJoe
Commander


Joined: 03 Sep 2009

PostPosted: Sat Dec 22, 2012 3:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

lol I've been on this board 3 years and never noticed the Mapping Tutorials Factory subforum. Has it always been there? Only ever noticed Tutorials Factory and Mapping Discussion. Maybe Banshee or someone could upload the pics here?

Btw thought of a fun use for the randomization technique for a singleplayer mission. Your objective would be to kill a high ranking enemy. There are 3 limos and he is in one of them. When the map starts it's randomly chosen which one he is in, and you have no way of telling. Think it would add a fun element to the mission, you could get it right on the first go or have to take out all 3. Of course you could just reload if he wasn't in the limo you went after, but that would kind of ruin the fun.

_________________

Back to top
View user's profile Send private message
^Rampastein
Rampastring


Joined: 11 Oct 2008
Location: Gensokyo

PostPosted: Sat Dec 22, 2012 4:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

SuperJoe wrote:
lol I've been on this board 3 years and never noticed the Mapping Tutorials Factory subforum. Has it always been there?

It was created recently when it was announced that TiberiumWeb is going to die. The forum was created so all of Tibweb's mapping tutorials could be moved here.

_________________
CnCNet Client | CnCNet TS patches | More Quality-of-Life Improvements for RA Remastered


Back to top
View user's profile Send private message ModDB Profile ID Facebook Profile URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1684s ][ Queries: 11 (0.0076s) ][ Debug on ]