Programe - Sprites

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Postby divVerent » Sun Oct 14, 2007 9:54 am

yes, .c was a typo. .qc is right.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby shaggy » Sun Oct 14, 2007 11:04 am

Now I need more help! how do I execute the command line, could someone step me through using the command line thing?
shaggy
Alien trapper
 
Posts: 419
Joined: Tue Apr 03, 2007 6:12 am

Postby divVerent » Sun Oct 14, 2007 4:35 pm

No, it's simply too complicated if you don't try on your own. Can't spoonfeed you, that would take LOTS of pages of text. Rather use Google to get generic help about using command-line programs on Windows XP, and try it out yourself using modeltool.
Last edited by divVerent on Mon Oct 15, 2007 6:37 am, edited 1 time in total.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby shaggy » Sun Oct 14, 2007 9:01 pm

Thank you for the help, it is greatly appreciated.

Update:
After some testing i have figured out how to get the command line tools working.
shaggy
Alien trapper
 
Posts: 419
Joined: Tue Apr 03, 2007 6:12 am

Postby divVerent » Mon Oct 15, 2007 6:38 am

Also, the part of generating the sprites... there are surely some nice Windows programs for that. After all, isn't SP2 the sprite format used by Quake 2?
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby shaggy » Mon Oct 15, 2007 6:52 am

I just got my self confused :(

The steps I am taking:
1. Use the command line tool
2. Edit cl_impulse
- What do I add in there? Is it just WaypointSprite_........
3. Edit waypointsprites.qc add a precache_model()
- What is this "add a precache_model()" Is it the code?

Also, with the code you have provided
Code: Select all
WaypointSprite_Spawn("spritename", [how long it should live, or 0 for forever], [from how far it should be visible, or 0 for the whole map]...................


Where do I enter that?
shaggy
Alien trapper
 
Posts: 419
Joined: Tue Apr 03, 2007 6:12 am

Postby divVerent » Mon Oct 15, 2007 7:29 am

In the cl_impulse.c file.

Well, these files are written in QuakeC, so you need to be able to program in that or a similar language to do that (for example, C, C++, Java, JavaScript have all similar syntax). Maybe you know someone in GT who can do it for you.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby shaggy » Mon Oct 15, 2007 7:59 am

I say this because at the moment GT doesn't have someone who can do that type of stuff.

I am going to do it, I think I'm not too bad at filtering script to find and or change what I need to.

If there is someone who would like to help GT and knows what they are doing, by almenas leave a post, and I'll talk to you.
shaggy
Alien trapper
 
Posts: 419
Joined: Tue Apr 03, 2007 6:12 am

Postby divVerent » Mon Oct 15, 2007 3:53 pm

Can you specify what exactly you want? That is, when should the waypoint come, what should trigger it, how long it should stay?

Also, post the sprite you want as image file. Maybe I'll be able to make you that mod. But I need to know what EXACTLY you need.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby shaggy » Wed Oct 17, 2007 7:06 am

Thanks div.

I would like would be a waypoint sprite visible for team which has [GT] above our head for the hole game. I would like the sprite to come when someone uses the command, i don't really mind what impulse it is or what command it is (like impulse 49).

Here is what it looks like:
Image

Here is the tga file:
http://download.agon.googlepages.com/gt_member.tga


EDIT:
What I would like (a clearer idea)

    1. The waypoint should come when the game starts - If this isn't possible, it should be when the command is entered in the console.
    2. What should trigger it... same as above.
    3. It should stay if possible for the hole game. If not as long as possible.
shaggy
Alien trapper
 
Posts: 419
Joined: Tue Apr 03, 2007 6:12 am

PreviousNext

Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron