you could use tokenize to find your first word or command, then strlen it to figure out where to begin your substring for the rest if necessary
even tokenizebyseperator might be useful depending on what you want to do
Search found 83 matches
- Tue Apr 15, 2008 5:12 am
- Forum: QuakeC Programming
- Topic: Coding a scripting language in QC
- Replies: 17
- Views: 6495
- Mon Apr 14, 2008 10:38 pm
- Forum: QuakeC Programming
- Topic: Coding a scripting language in QC
- Replies: 17
- Views: 6495
- Mon Apr 14, 2008 10:33 pm
- Forum: QuakeC Programming
- Topic: Model attachments?
- Replies: 15
- Views: 5489
an alternative that i've been messing with is to load up your player model in QME and map the offset and angles of where the weapon would be for each frame straight into qc. tedious, but you don't have to animate your weapons. you'll also have to give the weapon an avelocity to interpolate it if you ...
- Mon Apr 14, 2008 10:11 pm
- Forum: QuakeC Programming
- Topic: CSQC
- Replies: 5
- Views: 2351
- Tue Mar 25, 2008 5:10 pm
- Forum: QuakeC Programming
- Topic: Shared entities CSQC
- Replies: 14
- Views: 4478
- Sun Mar 23, 2008 7:44 am
- Forum: QuakeC Programming
- Topic: CSQC
- Replies: 5
- Views: 2351
- Sun Mar 23, 2008 3:04 am
- Forum: QuakeC Programming
- Topic: vector math, combining angles and offsets
- Replies: 2
- Views: 1497
- Sun Mar 23, 2008 12:21 am
- Forum: QuakeC Programming
- Topic: vector math, combining angles and offsets
- Replies: 2
- Views: 1497
- Sat Mar 22, 2008 5:18 pm
- Forum: QuakeC Programming
- Topic: vector math, combining angles and offsets
- Replies: 2
- Views: 1497
vector math, combining angles and offsets
I'm trying to locate the position of a weapon blade in the world based on a few angles and offsets.
I have:
self - (the player)
wep.targorigin - (the origin the weapon in the player's hand is moving toward)
wep is an attachment on the player, so it's origin is relative.
in order to find it's ...
I have:
self - (the player)
wep.targorigin - (the origin the weapon in the player's hand is moving toward)
wep is an attachment on the player, so it's origin is relative.
in order to find it's ...
- Sat Feb 02, 2008 4:41 pm
- Forum: QuakeC Programming
- Topic: new menu via .menu files
- Replies: 9
- Views: 3896
- Tue Jan 01, 2008 3:56 am
- Forum: General Discussion
- Topic: 2008!
- Replies: 13
- Views: 3043
- Mon Dec 31, 2007 3:12 am
- Forum: QuakeC Programming
- Topic: cs_project in csqc
- Replies: 17
- Views: 7202
- Mon Dec 31, 2007 2:29 am
- Forum: QuakeC Programming
- Topic: cs_project in csqc
- Replies: 17
- Views: 7202
- Sun Dec 30, 2007 2:54 am
- Forum: QuakeC Programming
- Topic: cs_project in csqc
- Replies: 17
- Views: 7202
cs_project in csqc
can someone explain the ins and outs of cs_project to me? I finally got cs_unproject to do what I want, though I don't fully understand it yet. It's been explained to me a couple different ways, and I'm sure I'm not using it totally correct. One odd thing about it is that the results end up as ...
- Tue Dec 18, 2007 4:48 am
- Forum: QuakeC Programming
- Topic: duplicating prydoncursor's cursor_trace_endpos in csqc
- Replies: 2
- Views: 1854