Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Server-side modded map with buildings destroyed at start?
Server-side modded map with buildings destroyed at start? [message #458153] Thu, 20 October 2011 06:22 Go to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Is it possible to do this with LevelEdit? I know it's possible via the scripts.dll API with the level load hook.

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

[Updated on: Thu, 20 October 2011 06:22]

Report message to a moderator

Re: Server-side modded map with buildings destroyed at start? [message #458159 is a reply to message #458153] Thu, 20 October 2011 08:47 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3812
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Commands->Apply_Damage(Commands->Find_Object(CONTROLLER_ID),9999.9f,"blamoKiller ",0);

Do that at round start


[Updated on: Thu, 20 October 2011 08:48]

Report message to a moderator

Re: Server-side modded map with buildings destroyed at start? [message #458160 is a reply to message #458153] Thu, 20 October 2011 08:49 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
How do I do that via LevelEdit?

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: Server-side modded map with buildings destroyed at start? [message #458161 is a reply to message #458160] Thu, 20 October 2011 09:16 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3812
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
If you want to do it all in leveleditor, do it by attaching the script "SUR_Timed_Death" give it a 0.1 second delay (0.0 might be fine but you know, just to be safe).

Although if you're making the level from scratch it'd be better to just place dead buildings on the level from the get go, easier on the server that way.


Re: Server-side modded map with buildings destroyed at start? [message #458162 is a reply to message #458153] Thu, 20 October 2011 09:34 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Thanks a lot, that works.

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: Server-side modded map with buildings destroyed at start? [message #458163 is a reply to message #458162] Thu, 20 October 2011 09:46 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3812
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
No Problem

Re: Server-side modded map with buildings destroyed at start? [message #458247 is a reply to message #458163] Fri, 21 October 2011 21:10 Go to previous messageGo to next message
halo2pac is currently offline  halo2pac
Messages: 659
Registered: December 2006
Location: Near Cleveland, Ohio
Karma: 0
Colonel
If he does that to all buildings doesnt it end game?

http://img339.imageshack.us/img339/1991/nefobbygenyunoreleasere.jpg
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*
Re: Server-side modded map with buildings destroyed at start? [message #458326 is a reply to message #458247] Sun, 23 October 2011 15:51 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3812
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Yep, so if he wants all the buildings to be dead he should either place some fake building controllers or disable the checkbox that ends game on base destruction.

Re: Server-side modded map with buildings destroyed at start? [message #458336 is a reply to message #458153] Sun, 23 October 2011 22:12 Go to previous message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
.

http://s18.postimage.org/jc6qbn4k9/bricks3.png

[Updated on: Sun, 23 October 2011 22:13]

Report message to a moderator

Previous Topic: Map terrain shows up as black in RenX
Next Topic: RA_Fjord
Goto Forum:
  


Current Time: Wed Dec 11 23:19:47 MST 2024

Total time taken to generate the page: 0.01499 seconds