[Mod] Rocket

User avatar
Gyrth
Posts: 225
Joined: Sat Sep 10, 2011 12:49 pm

Re: [Mod] Rocket

Post by Gyrth » Fri Jul 25, 2014 7:13 pm

Lone_Pickle wrote: Nope. I tried it on shielded stands and got exactly the same result.
I actually did get that error at some point. It just went away I think. Don't remember. I've uploaded a new zip file two times already. Could you download the latest version? And I'm using the advanced_testing version of OG on Steam. If that doesn't fix the eroor I'm out of ideas.

User avatar
SteelRaven7
Posts: 681
Joined: Sat Sep 26, 2009 4:02 pm
Location: Sweden

Re: [Mod] Rocket

Post by SteelRaven7 » Mon Jul 28, 2014 5:03 am

The first two errors should be fixable by simply changing line 39 from this:

Code: Select all

starting_point = ReadObjectFromID(params.GetFloat("Rocket OBJ ID Number")).GetTranslation();
to this:

Code: Select all

int rocketID = params.GetFloat("Rocket OBJ ID Number");
starting_point = ReadObjectFromID(rocketID).GetTranslation();
This should force the parameter to be cast to an int before calling ReadObjectFromID(). It's weird that angelscript appearently fails to do this itself for some people.

The other two errors are super weird though, there's really nothing we can do to fix those.

Lone_Pickle, what OS are you running Overgrowth on?

User avatar
Gyrth
Posts: 225
Joined: Sat Sep 10, 2011 12:49 pm

Re: [Mod] Rocket

Post by Gyrth » Mon Jul 28, 2014 6:01 pm

New version. Found out how to spawn objects via scripts. Yeah!

blaster07891
Posts: 4
Joined: Sat Nov 30, 2013 10:38 am

Re: [Mod] Rocket

Post by blaster07891 » Thu Jul 31, 2014 6:06 pm

i dont have rocket prefab :( :?: :!:

User avatar
Gyrth
Posts: 225
Joined: Sat Sep 10, 2011 12:49 pm

Re: [Mod] Rocket

Post by Gyrth » Thu Jul 31, 2014 6:42 pm

blaster07891 wrote:i dont have rocket prefab :( :?: :!:
It's not needed anymore. Just open rocket_hotspot.xml. It creates a rocket Object via script.

User avatar
Anton
pretty cool guy
Posts: 3328
Joined: Fri Oct 17, 2008 10:16 pm
Location: Los Angeles
Contact:

Re: [Mod] Rocket

Post by Anton » Sun Nov 30, 2014 4:29 am

Finally found a little moment to add this to the Community Content Browser. :)

User avatar
Gyrth
Posts: 225
Joined: Sat Sep 10, 2011 12:49 pm

Re: [Mod] Rocket

Post by Gyrth » Sun Nov 30, 2014 7:02 pm

Anton wrote:Finally found a little moment to add this to the Community Content Browser. :)
Thanks! Bow and arrow won’t be in sumlauncher I think, unless someone knows a way to include code into aschar.as. I might find some time to package other mods. I'll add them to the doc :D

User avatar
zpp policeman33
Posts: 12
Joined: Wed Nov 05, 2014 10:00 pm

Re: [Mod] Rocket

Post by zpp policeman33 » Sun Mar 15, 2015 3:45 am

Make a hellstorm version.

floogin
Posts: 43
Joined: Sun Jan 23, 2011 6:39 pm

Re: [Mod] Rocket

Post by floogin » Thu Mar 19, 2015 7:51 pm

Awesome! This would fit right in with a North Korea themed map.

Post Reply