Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » !fds (how to load raw text files like drop scripts?)
!fds [message #467392] Tue, 15 May 2012 20:03 Go to next message
Distrbd21 is currently offline  Distrbd21
Messages: 743
Registered: September 2008
Karma: 0
Colonel

I remember doing this but forgot how been 3 years sense I did it.

Live Your Life Not Some one Else's.| Sharing Is Caring

http://dsgaming.us/distrbd21/Distrbd21%20siggy.png

Cookie Jar

Suicide
Re: !fds [message #467393 is a reply to message #467392] Tue, 15 May 2012 20:53 Go to previous messageGo to next message
Whitedragon is currently offline  Whitedragon
Messages: 832
Registered: February 2003
Location: California
Karma: 1
Colonel
You mean cinematics?

GameObject *Cin = Commands->Create_Object("Invisible_Object",position goes here);
Commands->Attach_Script(Cin,"Test_Cinematic","file goes here");


Black-Cell.net
Network Administrator (2003 - )

DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )

Dragonade, Renegade's first server side modification
Lead coder (2005 - )
Re: !fds [message #467418 is a reply to message #467392] Wed, 16 May 2012 18:07 Go to previous messageGo to next message
Distrbd21 is currently offline  Distrbd21
Messages: 743
Registered: September 2008
Karma: 0
Colonel

well I think, this is what I remember..

I used !fds raw.txt, the raw.txt was made by the CNC Drop editor from renegadezone

then I took out the cargo shit so it wouldn't call that in.

Then I told it to drop ar power up to give you extra ar and hp .


Live Your Life Not Some one Else's.| Sharing Is Caring

http://dsgaming.us/distrbd21/Distrbd21%20siggy.png

Cookie Jar

Suicide
Re: !fds [message #467419 is a reply to message #467418] Wed, 16 May 2012 22:17 Go to previous messageGo to next message
YazooGang is currently offline  YazooGang
Messages: 742
Registered: August 2008
Location: US
Karma: 0
Colonel
class cinematicChatCommand : public ChatCommandClass {
	void Triggered(int ID,const TokenClass &Text,int ChatType) {	
		GameObject *obj = Get_GameObj(ID);
		Vector3 position;
		position.Z += 0;
		position = Commands->Get_Position(obj);
		GameObject *X = Commands->Create_Object("Invisible_Object", position);
		Commands->Disable_Physical_Collisions(X);
		Commands->Attach_Script(X,"Test_Cinematic",Text[1].c_str());
	}
};
ChatCommandRegistrant<cinematicChatCommand> cinematicChatCommandReg("!cin",CHATTYPE_ALL,1,GAMEMODE_AOW);


Type "!cin filename.txt" and it should work (I think).
Re: !fds [message #467424 is a reply to message #467392] Wed, 16 May 2012 23:41 Go to previous message
Distrbd21 is currently offline  Distrbd21
Messages: 743
Registered: September 2008
Karma: 0
Colonel

TY worked great ;p

Live Your Life Not Some one Else's.| Sharing Is Caring

http://dsgaming.us/distrbd21/Distrbd21%20siggy.png

Cookie Jar

Suicide
Previous Topic: !team2 for just admins?
Next Topic: Sounds like in irc but instead in C++
Goto Forum:
  


Current Time: Mon Dec 23 19:54:53 MST 2024

Total time taken to generate the page: 0.00651 seconds