nathaninthailand

Spawning extra vehicles

Tiddy-bits:

Use the spawn command.

spawn <type> <name> <location_name>

This would really be better done with things like events than with scripts, as scripts cannot get the coordinates of locations.

Share this post


Link to post
Share on other sites

event_start $map:dangercanyon ho 'spawn vehi "vehicles\warthog\mp_warthog" h1'
event_start $map:dangercanyon ho 'spawn vehi "vehicles\warthog\mp_warthog" h2'

I forgot 1 important detail, you need to make custom commands for each vehicle.

add these to your commands.txt file

These commands spawn a vehicle or the venter commands actually spawn you in the vehicle.

Of course change to any vehicle you want, and name the locations anything you wan't, and change map name to the map you want.

 

she 'spawn vehi "vehicles\banshee\banshee_mp"' 1
shee she;venter
tan 'spawn vehi "vehicles\scorpion\scorpion_mp"' 1
tank tan;venter
ghos 'spawn vehi "vehicles\ghost\ghost_mp"' 1
ghost ghos;venter 
ho 'spawn vehi "vehicles\warthog\mp_warthog"' 1
hog ho;venter
rho 'spawn vehi "vehicles\rwarthog\rwarthog"' 1
rhog rho;venter
tu 'spawn vehi "vehicles\c gun turret\c gun turret_mp"' 1
tur tu;venter

 

Edited by Denn
Added vehicle commands

Discord  roadhog#0528   Github https://github.com/denngray     Email= [email protected]

Share this post


Link to post
Share on other sites

Try this: 

event_start $map:bloodgulch 'spawn vehi "vehicles\warthog\mp_warthog" 65.749 -120.409 0.118 0.20'

 

65.749 = x

-120.409 = y

0.118 = z

0.20 = rotation (IN RADIANS)

 

This example spawns a chain gun warthog middle-map on bloodgulch.

Edited by Chalwk

- I invite you to join my Halo Discord Server.

- Add me on discord: Chalwk#9284

- HSP Repo Wiki (new)

Share this post


Link to post
Share on other sites
  • Recently Browsing   0 members

    No registered users viewing this page.