No
10char
I only know the very basics about Expression 2 but I want a drone that orbits me and can attack people.
I want it to be chat controlled:
"-orbit" makes it start orbiting me
"-stoporbit" makes it stop orbiting
"-ram" makes it fly at the person I'm looking at and kill them
"-stopram" makes it stop ramming the person
And I want the expression model to be the small PHX sphere. I am probably asking for too much but I would appreciate it if someone made one for me.
No
10char
New to the E2? Try my Tutorial:
A Beginners Guide to Expression 2
***Please send a PM before you add me to friends***
We don't hand out codes.
Try to make it yourself, and then we'll try and help you out when you encounter problems.
I would make an attempt if I knew anything about Expression 2 but I don't and I wouldn't fell right about stealing someones code.
I just figured it wouldn't hurt to ask.
Read tutorials, I got one in my sig.
New to the E2? Try my Tutorial:
A Beginners Guide to Expression 2
***Please send a PM before you add me to friends***
Learn expression 2. It's pretty easy.
Ok Spectre, I read your whole tutorial and it seems simple enough. I have a few questions though. Am I using a hologram for the drone? And if I am does that rule out the ram feature because holograms are nocolided with everything? And if I want the drone to orbit me does that mean I have to use trigonomety to change the vectors?
You can use a hologram if you like, or use apply force
If you do use a hologram, it will be noclided with everything, so you cannot ram.
(For a drone, I would use apply force)
To make something orbit, you do need trig. But I gave you how to do it in the tutorial.
New to the E2? Try my Tutorial:
A Beginners Guide to Expression 2
***Please send a PM before you add me to friends***
Ok, I used your code from the tutorial but that only makes it rotate, not orbit. I tried to modify it to work but it only goes in a line over my head.
I don't know any trigonometry but I think I need sin and cos right? Help
You don't necessarily need trig, it can be done by rotating vectors too.. but yes, sine and cosine are what you would need if you went the trig route.
Using vectors, you could do something like:
I++
Position + Direction:rotate(ang(0,I,0)) * Distance
Which would rotate your direction vector around the Z axis as I is incremented. Distance is essentially the radius.
Last edited by Beer; 07-31-2009 at 02:21 PM.
Bookmarks