Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » How can I hook spawn weapons without an objects.gm mod?
How can I hook spawn weapons without an objects.gm mod? [message #463635] Mon, 05 March 2012 09:50 Go to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
I can't seem to wrap my mind around hooking the weapon spawn, I figured out a workaround method with an objects.gm mod that sets the list of spawn weapons to one preset that's normally unused. and hooking that preset, but is there a proper way?

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: How can I hook spawn weapons without an objects.gm mod? [message #463637 is a reply to message #463635] Mon, 05 March 2012 10:20 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
objects hook powerups ?

http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: How can I hook spawn weapons without an objects.gm mod? [message #463638 is a reply to message #463635] Mon, 05 March 2012 10:26 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
I've done that, but I can't find a way to distinguish it from other powerups like drop weapons. :/

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: How can I hook spawn weapons without an objects.gm mod? [message #463650 is a reply to message #463638] Mon, 05 March 2012 14:51 Go to previous messageGo to next message
sla.ro(master) is currently offline  sla.ro(master)
Messages: 610
Registered: September 2010
Location: Romania
Karma: 0
Colonel
powerups calls object call hook

Creator of Mutant Co-Op
Developer of LuaTT
Re: How can I hook spawn weapons without an objects.gm mod? [message #463653 is a reply to message #463635] Mon, 05 March 2012 15:14 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Huh?

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: How can I hook spawn weapons without an objects.gm mod? [message #463718 is a reply to message #463635] Tue, 06 March 2012 10:01 Go to previous message
Omar007 is currently offline  Omar007
Messages: 1711
Registered: December 2007
Location: Amsterdam
Karma: 0
General (1 Star)
That doesn't look like valid English Razz

Translate attempt:
Powerups call the object hook function.

I guess he's telling you to capture the creation of powerups in the object hook, which has already been suggested and resulted in your second question.


http://tiberiumredux.omarpakker.nl/Old Unused Parts/Plaatjes/PromoteBanner_Hades_small.jpg
Previous Topic: Plugins to make visceroids spawn on tib death and one to mod spawn weapons
Next Topic: Custom Reticles
Goto Forum:
  


Current Time: Wed Dec 18 03:49:18 MST 2024

Total time taken to generate the page: 0.00811 seconds