Jump to content

cbox


Properly referencing new spawns to scripts objects


iBotPeaches

Recommended Posts

Posted

neodos author.

 

Properly referencing new spawns to scripts objects

 

In this tutorial i am going toquickly explain how to reference spawns to script objects so we can dointeractions on scripts with what is spawned.

 

What we need:

 

#I will be using Entity 1.6UE

#Zanzibar.map

#And the scnr plugin i updated with the script object chunk on each placement reflexive

#Basic Knowledge about scripting recommended

 

http://plugins.pheonic.co.uk/?q=node/5

 

Special thanks to XZodia for his plugins website http://www.ibotmodz.net/forum/uploads/remoteimages1/2685-592.gif

 

 

What are scripts objects

 

Before starting, i am going to explain what are the elements of scnr that we are going to modify.

 

The "Placement" reflexives contain chunks that are spawns, those reflexives that can be referenced on the "Scripts Objects" these are the reflexives:

 

Bipeds, vehicles, weapons,scenery, machines, control, obstacles, sound scenery.

 

In script object reflexive we choose:

 

-the name of the script object that we will use on the scripts.

-the placement reflexive

-the spawn chunk number

 

This is what everyone though was needed to reference a spawn(an object) to use it in the scripts.

That's what i though too but i saw that no, new spawns couldn't be referenced so i wondered why.

 

I did some research on scnr and I found two new values on scnr that arethe same on each of those referencable placement reflexives.

 

So once you referenced your object in scripts objects, note the script object chunk in which you referenced your spawn

(object) and go in that spawn chunk on it's placement reflexive.

Now in the Script object Chunk # tape the chunk number in which you referenced the spawn.

 

You can also choose if the object will spawn when the game start or if it doesn't spawn at start and will be only spawned by a script(using the "object_create" command).

 

Example:

 

I am going to open Zanzibar for this example.

As you may know this map still have some content that was used bybungie on some E3 demos where the showed the map with one elite a swordand one spartan with a battle rifle.

These doesn't spawn but the spawns exist and are referenced on script object so i am going.

 

This is the Battle rifle scenery tag spawn that is referenced on script object and is configured.

 

http://www.ibotmodz.net/forum/uploads/remoteimages1/2685-593.jpg

 

That's it, if you have any questions ask ^^

And sorry for my poor english, still in progress...

 

-neodos http://www.ibotmodz.net/forum/uploads/remoteimages1/2685-594.gif

  • 9 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...