lfnetwork.com mark read register faq members calendar

Thread: vehicle limit and new vehicle classes
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 12-10-2003, 12:40 PM   #1
Duncan_10158
 
Duncan_10158's Avatar
 
Join Date: Apr 2002
Posts: 365
vehilce limit and new vehicle classes

I made two posts in the Jedi Knight Edditing/ Coding forum but i didnt get any help or even replys on it. so keshire told me to post it here, i hope i get here at least a reply on it. this is a coding thing so it fits quite good into OJP. i put both into this thread cause they are some kind of dependent.



fix vehicle limit

Now with the JA sdk released we can do some more in deep changes of JA. as i am working on some new vehicles i would like to start this thread on how we can mod JA to eliminate or at least rise the vehicle limit.

the vehicle limit has something to do with the .veh files. if there are more the 12 added in the base folder JA gives you an error back when loading a map: veh files extention to large, or something like that. its eighter a limit of the number of veh files or the used size of all these veh files together. i couldnt figure that out.

to fix that is very importent for us vehicle modelers, everyone downloading vehicles surly gets the problem of the many veh files. and for mapper its a limit of the vehicles they can use in thier maps. i dont realy have an idea about coding, but with my other request for help in creating new vehicle classes, i hope this can improve our projects a great part. if someone could help me figure out where the problem is and fix it, would be realy great.



creating new vehicle classes

I am working on some new vehicles for JA, like the droideka, and came to the point where without code change i dont realy can finish it as i would like to. the problem is the vehicles in JA are grouped in classes like swoop, walker, fighter or animal. these groups are more importent for how the vehicle is like then the .veh file, which we can mod. creating new vehicle classes would make it possible to creat new vehicle models which are more acurate. for ex. to creat a ATAT usabe we need a vehicle class that can move a head independently from the body or sett up directly what triggers a spezified animation. just to make it clear, i have no idea about coding or any other stuff needed for that. so i am writing here a list of what i hope could be changed or set up in a new vehicle class. perhaps we should creat some different classes so there is some choise for us vehicle modelers to creat new vehicles. if you could help me, would be great

-more variety in movements, some classes have more different movements, but any vehicle can drive sideward or jump. for ex. it could be possible to creat an animal that can make a high jump.

-let bones follow the crosshair, the ATST guns does follow the crosshair in the vertical, a bone named >thoracic< in a walker class vehicle does it. if we could set up bones that follow in horizontal and vertical. or also let the vehicle turn when standing, what work in SP but not in MP.

-using left/right arrow to steer and mouse to aim, this is directly linked to the point above. instad steering the vehicle with the mouse it should work though the arrows. thise would make vehicles like ATAT or ATST much more accurat.

-finish an animation sequence befor a next one can be ativated, the vehicle class seams to set up which animations can be inerrupted and which cant. for ex. my droideka goes much to fast into rolling mode and back, i want to have the sanding up animation finished befor any thing else can be started.

-deactivat sertain actions in stances, for ex. the fighter class cant shoot while standing on gound, i would like to have a similar thing for other actions during some animation sequences. again my droideka, i want to have it set up so it cant shoot while in rolling mode.

-taking different amount of damage in different stances, for vehilces it should be possible to set up a very vulnerable mode, or have some kind of activated energy shield in some animation sequences. i am not talking about the visual part of it, i already created such a visual energy shield for my droideka, that is activ while standing and not when in rolling mode. i would like to have a mod that takes that into account on the damage points.

-more different driver posture, this is set up in the vehicle class altough the is a parameter in the veh files, but it has no effect. if we could set up that other posture are shown and what player model animation sequences are used. for ex. useing that console typing animation for a vehicle driver.

-vehicles with passangers and possibly show them as drivers, there is an option in the veh files to make it possible for vehicles to carry passangers, but its a vehilce class thing again. if we could make it usable and those passangers visible with spezified driver animations. gunner is perhaps the next step, but i suppose thats hard coded.


ok, thats my short list. i am not sure if i mentioned all, but these are the things i realy like to have on my vehicles. i have no idea if its possible at all, so let me know.
Duncan_10158 is offline   you may: quote & reply,
Old 12-10-2003, 07:08 PM   #2
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
I'll look into the vehicle limit but I simply have too much on my plate to create new vehicle classes. Maybe someone else would like to do that.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-10-2003, 08:02 PM   #3
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
Ok, it looks like the max vehicle issue is just a single DEFINE. I've made the change and will update the repository soon.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-10-2003, 10:50 PM   #4
Duncan_10158
 
Duncan_10158's Avatar
 
Join Date: Apr 2002
Posts: 365
sounds great. everyone knows you got lots of things on your to do list, so it doesnt hurry. i am happy at least someone replyed to my post
Duncan_10158 is offline   you may: quote & reply,
Old 12-11-2003, 08:35 AM   #5
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
I've got VH_DROIDEKA defined for you Duncan.

At the moment It is exactly like the ATST.

I'll be changing that shortly.


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.
keshire is offline   you may: quote & reply,
Old 12-11-2003, 09:01 AM   #6
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
Is keshire going to share some with the rest of the class?


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-11-2003, 09:05 AM   #7
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
Soon as I'm done.

I'm hunting down where the attack string is so I can insert an animation there. Something general like BOTH_ATTACK2.

Also need to hunt down the movement area for run. Which shouldn't be too hard, I came across it once before. Just need to re-find it.


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.
keshire is offline   you may: quote & reply,
Old 12-11-2003, 09:12 AM   #8
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
Well, if you're planning on submitting anything to the project, I suggest you get access to the repository so you can do the adding yourself.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-11-2003, 09:13 AM   #9
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
Could you perhaps point me in the right direction for that?


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.
keshire is offline   you may: quote & reply,
Old 12-11-2003, 09:40 AM   #10
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
I'm probably going to have to walk you thru it. PM me your IM information.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-11-2003, 09:42 AM   #11
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
Well I'm primarily on while at work. Get ahold of me at

snip

As you can see I monitor my emails as if it were IM.


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.

Last edited by keshire; 08-19-2008 at 01:20 AM.
keshire is offline   you may: quote & reply,
Old 12-11-2003, 09:58 AM   #12
RenegadeOfPhunk
 
RenegadeOfPhunk's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 731
Duncan_10158,

I am going to be starting work on implementing a Droideka class for my mod soon - and was planning to sumbit this to the OJP. The only trouble is I wasn't planning on using a vechicle implementation for the Droideka because - well - it's not something a player rides!

...wouldn't it make more sense as a siege class?

...however, I might still be interested in working on these new vechicle classes as well - irrespective to the droideka implementation.

Anyway, if you want to get in contact so that we can xchange notes more closely, my e-mail is renegadeofphunk@3dactionplanet.com


/* RenegadeOfPhunk */

OJP forums
OJP website - WIP

Movie Battles!
RenegadeOfPhunk is offline   you may: quote & reply,
Old 12-11-2003, 09:59 AM   #13
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
I emailed you the Droideka file and explained to him what you wanted to do. I decided to do this (vehicle class) as a side project.


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.
keshire is offline   you may: quote & reply,
Old 12-11-2003, 11:01 AM   #14
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
I'll try and fix the attack while running and adding in the attack animation tonight. Otherwise I'm out for the day.


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.
keshire is offline   you may: quote & reply,
Old 12-11-2003, 07:54 PM   #15
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
Quote:
Originally posted by RenegadeOfPhunk
I am going to be starting work on implementing a Droideka class for my mod soon - and was planning to sumbit this to the OJP. The only trouble is I wasn't planning on using a vechicle implementation for the Droideka because - well - it's not something a player rides!
That's true but it might be easier to impliment as a seperate vehicle class that is only boardable thru code commands.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-12-2003, 10:09 AM   #16
RenegadeOfPhunk
 
RenegadeOfPhunk's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 731
Quote:
That's true but it might be easier to impliment as a seperate vehicle class that is only boardable thru code commands.
Hmm - I think you have a point...

I would want the droideka 'class' to be avaliable irrespective of whether the droideka vechicle happens to be included in the map, but I guess I can jump that hurdle later...

OK - so I'm definetly interested in helping with all the stuff your talking about Duncan. I wasn't home last night, so I didn't check my mails. I will check them tonight.

Keshire, maybe we can split the work between us. Let me know where you are currently at...


/* RenegadeOfPhunk */

OJP forums
OJP website - WIP

Movie Battles!
RenegadeOfPhunk is offline   you may: quote & reply,
Old 12-12-2003, 10:11 AM   #17
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
Have at it. I just have a copy of the walker class renamed. I'm tackling my other project at the moment.


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.
keshire is offline   you may: quote & reply,
Old 12-12-2003, 01:09 PM   #18
Duncan_10158
 
Duncan_10158's Avatar
 
Join Date: Apr 2002
Posts: 365
this is coming great, thanks everyone.

my first idea was to creat the droideka as player model and not as vehicle. most of the animations are made as it would be a player model. i converted it to vehicle as JA came out and the hole vehicle thing got possible for MP. i also think to code the droideka as vehicle and make it in siege maps for ex. boardable only class selection, as razorace suggested, is the best way.

RenegadeOfPhunk, did you get the droideka file? if not let me know and i will sent it again.

btw, could it be possible to change the code that in the veh file are some of these options to enable? for ex. which animation sequences are used or what bones follow the crosshair horizontaly or verticaly. that would make it for everyone much easier to creat new vehicles.
Duncan_10158 is offline   you may: quote & reply,
Old 12-12-2003, 01:24 PM   #19
RenegadeOfPhunk
 
RenegadeOfPhunk's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 731
Quote:
btw, could it be possible to change the code that in the veh file are some of these options to enable? for ex. which animation sequences are used or what bones follow the crosshair horizontaly or verticaly. that would make it for everyone much easier to creat new vehicles.
The animation triggers are most certainly possible. (Sounds like Keshire has made some headway into this already...)
The bones-following-crosshair stuff I'd need to look into a bit, but I'm sure that should be possible too...


/* RenegadeOfPhunk */

OJP forums
OJP website - WIP

Movie Battles!
RenegadeOfPhunk is offline   you may: quote & reply,
Old 12-13-2003, 03:26 AM   #20
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
Yes, I was in the process of hunting down where the attaack occurs so I could implant just any basic attack animation. The only problem I see is the way it switches linked muzzles.

I don't know if the animation would occur before or during the switch.

During would be definately be nice and make less work. But I'm just hoping.


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.
keshire is offline   you may: quote & reply,
Old 12-13-2003, 10:05 AM   #21
RenegadeOfPhunk
 
RenegadeOfPhunk's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 731
Duncan,

I haven't recieved your current Driodeka work yet. I'm assuming your planning to send me your current vechicle implementation so I can see clearly what needs to be altered / fixed.

...also, have you got an AT-AT in the works? If so, it would be handy to be able to see that too, so I can get a clear idea of what needs to be achieved for that too.

One thing I think I will do is add a variable to the standard vechicle definition which states that the vechicle is something that the player 'is', rather than the player 'rides'. Exactly how we want to make this work, we can think about as we go.

I can try and add a lot of customosability to all the vechicle classes, to try and achieve the things your after, but I need to know some details.
e.g. with the droideka, how is it you are switching from roll to not rolling?

Anyway, if you send me a mail then we can get communicating properly...

Keshire,

I don't know how your approcahing this, but it would be nice if we make this work nice and generically, so that - for example - a vechicle creator could make another 'droid' vechicle, and specify special operational modes, special anims etc. all from the vechicle definition without having to change any code. I think this will be a bit tricky, and we can't try and cover EVERY possibility - but I think we can try and make it fairly comprehensive...


/* RenegadeOfPhunk */

OJP forums
OJP website - WIP

Movie Battles!

Last edited by RenegadeOfPhunk; 12-13-2003 at 10:45 AM.
RenegadeOfPhunk is offline   you may: quote & reply,
Old 12-13-2003, 10:19 AM   #22
RenegadeOfPhunk
 
RenegadeOfPhunk's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 731
Keshire,

Just looked back up, and seen that you have created a new class specifically for the Droideka.

...I reakon it would be better to leave it as just a VH_WALKER class. That's essentially what it is after all, with a few extra fancy functions.

We can get those new functions in by just making ALL vechicle classes a bit more customisable, but I personally don't think adding new vechicle classes for individual instances of a vechicle (i.e. Droideka) is the right way to go - not in the long term anyway...

..what do you think?


/* RenegadeOfPhunk */

OJP forums
OJP website - WIP

Movie Battles!
RenegadeOfPhunk is offline   you may: quote & reply,
Old 12-13-2003, 10:30 AM   #23
RenegadeOfPhunk
 
RenegadeOfPhunk's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 731
OK,

While I'm waiting to look at the current Droideka vechicle imp. - here's an example of the kind of things I want to add to the .veh definition files to try and handle the stuff being talked about.

e.g.
To handle the jumping stuff...

MaxJumpHeight
Default - 0
Determines the maximum height this vechicle can jump to. If 0, this means the vechicle has no jump capability. I'm guessing only VH_WALKER or VH_ANIMAL vechicles would potentially have this variable set, although I guess VH_SPEEDER isn't out of the question either...

JumpVelocity
Default - ?
The velocity with which the vechicle will leave the ground when jumping.

JumpAnim
Default - ?
A custom anim to be played when jumping.
From the looks of it, you guys have already got new anims working for vechicles. Could I get details as to how that all works...?


/* RenegadeOfPhunk */

OJP forums
OJP website - WIP

Movie Battles!
RenegadeOfPhunk is offline   you may: quote & reply,
Old 12-13-2003, 10:40 AM   #24
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
I assume this stuff will be submitted to OJP?


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-13-2003, 10:43 AM   #25
RenegadeOfPhunk
 
RenegadeOfPhunk's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 731
...of course


/* RenegadeOfPhunk */

OJP forums
OJP website - WIP

Movie Battles!
RenegadeOfPhunk is offline   you may: quote & reply,
Old 12-13-2003, 06:23 PM   #26
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
Well, if you're actively working on something for OJP, please post about it in the "what's new?" sticky.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-13-2003, 08:09 PM   #27
RenegadeOfPhunk
 
RenegadeOfPhunk's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 731
Quote:
please post about it in the "what's new?" sticky.
Done.

btw Razor - this max vechicle DEFINE you've upped -do you know why it was set so low? I'm guessing Raven didn't set it low just to spite us! Maybe they had a good reason for it...


...anyway, I've got jumping vechicles now
Gotta iron out a few kinks and add those new vechicle options, but pretty much done.

The only thing I can't get working yet is getting a jump anim to trigger. But I think this is mainly because the AT-ST I'm using to test with doesn't have a jump anim defined
Duncan, if you have a vechicle which DOES have a jump anim ready to be triggered, then pass it my way and I can try and get it working properly...


/* RenegadeOfPhunk */

OJP forums
OJP website - WIP

Movie Battles!
RenegadeOfPhunk is offline   you may: quote & reply,
Old 12-14-2003, 02:37 AM   #28
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
Well, 16 seperate vehicles isn't that low...especially if you consider that they got cut off in midstream on the vehicle stuff.

In fact, the define states that it's 64. They must have reduced it right before release. My guess is that it's so that the loadtimes are smaller.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-14-2003, 09:43 AM   #29
RenegadeOfPhunk
 
RenegadeOfPhunk's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 731
Hmm. Well, ok, we'll see how it goes I guess.

Anyway, I've coded in the new entries to the vehicle definition I mentioned above. i.e.:

MaxJumpHeight
JumpVelocity
JumpAnim


They seem to be working fine.

There is only one small problem I have, which seems very strange. If I make the vechicle jump 'on-the-spot' in certain parts of the map, the vechicle can tend to 'drift' a bit until it settles on a certain, specific point!!

...I'm still looking into it, but if I can't get it fixed, it's not a show-stopper I dont' think.

As I say, I can't test the jump anim stuff properly until I get a vechicle with a jump anim defined.


OK- since I still don't have a current Droideka file, nor do I have any details on how your currently handling stuff like rolling, I'm going to propose my own system for handling this kind of stuff.

What I'd propose is to mark out several differnt operational 'modes', activated in different ways.

...for example, the way I was planning to handle Droideka 'rolling' was to make rolling active when the 'crouch' key is held down

OK - so what I propose is to have the concept of different operational 'modes', triggered by custom-defined player input.

i.e.

OPMode1
Default - MODE_TRIGGER_NONE
Determines what control triggers this 'mode'.
Two triggers I can think of off-the-bat are:
MODE_TRIGGER_CROUCH - mode triggered when crouch is held
MODE_TRIGGER_WALK - mode triggered when walk is held

I guess these different triggers could be bit flags potentialy, although I don't know how useful this will be.

Mode1AnimStart
Default - ?
Determines the anim which is played when moving into the specified operational mode

Mode1AnimDuring
Default - ?
THe anim which is played 'during' the operational mode

Mode1AnimEnd
Default - ?
The anim which is played when coming out of that operational mode

Mode1CanFire
Default - 1
If set to 1, this means the vehicle can fire when in mode 1. If 0, it cannot

Mode1ShieldsOn
Default - 1
If set to 1, this means shields can still work when in mode 1. If 0, they cannot.

Mode1VehicleClass
Default - ?
This entry determines new class values to be used to 'over-ride' the normal ones. This allows maximum flexibility between the different operational modes.

For an example of how this would work, imagine a Droideka_vehicle class. THe values speficied directly for that class would be for walking.
The Mode1 settings would look something like this:

OPMode1 MODE_TRIGGER_CROUCH
Mode1AnimStart ANIM_DROIDEKA_FOLD_UP
Mode1AnimDuring ANIM_DROIDEKA_ROLL
Mode1AnimEnd ANIM_DROIDEKA_FOLD_OUT
Mode1CanFire 0
Mode1ShieldsOn 0
Mode1VehicleClass "DroidekaRolling_vehicle"

The DroidekaRolling_vehicle class could contain any settings which would need to be 'over-ridden' when in this mode. Some examples of this would be overall speed, turning ability etc. etc.
Also, one extra setting for all vehicle class would be:

VehicleModeClass
Default - 0
If set to 1, the class definition is only a mode of another class, and cannot be used as a class 'on it's own'.
If 0, this is a 'normal' or 'main' class.


/* RenegadeOfPhunk */

OJP forums
OJP website - WIP

Movie Battles!
RenegadeOfPhunk is offline   you may: quote & reply,
Old 12-14-2003, 11:29 AM   #30
Duncan_10158
 
Duncan_10158's Avatar
 
Join Date: Apr 2002
Posts: 365
i just sent the droideka off, RenegadeOfPhunk. it has jumping animations so you can experiment on it. the modes you are talking about is quite the same i was thinking about. to activat rolling mode through holding shift or toggle by caps lock is as i made it in my JO version of the droideka. but the mode changing animations, fold_up/fold_out, should be shown completly befor another action can be taken.

this is great, thanks everyone. we can make a great addion to JA!
Duncan_10158 is offline   you may: quote & reply,
Old 12-14-2003, 06:19 PM   #31
RenegadeOfPhunk
 
RenegadeOfPhunk's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 731
Thx for sending me the Droideka file Duncan.

Unfortunately, I can't check it out because just after I had turned my PC on, a large bang came out of it and then it powered down.

...the f**king power supply has gone and blown!!
...or at least I hope that's all that's happenned... :/

I'm gonna get it looked at tomorrow, so hopefully I should be back up and running as quickly as possible.

Quote:
but the mode changing animations, fold_up/fold_out, should be shown completly befor another action can be taken.
Agreed. I think this should be a standard feature for all vehicles which have these different 'modes'...


/* RenegadeOfPhunk */

OJP forums
OJP website - WIP

Movie Battles!
RenegadeOfPhunk is offline   you may: quote & reply,
Old 12-16-2003, 03:39 AM   #32
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
Yes the way I was going about it is not ideal. But then again I'm not really a coder. and its learn as I go.


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.
keshire is offline   you may: quote & reply,
Old 12-16-2003, 09:29 AM   #33
RenegadeOfPhunk
 
RenegadeOfPhunk's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 731
Quote:
Yes the way I was going about it is not ideal. But then again I'm not really a coder. and its learn as I go.
...you seem to be doing pretty well

Don't take what I was saying the wrong way. I was just making sure we agreed on how we should approach the problem.

...OK - now all I need is a computer that doesn't blow up when I switch it on - and I can get cracking
...should be fixed tomorrow...


/* RenegadeOfPhunk */

OJP forums
OJP website - WIP

Movie Battles!
RenegadeOfPhunk is offline   you may: quote & reply,
Old 12-16-2003, 09:32 AM   #34
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
Quote:
Don't take what I was saying the wrong way.
Wouldn't dream of it. I was just stating a matter of fact. Soon as I get my throwing code done, and Monsoontide's Acklay smoothed out animation wise. I'll do what I can to help out.


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.
keshire is offline   you may: quote & reply,
Old 12-20-2003, 02:49 AM   #35
RenegadeOfPhunk
 
RenegadeOfPhunk's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 731
Now that my computer is now (finally) up and running again, I have managed to make good progress on the Droideka-specific vehicle implementation.

I know have:

* The fold in and out anims working correctly (i.e. no movement or firing happens during them).
* Custom sounds triggered during these fold in / out anims.
* Firing disabled when rolling.

All the above stuff is generic (all configurable from the vehicle definition file), and so this kind of stuff can potentially be applied to ANY vehicle quite easiely.

THe only thing I have left to get working are shields. That shouldn't take too long though.
...I'll probably get it all added to the repository as a Christmas present


/* RenegadeOfPhunk */

OJP forums
OJP website - WIP

Movie Battles!
RenegadeOfPhunk is offline   you may: quote & reply,
Old 12-20-2003, 04:43 AM   #36
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
I really suggest that you use animevents for the fold in/out sounds. It's MUCH easier to set up and it frees up some brandwidthby doing it on everyone's client side.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-20-2003, 04:46 AM   #37
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
Also if you haven't already set up the animations to use the standard enums already present for certain actions.

such as BOTH_STAND2toSTAND1 transitions. It should make custom animation.cfg's more streamlined.


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.
keshire is offline   you may: quote & reply,
Old 12-20-2003, 10:07 AM   #38
RenegadeOfPhunk
 
RenegadeOfPhunk's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 731
Quote:
I really suggest that you use animevents for the fold in/out sounds. It's MUCH easier to set up and it frees up some brandwidthby doing it on everyone's client side.
...ok, I'll look into that

Quote:
Also if you haven't already set up the animations to use the standard enums already present for certain actions.

such as BOTH_STAND2toSTAND1 transitions. It should make custom animation.cfg's more streamlined.
I may not be understanding you correctly, but (I think) this is how I am approaching things.

For the Droideka, there have been two transitions I have needed to implement : walk to run, and run to walk.

For walk to run, I've used the BOTH_RUN1START anim
For run to walk, I've used the BOTH_RUN1STOP anim

These are 'hard-coded', and not configurable from the vehicle definition. So these would be triggered for any vehicle (if the transition anims are enabled in the first place mind you - this IS in the .veh definition).
I'll try and expand this list and put in support for as many additional, sensible transition anims that I can. (Including your example of BOTH_STAND2toSTAND1)

WHat IS configurable at the moment is how long movement is disabled during the anim, what 'modes' can fire primary and alt weapons etc.

I'll post up full details once my implementation is a bit more complete...


/* RenegadeOfPhunk */

OJP forums
OJP website - WIP

Movie Battles!
RenegadeOfPhunk is offline   you may: quote & reply,
Old 12-21-2003, 07:12 PM   #39
RenegadeOfPhunk
 
RenegadeOfPhunk's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 731
OK - droideka implementation is pretty much finished.

Attacking can be disabled in the appropiate modes.
Shields can also be disabled in the appropiate modes.
Transitions between walking and running (rolling) are working correctly.

But before I sumbit this stuff to the OJP, I'd like to provide support for all the different mode transitions. So I'd like to get some feedback about which anims I should use for each transition.

So far I have:

Walk -> Run: BOTH_RUN1START
Run -> Walk: BOTH_RUN1STOP

If anybody really wants these to be different, I can change them. But I think those are sensible.

The ones I still need to decide are:

Still -> Walk = ?
Walk -> Still = ?
Still -> Back = ?
Back -> Still = ?

I can't really see any anims which seem to directly associate, so I'll let you guys choose Just look in anims.h and choose an enum for each transition I've just listed above.

..the choices don't make any difference to the implementation, but I guess we should try and choose ones which will make sense to most...


/* RenegadeOfPhunk */

OJP forums
OJP website - WIP

Movie Battles!
RenegadeOfPhunk is offline   you may: quote & reply,
Old 12-21-2003, 07:20 PM   #40
RenegadeOfPhunk
 
RenegadeOfPhunk's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 731
Oh, and Razor. YOu reakon this stuff is Basic Or Enhanced?
..I'm thinking it's Basic...


/* RenegadeOfPhunk */

OJP forums
OJP website - WIP

Movie Battles!
RenegadeOfPhunk is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Community > Hosted Forums > Open Jedi Project (OJP) > vehicle limit and new vehicle classes

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:04 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.