Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » More Questions
Re: More Questions [message #263213 is a reply to message #263212] Tue, 05 June 2007 01:43 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
joe937465 wrote on Tue, 05 June 2007 04:26

1)ok now when i edit them where do i put them?




OK, this code here exists in the aow .cpp

		if (strstr(Commands->Get_Preset_Name(obj),"CnC_GDI_MiniGunner_0"))
		{
			BackpackScript = Commands->Create_Object("POW_AutoRifle_Player",DeathPlace);
		}


It basically means (along with it's preceeding code) that if a player dies, and they are a GDI normal rifle soldier, then they drop a "pow_autorifle_player", which is a normal GDI rifle gun.
If you edit the pow_autorifle_player to some other pow weapon, then it will drop that weapon instead when a gdi soldier is killed.
When you have finished making your changes, then save what you have done, then press "f7" to build your solution. This will create a new scripts.dll in the directory where your solution is. This file is the file you need to replace the old scripts.dll file with in your servers FDS directory.

joe937465 wrote on Tue, 05 June 2007 04:26


2)also in ctf im add new chars like umm petorva right but shes not in the aow.c thing so i cant choose what she drops how do i set that up ? in the source file?



Well if you are replacing the petrova character with another one, I would just look for the character preset in the "void KAK_Backpack_Object::Created(GameObject *obj) {" that you have replaced the petrova with, and replace it with the petrova preset name, then define what weapon she drops when killed.


joe937465 wrote on Tue, 05 June 2007 04:26


3)and where are the vechs in c++ to make soem stealth?


You can do that, however people without the scripts.dll from johnwill on there client will still be able to see the vehichle as if it wasn't stealthed. So they would have an advantage over people who do have the scripts.dll.
This will cause players who have got off there ass and downloaded it to have a disadvantge, not encouraging...



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Vehicle help
Next Topic: I'm kind of torn here....
Goto Forum:
  


Current Time: Mon Jan 27 12:25:27 MST 2025

Total time taken to generate the page: 0.01489 seconds