Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Cog to make AI faster
Cog to make AI faster
2003-12-24, 3:10 PM #1
Is there any way to make a cog to make an AI move faster? I changed the maxvel in the Template from 2.000 to 100.000 and saw no noticable change. Someone PLEASE help me with this...

------------------
| | | | | | | | | | | | | | | |
||||||||||||||||||||
2003-12-25, 5:00 AM #2
Youve gotta change more than maxvel.... You can do it with templates, it just gets a little tricky sometimes.


Post your template(s).

------------------
Fight the future.
And when the moment is right, I'm gonna fly a kite.
2003-12-25, 8:19 AM #3
# DESC: darkspiral
# BBOX: -.03 -.04 -.12 .04 .05 .08
darkspiral _humanactor thingflags=0x20000400 model3d=dspiral.3DO size=.122638 movesize=.122638 puppet=dark.pup soundclass=ds.snd cog=darkspiral.cog mass=70.000000 maxvel=100.000000 weapon=+ry_punch maxrotthrust=80.00 typeflags=0x2080001 fireoffset=(0.016000/0.055000/0.004000) aiclass=darkspiral.ai

------------------
| | | | | | | | | | | | | | | |
||||||||||||||||||||
2003-12-26, 5:05 AM #4
hmmm...

------------------
| | | | | | | | | | | | | | | |
||||||||||||||||||||
2003-12-26, 8:49 AM #5
You could use a COG, if you so wished. The commands you'd want are either AiSetMoveSpeed(thing ref,flex); or SetActorExtraSpeed(thing,flex);, with the former indicating the speed to move at (0=don't move, 2=run, etc.), and the latter actually increasing the max speed by flex.

------------------
His pot is blacker than his kettle!

Phoenix Swords
"And lo, let us open up into the holy book of Proxy2..." -genk
His pot is blacker than his kettle!
2003-12-26, 9:32 AM #6
well, Wolfy already tried that with this cog, and it don't work.

# Jedi Knight Cog Script

#

# movefaster.cog

#

# Sets actors' speed to 2.0

#

#

# This Cog is Not supported by LucasArts Entertainment Co


symbols


message startup

thing thing0

thing thing1

thing thing2

end


# ========================================================================================


code


startup:


For(i=0; i<4; i=i+1) {
AiSetMoveSpeed(thing0, 2.0)
};


Print("Test 1 2 3");
return;

# ........................................................................................


end


------------------
| | | | | | | | | | | | | | | |
||||||||||||||||||||
2003-12-27, 7:47 PM #7
that's the cog

------------------
| | | | | | | | | | | | | | | |
||||||||||||||||||||

↑ Up to the top!