Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » The CnC_Chicken
The CnC_Chicken [message #383825] Fri, 01 May 2009 13:12 Go to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
Any idea why this preset crashes =\?

I'm messing around with some character presets, and the chicken always crashes the game. It even crashes if it picks up any weapon and kills someone with it.


http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder
Re: The CnC_Chicken [message #383828 is a reply to message #383825] Fri, 01 May 2009 13:18 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
I forget why it does that, someone did explain it once. I think it happens when someone joins the game afer the chicken is created.
Try creating a preset, then changing there model to the chicken, might help...



Re: The CnC_Chicken [message #383829 is a reply to message #383825] Fri, 01 May 2009 13:26 Go to previous messageGo to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
There's a lot of events that makes it crash.

The client crashes after he joins the game when the chicken is already created.

It crashes when you're the chicken and you kill someone with any weapon except for the weapons it already comes with.

It crashes if you use a weapon that you pick up with the chicken.


It's just weird. I'm not gonna bother figuring out why because it already seems like a headache. I was hoping to make a Chicken Crate but I guess nevermind lol.


	else if	((RandomIntCrate <=	(percent+=Settings->CrateChicken)) && (Settings->CrateChicken > 0)) {
		if (Get_Vehicle(sender) || Settings->GameMode == 3 || Settings->GameMode == 4) {
			goto CrateStart;
		}
		Console_Input(StrFormat("msg Crate: Did you hear that clucking? Someone on %ls got the Chicken Crate! Watch out %ls!",Get_Wide_Team_Name(Team),Get_Wide_Team_Name(PTTEAM(Team))).c_str());
		StrFormat2(message2,"%ls picked up the Chicken Crate.",Get_Wide_Player_Name(sender));
		StrFormat2(message1,"ppage %d [Crate] You picked up the Chicken Crate!",Get_Player_ID(sender));
		Change_Character(sender, "CnC_Chicken");

		Commands->Create_2D_WAV_Sound("amb_rooster.wav");
		Grant_Refill(sender);

		if (Settings->Gamelog) {
			Vector3	pos	= Commands->Get_Position(sender);
			StrFormat2(message3,"CRATE;CHICKEN;;%d;%s;%f;%f;%f;%f;%f;%f;%d",Commands->Get_ID(sender), Commands->Get_Preset_Name(sender), pos.Y,pos.X,pos.Z, Commands->Get_Facing(sender), Commands->Get_Max_Health(sender),Commands->Get_Max_Shield_Strength(sender),Get_Object_Type(sender));
		}
	}


http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder

[Updated on: Fri, 01 May 2009 13:27]

Report message to a moderator

Re: The CnC_Chicken [message #383830 is a reply to message #383825] Fri, 01 May 2009 13:30 Go to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Change the character to a different preset, then set the model to the chicken, see if that helps.


Previous Topic: f_ga_pist_relod help
Next Topic: Chewbacca Skin
Goto Forum:
  


Current Time: Thu Dec 19 04:58:28 MST 2024

Total time taken to generate the page: 0.00636 seconds