Is there any way to make fusion cores to respawn?

Discuss HaloCE modding with the HEK tools here. For help, go to the Help Desk forum above.
Post Reply
xastrosrulex





Posts: 15
Joined: Sat Mar 25, 2006 11:56 pm
Location: Texas...wOOt
Contact:

Is there any way to make fusion cores to respawn?

Post by xastrosrulex »

basically what topic says....any way to make a scenery object respawn like the fusion cores to respawn?
User avatar
FleetAdmiralBacon




Critic Pyre Articulatist 500

Posts: 2377
Joined: Sat Nov 26, 2005 7:01 pm
Location: Ohio
Contact:

Post by FleetAdmiralBacon »

In Halo CE?
You can use a script to make them respawn every X game ticks.
Image
Everything you'll ever need to know about me.
Need help with Linux, C#, C, Python, Java, PHP, Javascript, CSS, or VB? I'm available from 3:00PM-8:00PM EST on weekdays.
User avatar
kirby_422




Articulatist 100

Posts: 250
Joined: Mon Apr 11, 2005 4:07 pm
Location: In front of my computer.. how do you think im talking to you?

Post by kirby_422 »

FleetAdmiralBacon wrote:In Halo CE?
You can use a script to make them respawn every X game ticks.
ya, a script something like this
(script continuous respawn
(sleep 60
(object_create_anew bomb)
))


(I think I spelled continuous wrong, but I dont care lol, it should be you that cares)
so, sleep means wait for so and so time, then preform the comand (witch is object_create_anew. object_create_anew either creates a new object, but if it exists already, it destroys it and makes a new one)
xastrosrulex





Posts: 15
Joined: Sat Mar 25, 2006 11:56 pm
Location: Texas...wOOt
Contact:

Post by xastrosrulex »

Do i do that ingame or do i do it with guerilla?
User avatar
FleetAdmiralBacon




Critic Pyre Articulatist 500

Posts: 2377
Joined: Sat Nov 26, 2005 7:01 pm
Location: Ohio
Contact:

Post by FleetAdmiralBacon »

Ug, in notepad, actually, then you save it as [something].hsc in [halo ce\data]\[your level]\scripts\
Then you start Sapien and name all your fusion cores "fc#" where # is a random number, you can increment for each one from 0.
Then, go file>compile scripts.
Save it and you're done.
The script I would use is:

Code: Select all

(script continuous fus_cor
(sleep 300)
(object_create_anew_containing fc)
)
Image
Everything you'll ever need to know about me.
Need help with Linux, C#, C, Python, Java, PHP, Javascript, CSS, or VB? I'm available from 3:00PM-8:00PM EST on weekdays.
Post Reply