Unit Poser (modding tool or w/e) - Page 2

Unit Poser (modding tool or w/e)

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: Unit Poser (modding tool or w/e)

Post by FLOZi »

Might be easier to make it a stand-alone mod you can drop your models into
SeanHeron
Engines Of War Developer
Posts: 614
Joined: 09 Jun 2005, 23:39

Re: Unit Poser (modding tool or w/e)

Post by SeanHeron »

Sounds pretty awesome! Be happy to give this a swing :).
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Unit Poser (modding tool or w/e)

Post by CarRepairer »

FLOZi wrote:Might be easier to make it a stand-alone mod you can drop your models into
I feel the opposite. Easier to check a box in your mod options when you want to work on animating your units instead of copy pasting stuff to another mod.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Unit Poser (modding tool or w/e)

Post by knorke »

Just a gadget and widget
I guess you use CallAsUnit to avoid having to use a unitscript? Didnt think/know about that when I made first version :roll:

because
CarRepairer wrote:
bobthedinosaur wrote:Can you export or save the pose information on each frame?
knorke wrote:Also writes all the needed Move/Turn commands to get the unit into the current pose. Which is a long list but you can just c&p that, change POSENAME to ie "StandOnLeftLeg" and call it like StandOnLeftLeg (movespeed, turnspeed)
looks like this: http://pastebin.com/12H8EpPU (unitscript for the dancing lolimod girl)

Only the create() and animatederp() functions are written by hand.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: Unit Poser (modding tool or w/e)

Post by FLOZi »

CarRepairer wrote:
FLOZi wrote:Might be easier to make it a stand-alone mod you can drop your models into
I feel the opposite. Easier to check a box in your mod options when you want to work on animating your units instead of copy pasting stuff to another mod.

But maybe not if you don't already run Chilli?

ctrl+A, ctrl+c, ctrl+v is then probably simpler.

N.B. In no way am I dissing Chilli
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Unit Poser (modding tool or w/e)

Post by knorke »

CarRepairer wrote:Easier to check a box in your mod options when you want to work on animating your units instead of copy pasting stuff to another mod.
fun fact: over spring.exe you cant set modoptions and zerok lobby wont let you host local "being worked on" mods.

I find having a "editor mod" easier to use then putting gadget etc in the real mod: Just copy over 3d model + texture and adjust object3d="blabs3o" line in some unit def.
User avatar
bobthedinosaur
Blood & Steel Developer
Posts: 2700
Joined: 25 Aug 2004, 13:31

Re: Unit Poser (modding tool or w/e)

Post by bobthedinosaur »

i'll dis chilli. if it uses chili then make a blank mod with chili in it so people can throw their crap in there, otherwise you have to download some one else's game with all the excessive bullshit attached and modify it just to run your tool.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Unit Poser (modding tool or w/e)

Post by CarRepairer »

User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Unit Poser (modding tool or w/e)

Post by knorke »

Car, to stop the unit from doing its normal animations while you pose it try
Spring.UnitScript.CreateScript ( unitID, table callIns ) -> nil
This deletes the unit's current script (whether it's a COB or Lua script doesn't matter), and sets it up with a brand new Lua unit script, initially registering the call-ins given in the table as (string, function) pairs.
http://springrts.com/wiki/Animation-LuaCallouts
(ie make it load an empty.lua)
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Unit Poser (modding tool or w/e)

Post by CarRepairer »

I made a funny pic.

Image
User avatar
Wombat
Posts: 3379
Joined: 15 Dec 2008, 15:53

Re: Unit Poser (modding tool or w/e)

Post by Wombat »

lol @ last one
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Unit Poser (modding tool or w/e)

Post by Forboding Angel »

last one was epicly funny :-)
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Unit Poser (modding tool or w/e)

Post by knorke »

why did the commander leave the toilet seat up and why is it laughing :shock:
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Unit Poser (modding tool or w/e)

Post by CarRepairer »

Image
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Unit Poser (modding tool or w/e)

Post by knorke »

/dance
User avatar
Wombat
Posts: 3379
Joined: 15 Dec 2008, 15:53

Re: Unit Poser (modding tool or w/e)

Post by Wombat »

inb4 animated springrts.com banners
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Unit Poser (modding tool or w/e)

Post by smoth »

animated banners are a bad idea.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: Unit Poser (modding tool or w/e)

Post by PicassoCT »

bump this for sheer awesome
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

Re: Unit Poser (modding tool or w/e)

Post by MidKnight »

Image
9heart
Posts: 55
Joined: 16 Sep 2010, 16:14

Re: Unit Poser (modding tool or w/e)

Post by 9heart »

link in OP is down. can someone please mirror

cheers
Post Reply

Return to “Game Development”