Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Underground bot.
Underground bot. [message #298901] Sun, 25 November 2007 13:22 Go to next message
cnc95fan is currently offline  cnc95fan
Messages: 1260
Registered: July 2007
Karma: 0
General (1 Star)
I'm developing somthing for a mod, (sorry, I can't tell what it is) but it needs to be able to go underground and surface and attack, or even move, there are so many scripts and void functions out there, that I have clue as to if there is a script which can do that.. if anybody knows, can you shed me some light please?

Cabal8616 wrote on Sun, 27 April 2008 15:50

I say a personal fanning of the genitals would be awesome.


RA3 AUTOMATICLY SUCKS
www.battlefordune.co.uk
Re: Underground bot. [message #298909 is a reply to message #298901] Sun, 25 November 2007 14:35 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
reborn already made 1 tbh. I thinks its in scripts.dll already 3.0 up proly

http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: Underground bot. [message #298912 is a reply to message #298901] Sun, 25 November 2007 14:37 Go to previous messageGo to next message
cnc95fan is currently offline  cnc95fan
Messages: 1260
Registered: July 2007
Karma: 0
General (1 Star)
hmm, yes but this has got to have a moving script zone in it.. the script zone kills anything in it.

Cabal8616 wrote on Sun, 27 April 2008 15:50

I say a personal fanning of the genitals would be awesome.


RA3 AUTOMATICLY SUCKS
www.battlefordune.co.uk
Re: Underground bot. [message #298980 is a reply to message #298901] Sun, 25 November 2007 23:23 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)
You're going to have to make it yourself.

And it isn't going to be very easy. Unless you are making your own custom map?



Re: Underground bot. [message #298995 is a reply to message #298901] Mon, 26 November 2007 01:31 Go to previous messageGo to next message
cnc95fan is currently offline  cnc95fan
Messages: 1260
Registered: July 2007
Karma: 0
General (1 Star)
Yea, were making all the maps ourselvs, so an underground will be put in each map.

Cabal8616 wrote on Sun, 27 April 2008 15:50

I say a personal fanning of the genitals would be awesome.


RA3 AUTOMATICLY SUCKS
www.battlefordune.co.uk
Re: Underground bot. [message #298996 is a reply to message #298901] Mon, 26 November 2007 01:39 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)
Then it will be slightly easier. Just place your bot spawners on the underground part of the map as if they are normal spawners.

You will need to make a script that checks the distance between itself and an enemy star object every i amount of seconds, where i is the frequency you want it to check for enemies in the vacinity. Then if the distance is the same or less than x amount of units away, do a get_position on the bot, then set_position on the bot position of .Z +=y amount of units. Where y is the distance between the base of the bot object and the surface of the up level ground.

Then attach this script to the bot in level edit.

It might also be cool to make an animation so the bot likes like it's getting ready to pop up through the ground. Then you could play the animation if the enemy is in the vacinity, and wait for the animation to finish before you set the new position.



[Updated on: Mon, 26 November 2007 01:42]

Report message to a moderator

Re: Underground bot. [message #298997 is a reply to message #298901] Mon, 26 November 2007 01:41 Go to previous message
cnc95fan is currently offline  cnc95fan
Messages: 1260
Registered: July 2007
Karma: 0
General (1 Star)
Yea, I'll do that, thanks Smile
Edit:
Acctually, if I just tell it to move around in the undergound and if there is several units above it, to play the animtion form its level (0,0,10) for example.


Cabal8616 wrote on Sun, 27 April 2008 15:50

I say a personal fanning of the genitals would be awesome.


RA3 AUTOMATICLY SUCKS
www.battlefordune.co.uk

[Updated on: Mon, 26 November 2007 01:47]

Report message to a moderator

Previous Topic: Havester Explosion
Next Topic: hud.ini
Goto Forum:
  


Current Time: Mon Jul 15 16:48:35 MST 2024

Total time taken to generate the page: 0.00690 seconds