You are not logged in.
Pages: 1
Has someone tested cloning characters and how to, say, teleport them?
I was making a BSL, but I wanted to spawn several characters and access them independently, like teleporting one to a flag and the other to other flag. I tried an approach with int variables counting the spawned characters, but "chr_teleport 1 0" didn't work for that level... While "chr_teleport 0 0" did. If anyone has ever achieved this, please, help me...
Also, the level was Athmosferic Conversion Center (exterior) - "power", in the IGDM folder. And I'm using "force" in all spawns, if that matters.
Thanks
Last edited by Lukas Kreator (01/04/11 01:01)
Offline
Uh... anyone?
Offline
Takes about a day to get a response, didn't use to be this way
Be patient sport ^_^
Oni IRC | Kumite! Kumite! Kumite!
Offline
You can't really do much with force spawned characters. Sorry.
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
Thank you...
I have other questions: ^^
1- Anyone got some tutorial or guide on editing and creating particle effects? I took a look at the particle files, but there are lots of information unclear for me... I also saw the wiki page, but I won't edit the binaries anyway... Is there some tool to edit them easily? Because the XML way is a lot of work...
2- Can I model anything with Google Sketchup and export to ONI? Level models, like cars, maybe characters... I dunno... I saw an option to export Collada files with it, and I was wondering.
I will take a look at the topic tomorrow...
Also, sorry for being impatient... It's only that I was making the script with clones, and without a reply I couln't continue...
Last edited by Lukas Kreator (01/04/11 01:01)
Offline
1) You have two choices: XML or direct binary editing. XML is much easier, especially if you set up a few batch files to automate the data building.
2) In theory. See if you can get a hold of EdT
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
Thank you. I will try to speak with him... The problem is that he uses a MAC, and Sketchup only works on Windows... Anyway, I'll ask him.
Some time before, I tried to make something like a Screaming Cannon projectile that irradiated the electricity stuff of the VDG, with no success... I see the thing is to find the right particle. Ok, I will try with all particles of the VDG. Then I just have to compile the ONI file to the "level0_particles", right?
Last edited by Lukas Kreator (01/04/11 12:01)
Offline
as in google sketchup? That works on both platforms. I have friends that use it everyday at uni.
Offline
Oh, so I must have mistaken Mac with Linux... XD
I will have to send another message to Edt...
Offline
I took a crack at particle editing, I think the difficulty depends on what you're trying to do... I released a VDG mod that changes the effect (knocks them far backwards instead of stunning). I'm not sure exactly what you are trying to do though. So just to be clear, you are trying to make a screaming cannon projectile that instead of emitting the gas cloud, it emits VDG electrical bolts? Or do you want it to do both? Anyways, it sounds like an intriguing idea, I might look into it to see if I can't help, seems simple enough.
"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."
Offline
Lukas: I got your messages, but will reply here.
You can model in Sketchup, however, you cannot import the models directly into Oni. The best 3D program to use is Autodesk Softimage Mod Tools, it's free and works well with OniSplit. So if you are familiar with Sketchup you could create your models then export as Collada, then import into Mod Tools then export for Oni.
Here is a nice tutorial on importing character models into Oni: http://wiki.oni2.net/AE:Importing_character_models
Offline
Thank you very much!
I will take a look at that page and about the particles, yes, I want a Screaming Cannon missile to shoot electrical stuff of the VDG while flying, so that it could paralyze everyone in the way... At first, I tought at removing the green wave thing, but then I tought "what if they got paralyzed and then suffered the effects of the screaming cannon? They wouldn't be able to escape! " - althrough the green wave and the blue electrical thing don't get along very well... That's why I wanted to know how to, for example, reproduce the green wave, but red or blue... Can I just change some XML things, or will I have to mod some 3D?
I wished I could edit a lot of XML particles at the same time and put them into ONI all at a time...
Last edited by Lukas Kreator (01/04/11 17:01)
Offline
Re: Particles. Good luck. For what you want to do, no 3D changes will be neccessary. Particle editing is something that can only really be learned, not taught, IMO. Only two members of the community (myself and Loser) have really learned the system well enough to be called "experts". My advice is to first mess around with particles, just for fun, and see what things do.
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
I tried an approach with int variables counting the spawned characters, but "chr_teleport 1 0" didn't work for that level... While "chr_teleport 0 0" did. If anyone has ever achieved this, please, help me...
You can use chr_location for teleport the clones.
more info here:
http://wiki.oni2.net/BSL:Functions#chr_
http://ssg.oni2.net/commands.htm#character
BUT like gumby said work with the forced characters isn't easy at all, because sometimes you can't predict which id is one specific character.
So the direction is the flags and normal characters with custom names. (you can create a bunch of them with the xml editing)
Offline
Well... I will practice a lot this week (month, or year), and maybe the community gets another Particles Expert one day ;D
Modding particles seems to take too much time through, so I might not post topics and replies for some time XD
Also, I will try more things about the clones, but not now... The computer in wich I am has no ONI, and my CD is not here...
Offline
Pages: 1