Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » created bots
created bots [message #322921] Wed, 19 March 2008 05:58 Go to next message
SODPaddy is currently offline  SODPaddy
Messages: 233
Registered: August 2005
Location: Germany
Karma: 0
Recruit

Hello,

i created GDI_MiniGunner_3Boss.

When i was on Nod they dont shot me.. what must i do?


Website: www.Area54.eu

Once 54, Always 54.
(\__/)
(O.o )
(___)
Visit us at www.Area54.eu
Re: created bots [message #322930 is a reply to message #322921] Wed, 19 March 2008 07:31 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
did u add a script to it?
Re: created bots [message #322938 is a reply to message #322921] Wed, 19 March 2008 09:41 Go to previous messageGo to next message
mrãçķz is currently offline  mrãçķz
Messages: 3069
Registered: August 2007
Karma: 0
General (3 Stars)
Permabanned for trying and failing DDoS
JFW is your Friend





























Hint: JFW_Base_Defence
Re: created bots [message #322956 is a reply to message #322921] Wed, 19 March 2008 10:25 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
It has something to do with the way your objects file is set up I think. I'm sure Yrr or someone on the BI team will correct me.

When I create them on my server they work just fine. (With no scripts.)
Re: created bots [message #322964 is a reply to message #322921] Wed, 19 March 2008 11:14 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 think Roshambo is right, have you checked out your innate behaviour settings?


Re: created bots [message #322970 is a reply to message #322921] Wed, 19 March 2008 11:34 Go to previous messageGo to next message
SODPaddy is currently offline  SODPaddy
Messages: 233
Registered: August 2005
Location: Germany
Karma: 0
Recruit

i created this bot via c++

like:

			if (Type == 0 || Type == 1) {
		if (wcsicmp(Msg2, L"!bothavoc") == 0) {
			if (Commands->Get_Money(Get_GameObj(ID)) >= 2000) {
				GameObject *obj = Get_GameObj(ID);
				Vector3 position = Commands->Get_Position(obj);
				position.Z += 5;
				position.X -= 5;
				Commands->Create_Object("CnC_GDI_MiniGunner_3Boss_Skirmish",position);
				Commands->Give_Money(Get_GameObj(ID),(float)-2000,false);
				char Message[100];
				sprintf(Message,"ppage %d [PB] %s your item created.", ID, Get_Player_Name_By_ID(ID));
				Console_Input(Message);
				} 
				else { 
				Commands->Give_Money(Get_GameObj(ID),0,false);
				char Message[100];
				sprintf(Message,"ppage %d [PB] Sorry, this item cost $2000", ID, Get_Player_Name_By_ID(ID));
			    Console_Input(Message);

			} 
		} 
	}


Look -> http://ehserv.netgamezone.de/forum/viewthread.php?forum_id=9&thread_id=1


Website: www.Area54.eu

Once 54, Always 54.
(\__/)
(O.o )
(___)
Visit us at www.Area54.eu

[Updated on: Wed, 19 March 2008 11:36]

Report message to a moderator

Re: created bots [message #322971 is a reply to message #322921] Wed, 19 March 2008 11:52 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)
If the preset you're creating has a innate behaviour that stops it from attacking, then it doesn't really matter about your code.
Look at the preset in level edit.



Re: created bots [message #323015 is a reply to message #322921] Wed, 19 March 2008 15:39 Go to previous messageGo to next message
SODPaddy is currently offline  SODPaddy
Messages: 233
Registered: August 2005
Location: Germany
Karma: 0
Recruit

what i need to change?

Website: www.Area54.eu

Once 54, Always 54.
(\__/)
(O.o )
(___)
Visit us at www.Area54.eu
Re: created bots [message #323043 is a reply to message #322938] Wed, 19 March 2008 18:41 Go to previous messageGo to next message
SODPaddy is currently offline  SODPaddy
Messages: 233
Registered: August 2005
Location: Germany
Karma: 0
Recruit

So... i added "JFW_Base_Defence" to the Havoc they move but dont shot Nod players. Whats the reason?

Website: www.Area54.eu

Once 54, Always 54.
(\__/)
(O.o )
(___)
Visit us at www.Area54.eu

[Updated on: Wed, 19 March 2008 19:02]

Report message to a moderator

Re: created bots [message #323050 is a reply to message #323043] Thu, 20 March 2008 00:01 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
TGPaddy wrote on Thu, 20 March 2008 01:41

So... i added "JFW_Base_Defence" to the Havoc they move but dont shot Nod players. Whats the reason?


Probably wrong arguments.
Re: created bots [message #323055 is a reply to message #322921] Thu, 20 March 2008 02:48 Go to previous messageGo to next message
cnc95fan is currently offline  cnc95fan
Messages: 1261
Registered: July 2007
Karma: 0
General (1 Star)
index.php?t=getfile&id=6232&private=0
  • Attachment: innate.JPG
    (Size: 141.32KB, Downloaded 251 times)
Re: created bots [message #323061 is a reply to message #322921] Thu, 20 March 2008 05:25 Go to previous messageGo to next message
SODPaddy is currently offline  SODPaddy
Messages: 233
Registered: August 2005
Location: Germany
Karma: 0
Recruit

hmm does not running

Website: www.Area54.eu

Once 54, Always 54.
(\__/)
(O.o )
(___)
Visit us at www.Area54.eu
Re: created bots [message #323083 is a reply to message #323061] Thu, 20 March 2008 08:48 Go to previous messageGo to next message
The Executor is currently offline  The Executor
Messages: 464
Registered: February 2008
Location: Eastern Coast, USA
Karma: 0
Commander
Okay in order to get a normal bot to work on a map, you have to run pathfind on the map by placing a pathfind ganerator on the map first then running pathfind. Also temp the GDI_MiniGunner_3Boss preset and call it BOT1 then click on settings and scroll down and make sure that the check box "UseInnateBehavior" is selected. (Just like the picture above)

Imperial Class Super Star Destroyer
http://l.yimg.com/us.yimg.com/i/us/wrlds/strwrs/gr/hdrs/super-star-destroyer-1.jpg

Quote:

"Fear will keep these systems inline, fear of this battle station!"

-Grand Admiral Moff Tarkin



Re: created bots [message #323188 is a reply to message #322921] Fri, 21 March 2008 10:01 Go to previous messageGo to next message
SODPaddy is currently offline  SODPaddy
Messages: 233
Registered: August 2005
Location: Germany
Karma: 0
Recruit

what is pathfind ganerator

Website: www.Area54.eu

Once 54, Always 54.
(\__/)
(O.o )
(___)
Visit us at www.Area54.eu
Re: created bots [message #323215 is a reply to message #322921] Fri, 21 March 2008 12:23 Go to previous message
SODPaddy is currently offline  SODPaddy
Messages: 233
Registered: August 2005
Location: Germany
Karma: 0
Recruit

i added the Hunt the player script they only follow me

Website: www.Area54.eu

Once 54, Always 54.
(\__/)
(O.o )
(___)
Visit us at www.Area54.eu
Previous Topic: creating skins
Next Topic: How to change walk animation?
Goto Forum:
  


Current Time: Fri Dec 20 05:16:38 MST 2024

Total time taken to generate the page: 0.00927 seconds